/* ==========================================================================
   EURASIA TECHNOLOGIES INTEGRATED ADVERTISING LAYOUT CORE STYLES
   ========================================================================== */
.ads-matrix-wrapper {
    display: grid;
    /* FIXED: Splitting columns proportionally to stay tightly inside the 1200px line */
    grid-template-columns: 1fr 300px; 
    gap: 5px !important;                          /* Maintained 5px separation gap */
    width: 90%;
    max-width: 1200px;                            /* HARD LIMIT: Full matrix locked to 1200px total width */
    margin: 30px auto;          
    align-items: start;
    box-sizing: border-box !important;
}

/* 
 * LEFT CAROUSEL PANEL: DYNAMICALLY WRAPS REMAINDER OF THE 1200PX CANVAS
 */
.banner-display-carousel {
    position: relative;
    width: 100% !important;     /* FIXED: Scales naturally within its layout channel grid segment */
    height: 358px !important;   /* MACHINE CONVERSION: Exact translation of 9.46cm height */
    background-color: #0f172a;
    border-radius: 0 !important; /* FLATTENED: Removed all rounded corners */
    overflow: hidden;
    box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.04);
}

.carousel-track-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide-node {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.carousel-slide-node.active {
    opacity: 1;
    z-index: 2;
}

/* Restored natural image shapes and dimensions, removed blur filters completely */
.carousel-slide-node img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important; /* Preserves natural layout proportions */           
    display: block;
    margin: 0 auto;                 /* Centers the image perfectly inside the slot frame */
    position: relative;
    top: 50%;
    transform: translateY(-50%) !important; /* Centers image vertically */
}

/* Gradient text protection layer across carousel slides */
.slide-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 70%, rgba(0, 0, 0, 0) 100%);
    padding: 20px;
    color: #ffffff;
    z-index: 3; /* Ensures caption text floats cleanly over the container layer */
}

/* Navigation Dot Indicators Placement */
.carousel-bullet-indicators {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.bullet-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background-color 0.2s ease;
}

.bullet-dot.active {
    background-color: #2563eb; 
}

/* RIGHT COLUMN PANEL: SPONSORED LINKS ELEMENT DECALS */
.sponsored-links-sidebar {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0 !important; /* FLATTENED: Removed all rounded corners from right side box */
    padding: 20px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.04);
    box-sizing: border-box !important;
}

.sponsored-panel-title {
    margin: 0 0 15px 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}


/* ==========================================================================
   PRODUCT SIDEBAR CAROUSEL STYLES (HARD LOCKED TO MACHINE-FAVORABLE 7.5CM HEIGHT)
   ========================================================================== */

/* Viewport frame providing the unified shape */
.sidebar-carousel-viewport {
    width: 100% !important;
    height: 278px !important;   /* MACHINE CONVERSION: Exact translation of 7.5cm height minus 5px reduction */
    overflow: hidden !important;
    position: relative !important;
    border: 1px solid #e2e8f0;
    border-radius: 0 !important; /* FLATTENED: Removed rounded corners from inner widget box */
    background: #ffffff;
    margin-top: 15px;
    box-sizing: border-box !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
}

/* Horizontal animation lane */
.sidebar-carousel-track {
    display: flex !important;
    height: 100% !important; 
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important; 
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Individual Slide wrapper forcing precise structural math */
.sidebar-carousel-item {
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    height: 100% !important; 
    box-sizing: border-box !important;
    position: relative !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-stage-link {
    display: block !important; 
    text-decoration: none !important;
    width: 100% !important;
    height: 100% !important; 
}

/* CLEAN BALANCED SHAPE STAGE */
.sidebar-image-stage {
    width: 100% !important;
    height: 100% !important; 
    position: relative !important;
    background: #f8fafc !important; 
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Removed raw canvas scaling, images resize naturally within bounding borders */
.sidebar-stage-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important; 
    padding: 10px !important;   
    box-sizing: border-box !important;
    
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important; /* Centers original image naturally */

    image-rendering: auto !important; /* Restored natural rendering paths */
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}


/* ==========================================================================
   RESPONSIVE LAYOUT BREAKDOWN: HIDES COMPONENT COMPLETELY ON MOBILE TIERS
   ========================================================================== */
@media (max-width: 1024px) {
    /* Completely removes the advertising matrix wrapper structure from layout flow on mobile devices */
    .ads-matrix-wrapper {
        display: none !important; 
    }
}
/* ==========================================================================
   EURASIA TECHNOLOGIES FULL-STRETCH IMAGE FRAME OVERRIDES
   ========================================================================== */

/* 1. MAIN HERO BANNER IMAGE (LEFT PANEL) */
.carousel-slide-node img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    
    /* FIXED: Stretches image completely to cover the absolute edge boundaries */
    object-fit: cover !important;           
    display: block;
    position: relative;
    top: 0 !important;
    transform: none !important; /* Removes vertical layout centering margins */
}

/* 2. FEATURED CATALOG THUMBNAIL IMAGE (RIGHT PANEL) */
.sidebar-stage-img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    
    /* FIXED: Fills up the entire 7.5cm height viewport box with zero border gaps */
    object-fit: cover !important; 
    padding: 0 !important; /* Wipes out the internal margin gaps completely */  
    box-sizing: border-box !important;
    
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important; /* Resets displacement values back to absolute zero */

    image-rendering: auto !important; 
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

/* 3. OPTIONAL CLEANUP: Ensures the inner background stage matches a seamless flush layout */
.sidebar-image-stage {
    width: 100% !important;
    height: 100% !important; 
    position: relative !important;
    background: #ffffff !important; /* Swapped out default gray tint to prevent edge lines */
    overflow: hidden !important;
    box-sizing: border-box !important;
}
/* ==========================================================================
   EURASIA SHOP POPULAR HARDWARE SLIDER HOVER ANIMATION SCHEMES
   ========================================================================== */

/* Fade out navigation buttons by default to ensure clean viewing states */
.slider-container .nav-btn {
    opacity: 0.3;
}

/* Reveal arrow controllers instantly upon tracking bounds */
.slider-container:hover .nav-btn {
    opacity: 1;
}

.slider-container .nav-btn:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* Slide Entry Box Hover States Transition */
.category-item:hover {
    transform: translateY(-4px);
    border-color: #2563eb !important;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 0 4px 6px -2px rgba(37, 99, 235, 0.05) !important;
}

.category-item:hover .image-circle {
    border-color: #1d4ed8 !important;
    transform: scale(1.03);
}

