@media (max-width: 1100px) {
    .site-header,
    .section-shell {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-row {
        gap: 16px;
    }

    .search-box {
        min-width: 220px;
    }

    .hero-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-grid,
    .product-detail,
    .contact-layout {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .topbar {
        overflow: hidden;
        text-align: left;
    }

    .topbar .topbar-text {
        display: inline-block;
        white-space: nowrap;
        animation: scroll-left 34s linear infinite;
        padding: 0 20px;
        will-change: transform;
    }
}

@media (max-width: 820px) {
    .topbar {
        overflow: hidden;
        text-align: left;
    }

    .site-header,
    .page-home .site-header {
        position: fixed;
        top: 32px;
        left: 0;
        right: 0;
        padding: 12px 16px;
        background: rgba(24, 25, 32, 0.6);
        box-shadow: none;
        backdrop-filter: blur(10px);
    }

    .page-shop .site-header,
    .page-product .site-header,
    .page-cart .site-header,
    .page-contact .site-header {
        position: fixed;
        top: 32px;
        background: #11131a;
    }

    .header-row {
        gap: 12px;
    }

    .brand {
        flex: 1;
        min-width: 0;
    }

    .nav-links {
        display: none;
    }

    .desktop-search {
        display: none;
    }

    .search-toggle,
    .menu-btn {
        display: inline-flex;
    }

    .mobile-search-panel {
        position: absolute;
        top: calc(100% + 10px);
        left: 32px;
        right: 32px;
        display: none;
        min-width: 0;
        width: auto;
        z-index: 26;
    }

    .mobile-search-panel.is-open {
        display: flex;
    }

    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        z-index: 30;
        display: block;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .mobile-nav-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 31;
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 16px 22px 32px;
        background: #fff;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -20px 50px rgba(18, 28, 45, 0.18);
        transform: translateY(100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .mobile-nav.is-open {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-nav h3 {
        margin: 0;
        font-size: 1.7rem;
        text-align: center;
    }

    .mobile-nav a {
        color: #111827;
        font-size: 1.06rem;
        text-align: center;
    }

    .mobile-nav-handle {
        width: 72px;
        height: 8px;
        margin: 0 auto 8px;
        border-radius: 999px;
        background: #eef1f5;
    }

    .hero,
    .hero-inner {
        min-height: 100svh;
    }

    .hero-slide {
        background-position: center top;
        background-size: cover;
    }

    .hero-slide-shades {
        background-image: url("../images/sliders/hero-shades-mobile.jpg") !important;
        background-position: center top;
    }

    .hero-slide-fashion {
        background-image: url("../images/sliders/hero-fashion-mobile.jpg") !important;
        background-position: center center;
    }

    .hero-slide-ghana {
        background-image: url("../images/sliders/hero-ghana-style-mobile.jpg") !important;
        background-position: center center;
    }

    .hero-slide-heritage {
        background-image: url("../images/sliders/hero-heritage-mobile.jpg") !important;
        background-position: center top;
    }

    .hero-slide-unisex {
        background-image: url("../images/sliders/hero-unisex-mobile.jpg") !important;
        background-position: center top;
        background-size: cover;
    }

    .hero-inner {
        min-height: 700px;
        padding-top: 120px;
        padding-bottom: 132px;
    }

    .hero-copy h1 {
        font-size: clamp(28px, 6vw, 64px);
    }

    .hero-copy p {
        max-width: 560px;
    }

    .hero-arrow {
        display: none;
    }

    .collection-marquee-group {
        gap: 24px;
        padding: 12px 18px;
    }

    .collection-marquee::before,
    .collection-marquee::after {
        width: 38px;
    }

    .contact-fab {
        right: 10px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
        padding: 12px 16px;
        font-size: 0.92rem;
        line-height: 1;
    }

    .scroll-top-btn {
        right: 12px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 62px);
        width: 40px;
        height: 40px;
    }

    .footer-grid,
    .footer-bottom,
    .cart-layout,
    .checkout-grid,
    .checkout-success-grid,
    .product-detail,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .product-detail-media {
        position: relative;
        top: auto;
    }

    .product-gallery-stage {
        aspect-ratio: 4 / 5;
    }

    .footer-logo {
        width: min(100%, 260px);
        margin-bottom: 22px;
    }

    .cart-panel {
        top: auto;
        bottom: 92px;
        right: 14px;
    }

    .cart-item-card {
        grid-template-columns: 96px minmax(0, 1fr);
        align-items: start;
    }

    .cart-item-total {
        grid-column: 2;
        justify-items: start;
    }
}

@media (max-width: 560px) {
    .card {
        padding: 10px;
        border-radius: 16px;
    }

    .card-media {
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 12px;
    }

    .product-card img,
    .product-image img,
    .card img,
    .card-media img {
        height: 100%;
        max-height: none;
    }

    .card-body {
        padding-top: 10px;
    }

    .card h3 {
        font-size: 0.92rem;
        min-height: 2.45em;
    }

    .price {
        font-size: 0.92rem;
    }

    .meta {
        margin-bottom: 10px;
        font-size: 0.84rem;
    }

    .card-link,
    .card-btn {
        min-height: 38px;
        font-size: 0.84rem;
    }

    .brand-name {
        font-size: 0.96rem;
    }

    .header-tools {
        gap: 6px;
    }

    .header-btn {
        width: 38px;
        min-height: 38px;
        border-radius: 10px;
        font-size: 1.05rem;
    }

    .cart-badge {
        top: -5px;
        right: -3px;
        min-width: 18px;
        min-height: 18px;
        font-size: 0.68rem;
    }

    .mobile-search-panel {
        left: 28px;
        right: 28px;
    }

    .contact-fab {
        right: 8px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
        padding: 11px 14px;
        font-size: 0.88rem;
    }

    .hero-inner {
        min-height: 700px;
        padding: 112px 14px 132px;
    }

    .hero-copy h1 {
        margin-bottom: 16px;
        font-size: clamp(28px, 6vw, 64px);
        line-height: 1.08;
    }

    .hero-copy p {
        margin-bottom: 26px;
        font-size: 0.98rem;
    }

    .load-more-btn {
        width: min(100%, 220px);
    }

    .hero-actions {
        width: 100%;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-dots {
        bottom: 10px;
    }

    .checkout-form-card,
    .checkout-success-card {
        padding: 22px 16px;
        border-radius: 22px;
    }

    .checkout-form-card h2,
    .checkout-success-card h2 {
        font-size: 1.55rem;
    }

    .checkout-actions,
    .checkout-success-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-submit,
    .checkout-success-actions .primary-link,
    .checkout-success-actions .card-btn {
        width: 100%;
    }

    .scroll-indicator {
        bottom: 34px;
        width: 24px;
        height: 50px;
    }

    .section-shell {
        padding-left: 14px;
        padding-right: 14px;
    }

    .section-head {
        flex-direction: column;
        align-items: start;
        margin-bottom: 20px;
    }

    .categories {
        padding-top: 20px;
    }

    .chip {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }

    .card {
        padding: 8px;
    }

    .card-media {
        border-radius: 12px;
    }

    .card-body {
        padding: 8px 2px 0;
    }

    .card-category {
        margin-bottom: 4px;
        font-size: 0.68rem;
    }

    .card h3 {
        margin-bottom: 6px;
        font-size: 0.82rem;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .price-row {
        gap: 6px;
        margin-bottom: 6px;
    }

    .price {
        font-size: 0.84rem;
    }

    .meta {
        display: none;
    }

    .card-actions {
        gap: 6px;
        flex-wrap: nowrap;
    }

    .card-link,
    .card-btn {
        flex: 1 1 0;
        min-height: 34px;
        font-size: 0.72rem;
        padding: 0 6px;
        border-radius: 10px;
    }

    .footer {
        padding: 48px 0 40px;
    }

    .cart-item-card {
        padding: 14px;
    }

    .cart-item-copy h3 {
        font-size: 0.98rem;
    }

    .cart-item-controls {
        grid-template-columns: 34px 52px 34px;
    }

    .cart-qty-btn,
    .cart-qty-input {
        min-height: 36px;
    }

    .cart-qty-input {
        width: 52px;
    }

    .newsletter {
        flex-direction: column;
    }

    .newsletter button {
        width: 100%;
        border-radius: 14px;
    }
}

@media (max-width: 359px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .card-actions,
    .product-detail-actions {
        flex-direction: column;
    }

    .cart-item-card {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 14px;
    }

    .cart-item-total {
        grid-column: 2;
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
