/* Amazon India (amazon.in) Design System Tokens & Pixel-Perfect Responsive Engine */
:root {
    --amz-nav-bg: #131921;
    --amz-subnav-bg: #232f3e;
    --amz-subnav-hover: #37475a;
    --amz-body-bg: #eaeded;
    --amz-orange: #febd69;
    --amz-orange-hover: #f3a847;
    --amz-cart-yellow: #f08804;
    --amz-deal-red: #cc0c39;
    --amz-link-teal: #007185;
    --amz-link-hover: #c7511f;
    --amz-star-gold: #ffa41c;
    --amz-card-bg: #ffffff;
    --amz-text-dark: #0f1111;
    --amz-text-muted: #565959;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: var(--amz-body-bg) !important;
    font-family: "Amazon Ember", Arial, sans-serif !important;
    color: var(--amz-text-dark);
    overflow-x: hidden;
}

/* Amazon Header & Navigation Bar */
.amazon-header-wrap {
    width: 100%;
    position: relative;
    z-index: 100;
}
.amazon-top-bar {
    background-color: var(--amz-nav-bg) !important;
    color: #ffffff;
    padding: 8px 16px;
}
.amazon-subnav-bar {
    background-color: var(--amz-subnav-bg) !important;
    color: #ffffff;
    padding: 6px 16px;
    font-size: 14px;
}
.amazon-subnav-bar a {
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 4px 8px;
    border-radius: 2px;
    white-space: nowrap;
}
.amazon-subnav-bar a:hover {
    outline: 1px solid #ffffff;
}

/* Search Bar */
.amazon-search-group {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 800px;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
}
.amazon-search-cat {
    background: #f3f3f3;
    border: none;
    border-right: 1px solid #cdcdcd;
    color: #555;
    font-size: 12px;
    padding: 0 10px;
    height: 40px;
    cursor: pointer;
    outline: none;
}
.amazon-search-input {
    border: none !important;
    height: 40px !important;
    font-size: 15px !important;
    padding: 0 12px !important;
    box-shadow: none !important;
    flex-grow: 1;
    min-width: 0;
}
.amazon-search-btn {
    background-color: var(--amz-orange) !important;
    border: none !important;
    width: 48px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}
.amazon-search-btn:hover {
    background-color: var(--amz-orange-hover) !important;
}

/* Hero Banner Full-Size & Alignment Matching Screenshot 2 */
.amazon-hero-section {
    position: relative;
    width: 100%;
    background: #eaeded !important;
    overflow: hidden;
}
.amazon-hero-slider-wrap {
    width: 100%;
    position: relative;
}
.amazon-hero-slider {
    display: block !important;
    width: 100%;
}
.amazon-hero-slide-item {
    width: 100%;
    position: relative;
}
.amazon-hero-img {
    width: 100% !important;
    height: 380px !important;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Amazon Hero Slider Navigation Arrows (< and > matching Screenshot 2) */
.amazon-hero-slider .owl-nav button.owl-prev,
.amazon-hero-slider .owl-nav button.owl-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 40px;
    height: 100px;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 40px !important;
    font-weight: 300 !important;
    font-family: Arial, sans-serif !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    z-index: 10;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
}
.amazon-hero-slider .owl-nav button.owl-prev {
    left: 8px;
}
.amazon-hero-slider .owl-nav button.owl-next {
    right: 8px;
}
.amazon-hero-slider .owl-nav button.owl-prev:hover,
.amazon-hero-slider .owl-nav button.owl-next:hover {
    background: rgba(0, 0, 0, 0.2) !important;
    color: #ffffff !important;
    border-radius: 4px;
}

.amazon-hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, rgba(234, 237, 237, 0) 0%, rgba(234, 237, 237, 1) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Amazon 2x2 Quadrant Grid Cards - Overlapping Alignment matching Screenshot 2 */
.amazon-quad-grid-wrapper {
    position: relative;
    margin-top: -140px;
    z-index: 10;
    padding-bottom: 24px;
}
.amazon-card {
    background: #ffffff !important;
    border-radius: 4px;
    padding: 18px;
    height: 100%;
    box-shadow: 0 2px 6px rgba(15, 17, 17, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    min-width: 0;
    box-sizing: border-box;
}
.amazon-card:hover {
    box-shadow: 0 4px 14px rgba(15, 17, 17, 0.22);
}
.amazon-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--amz-text-dark);
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: 10px;
    padding-top: 2px;
    white-space: normal;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.quad-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.quad-tile {
    text-decoration: none !important;
    color: var(--amz-text-dark) !important;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}
