/* Spin widget hint link styling */
.spin-hint a {
    color: rgba(255,255,255,.75) !important;
    text-decoration: underline;
}
.spin-hint a:hover { color: #ffffff !important; }
/* ==========================================================
   Global Settings
========================================================== */
:root {
    --motion-ease: cubic-bezier(.22, 1, .36, 1);
    --motion-fast: 180ms;
    --motion-slow: 420ms;
}

body {
    font-family: "Roboto", sans-serif;
}

a {
    color: #111111;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #333333;
}

section {
    padding: 0 0 40px;
    position: relative;
}

section.middle {
    padding: 20px 0 20px;
}

/*------------ GLobal Settings: Heading-------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000000;
}

/* -------------------------- Global Settings: Font Style & Position -----------------*/

/* Responsive font size utilities */
@media (max-width: 575.98px) {
    .fs-xs { font-size: 12px !important; }
    .fs-sm { font-size: 14px !important; }
    .fs-md { font-size: 16px !important; }
    .fs-lg { font-size: 18px !important; }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .fs-xs { font-size: 13px !important; }
    .fs-sm { font-size: 15px !important; }
    .fs-md { font-size: 17px !important; }
    .fs-lg { font-size: 20px !important; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .fs-xs { font-size: 13.5px !important; }
    .fs-sm { font-size: 16px !important; }
    .fs-md { font-size: 19px !important; }
    .fs-lg { font-size: 22px !important; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .fs-xs { font-size: 14px !important; }
    .fs-sm { font-size: 17px !important; }
    .fs-md { font-size: 21px !important; }
    .fs-lg { font-size: 25px !important; }
}

@media (min-width: 1200px) {
    .fs-xs { font-size: 14.5px !important; }
    .fs-sm { font-size: 18px !important; }
    .fs-md { font-size: 22px !important; }
    .fs-lg { font-size: 28px !important; }
}

.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }

/*------------ Global Settings: Background & Text Colors ----------------*/

.bg-dark {
    background-color: #151515 !important;
}

.text-dark {
    color: #151515 !important;
}

.gray {
    background: #f4f5f7;
}

.text-danger {
    color: #ff4136 !important;
}

.text-muted {
    color: #636872 !important;
}

.text-warning {
    color: #ff9b20 !important;
}

/*-------------- Global Settings: Alerts & Notification --------------*/

.alert-success {
    background-color: #e9ffeb;
    border-color: #e9ffeb;
}

#main-wrapper {
    padding-top: 60px;
}

.alert {
    margin-bottom: 0 !important;
}

.sec_title {
    margin-bottom: 30px;
}

/*-------------- GLobal Settings: Background Colors ----------------*/

.bg-success {
    background-color: #2ecc40 !important;
    color: #fff;
}

.bg-light {
    background-color: #f4f8fa !important;
}

.bg-light-primary {
    background-color: #e6f0fe;
}

.bg-light-warning {
    background-color: #fff8ec;
}

.bg-light-danger {
    background-color: #f9e7eb;
}

/*------------- GLobal Settings: Buttons ----------------*/

.btn {
    padding: 12px 25px;
    border-radius: 0.1rem;
    transition: transform var(--motion-fast) var(--motion-ease), background-color var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease), border-color var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease);
}

.btn:active {
    transform: scale(0.98);
}

.btn-pill {
    border-radius: 999px;
}

.btn.btn-xs {
    padding: 6px 10px;
}

.btn.btn-sm {
    padding: 10px 15px;
}

.btn:focus {
    box-shadow: none;
}

/*----------- GLobal Settings: Pagination ------------------*/

.pagination {
    display: table;
    padding-left: 0;
    border-radius: 4px;
    margin: 20px auto 0 !important;
}

.pagination .page-link {
    position: relative;
    font-weight: 500;
    margin: 0;
    float: left;
    color: #151515;
    text-decoration: none;
    background-color: transparent;
    border-radius: 0;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    line-height: 1.5;
    text-align: center;
    border: none;
    border-bottom: 1px solid #ecedf1;
}

@media (max-width: 576px) {
    .pagination .page-link {
        padding: 0.8rem 0.8rem;
        font-size: 1rem;
    }
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover,
.pagination > li > a:focus,
.pagination > li > a:hover {
    z-index: 2;
    color: #0d6efd;
    cursor: pointer;
    background-color: transparent;
    border-color: #0d6efd;
}

.pagination li:first-child a {
    background: transparent;
    border: none;
    border-radius: 0% !important;
    color: #151515;
}

.pagination li:last-child a {
    background: transparent;
    border: none;
    border-radius: 0% !important;
    color: #151515;
}

.pagination > li {
    display: inline;
}

.page-item.active .page-link {
    z-index: 2;
    color: #0d6efd;
    background-color: transparent;
    border-color: #0d6efd;
}

/*-------------- Category Marketing Images ------------------*/

/* Make popular category images fill the section, 2:1 ratio, and crop image */
.category-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Width is twice the height */
    overflow: hidden;
    margin: 0 auto;
    border-radius: 0;
    padding: 0;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Crop the image to fill the wrapper (no empty space, may crop edges) */
.category-img-wrapper .main-img,
.category-img-wrapper .hover-img {
    object-fit: cover !important; /* cover = always fills, even if it crops */
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity 0.2s;
    background: #f7f7f7;
}

.category-img-wrapper a,
.category-img-wrapper .main-img,
.category-img-wrapper .hover-img {
    display: block;
    width: 100%;
    height: 100%;
}

/* ==========================
   Subcategory Cards (modern)
   ========================== */
.subcategory-card {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: transform .18s ease, box-shadow .18s ease;
}
.subcategory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16), 0 6px 12px rgba(15, 23, 42, 0.08);
}

.subcategory-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.subcategory-card-media .product-img-hover-wrapper .main-img,
.subcategory-card-media .product-img-hover-wrapper .hover-img {
    transition: transform .5s ease, opacity .25s ease;
}

.subcategory-card:hover .product-img-hover-wrapper .main-img {
    transform: scale(1.05);
}

.subcategory-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
    background: linear-gradient(180deg, rgba(2,6,23,0) 45%, rgba(2,6,23,0.55) 72%, rgba(2,6,23,0.75) 100%);
    pointer-events: none;
}

.subcategory-card-title {
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: .2px;
    text-shadow: 0 2px 10px rgba(0,0,0,.25);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255,255,255,.12);
    padding: 8px 10px;
    border-radius: 10px;
}

@media (min-width: 576px) {
    .subcategory-card-title { font-size: 1.05rem; }
}

@media (min-width: 768px) {
    .subcategory-card-title { font-size: 1.1rem; }
}

/* Both images fill the wrapper */
.category-img-wrapper .main-img,
.category-img-wrapper .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
}

/* Show hover image on hover (triggered by wrapper or link) */
.category-img-wrapper:hover .hover-img,
.category-img-wrapper:focus-within .hover-img,
.category-img-wrapper a:hover .hover-img {
    opacity: 1;
    pointer-events: auto;
}
.category-img-wrapper:hover .main-img,
.category-img-wrapper:focus-within .main-img,
.category-img-wrapper a:hover .main-img {
    opacity: 0;
}

/* Disable hover on desktop for category images only on category-page */
@media (min-width: 768px) {
    .category-page .category-img-wrapper:hover .main-img,
    .category-page .category-img-wrapper:focus-within .main-img,
    .category-page .category-img-wrapper a:hover .main-img {
        opacity: 1 !important;
    }
    .category-page .category-img-wrapper:hover .hover-img,
    .category-page .category-img-wrapper:focus-within .hover-img,
    .category-page .category-img-wrapper a:hover .hover-img {
        opacity: 0 !important;
    }
}

.category-img-wrapper .hover-img {
    opacity: 0;
    pointer-events: none;
}

.category-overlay {
    z-index: 3;
    pointer-events: none; /* let link underneath work, but button remains clickable */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 100px;
}

.category-overlay-box {
    background: rgba(30, 30, 30, 0.7);
    color: #fff;
    pointer-events: auto; /* allow button inside to be clickable */
    display: inline-block;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    /* Optional: */
    max-width: 75%;
}

.category-title {
    color: #fff !important;
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    text-align: center;
}

