.main-header .site-logo {
    max-height: 72px;
}
/* ===== Global Styles ===== */
:root {
    --primary-color: #FF6600;
    --secondary-color: #333333;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #232323;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    background-color: #fff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #e65c00;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #e65c00;
    border-color: #e65c00;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Checkout summary sticky positioning */
.checkout-summary-card {
    top: 180px;
}

@media (max-width: 991.98px) {
    .checkout-summary-card {
        top: 110px;
    }
}

@keyframes tickerGlimmer {
    0% {
        transform: translateX(-120%);
    }
    45% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(120%);
    }
}

@keyframes tickerPulse {
    0%, 100% {
        transform: scale(1);
        color: #ffb347;
    }
    50% {
        transform: scale(1.1);
        color: #ffcf85;
    }
}

@keyframes tickerSurface {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes tickerTextGlow {
    0%, 100% {
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
    50% {
        filter: drop-shadow(0 0 6px rgba(255, 214, 153, 0.65));
    }
}

@keyframes tickerContentFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.checkout-payment-icons img {
    height: 28px;
    width: auto;
    filter: grayscale(10%);
    opacity: 0.9;
}

.checkout-payment-icons img:hover {
    filter: none;
    opacity: 1;
}

/* ===== Header Styles ===== */
.top-bar {
    font-size: 14px;
    position: relative;
    z-index: 1100;
    background: linear-gradient(90deg, #ffb88c 0%, #ff6b35 100%);
    color: #ffffff;
}

.top-bar + .main-header {
    margin-top: 4px;
}

.top-bar-orange {
    background: linear-gradient(90deg, #ffb88c 0%, #ff6b35 100%);
    color: #ffffff;
}

.top-bar a,
.top-bar .btn-link,
.top-bar small {
    color: #ffffff;
}

.top-bar-orange a,
.top-bar-orange .btn-link,
.top-bar-orange small {
    color: #ffffff !important;
}

.main-header {
    transition: var(--transition);
}

.logo h2 {
    color: var(--primary-color);
    letter-spacing: 1px;
}

.search-form .form-control {
    border-radius: 25px 0 0 25px;
    border-right: none;
}

.search-form .btn {
    border-radius: 0 25px 25px 0;
}

.search-form {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 30px rgba(31, 45, 61, 0.12);
    z-index: 2008;
    overflow: hidden;
}

.search-suggestions.is-visible {
    animation: fadeInUp 0.18s ease;
}

.search-suggestions__body {
    max-height: 280px;
    overflow-y: auto;
}

.search-suggestions__item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--secondary-color);
    cursor: pointer;
    transition: background 0.15s ease, padding-left 0.15s ease;
}

.search-suggestions__item:hover,
.search-suggestions__item:focus {
    background: rgba(21, 126, 251, 0.08);
    padding-left: 18px;
    outline: none;
}

.search-suggestions__empty {
    font-size: 0.85rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.header-actions .btn {
    padding: 6px 10px;
}

.navbar-nav .nav-link {
    padding: 0.6rem 0.9rem;
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.news-ticker {
    --ticker-surface-bg: #ffffff;
    --ticker-depth-bg: #f5f5f5;
    --ticker-label-bg: #ffffff;
    --ticker-label-border: #e5e7eb;
    --ticker-label-icon: #0f172a;
    --ticker-label-gradient: none;
    --ticker-text-color: #0f172a;
    --ticker-link-hover: #0f172a;
    --ticker-action-border: #e5e7eb;
    --ticker-action-bg: #ffffff;
    --ticker-action-color: #0f172a;
    --ticker-action-bg-hover: #f3f4f6;
    --ticker-action-hover-border: #d1d5db;
    --ticker-action-hover-color: #0f172a;

    position: relative;
    z-index: 1000;
    padding-bottom: 0.4rem;
    background: var(--ticker-surface-bg);
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    color: #0f172a !important;
}

.news-ticker::before,
.news-ticker::after {
    content: "";
    position: absolute;
    inset: -42px -12px 0;
    border-radius: 0 0 90px 90px / 0 0 36px 36px;
    z-index: 0;
}

.news-ticker::after {
    inset: -38px -6px 0;
    background: var(--ticker-surface-bg);
    box-shadow: 0 25px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.65);
    opacity: 0.95;
    animation: tickerSurface 22s linear infinite;
}

.news-ticker::before {
    inset: -50px -30px 0;
    background: var(--ticker-depth-bg);
    filter: blur(20px);
    opacity: 0.75;
}

.news-ticker__container {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding: 0.35rem 0;
    overflow: hidden;
    z-index: 1;
}

.news-ticker__container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.25) 45%, rgba(255, 184, 132, 0.45) 50%, transparent 62%);
    transform: translateX(-120%);
    animation: tickerGlimmer 6s ease-in-out infinite;
    pointer-events: none;
}