.quad-tile-img-wrap {
    background: #f7f7f7;
    border-radius: 4px;
    overflow: hidden;
    height: 105px;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    box-sizing: border-box;
    position: relative;
}
.quad-tile-img-wrap img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.quad-tile:hover .quad-tile-img-wrap img {
    transform: scale(1.06);
}
.quad-tile-label {
    font-size: 12px;
    color: #0f1111;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    display: block;
    font-weight: 500;
}
.amazon-card-link {
    color: var(--amz-link-teal) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}
.amazon-card-link:hover {
    color: var(--amz-link-hover) !important;
    text-decoration: underline !important;
}

/* Sign In Yellow Pill Button */
.amazon-signin-btn {
    background-color: #ffd814 !important;
    border: 1px solid #fcd200 !important;
    border-radius: 20px !important;
    color: #0f1111 !important;
    box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
    padding: 8px 16px;
    font-size: 13px;
    transition: background-color 0.2s ease;
}
.amazon-signin-btn:hover {
    background-color: #f7ca00 !important;
    border-color: #f2c200 !important;
}

/* Amazon Section Box Styling */
.amazon-section-box {
    background: #ffffff;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    margin-bottom: 24px;
    min-width: 0;
    overflow: hidden;
}
.amazon-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 10px;
}
.amazon-section-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--amz-text-dark);
    margin: 0;
}

/* Deal badges & pricing */
.amazon-deal-badge {
    background-color: var(--amz-deal-red);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
    display: inline-block;
}
.amazon-price-tag {
    font-size: 18px;
    font-weight: 700;
    color: var(--amz-text-dark);
}
.amazon-mrp-price {
    font-size: 12px;
    color: var(--amz-text-muted);
    text-decoration: line-through;
    margin-left: 6px;
}

/* Product Card Component */
.amazon-product-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 12px;
    border: 1px solid #e7e7e7;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    min-width: 0;
    overflow: hidden;
}
.amazon-product-card:hover {
    box-shadow: 0 4px 12px rgba(15, 17, 17, 0.15);
    border-color: #d5d9d9;
}
.amazon-product-img {
    height: 160px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 10px;
}
.amazon-product-title {
    font-size: 14px;
    font-weight: 500;
    color: #0f1111;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none !important;
    margin-bottom: 6px;
}
.amazon-product-title:hover {
    color: var(--amz-link-hover) !important;
}

/* Category Circular Strip */
.amazon-cat-strip-item {
    text-align: center;
    text-decoration: none !important;
    display: block;
    padding: 8px;
    min-width: 0;
}
.amazon-cat-circle {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 8px;
    border: 2px solid #e7e7e7;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.amazon-cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.amazon-cat-strip-item:hover .amazon-cat-circle {
    transform: scale(1.08);
    border-color: var(--amz-orange);
}
.amazon-cat-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f1111;
}

/* Brand Card Strip */
.amazon-brand-card {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    transition: box-shadow 0.2s ease;
    min-width: 0;
}
.amazon-brand-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.amazon-brand-card img {
    height: 55px;
    max-width: 100%;
    object-fit: contain;
}

/* Footer Styling */
.amazon-back-to-top {
    background-color: var(--amz-subnav-hover);
    color: #ffffff !important;
    text-align: center;
    padding: 14px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    display: block;
}
.amazon-back-to-top:hover {
    background-color: #485769;
}
.amazon-footer-main {
    background-color: var(--amz-nav-bg);
    color: #dddddd;
    padding: 40px 0 20px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Side-by-side cards on mobile & tablet)
   ========================================================================== */

@media (max-width: 1399.98px) {
    .amazon-hero-img {
        height: 350px !important;
    }
    .amazon-quad-grid-wrapper {
        margin-top: -120px;
    }
    .quad-tile-img-wrap {
        height: 100px;
    }
}