.wheel-title {
    color: #fff !important;
    font-weight: 600;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    text-align: center;
}
.wheel-wrapper {
    position: relative;
    width: 330px;
}
.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 36px solid #0d6efd; /* longer point for a more isosceles look */
    z-index: 2;
    pointer-events: none; /* purely visual */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.wheel-pointer::after {
    content: "";
    position: absolute;
    left: -11px; /* center inner triangle */
    top: -34px;  /* inset for the taller outer triangle */
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 30px solid #fff; /* inner triangle */
}
.fallback-wheel {
    width: 100%;
    padding-top: 100%;
    border-radius: 50%;
    border: 8px solid #eee;
    background: conic-gradient(#ffd54f 0 20%, #fff9c4 0 40%, #ffe082 0 60%, #fff59d 0 80%, #ffecb3 0 100%);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    position: relative;
}
/* central hub for fallback wheel */
.fallback-wheel::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #fff url('/static/assets/img/center-wheel.avif') center/82% no-repeat;
    border: 2px solid rgba(0,0,0,0.08);
}

@media (min-width: 420px) {
    .wheel-wrapper {
        width: 370px;
    }
}
@media (min-width: 576px) {
    .wheel-wrapper {
        width: 480px;
    }
}
@media (min-width: 992px) {
    .wheel-wrapper {
        width: 560px;
    }
}
/* Spin wheel hover nudge (canvas only, keep pointer static) */
.wheel-wrapper canvas {
    transition: transform .25s ease;
    transform-origin: 50% 50%;
}
.wheel-wrapper:not(.is-spinning):hover canvas {
    animation: wheelNudge 900ms ease-in-out both;
}
@keyframes wheelNudge {
    0% { transform: rotate(0deg); }
    30% { transform: rotate(5deg); }
    60% { transform: rotate(-3deg); }
    100% { transform: rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
    .wheel-wrapper:hover canvas { animation: none !important; transition: none !important; }
}
/* Milestone list styling */
.legend-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
}
.milestone-list {
    list-style: none;
    padding-left: 0;
}
.milestone-item {
    display: block;
    padding: .5rem .65rem;
    border: 1px solid #eceff4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
    margin-bottom: .5rem;
}
.milestone-threshold {
    font-weight: 600;
    color: #333;
}
.milestone-line1,
.milestone-line2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem;
}
.milestone-line2 { 
    margin-top: .15rem; 
}
.code-pair {
     display: inline-flex; 
     align-items: center; 
     gap: .25rem; 
}
@media (min-width: 992px) {
    .milestone-item { display: flex; align-items: center; gap: .5rem; flex-wrap: nowrap; }
    .milestone-line1, .milestone-line2 { display: contents; }
    .milestone-line2 { margin-top: 0; }
}
.reward-pill {
    display: inline-block;
    background: #f1f5ff;
    color: #0d6efd;
    border: 1px solid #dbe8ff;
    border-radius: 999px;
    padding: .15rem .5rem;
    font-size: .85rem;
    margin-left: .25rem;
}
.code-badge {
    display: inline-block;
    background: #f8f9fa;
    color: #495057;
    border: 1px dashed #ced4da;
    border-radius: 4px;
    padding: .12rem .4rem;
    font-size: .8rem;
}
@media (max-width: 575.98px) {
    .milestone-item { padding: .45rem .55rem; }
    .milestone-threshold { font-size: .95rem; }
    .reward-pill { font-size: .8rem; }
    .min-order-note { font-size: .85rem; }
}
.spin-section-bg {
    background-image: var(--spin-bg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.spin-section-bg > * { 
    position: relative; z-index: 1; 
}

/* Edge-to-edge background even inside containers */
.spin-section-edge {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.category-overlay .btn {
    background: #fff;
    color: #0d6efd;
    font-weight: 600;
    border-radius: 0.3rem;
    padding: 0.5rem 1.3rem;
    font-size: 1.07rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.15s, color 0.15s;
}
.category-overlay .btn:hover {
    background: #0d6efd;
    border: 1px solid #e4e9ef;
    color: #fff;
}

.category-overlay .btn:focus {
    border: 1px solid #0d6efd;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    .category-overlay-box {
        padding: 0.7rem 1rem;
        max-width: 100%;
    }
    .category-title {
        font-size: 1rem;
    }
    .progress-title {
        font-size: 1rem; 
    }
}

@media (max-width: 409.98px) {
    .spin-auth-prompt {
        font-size: 1.3rem; 
    }
}

/*-------------- Product Image ------------------*/

.product-img-hover-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
}

.product-img-hover-wrapper .main-img,
.product-img-hover-wrapper .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s;
}

.product-img-hover-wrapper .main-img {
    opacity: 1;
}
.product-img-hover-wrapper .hover-img {
    opacity: 0;
    pointer-events: none;
}

.product-img-hover-wrapper.has-hover:hover .main-img {
    opacity: 0;
}
.product-img-hover-wrapper.has-hover:hover .hover-img {
    opacity: 1;
    pointer-events: auto;
}

.discount-badge {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0.5rem;
    padding: 0.35rem 0.7rem;
    border-radius: 0.5rem;
    background: #dc3545;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 99 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.13);
    pointer-events: none;
    user-select: none;
}

/* ==========================
   Product Detail: Promo Banner
   ========================== */
.promo-banner {
    background: linear-gradient(135deg, #fff4e6, #ffe8cc);
    border: 1px solid #ffd8a8;
    color: #7c4d00;
    box-shadow: 0 6px 18px rgba(122, 93, 0, 0.08), inset 0 0 0 1px rgba(255, 232, 204, 0.65);
}
.promo-banner-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffec99, #ffd43b);
    color: #7a5d00;
    box-shadow: 0 6px 16px rgba(122,93,0,0.18);
    font-size: 1.25rem;
}
.promo-banner-text { line-height: 1.15; }
.promo-banner-title { font-size: 1.05rem; letter-spacing: .2px; }
.promo-banner-subtitle { font-weight: 700; font-size: 1.15rem; letter-spacing: .2px; }

@media (max-width: 575.98px) {
    .promo-banner-icon { width: 42px; height: 42px; min-width: 42px; font-size: 1.1rem; }
    .promo-banner-title { font-size: .95rem; }
    .promo-banner-subtitle { font-size: 1.05rem; }
}

.color-badge {
    padding: 0.5em 1em;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/**************************************
	Header Navigation Styles
***************************************/
#main-nav {
    height: 60px;
    display: flex;
    justify-content: space-between;
}

.header {
    box-shadow: none;
    background: #fff;
    position: fixed;
    z-index: 999;
    width: 100%;
    top: 0;
    transition: box-shadow var(--motion-fast) var(--motion-ease);
}

.header.header-scrolled {
    box-shadow: 0 8px 28px rgba(0, 22, 84, 0.12);
}

.nav-header {
    display: flex;
    align-items: center;
}

.nav-logo {
    padding: 13px 15px;
    margin-left: 24px;
}

.nav-logo img {
    max-width: 150px;
}

/* Styles the hamburger button (nav-toggle) for mobile navigation */
.nav-toggle {
    display: block;
    background: none;
    border: none;
    width: 48px;
    height: 48px;
    position: absolute;
    left: 6px;
    top: 6px;
    cursor: pointer;
    z-index: 1020;
    transition: left 0.8s cubic-bezier(.76,0,.24,1);
}

/* Close button sits at the right edge of the full-width phone menu. */
.nav-toggle.active {
    left: calc(100vw - 60px);
}

/* Hamburger lines (unchanged, but keep for X animation) */
.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 5px auto;
    background: #031424;
    border-radius: 2px;
    transition: all 0.8s cubic-bezier(.76,0,.24,1);
    position: relative;
}

/* X animation */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.sale-in-categories { display: none; }
@media (min-width: 992px) and (max-width: 1281.98px) {
    .sale-toplink { display: none !important; }
    .sale-in-categories { display: inline; }
}

@media (min-width: 992px) and (max-width: 1061.98px) {
    .home-toplink { display: none !important; }
}

@media (min-width: 992px) and (max-width: 1469.98px) {
    .spin-toplink { display: none !important; }
}

/* Off-canvas sidebar styles for nav (hamburger opens this) */
.nav-menu-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    padding-top: 40px;
    left: -100%;
    background: #fff;
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.8s cubic-bezier(.76,0,.24,1);
}

/* When the off-canvas nav is open (slide in from left) */
.nav-menu-wrapper.nav-menu-wrapper-open {
    left: 0;
}