.news-ticker__label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #0f172a;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.news-ticker__label i {
    font-size: 0.95rem;
    color: #0f172a;
    animation: none;
}

.news-ticker__label span {
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: #0f172a !important;
    text-shadow: none !important;
    animation: none !important;
}

.news-ticker__viewport {
    flex: 1;
    min-height: 28px;
    z-index: 2;
}

.news-ticker__item {
    display: none;
    animation: fadeTicker 0.45s ease;
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
}

.news-ticker__item.is-active {
    display: block;
}

.news-ticker__link,
.news-ticker__text,
.news-ticker__item {
    color: #0f172a !important;
    text-shadow: none !important;
}
.news-ticker,
.news-ticker * {
    color: #0f172a !important;
}

.news-ticker__link {
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.news-ticker__link:hover {
    text-decoration: underline;
    color: #0f172a;
}

/* Force readable ticker colors regardless of theme */
.news-ticker,
.news-ticker.news-ticker--theme-sunset-glow,
.news-ticker.news-ticker--theme-midnight-neon,
.news-ticker.news-ticker--theme-emerald-pulse,
.news-ticker.news-ticker--theme-minimal-light {
    --ticker-text-color: #0f172a !important;
    --ticker-label-icon: #0f172a !important;
    --ticker-label-gradient: none !important;
    --ticker-link-hover: #0f172a !important;
}
.news-ticker,
.news-ticker * {
    color: #0f172a !important;
}

.news-ticker__actions {
    display: flex;
    gap: 0.35rem;
}

.news-ticker__control {
    width: 34px;
    height: 34px;
    border: 1px solid var(--ticker-action-border);
    background: transparent;
    color: var(--ticker-action-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.news-ticker__control:hover {
    background: var(--ticker-action-bg-hover);
    border-color: var(--ticker-action-hover-border);
    color: var(--ticker-action-hover-color);
}

.news-ticker--marquee .news-ticker__actions {
    display: none;
}

.news-ticker__track {
    flex: 1;
    overflow: hidden;
}

.news-ticker__marquee {
    display: flex;
    gap: 2rem;
    animation: tickerMarquee var(--ticker-marquee-speed, 25s) linear infinite;
    white-space: nowrap;
}

.news-ticker__marquee-item {
    min-width: max-content;
    font-size: 0.95rem;
    animation: tickerContentFloat 6s ease-in-out infinite;
}

.news-ticker__actions--hidden {
    display: none !important;
}

.news-ticker--style-simple {
    --ticker-surface-bg: #ffffff;
    --ticker-depth-bg: #ffffff;
    --ticker-label-bg: transparent;
    --ticker-label-border: rgba(15, 23, 42, 0.15);
    --ticker-label-text: #0f172a;
    --ticker-label-gradient: linear-gradient(120deg, #0f172a, #0f172a);
    --ticker-label-icon: #0f172a;
    --ticker-text-color: #0f172a;
    --ticker-link-hover: #ff6b35;
    --ticker-action-border: rgba(15, 23, 42, 0.1);
    --ticker-action-hover-border: rgba(15, 23, 42, 0.2);
    --ticker-action-bg-hover: rgba(15, 23, 42, 0.05);
    --ticker-action-color: #0f172a;
    --ticker-action-hover-color: #ff6b35;
    box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.08);
}

.news-ticker--style-simple::before,
.news-ticker--style-simple::after {
    display: none;
}

.news-ticker--style-simple .news-ticker__container {
    padding: 0.25rem 0;
}

.news-ticker--style-simple .news-ticker__label {
    border-radius: 0;
    border: none;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    padding: 0;
    box-shadow: none;
    background: transparent;
}

.news-ticker--style-simple .news-ticker__label i {
    display: none;
}

.news-ticker--style-simple .news-ticker__actions {
    display: none;
}

.news-ticker--style-simple .news-ticker__link,
.news-ticker--style-simple .news-ticker__text {
    text-shadow: none;
}

.news-ticker--theme-sunset-glow {
    --ticker-surface-bg: radial-gradient(circle at 20% 0%, rgba(255, 181, 120, 0.65), transparent 42%), linear-gradient(120deg, #111315, #1f1f22 40%, #ff9440 60%, #050506);
    --ticker-depth-bg: radial-gradient(circle at 30% -10%, rgba(255, 183, 119, 0.6), transparent 45%), radial-gradient(circle at 80% -20%, rgba(255, 240, 220, 0.35), transparent 55%), linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 22, 0.95));
    --ticker-label-bg: rgba(0, 0, 0, 0.65);
    --ticker-label-border: rgba(255, 158, 107, 0.6);
    --ticker-label-text: #ffd7ba;
    --ticker-label-gradient: linear-gradient(120deg, #ffd6b1, #ff914d, #ffd6b1);
    --ticker-label-icon: #ff914d;
    --ticker-text-color: #f8fafc;
    --ticker-link-hover: #ffd3b6;
}

.news-ticker--theme-midnight-neon {
    --ticker-surface-bg: linear-gradient(125deg, #040b2c, #0a1f4f 45%, #20105d 70%, #06183c);
    --ticker-depth-bg: radial-gradient(circle at 10% -20%, rgba(41, 224, 255, 0.6), transparent 50%), radial-gradient(circle at 90% -10%, rgba(236, 72, 153, 0.5), transparent 55%), linear-gradient(135deg, #050816, #070f2b);
    --ticker-label-bg: rgba(6, 12, 46, 0.85);
    --ticker-label-border: rgba(41, 224, 255, 0.55);
    --ticker-label-text: #c4f1ff;
    --ticker-label-gradient: linear-gradient(120deg, #f9c7ff, #8be9ff);
    --ticker-label-icon: #7ff0ff;
    --ticker-text-color: #dff6ff;
    --ticker-link-hover: #7cf0ff;
    --ticker-action-border: rgba(147, 197, 253, 0.6);
    --ticker-action-hover-border: rgba(147, 197, 253, 0.85);
    --ticker-action-bg-hover: rgba(59, 130, 246, 0.2);
    --ticker-action-color: #e0f2ff;
    --ticker-action-hover-color: #7cf0ff;
}

.news-ticker--theme-emerald-pulse {
    --ticker-surface-bg: linear-gradient(120deg, #02231c, #045c3b 55%, #0b9760);
    --ticker-depth-bg: radial-gradient(circle at 15% -10%, rgba(16, 185, 129, 0.6), transparent 45%), radial-gradient(circle at 70% -10%, rgba(45, 212, 191, 0.4), transparent 60%), linear-gradient(135deg, #011b14, #064e3b);
    --ticker-label-bg: rgba(1, 33, 28, 0.8);
    --ticker-label-border: rgba(110, 231, 183, 0.6);
    --ticker-label-text: #bbf7d0;
    --ticker-label-gradient: linear-gradient(120deg, #34d399, #a7f3d0);
    --ticker-label-icon: #5eead4;
    --ticker-text-color: #e2ffef;
    --ticker-link-hover: #a7f3d0;
    --ticker-action-border: rgba(187, 247, 208, 0.6);
    --ticker-action-hover-border: rgba(187, 247, 208, 0.9);
    --ticker-action-bg-hover: rgba(16, 185, 129, 0.2);
    --ticker-action-color: #e7fff5;
    --ticker-action-hover-color: #caffdf;
}

.news-ticker--theme-minimal-light {
    --ticker-surface-bg: linear-gradient(120deg, #ffffff, #f9fafb 45%, #f3f4f6);
    --ticker-depth-bg: linear-gradient(135deg, rgba(148, 163, 184, 0.25), rgba(228, 233, 241, 0.95));
    --ticker-label-bg: rgba(255, 255, 255, 0.95);
    --ticker-label-border: rgba(148, 163, 184, 0.4);
    --ticker-label-text: #0f172a;
    --ticker-label-gradient: linear-gradient(120deg, #0ea5e9, #2563eb);
    --ticker-label-icon: #2563eb;
    --ticker-text-color: #0f172a;
    --ticker-link-hover: #2563eb;
    --ticker-action-border: rgba(148, 163, 184, 0.5);
    --ticker-action-hover-border: rgba(37, 99, 235, 0.8);
    --ticker-action-bg-hover: rgba(37, 99, 235, 0.15);
    --ticker-action-color: #0f172a;
    --ticker-action-hover-color: #1d4ed8;
}

@keyframes tickerGlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes tickerMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes fadeTicker {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .news-ticker__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .news-ticker__actions {
        display: none;
    }
}

@media (max-width: 576px) {
    .news-ticker {
        padding-bottom: 0.2rem;
    }

    .news-ticker::before,
    .news-ticker::after {
        inset: -20px -8px 0;
    }

    .news-ticker__container {
        padding: 0.45rem 0;
        gap: 0.35rem;
    }

    .news-ticker__label {
        display: none;
    }

    .news-ticker__viewport {
        width: 100%;
    }

    .news-ticker__item {
        font-size: 0.78rem;
        text-align: center;
    }

    .news-ticker__link,
    .news-ticker__text {
        display: inline-block;
        max-width: 100%;
        white-space: normal;
        line-height: 1.35;
        text-align: center;
    }

    .news-ticker--style-simple .news-ticker__label {
        font-size: 0.6rem;
    }
}

/* ===== Cart Drawer ===== */
.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 3000;
    pointer-events: none;
}

.cart-drawer.is-visible {
    pointer-events: auto;
}

.cart-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-drawer.is-visible .cart-drawer__overlay {
    opacity: 1;
}

.cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 90vw);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
    z-index: 3000;
}

.cart-drawer.is-visible .cart-drawer__panel {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.cart-drawer__header,
.cart-drawer__footer {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.cart-drawer__footer {
    border-bottom: 0;
    border-top: 1px solid #f1f5f9;
}

.cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
}

.cart-drawer__items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-drawer__item {
    gap: 1rem;
    position: relative;
}

.cart-drawer__thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-drawer__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-drawer__price {
    color: #0f172a;
}

.cart-drawer__quantity-controls .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.cart-drawer__quantity-controls span {
    min-width: 24px;
    text-align: center;
}

.cart-drawer__remove {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.9rem;
}

.cart-drawer__summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
}

.cart-table {
    width: 100%;
}

.cart-table th,
.cart-table td {
    vertical-align: middle;
    white-space: nowrap;
}

.cart-table__product-info img {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cart-table,
    .cart-table thead,
    .cart-table tbody,
    .cart-table th,
    .cart-table td,
    .cart-table tr {
        display: block;
        width: 100%;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.4rem 0;
        white-space: normal;
        gap: 0.5rem;
    }

    .cart-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #475467;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-size: 0.7rem;
        flex: 0 0 40%;
    }

    .cart-table__product {
        display: block;
        padding-top: 0;
    }

    .cart-table__product::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #475467;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-size: 0.7rem;
        margin-bottom: 0.35rem;
    }

    .cart-table__product td::before {
        display: none;
    }

    .cart-table__product-info {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .cart-table td[data-label=""]::before {
        content: "";
    }
}

.cart-drawer__empty i {
    color: #cbd5f5;
}

body.cart-drawer-open {
    overflow: hidden;
}

/* ===== Hero Slider ===== */
.hero-slide {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ===== Section Titles ===== */
.section-title {
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* ===== Category Cards ===== */
.category-card .card {
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.category-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* ===== Product Cards ===== */
.product-card .card {
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.product-card .card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    transition: var(--transition);
}

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

.product-card .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card .price {
    font-size: 1.1rem;
}

.add-to-cart, .wishlist-btn {
    transition: var(--transition);
}

.wishlist-btn.active {
    background-color: var(--danger-color);
    color: #fff;
}

/* ===== Footer ===== */
.footer {
    margin-top: auto;
}

.footer h3, .footer h5 {
    color: #fff;
}

.footer a {
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    font-size: 1.5rem;
}

/* ===== Features Section ===== */
.feature-box {
    padding: 20px;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* ===== Utility Classes ===== */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Scroll to Top Button ===== */
#scrollToTop {
    z-index: 999;
    transition: var(--transition);
}

#scrollToTop:hover {
    transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-slide h1 {
        font-size: 2rem;
    }
    
    .hero-slide .lead {
        font-size: 1rem;
    }
    
    .product-card .card-img-top {
        height: 150px !important;
    }
}

@media (max-width: 576px) {
    .header__nav {
        overflow-x: auto;
    }

    .news-ticker {
        overflow: hidden;
    }

    .news-ticker::before,
    .news-ticker::after {
        display: none;
    }

    body,
    html,
    .site-wrapper,
    .site-main {
        width: 100%;
        margin: 0.5rem 0 0;
    }

    .main-header .search-form {
        max-width: 100%;
        margin: 0.5rem 0 0;
    }

    .main-header .search-form .form-control {
        padding: 0.4rem 0.65rem;
        font-size: 0.85rem;
        height: 38px;
    }

    .main-header .search-form .btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.95rem;
    }

    .main-header .navbar-toggler .navbar-toggler-icon {
        background-image: var(--bs-navbar-toggler-icon-bg, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(33, 37, 41, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"));
        width: 1.5em;
        height: 1.5em;
    }

    .main-header .site-logo {
        max-height: 42px;
    }
    
    .product-card .card-body {
        padding: 0.85rem;
    }
    
    .product-card .card-footer {
        padding: 0.85rem;
    }
    
    .product-card .add-to-cart.btn {
        font-size: 0.82rem;
        padding: 0.5rem 0.75rem;
        border-radius: 999px;
    }
    
    .product-card .add-to-cart.btn i {
        font-size: 0.9rem;
        margin-right: 0.35rem;
    }
    
    .product-card .wishlist-btn {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }
    
    .product-page-actions .btn.add-to-cart {
        font-size: 0.9rem;
        padding: 0.6rem 0.9rem;
        border-radius: 999px;
    }
    
    .product-page-actions .btn.add-to-cart i {
        font-size: 1rem;
        margin-right: 0.4rem;
    }
}

/* ===== Loading Spinner ===== */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Pagination ===== */
.pagination {
    margin-top: 30px;
}

.pagination .page-link {
    color: var(--primary-color);
    border-radius: 5px;
    margin: 0 3px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== Badges ===== */
.badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
}

/* ===== Forms ===== */
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* ===== Alerts ===== */
.alert {
    border-radius: var(--border-radius);
    border: none;
}

/* ===== Header & Currency Dropdown Z-Index Fix ===== */
.currency-dropdown,
.header .dropdown,
.dropdown-currency {
    position: relative;
    z-index: 1060 !important;
}

.currency-dropdown .dropdown-menu,
.header .dropdown-menu {
    z-index: 1070 !important;
}

.site-header,
.navbar {
    z-index: 1050;
}

/* ===== Product Gallery ===== */

.product-gallery {
    position: relative;
}

.product-gallery-main {
    position: relative;
    background: #f8fafc;
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease, transform-origin 0.25s ease;
}

.product-gallery-zoom {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.product-gallery-placeholder {
    background: #f1f5f9;
    color: #cbd5f5;
    border-radius: 14px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-gallery-thumb {
    width: 82px;
    height: 82px;
    border-radius: 12px;
    border: 2px solid transparent;
    overflow: hidden;
    background: #f1f5f9;
    padding: 4px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-gallery-thumb:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.35);
}

.product-gallery-thumb.active {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
}

.review-avatar .avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    font-size: 1.1rem;
}

.review-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.25rem;
}

.review-rating-input input[type="radio"] {
    display: none;
}

.review-rating-input label {
    font-size: 1.8rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s ease;
}

.review-rating-input label::before {
    content: '\2605';
    display: block;
    line-height: 1;
}

.review-rating-input input[type="radio"]:checked ~ label,
.review-rating-input label:hover,
.review-rating-input label:hover ~ label {
    color: #f59e0b;
}

@media (max-width: 575.98px) {
    .product-gallery-main {
        height: 320px;
    }

    .product-gallery-thumb {
        width: 70px;
        height: 70px;
    }
}