@media (max-width: 1199.98px) {
    .amazon-hero-img {
        height: 350px !important;
    }
    .amazon-quad-grid-wrapper {
        margin-top: -90px;
    }
    .amazon-card-title {
        font-size: 17px;
    }
    .quad-tile-img-wrap {
        height: 90px;
    }
}

@media (max-width: 991.98px) {
    .amazon-hero-img {
        height: 240px !important;
    }
    .amazon-hero-gradient {
        height: 100px;
    }
    .amazon-quad-grid-wrapper {
        margin-top: -50px;
    }
    .amazon-card {
        padding: 14px;
    }
    .amazon-card-title {
        font-size: 15px;
    }
    .quad-tile-img-wrap {
        height: 80px;
    }
    .amazon-section-title {
        font-size: 18px;
    }
    .amazon-cat-circle {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 767.98px) {
    .amazon-top-bar {
        padding: 6px 10px;
    }
    .amazon-search-group {
        max-width: 100%;
    }
    .amazon-search-input {
        font-size: 13px !important;
        height: 36px !important;
    }
    .amazon-search-btn {
        height: 36px;
        width: 42px;
    }
    .amazon-subnav-bar {
        padding: 4px 8px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .amazon-subnav-bar .navbar-nav {
        flex-direction: row !important;
        gap: 8px;
    }
    .amazon-hero-img {
        height: 180px !important;
    }
    .amazon-hero-gradient {
        display: none;
    }
    .amazon-quad-grid-wrapper {
        /* margin-top: 10px; */
        padding-bottom: 12px;
    }
    .amazon-card {
        padding: 12px !important;
    }
    .amazon-card-title {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }
    .quad-grid {
        gap: 8px !important;
        margin-bottom: 8px !important;
    }
    .quad-tile-img-wrap {
        height: 75px !important;
    }
    .quad-tile-label {
        font-size: 11px !important;
    }
    .amazon-card-link {
        font-size: 11px !important;
    }
    .amazon-cat-circle {
        width: 60px;
        height: 60px;
    }
    .amazon-cat-name {
        font-size: 11px;
    }
    .amazon-section-box {
        padding: 14px;
        margin-bottom: 16px;
    }
}

@media (max-width: 575.98px) {
    .amazon-hero-img {
        height: 150px !important;
    }
    .amazon-card {
        padding: 10px !important;
    }
    .amazon-card-title {
        font-size: 13px !important;
        line-height: 1.35 !important;
        margin-bottom: 6px !important;
        padding-top: 2px !important;
        white-space: normal !important;
        overflow: hidden;
    }
    .quad-grid {
        gap: 6px !important;
        margin-bottom: 6px !important;
    }
    .quad-tile-img-wrap {
        height: 68px !important;
    }
    .quad-tile-label {
        font-size: 10px !important;
        line-height: 1.2;
    }
    .amazon-card-link {
        font-size: 11px !important;
    }
    .amazon-signin-btn {
        padding: 4px 8px !important;
        font-size: 11px !important;
    }
}

/* ==========================================================================
   UNIVERSAL AMAZON INDIA SECTION & PRODUCT CARD OVERRIDES
   ========================================================================== */
.section-card-margin,
.__inline-62,
.__featured-deal-wrap,
.__shadow-2 {
    background: #ffffff !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 4px rgba(15, 17, 17, 0.1) !important;
    border: 1px solid #e7e7e7 !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
}

.feature-product-title,
.featured_deal_title,
.arrival-title,
.category-product-view-title,
.for-feature-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0f1111 !important;
    letter-spacing: -0.2px !important;
    margin: 0 !important;
}

.view-all-btn-text,
.view-btn-text,
.category-product-view-all a {
    color: #007185 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
.view-all-btn-text:hover,
.view-btn-text:hover,
.category-product-view-all a:hover {
    color: #c7511f !important;
    text-decoration: underline !important;
}

.flash_deal_product {
    background: #ffffff !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 4px !important;
    padding: 12px !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}
.flash_deal_product:hover {
    box-shadow: 0 4px 12px rgba(15, 17, 17, 0.15) !important;
    border-color: #d5d9d9 !important;
}
.flash-product-title {
    color: #0f1111 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}
.flash-product-title:hover {
    color: #c7511f !important;
}
.flash-product-price {
    color: #0f1111 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