/* Mobile nav menu items: stack vertically, full width, border between items */
.nav-menu-wrapper .nav-menu > li {
    width: 100%;
    position: relative;
}

/* Inner padding for the sidebar nav */
.nav-menu-wrapper .nav-menu > li > a {
    padding: 15px 18px !important;
}

/* Removes default list styling from main nav menus (horizontal or vertical) */
.nav-menu {
    line-height: normal;
}

.nav-menu-social,
.nav-dropdown {
    list-style: none;
}

.nav-menu-social,
.nav-menu {
    padding: 0;
    margin: 0;
}

/* Main navigation menu items: display horizontally on desktop */
.nav-menu > li {
    display: inline-block;
}

/* Main navigation links styling */
.nav-menu > li > a {
    width: 100%;
    padding: 22px 12px;
    display: inline-block;
    font-size: 17px;
    transition: color var(--motion-fast) var(--motion-ease);
}

.nav-menu > li > a:active,
.nav-menu-social > li > a:active {
    transform: translateY(1px);
}

/* Style for navigation menu icons (i.e., <i> inside links): fixes size & scales up icons a bit */
.nav-menu-social > li > a i,
.nav-menu > li > a i {
    font-size: 22px;
}

.nav-menu > li .nav-dropdown {
    padding: 0px;
}

/* Change chevron color for active, focus, or hovered menu items */
.nav-menu > .active > a .submenu-indicator-chevron,
.nav-menu > .focus > a .submenu-indicator-chevron,
.nav-menu > li:hover > a .submenu-indicator-chevron,
.nav-dropdown > .focus > a .submenu-indicator-chevron,
.nav-dropdown > li:hover > a .submenu-indicator-chevron {
    border-color: transparent #0d6efd #0d6efd transparent;
}

/* Dropdown menu: hidden by default, absolutely positioned */
.nav-dropdown {
    min-width: 250px;
    margin: 0;
    display: none;
    position: static;
    z-index: 98;
    white-space: nowrap;
}

/* Nested dropdowns: position at right edge of parent dropdown */
.nav-dropdown .nav-dropdown {
    left: 100%;
}

/* Dropdown menu list items (vertical) */
.nav-dropdown > li {
    width: 100%;
    float: left;
    clear: both;
    position: relative;
    text-align: left;
}

/* Dropdown menu links: full width, with padding and border */
.nav-dropdown > li > a {
    width: 100%;
    padding: 12px 20px 12px 30px;
    font-size: 15px;
    border-bottom: 1px solid #e4e8ec;
    display: block;
    float: left;
    color: #333c56;
    transition: all 0.3s ease 0s;
}

/* Hover/focus/JS-active state for dropdown links: blue color */
.nav-dropdown > li > a:hover,
.nav-dropdown > li > a:focus,
.nav-dropdown > li:hover > a,
.nav-dropdown > .focus > a,
.nav-menu > li:hover > a {
    color: #0d6efd;
    transition: color 0.2s ease;
}

/* Mobile tap feedback for top-level Halloween link (focus/active) */
.nav-menu > li > a:focus .text-warning,
.nav-menu > li > a:active .text-warning,
.nav-menu > li > a:focus i.text-warning,
.nav-menu > li > a:active i.text-warning {
    color: #ff6a00 !important;
}
/* Mobile tap feedback for Black Friday link */
.nav-menu > li > a:focus .text-danger,
.nav-menu > li > a:active .text-danger,
.nav-menu > li > a:focus i.text-danger,
.nav-menu > li > a:active i.text-danger {
    color: #c82333 !important;
}

/* Remove border for last dropdown item */
.nav-dropdown > li:last-child > a {
    border-bottom: none;
}

.submenu-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    text-align: center;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

/* Chevron arrow */
.submenu-indicator-chevron {
    height: 8px;
    width: 8px;
    display: inline-block;
    border-style: solid;
    border-width: 0 2px 2px 0;
    border-color: transparent #506377 #506377 transparent;
    transform: rotate(45deg);
    transition: transform 0.3s, border-color 0.3s;
    margin-top: 2px;
}

/* Rotate chevron when open */
.submenu-indicator-up .submenu-indicator-chevron {
    transform: rotate(225deg);
}

/* ------------------------------
   Social/Menu Icons (Right side)
   ------------------------------ */
.nav-menu-social {
    display: flex;               /* Arrange <li> horizontally (row) */
    align-items: center;         /* Vertically center icons inside their li's */
    gap: 6px;                   /* Space between icons/buttons */
    height: 60px;                /* Match main nav bar height */
}

/* Ensures social menu items are centered */
.nav-menu-social > li {
    min-width: 44px;             /* Ensures all icons have enough space */
    height: 48px; 
}

/* Style each social icon link (<a> inside <li>) */
.nav-menu-social > li > a {
    display: flex;               /* Flex makes centering easy */
    align-items: center;         /* Vertically center icon/text in <a> */
    justify-content: center;     /* Horizontally center icon/text in <a> */
    font-size: 17px;
    height: 100%;
}

/* ---------------------------
   Counter Badge for Icons
   --------------------------- */
.dn-counter {
    background-color: #2c2c2c; 
    color: #fff;
    font-size: 10px;
    display: inline-block;
    line-height: 17px; 
    min-width: 17px; 
    min-height: 17px;
    border-radius: 50%;
    position: relative;
    margin-left: -5px;
    top: -4px; 
    text-align: center;
    transition: all 0.5s; 
    padding: 0 2px;              /* A little padding for 2+ digit numbers */
}

.nav-menu-social > li > a.btn {
    padding: 10px 12px;
}

/* Full-screen overlay for mobile nav (darkens page, shows when menu is open) */
.nav-overlay-panel {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: none;
    z-index: 19999;
}

/* Utility: disables scroll when overlay or mobile nav is open */
.no-scroll {
    overflow: hidden !important;
}

@media (max-width: 439.98px) {
    .nav-menu-social > li > a.btn {
        padding: 10px 5px;
    }
    .nav-menu-social {
        gap: 0;
    }
    .nav-logo {
        padding-right: 0px;
    }
}

@media (max-width: 575.98px) {
    .nav-header {
        min-width: 0;
    }
    .nav-menu-social {
        flex-shrink: 0;
    }
    .nav-logo {
        min-width: 0;
    }
    .nav-logo picture {
        display: block;
        max-width: 100%;
    }
    .nav-logo img {
        max-width: min(120px, 100%);
        height: auto;
    }
}

@media (max-width: 991.98px) {
    /* Deeper dropdowns: increase left padding for indentation effect */
    .nav-dropdown ul li > a { padding-left: 50px; }
    .nav-dropdown ul ul li > a { padding-left: 70px; }
}

@media (min-width: 992px) {
    .header {
        background-color: #000;
    }

    .header.header-scrolled {
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    }

    .nav-logo {
        margin-left: 0;
        padding-left: 0;
    }
    .nav-toggle {
        display: none;
    }
    .nav-menu-social > li > a,
    .nav-menu > li > a {
        color: #fff;
        width: auto;
    }

    .nav-menu-social {
        margin-left: auto;   /* This pushes social icons to the far right */
        gap: 10px;
    }

    .nav-menu-wrapper {
        position: static;
        width: auto;
        height: auto;
        display: flex;
        align-items: center;
        padding-top: 0;
        background: transparent;
        overflow: visible;
    }
    .nav-menu-wrapper .nav-menu > li {
        width: auto;
    }
    .nav-menu-wrapper .nav-menu > li > a {
        padding: 10px !important;
    }

    .nav-dropdown {
        position: absolute;
    }

    /* Dropdown content styles (desktop only, mobile handled by media queries) */
    .nav-menu > li .nav-dropdown {
        padding: 15px;
        background: #fff;
        border-radius: 0.5rem;
        box-shadow: 0px 0px 42px 0px rgba(32, 32, 32, 0.15);
    }

    .nav-dropdown > li > a {
        padding: 7px 20px 7px 10px;
    }

    /* Lighten nav menu link color when active, focused, or hovered (desktop only) */
    .nav-menu > .active > a,
    .nav-menu > .focus > a,
    .nav-menu > li:hover > a {
        color: #ccc !important;
        transition: color 0.2s ease;
    }

    /* Ensure Halloween label/icon respond to hover like other items */
    .nav-menu > li:hover > a .text-warning,
    .nav-menu > li:hover > a i.text-warning {
        color: #ff6a00 !important;
        transition: color 0.2s ease;
    }
    /* Ensure BF label/icon respond to hover like other items */
    .nav-menu > li:hover > a .text-danger,
    .nav-menu > li:hover > a i.text-danger {
        color: #dc3545 !important;
        transition: color 0.2s ease;
    }

    /* Hide submenu indicator chevrons/arrows (desktop only) */
    .submenu-indicator {
        display: none;
    }
}
@media (min-width: 1200px) {
    .nav-menu-wrapper .nav-menu > li > a {
        padding: 12px !important;
    }
}

/*-------------- Dashboard Navigation ------------*/

/* Dashboard nav (list-group based) */
.dashboard-nav .list-group-item {
    position: relative;
    border: 0;
    border-radius: .5rem;
    margin: .15rem .5rem;
    color: #151515;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.dashboard-nav .list-group-item::before {
    content: "";
    position: absolute;
    left: .25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 55%;
    border-radius: 2px;
    background: #0d6efd;
    transition: width .2s ease, opacity .2s ease;
    opacity: 0;
}
.dashboard-nav .list-group-item:hover {
    background: #f8f9fa;
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(13,110,253,.08);
}
.dashboard-nav .list-group-item:hover::before {
    width: 4px;
    opacity: 1;
}
.dashboard-nav .list-group-item i {
    width: 1.25rem;
    color: #6c757d;
    transition: color .2s ease, transform .2s ease;
}
.dashboard-nav .list-group-item:hover i {
    color: #0d6efd;
    transform: translateX(1px);
}
.dashboard-nav .list-group-item.active {
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 6px 14px rgba(13,110,253,.18);
}
.dashboard-nav .list-group-item.active i { color: #fff; }
.dashboard-nav .list-group-item.active::before { width: 4px; opacity: 1; background: rgba(255,255,255,.9); }
.dashboard-nav .list-group-item:focus {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.25);
}
@media (prefers-reduced-motion: reduce) {
    .dashboard-nav .list-group-item,
    .dashboard-nav .list-group-item i,
    .dashboard-nav .list-group-item::before {
        transition: none;
    }
}

.cart_selected_single_thumb {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
}
.cart_selected_single_thumb a {
    display: flex;
    width: 100px;
    height: 100px;
}
.cart_selected_single_thumb img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 0.375rem;
    background: #f4f4f5;
}

/*------------ Product Grid Styles -----------------*/

/* Wishlist action buttons (add/remove) */
.wishlist-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.wishlist-action:hover { background: #f8f9fa; }

.form-option { 
    display: inline-block; 
}

.form-option .form-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.form-option-label {
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    border: 1px solid #e3e9ef;
    border-radius: 0.25rem;
    color: #4b566b;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}
@media (min-width: 576px) {
    .form-option-label {
        padding: 0.625rem 0.5rem;
        font-size: 1rem;
    }
}

.form-option-label:hover {
    background: #f0f4ff;
    color: #2c3e50;
    transition: background 0.2s, color 0.2s;
}

.form-check-input:checked ~ .form-option-label {
    border-color: #121212;
    color: #121212;
}

.form-option .form-check-input:focus-visible ~ .form-option-label {
    outline: 2px solid #121212;
    outline-offset: 2px;
}

/*---------------- Ecommerce Detail Design --------------------*/

.product-image {
    object-fit: cover;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

@media (min-width: 1200px) {
    .product-image {
        max-width: 200px;
        margin-bottom: 0;
    }
}

/* Hero cover. 2:1 on phones and portrait tablets, 3:1 on landscape desktops. */
.hero {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center center;
    max-height: 100vh;
}
.hero-cta { bottom: 0.75rem; left: 0; right: 0; }

@media (min-width: 992px) and (orientation: landscape) {
    .hero { aspect-ratio: 3 / 1; }
    .hero-cta { bottom: 1.5rem; }
}

.band-of-the-day-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(13,110,253,.09);
    color: #0d6efd;
    border-radius: 999px;
    padding: .5rem .9rem;
    font-weight: 700;
    font-size: 1.5rem;
}

/*-------------- Form Elements (Bootstrap defaults with minimal tweaks) ----------------*/

/* Optional: brand focus color */
.form-control:focus,
.form-select:focus {
    border-color: #151515;
    box-shadow: 0 0 0 .2rem rgba(21,21,21,.08);
}

/* Optional: larger textarea without forcing exact height */
textarea.form-control { min-height: 8rem; }

/*------------ Product Thumb Zoom ------------------*/

.sp-loading {
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    font-size: 12px;
    color: #888;
}
.sp-loading img {
    width: 100%;
    height: auto;
    display: block;
}

/* Element wrapper */

.sp-wrap {
    display: none;
    line-height: 0;
    font-size: 0;
    position: relative;
    width: 100%;
}

/* Thumbnails */

.sp-thumbs {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-thumbs img {
    min-height: 50px;
    min-width: 50px;
    max-width: 50px;
}

.sp-thumbs a:link,
.sp-thumbs a:visited {
    width: 90px;
    height: 90px;
    overflow: hidden;
    opacity: 0.3;
    display: inline-flex;
    background-size: cover;
    background-position: center;
    transition: all 0.2s ease-out;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: 1px solid #eceef5;
    margin: 2px;
    border-radius: 4px;
}

.sp-thumbs a:hover {
    opacity: 1;
}

/* Styles for the currently selected thumbnail */

.sp-thumbs a:active,
.sp-current {
    opacity: 1 !important;
    position: relative;
}

/* Image currently being viewed */

.sp-large {
    position: relative;
    overflow: hidden;
    top: 0;
    left: 0;
}

.sp-large a img {
    max-width: 100%;
    height: auto;
}

.sp-large a {
    display: block;
}

/* Panning Zoomed Image */

.sp-zoom {
    position: absolute;
    left: -50%;
    top: -50%;
    cursor: zoom-in;
    display: none;
}

/* Lightbox */

.sp-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.9);
    z-index: 500;
    display: none;
    cursor: pointer;
}

.sp-lightbox img {
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 90%;
    max-height: 90%;
    border: 2px solid #fff;
}

#sp-prev,
#sp-next {
    position: absolute;
    top: 50%;
    margin-top: -25px;
    z-index: 501;
    color: #fff;
    padding: 14px;
    text-decoration: none;
    background: #000;
    border-radius: 25px;
    border: 2px solid #fff;
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    transition: 0.2s;
}

#sp-prev {
    left: 10px;
}

#sp-prev:before {
    content: "";
    border: 7px solid transparent;
    border-right: 15px solid #fff;
    position: absolute;
    top: 16px;
    left: 7px;
}

#sp-next {
    right: 10px;
}

#sp-next:before {
    content: "";
    border: 7px solid transparent;
    border-left: 15px solid white;
    position: absolute;
    top: 16px;
    left: 18px;
}

#sp-prev:hover,
#sp-next:hover {
    background: #444;
}

/* Tweak styles for small viewports */

@media screen and (max-width: 400px) {
    .sp-wrap {
        margin: 0 0 15px 0;
    }
    #sp-prev,
    #sp-next {
        top: auto;
        margin-top: 0;
        bottom: 25px;
    }
}

/*------------ Breadcrumbs ---------------*/

.breadcrumb {
    margin: 0;
}

/*--------------- Band of the Week Header ---------------*/
.botw-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 12px 0 20px;
    flex-wrap: wrap;
}
.botw-title {
    font-weight: 700;
    margin: 0;
}
.botw-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.2rem;
    color: #0f172a;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08), inset 0 0 0 1px rgba(15,23,42,.06);
}
.botw-date-pill::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -30%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
    transform: translateX(-100%) rotate(12deg);
    animation: botwShimmer 3.6s ease-in-out infinite;
}
@keyframes botwShimmer {
    0% { transform: translateX(-120%) rotate(12deg); }
    100% { transform: translateX(220%) rotate(12deg); }
}
.botw-date-pill i {
    color: #334155;
    font-size: 1.05em;
}

/* Countdown chip */
.botw-countdown {
    display: flex;
    justify-content: center;
    margin: -6px 0 18px;
}

.botw-countdown .botw-date-pill {
    gap: 10px;
}

.botw-countdown #botw-countdown {
    letter-spacing: 0.6px;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .botw-date-pill {
        font-size: 0.95rem;
        padding: 8px 14px;
        gap: 8px;
    }
}

/* (Removed) Old Band of the Day calendar styles */

/* BOTW history slider */
.botw-wrapper { position: relative; }
.botw-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.18);
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.botw-nav:hover { 
    background: rgba(15, 23, 42, 0.95); 
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.24);
}
.botw-nav:disabled {
    background: rgba(15, 23, 42, 0.35);
    cursor: not-allowed;
    box-shadow: none;
}
.botw-nav-left { left: 0; transform: translate(-100%, -50%); }
.botw-nav-right { right: 0; transform: translate(100%, -50%); }
@media (max-width: 575.98px) {
    .botw-wrapper { overflow: hidden; }
    .botw-nav { display: none; }
}

.botw-selected {
    outline: 2px solid #0ea5e9;
    box-shadow: 0 8px 22px rgba(2,6,23,.12);
}

/* BOTW future ribbon */
.botw-card { overflow: hidden; }
.botw-ribbon {
    position: absolute;
    top: 10px;
    left: -32px;
    transform: rotate(-12deg);
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    color: #7a5d00;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: .5px;
    border: 1px solid #ffec99;
    padding: 6px 36px;
    box-shadow: 0 6px 18px rgba(2,6,23,.12);
    text-transform: uppercase;
    z-index: 5;
    pointer-events: none;
}

/* BOTW mobile load-more */
.botw-load-more {
    border: 1px solid #0d6efd;
    color: #0d6efd;
    background: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(13,110,253,.15);
}
.botw-load-more:hover {
    background: #0d6efd;
    color: #fff;
}
.botw-load-more.disabled {
    opacity: .6;
    cursor: not-allowed;
}

/*--------------- Countdown -----------------*/

#countdown ul {
    margin: 0;
    padding: 0;
}

#countdown ul li {
    margin: 0 1rem;
    display: inline-flex;
    padding: 1.2rem 2rem;
    background: #efe7e1;
    border-radius: 0.2rem;
}

#countdown ul li span {
    display: block;
    font-size: 40px;
    font-weight: 600;
    color: #d2976b;
    line-height: 1;
}

#countdown ul li {
    margin: 0 1rem;
    display: inline-flex;
    padding: 1.2rem 2rem;
    background: #efe7e1;
    border-radius: 0.2rem;
    color: #50535d;
    font-size: 15px;
    flex-direction: column;
}

@media (max-width: 991.98px) {
    #countdown ul li {
        margin: 0 0.2rem;
        padding: 0.5rem 0.6rem;
        color: #50535d;
        font-size: 12px;
    }
    #countdown ul li span {
        display: block;
        font-size: 15px;
        font-weight: 600;
        color: #d2976b;
        line-height: 1;
    }
}

/*--------------- tab Design ----------------*/

/* Tabs – minimal overrides on top of Bootstrap */
.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: .25rem;
    background: #f4f5f7;
}
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
    background: #edeff3;
    cursor: pointer;
}
.nav-tabs .nav-link.active {
    color: #fff;
    background: #000;
    border-color: #000;
}

/* Product main image */
.product-main-image { width: 100%; height: auto; object-fit: cover; border-radius: 1rem; }

/* Simple tab links variant (lightweight) */
.nav-tabs.simple_tab_links .nav-link {
    margin: 0 .25rem;
    padding: .5rem .75rem;
    border: 0;
    background: transparent;
    font-size: .8125rem;
    font-weight: 500;
    opacity: .65;
    text-transform: uppercase;
}
.nav-tabs.simple_tab_links .nav-link:hover,
.nav-tabs.simple_tab_links .nav-link:focus {
    opacity: .85;
}
.nav-tabs.simple_tab_links .nav-link.active {
    color: #000;
    background: transparent;
    border-bottom: 2px dashed #000;
    opacity: 1;
}

/*-------------- Accordion Design --------------*/

.accordion .card {
    margin-bottom: 10px;
}

.accordion .card-header {
    padding: 1rem 1rem;
    background: transparent;
    border: none;
    position: relative;
}

.accordion .card-header button {
    color: #121212;
    font-weight: 500;
    padding: 0;
    text-decoration: initial;
}

.accordion .card-body {
    padding-top: 0px;
}

.accordion .btn-link:before {
    content: "";
    width: 14px;
    height: 2px;
    background: #333;
    position: absolute;
    top: calc(50% - 1px);
    right: 1rem;
    display: block;
    transition: all 0.3s;
}

.accordion .btn-link:after {
    content: "";
    width: 2px;
    height: 14px;
    background: #333;
    position: absolute;
    top: calc(50% - 7px);
    right: calc(1rem + 6px);
    display: block;
    transition: all 0.3s;
}

.accordion .btn-link[aria-expanded="true"]:after {
    transform: rotate(90deg) translateX(1px);
}

.accordion .btn-link[aria-expanded="true"]:before {
    transform: rotate(180deg);
}

/*---------- Small footer -------------------*/

footer {
    z-index: 99;
    position: relative;
    background: #252525;
}

.footer_widget {
    padding: 60px 0 60px;
}

.footer_widget ul {
    padding: 0;
    margin: 0;
}

.footer_widget ul li {
    list-style: none;
    margin-top: 10px;
    display: block;
}

.footer_widget ul.list-inline li {
    display: inline-block;
    margin-right: 15px;
}

footer .footer_widget ul li a,
footer {
    color: #a7a7a7;
    transition: all ease 0.4s;
    font-size: 15px;
}

a[href^="tel"] {
    color: #a7a7a7;
  }

footer .footer_widget ul li a:hover,
footer .footer_widget ul li a:focus {
    color: #ffffff;
}

footer h4 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

footer img {
    max-width: 180px;
    margin-bottom: 0.5rem;
}

.foot-news-last button {
    height: 52px;
    padding: 0 20px;
}

.foot-news-last .form-control {
    border-color: #424141;
    background: #424141;
    color: #ffffff;
}

.foot-news-last .input-group-text {
    background: #424141;
}

/*--------------------------------------------------
	Responsiveness Start
---------------------------------------------------*/

@media (max-width: 767px) {
    .accordion .card-header button {
        font-size: 15px;
    }
    .footer_widget {
        padding: 25px 0 25px;
    }
    .rows-products {
        margin-right: -7px;
        margin-left: -7px;
    }
    .rows-products .col-6 {
        padding-right: 7px;
        padding-left: 7px;
    }
    .rows-products .col-6 .product_grid h5.fs-md {
        font-size: 14px !important;
    }
}

@media (max-width: 600px) {
    .rows-products .col-6 .product_grid h5.fs-md {
        font-size: 13px !important;
    }
}

/* Hide number input spinner controls across different browsers */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* ==========================
   Checkout: Shipping Cards
   ========================== */
.shipping-options {
    display: flex;
    gap: 0.75rem;
}

/* Three logos plus the label do not fit in a row below this width. */
@media (max-width: 1199.98px) {
    .shipping-options { flex-direction: column; }
}

@media (min-width: 1200px) {
    .checkout-shipping-options { flex-wrap: wrap; }
    .checkout-shipping-options .shipping-card { flex-basis: 40%; }
}

@media (min-width: 992px) {
    .sticky-order-summary {
        position: sticky;
        top: 80px;
        z-index: 10;
    }
}

.shipping-card {
    cursor: pointer;
    flex: 1 1 0;
}

.shipping-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shipping-card-inner {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding-right: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
    background-color: #fff;
    height: 56px;
    overflow: hidden;
}

.shipping-card input[type="radio"]:checked + .shipping-card-inner {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,.15);
    background-color: #f8fbff;
}

.shipping-card input:focus-visible + .shipping-card-inner {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.shipping-card-logo {
    height: 100%;
}

.pickup-card-inner {
    min-height: 56px;
    height: auto;
    padding-block: 6px;
}

.pickup-card-copy {
    min-width: 0;
    font-size: 0.875rem;
    line-height: 1.25;
}

.shipping-card-wordmark {
    height: auto;
    max-width: 45%;
    max-height: 32px;
    margin-left: 12px;
    object-fit: contain;
}

.shipping-panel {
    height: 0;
    overflow: hidden;
}

.collapsible-section.open.settled > .shipping-panel {
    height: auto;
    overflow: visible;
}

.shipping-panel > .card-wrap {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.collapsible-section.open > .shipping-panel > .card-wrap {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .shipping-panel > .card-wrap { transition: none; }
}

.delivery-form .form-label {
    font-size: .8125rem;
    font-weight: 600;
    margin-bottom: .25rem;
}

.delivery-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.delivery-mode input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.delivery-mode label {
    display: block;
    margin: 0;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 10px 12px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
}

@media (max-width: 339.98px) {
    .delivery-mode label {
        white-space: nowrap;
        font-size: 0.875rem;
    }
}

.delivery-mode input:checked + label {
    border-color: #0d6efd;
    background: #f8fbff;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .15);
}

.delivery-suggest {
    top: 100%;
    left: calc(var(--bs-gutter-x, 1rem) * .5);
    right: calc(var(--bs-gutter-x, 1rem) * .5);
    z-index: 1050;
    max-height: 220px;
    overflow: auto;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.delivery-suggest .list-group-item {
    border: 0;
    border-bottom: 1px solid #f1f3f5;
}

/* ==========================
   Global announcement bar
   ========================== */
.site-announcement {
    background: linear-gradient(180deg, #f0fff4 0%, #e9ffeb 100%);
    border-bottom: 1px solid #d7f7dc;
}
.ann-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ann-item {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #0f5132;
}
.ann-item i { color: #198754; }

/* Responsive sizing for announcement bar */
@media (max-width: 991.98px) {
    .site-announcement .container { padding-top: 6px; padding-bottom: 6px; }
    .ann-wrap { gap: 12px; }
    .ann-item { font-size: 0.95rem; }
}

@media (max-width: 575.98px) {
    .site-announcement .container { padding-top: 4px; padding-bottom: 4px; }
    .ann-wrap { gap: 8px; }
    .ann-item { font-size: 0.875rem; }
}

/* ==========================
   Checkout: Free Shipping Widget
   ========================== */
.free-ship-widget {
    background-color: #e9ffeb;
}
.free-ship-title {
    font-size: 0.95rem;
}
.free-ship-progress {
    height: 10px;
}

/* ==========================
   Seasonal: Halloween Theme
   ========================== */
.halloween-section {
    padding: 0 0 20px;
    margin: 0 0 20px;
    position: relative;
    background:
        radial-gradient(1200px 600px at 120% -10%, rgba(255,138,0,0.06), transparent 60%),
        radial-gradient(800px 500px at -20% 110%, rgba(255,77,0,0.05), transparent 55%),
        linear-gradient(180deg, #0b0b0b 0%, #0a0a0a 45%, #0f0a05 100%);
    overflow: hidden;
}
.halloween-section .sec_title h2,
.halloween-section h1,
.halloween-section h2,
.halloween-section h3,
.halloween-section h4,
.halloween-section h5,
.halloween-section h6 { color: #ff8a00; }

/* subtle web of lines */
.halloween-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(255,138,0,0.08), transparent 55%),
                radial-gradient(ellipse at bottom right, rgba(255,138,0,0.06), transparent 60%);
    pointer-events: none;
}

/* soft animated mist */
.halloween-section::after {
    content: "";
    position: absolute;
    inset: -10% -10% -10% -10%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255,255,255,0.035), transparent 60%),
        radial-gradient(ellipse at 80% 60%, rgba(255,255,255,0.03), transparent 60%);
    filter: blur(6px);
    animation: mistDrift 24s linear infinite;
    pointer-events: none;
}

@keyframes mistDrift {
    0% { transform: translateX(-4%); }
    50% { transform: translateX(4%); }
    100% { transform: translateX(-4%); }
}

/* glowing divider accent under section title */
.halloween-divider {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff8a00, #ff4d00, transparent);
    border-radius: 999px;
    margin: 6px auto 0;
    box-shadow: 0 0 16px rgba(255,77,0,.35), 0 0 6px rgba(255,138,0,.4);
}

/* product cards in halloween context */
.halloween-section .product_grid {
    background: #121212;
    border: 1px solid rgba(255,255,255,0.06);
}
.halloween-section .product_grid h5,
.halloween-section .product_grid .price,
.halloween-section .product_grid .price span { color: #fff; }
.halloween-section .discount-badge {
    background: #ff4d00;
    color: #fff;
}
.halloween-section .btn-primary,
.halloween-section .btn-dark {
    background: #ff8a00;
    border-color: #ff8a00;
    color: #1a0f00;
}
.halloween-section .btn-primary:hover,
.halloween-section .btn-dark:hover {
    background: #ff6a00;
    border-color: #ff6a00;
    color: #1a0f00;
}

/* Pagination readability inside Halloween sections */
.halloween-section .pagination .page-link {
    color: #f7f7f7;
    background-color: transparent; /* keep background clean over theme */
    border-bottom-color: rgba(255,255,255,0.18);
}
.halloween-section .pagination > .active > a,
.halloween-section .pagination > .active > a:focus,
.halloween-section .pagination > .active > a:hover,
.halloween-section .pagination > .active > span,
.halloween-section .pagination > .active > span:focus,
.halloween-section .pagination > .active > span:hover,
.halloween-section .page-item.active .page-link {
    color: #1a0f00;
    background-color: #ff8a00;
    border-color: #ff8a00;
}
.halloween-section .pagination > li > a:focus,
.halloween-section .pagination > li > a:hover,
.halloween-section .pagination .page-link:hover {
    color: #ff8a00;
    background-color: transparent;
    border-color: #ff8a00;
}

/* cute floating bats */
.bat {
    position: absolute;
    width: 18px;
    height: 8px;
    background: currentColor;
    color: #ff8a00;
    border-radius: 4px 4px 2px 2px;
    opacity: .8;
    transform-origin: center;
    animation: batFly 8s linear infinite;
}
.bat::before,
.bat::after {
    content: "";
    position: absolute;
    top: -3px;
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-bottom-color: transparent;
    border-right-color: transparent;
    border-radius: 50% 0 0 0;
}
.bat::before { left: -10px; transform: rotate(-25deg); }
.bat::after { right: -10px; transform: scaleX(-1) rotate(-25deg); }

@keyframes batFly {
    0% { transform: translateX(-10%) translateY(0) rotate(0deg); }
    25% { transform: translateX(15%) translateY(-6px) rotate(-5deg); }
    50% { transform: translateX(40%) translateY(2px) rotate(3deg); }
    75% { transform: translateX(70%) translateY(-4px) rotate(-3deg); }
    100% { transform: translateX(110%) translateY(0) rotate(0deg); }
}

/* bat variants */
.bat-sm { transform: scale(.85); }
.bat-lg { transform: scale(1.3); }
/* simple color variants */
.bat.orange { color: #ff8a00; }
.bat.amber { color: #ffb300; }
.bat.tanger { color: #ff6a00; }
.bat.red { color: #ff4d00; }

/* Top bats strip inside halloween section */
.halloween-top-bats {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    pointer-events: none;
    overflow: visible;
}

/* tone link color inside dark section */
.halloween-section a { color: #ff9000; }

/* Seamless bats marquee (placed below section title) */
.halloween-bats-marquee {
    position: relative;
    overflow: hidden;
    height: 48px;
    margin-top: 6px;
    pointer-events: none;
}
.hbm-track {
    display: flex;
    width: 200%;
    animation: batsScroll 24s linear infinite;
}
.hbm-segment {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
}
@keyframes batsScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Inline bat variants removed */

/* Randomized bat swarm (top and bottom) */
.halloween-swarm {
    position: relative;
    overflow: hidden;
    height: 56px;
    pointer-events: none;
}

/* Use with <span class="bat bat-fly">; override default .bat animation */
.bat-fly {
    position: absolute;
    left: -12%;
    animation: batDrift var(--speed, 12s) linear infinite;
    animation-delay: var(--delay, 0s);
}
/* Bottom swarm uses same direction by default (left-to-right) */

/* Direction override variants removed */

@keyframes batDrift {
    0%   { left: calc(var(--startLeftPct, -12%) + 0%);  transform: translateY(0) rotate(calc(var(--rot, 6) * 0.0deg)); }
    25%  { transform: translateY(calc(var(--ampY, 10px) * 0.6)) rotate(calc(var(--rot, 6) * 0.3deg)); }
    50%  { transform: translateY(calc(var(--ampY, 10px) * -0.5)) rotate(calc(var(--rot, 6) * -0.2deg)); }
    75%  { transform: translateY(calc(var(--ampY, 10px) * 0.4)) rotate(calc(var(--rot, 6) * 0.15deg)); }
    100% { left: calc(var(--startLeftPct, -12%) + 150%); transform: translateY(0) rotate(0deg); }
}
/* Alternate drift paths */
.bat-path-b { animation-name: batDriftB !important; }
.bat-path-c { animation-name: batDriftC !important; }
.bat-path-d { animation-name: batDriftD !important; }
.bat-path-e { animation-name: batDriftE !important; }

@keyframes batDriftB {
    0% { left: calc(var(--startLeftPct, -12%) + 0%); transform: translateY(0) rotate(calc(var(--rot, 8) * 0.0deg)); }
    25% { transform: translateY(calc(var(--ampY, 12px) * -0.5)) rotate(calc(var(--rot, 8) * -0.2deg)); }
    50% { transform: translateY(calc(var(--ampY, 12px) * 0.4)) rotate(calc(var(--rot, 8) * 0.1deg)); }
    75% { transform: translateY(calc(var(--ampY, 12px) * -0.6)) rotate(calc(var(--rot, 8) * -0.25deg)); }
    100% { left: calc(var(--startLeftPct, -12%) + 150%); transform: translateY(0) rotate(0deg); }
}
@keyframes batDriftC {
    0% { left: calc(var(--startLeftPct, -12%) + 0%); transform: translateY(calc(var(--ampY, 10px) * 0.1)) rotate(calc(var(--rot, 6) * 0.05deg)); }
    25% { transform: translateY(calc(var(--ampY, 10px) * 0.8)) rotate(calc(var(--rot, 6) * 0.25deg)); }
    50% { transform: translateY(calc(var(--ampY, 10px) * -0.6)) rotate(calc(var(--rot, 6) * -0.15deg)); }
    75% { transform: translateY(calc(var(--ampY, 10px) * 0.5)) rotate(calc(var(--rot, 6) * 0.15deg)); }
    100% { left: calc(var(--startLeftPct, -12%) + 150%); transform: translateY(0) rotate(0deg); }
}
@keyframes batDriftD {
    0% { left: calc(var(--startLeftPct, -12%) + 0%); transform: translateY(calc(var(--ampY, 14px) * -0.2)) rotate(calc(var(--rot, 9) * -0.1deg)); }
    25% { transform: translateY(calc(var(--ampY, 14px) * 0.4)) rotate(calc(var(--rot, 9) * 0.15deg)); }
    50% { transform: translateY(calc(var(--ampY, 14px) * -0.8)) rotate(calc(var(--rot, 9) * -0.25deg)); }
    75% { transform: translateY(calc(var(--ampY, 14px) * 0.3)) rotate(calc(var(--rot, 9) * 0.2deg)); }
    100% { left: calc(var(--startLeftPct, -12%) + 150%); transform: translateY(0) rotate(0deg); }
}
@keyframes batDriftE {
    0% { left: calc(var(--startLeftPct, -12%) + 0%); transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(calc(var(--ampY, 11px) * -0.4)) rotate(calc(var(--rot, 7) * -0.1deg)); }
    50% { transform: translateY(calc(var(--ampY, 11px) * 0.6)) rotate(calc(var(--rot, 7) * 0.2deg)); }
    75% { transform: translateY(calc(var(--ampY, 11px) * -0.5)) rotate(calc(var(--rot, 7) * -0.15deg)); }
    100% { left: calc(var(--startLeftPct, -12%) + 150%); transform: translateY(0) rotate(0deg); }
}

/* ==========================
   Valentine: floating hearts
   ========================== */
.valentine-swarm {
    position: relative;
    overflow: hidden;
    height: 56px;
    pointer-events: none;
}

.heart {
    position: absolute;
    width: 14px;
    height: 14px;
    background: currentColor;
    color: #ff4d88;
    transform: rotate(-45deg);
    border-radius: 2px;
    opacity: 0.85;
}
.heart::before,
.heart::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background: currentColor;
    border-radius: 50%;
}
.heart::before { top: -7px; left: 0; }
.heart::after { left: 7px; top: 0; }

.heart-sm { transform: rotate(-45deg) scale(.85); }
.heart-lg { transform: rotate(-45deg) scale(1.25); }

.heart.rose { color: #ff6fa6; }
.heart.pink { color: #ff4d88; }
.heart.fuchsia { color: #e91e63; }
.heart.red { color: #ff3355; }

.heart-fly {
    position: absolute;
    left: -12%;
    animation: heartDrift var(--speed, 12s) linear infinite;
    animation-delay: var(--delay, 0s);
}
.heart-path-b { animation-name: heartDriftB !important; }
.heart-path-c { animation-name: heartDriftC !important; }
.heart-path-d { animation-name: heartDriftD !important; }

@keyframes heartDrift {
    0%   { left: calc(var(--startLeftPct, -12%) + 0%);  transform: translateY(0) rotate(calc(var(--rot, 8) * 0.0deg)); }
    25%  { transform: translateY(calc(var(--ampY, 10px) * 0.6)) rotate(calc(var(--rot, 8) * 0.2deg)); }
    50%  { transform: translateY(calc(var(--ampY, 10px) * -0.5)) rotate(calc(var(--rot, 8) * -0.15deg)); }
    75%  { transform: translateY(calc(var(--ampY, 10px) * 0.4)) rotate(calc(var(--rot, 8) * 0.12deg)); }
    100% { left: calc(var(--startLeftPct, -12%) + 150%); transform: translateY(0) rotate(0deg); }
}
@keyframes heartDriftB {
    0% { left: calc(var(--startLeftPct, -12%) + 0%); transform: translateY(0) rotate(calc(var(--rot, 9) * 0.0deg)); }
    25% { transform: translateY(calc(var(--ampY, 12px) * -0.5)) rotate(calc(var(--rot, 9) * -0.2deg)); }
    50% { transform: translateY(calc(var(--ampY, 12px) * 0.4)) rotate(calc(var(--rot, 9) * 0.15deg)); }
    75% { transform: translateY(calc(var(--ampY, 12px) * -0.6)) rotate(calc(var(--rot, 9) * -0.2deg)); }
    100% { left: calc(var(--startLeftPct, -12%) + 150%); transform: translateY(0) rotate(0deg); }
}
@keyframes heartDriftC {
    0% { left: calc(var(--startLeftPct, -12%) + 0%); transform: translateY(calc(var(--ampY, 10px) * 0.1)) rotate(calc(var(--rot, 7) * 0.05deg)); }
    25% { transform: translateY(calc(var(--ampY, 10px) * 0.8)) rotate(calc(var(--rot, 7) * 0.25deg)); }
    50% { transform: translateY(calc(var(--ampY, 10px) * -0.6)) rotate(calc(var(--rot, 7) * -0.18deg)); }
    75% { transform: translateY(calc(var(--ampY, 10px) * 0.5)) rotate(calc(var(--rot, 7) * 0.15deg)); }
    100% { left: calc(var(--startLeftPct, -12%) + 150%); transform: translateY(0) rotate(0deg); }
}
@keyframes heartDriftD {
    0% { left: calc(var(--startLeftPct, -12%) + 0%); transform: translateY(calc(var(--ampY, 14px) * -0.2)) rotate(calc(var(--rot, 10) * -0.1deg)); }
    25% { transform: translateY(calc(var(--ampY, 14px) * 0.4)) rotate(calc(var(--rot, 10) * 0.2deg)); }
    50% { transform: translateY(calc(var(--ampY, 14px) * -0.8)) rotate(calc(var(--rot, 10) * -0.25deg)); }
    75% { transform: translateY(calc(var(--ampY, 14px) * 0.3)) rotate(calc(var(--rot, 10) * 0.18deg)); }
    100% { left: calc(var(--startLeftPct, -12%) + 150%); transform: translateY(0) rotate(0deg); }
}

@media (max-width: 409.98px) {
    .ann-hide-under-410 { display: none !important; }
}
@media (max-width: 360.98px) {
    .ann-item { font-size: 0.8125rem; }
}
@media (min-width: 992px) and (max-width: 1609.98px) {
    .hide-under-1610 { display: none !important; }
}

/* ==========================
   Seasonal: Black Friday Theme
   ========================== */
.bf-section {
    padding: 0 0 20px;
    margin: 0 0 20px;
    position: relative;
    background:
        radial-gradient(1100px 500px at 120% -10%, rgba(220,53,69,0.06), transparent 60%),
        radial-gradient(900px 600px at -20% 110%, rgba(108,117,125,0.05), transparent 55%),
        linear-gradient(180deg, #0a0a0a 0%, #0a0a0a 45%, #101010 100%);
    overflow: hidden;
}
.bf-section .sec_title h2,
.bf-section h1,
.bf-section h2,
.bf-section h3,
.bf-section h4,
.bf-section h5,
.bf-section h6 { color: #dc3545; }

/* subtle sheen */
.bf-section::after {
    content: "";
    position: absolute;
    inset: -10% -10% -10% -10%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255,255,255,0.03), transparent 60%),
        radial-gradient(ellipse at 80% 60%, rgba(255,255,255,0.025), transparent 60%);
    filter: blur(5px);
    pointer-events: none;
}

.bf-divider {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #dc3545, #e60c0c, transparent);
    border-radius: 999px;
    margin: 6px auto 0;
    box-shadow: 0 0 14px rgba(220,53,69,.35), 0 0 6px rgba(220,53,69,.35);
}

.bf-section .product_grid {
    background: #121212;
    border: 1px solid rgba(255,255,255,0.06);
}
.bf-section .product_grid h5,
.bf-section .product_grid .price,
.bf-section .product_grid .price span { color: #fff; }
.bf-section .discount-badge {
    background: #c82333;
    color: #fff;
}
.bf-section .btn-primary,
.bf-section .btn-dark {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}
.bf-section .btn-primary:hover,
.bf-section .btn-dark:hover {
    background: #bd2130;
    border-color: #bd2130;
    color: #fff;
}

.bf-section .pagination .page-link {
    color: #f7f7f7;
    background-color: transparent;
    border-bottom-color: rgba(255,255,255,0.18);
}
.bf-section .pagination > .active > a,
.bf-section .pagination > .active > a:focus,
.bf-section .pagination > .active > a:hover,
.bf-section .pagination > .active > span,
.bf-section .pagination > .active > span:focus,
.bf-section .pagination > .active > span:hover,
.bf-section .page-item.active .page-link {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.bf-section .pagination > li > a:focus,
.bf-section .pagination > li > a:hover,
.bf-section .pagination .page-link:hover {
    color: #dc3545;
    background-color: transparent;
    border-color: #dc3545;
}

.bf-section a { color: #ff6b6b; }

/* ==========================
   Seasonal: Valentine Theme
   ========================== */
.valentine-section {
    padding: 0 0 20px;
    margin: 0 0 20px;
    position: relative;
    background:
        radial-gradient(1100px 500px at 120% -10%, rgba(233,30,99,0.08), transparent 60%),
        radial-gradient(900px 600px at -20% 110%, rgba(248,187,208,0.09), transparent 55%),
        linear-gradient(180deg, #1a0d12 0%, #1a0d12 45%, #24101a 100%);
    overflow: hidden;
}
.valentine-section .sec_title h2,
.valentine-section h1,
.valentine-section h2,
.valentine-section h3,
.valentine-section h4,
.valentine-section h5,
.valentine-section h6 { color: #ff4d88; }

/* soft glow */
.valentine-section::after {
    content: "";
    position: absolute;
    inset: -10% -10% -10% -10%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255,255,255,0.04), transparent 60%),
        radial-gradient(ellipse at 80% 60%, rgba(255,255,255,0.03), transparent 60%);
    filter: blur(6px);
    pointer-events: none;
}

.valentine-divider {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff4d88, #ff1f6a, transparent);
    border-radius: 999px;
    margin: 6px auto 0;
    box-shadow: 0 0 14px rgba(255,77,136,.35), 0 0 6px rgba(255,77,136,.35);
}

.valentine-section .product_grid {
    background: #1d1117;
    border: 1px solid rgba(255,255,255,0.08);
}
.valentine-section .product_grid h5,
.valentine-section .product_grid .price,
.valentine-section .product_grid .price span { color: #fff; }
.valentine-section .discount-badge {
    background: #e91e63;
    color: #fff;
}
.valentine-section .btn-primary,
.valentine-section .btn-dark {
    background: #ff4d88;
    border-color: #ff4d88;
    color: #fff;
}
.valentine-section .btn-primary:hover,
.valentine-section .btn-dark:hover {
    background: #e91e63;
    border-color: #e91e63;
    color: #fff;
}

.valentine-section .pagination .page-link {
    color: #f7f7f7;
    background-color: transparent;
    border-bottom-color: rgba(255,255,255,0.18);
}
.valentine-section .pagination > .active > a,
.valentine-section .pagination > .active > a:focus,
.valentine-section .pagination > .active > a:hover,
.valentine-section .pagination > .active > span,
.valentine-section .pagination > .active > span:focus,
.valentine-section .pagination > .active > span:hover,
.valentine-section .page-item.active .page-link {
    color: #fff;
    background-color: #ff4d88;
    border-color: #ff4d88;
}
.valentine-section .pagination > li > a:focus,
.valentine-section .pagination > li > a:hover,
.valentine-section .pagination .page-link:hover {
    color: #ff4d88;
    background-color: transparent;
    border-color: #ff4d88;
}

.valentine-section a { color: #e91e63; }

/* ==========================
   Home: Sale Section Title (bigger)
   ========================== */
.home-sale-title {
    font-size: 2rem;
}
@media (min-width: 576px) {
    .home-sale-title { font-size: 2.4rem; }
}
@media (min-width: 768px) {
    .home-sale-title { font-size: 2.6rem; }
}
@media (min-width: 992px) {
    .home-sale-title { font-size: 3.2rem; }
}

/* ==========================
   Error pages
   ========================== */
.error-screen {
    min-height: 62vh;
    display: flex;
    align-items: center;
    padding: 3.5rem 1.25rem 4.5rem;
}
.error-layout {
    width: min(1080px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}
.error-copy { max-width: 34rem; }
.error-screen h1 {
    font-size: clamp(1.75rem, 7.2vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin: 0 0 1rem;
}
.error-lead {
    color: #1c1c1c;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.45;
    margin: 0 0 1.75rem;
}
.error-button {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: #111111;
    color: #ffffff;
    border: 0;
    border-radius: 999px;
    padding: 0.9rem 1.35rem 0.9rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1;
}
.error-button:hover,
.error-button:focus {
    background: #2b2b2b;
    color: #ffffff;
}
.error-button:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 3px;
}
.error-back {
    display: inline-block;
    margin-top: 1rem;
    color: #111111;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.error-art {
    width: min(100%, 26rem);
    height: auto;
    display: block;
}
@media (min-width: 992px) {
    .error-screen { padding: 4rem 2.5rem 5rem; }
    .error-layout {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 2.5rem;
    }
    .error-screen h1 { font-size: clamp(2.4rem, 2.8vw, 3.2rem); }
    .error-copy { flex: 1 1 28rem; }
    .error-art { width: min(44%, 32rem); flex: 0 1 32rem; }
}

.coupon-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-left: 0.35rem;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(25, 135, 84, 0.45);
    border-radius: 0.35rem;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.coupon-remove:hover,
.coupon-remove:focus-visible {
    background: #198754;
    border-color: #198754;
    color: #fff;
}

/* Product grid: softer cards, lift, image zoom */
.product-card {
    margin: 0.75rem;
    border-radius: 1.15rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform var(--motion-fast) var(--motion-ease), box-shadow var(--motion-slow) var(--motion-ease);
}

.product-card .product-img-hover-wrapper .main-img,
.product-card .product-img-hover-wrapper .hover-img {
    transition: transform var(--motion-slow) var(--motion-ease), opacity 0.25s ease;
}

@media (hover: hover) {
    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    }
    .product-card:hover .product-img-hover-wrapper .main-img,
    .product-card:hover .product-img-hover-wrapper .hover-img {
        transform: scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card .product-img-hover-wrapper .main-img,
    .product-card .product-img-hover-wrapper .hover-img,
    .btn,
    .header,
    .nav-menu > li > a,
    .nav-menu-social > li > a {
        transition: none;
    }
    .product-card:hover,
    .product-card:hover .product-img-hover-wrapper .main-img,
    .product-card:hover .product-img-hover-wrapper .hover-img,
    .btn:active,
    .nav-menu > li > a:active,
    .nav-menu-social > li > a:active {
        transform: none;
    }
}
