/* =========================================================
   LARGE SCREEN ADJUSTMENT (1200px)
   ========================================================= */

@media (max-width: 1200px) {

    .header-inner {
        gap: 22px;
    }

    .main-nav {
        gap: 22px;
    }

    .main-nav a {
        font-size: 12px;
    }
}


/* =========================================================
   CART — TABLET (1150px)
========================================================= */

@media (max-width: 1150px) {

    .cart-page > .container,
    .cart-hero > .container {
        width: min(calc(100% - 48px), 1000px);
    }

    .cart-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 24px;
    }

    .cart-item {
        grid-template-columns: 120px minmax(0, 1fr) auto;
        gap: 20px;
        padding: 22px;
    }

    .cart-item-image {
        width: 120px;
        height: 120px;
    }

    .cart-item-controls {
        min-width: 140px;
    }

    .cart-remove-button {
        position: absolute;
        top: 18px;
        right: 18px;
    }
}


/* =========================================================
   PRODUCT DETAIL — 1100px
========================================================= */

@media (max-width: 1100px) {

    .product-detail-grid {
        grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
        gap: 45px;
    }

    .product-detail {
        grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr);
        gap: 35px;
    }

    .product-gallery {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .product-thumb {
        width: 64px;
        height: 64px;
    }

    .product-main-image {
        min-height: 500px;
    }

    .product-main-image img {
        padding: 30px;
    }

    .product-image-card {
        min-height: 530px;
    }

    .related-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* =========================================================
   CHECKOUT — TABLET (1050px)
========================================================= */

@media (max-width: 1050px) {

    .checkout-page .container {
        width: min(calc(100% - 40px), 900px);
    }

    .checkout-layout {
        grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
        gap: 22px;
    }

    .checkout-summary {
        padding: 25px;
    }

    .checkout-card-header {
        padding: 25px 26px 21px;
    }

    .checkout-card-body {
        padding: 0 26px 27px;
    }
}


/* =========================================================
   HOME / PRODUCT LISTING — 1000px
========================================================= */

@media (max-width: 1000px) {

    .category-scroll {
        justify-content: flex-start;
        gap: 16px;
    }

    .category-item {
        width: 100px;
    }

    .category-circle {
        width: 80px;
        height: 80px;
    }

    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .festival-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}


/* =========================================================
   HEADER / NAV / TRACKING / DETAIL — 900px
========================================================= */

@media (max-width: 900px) {

    .top-bar {
        min-height: 32px;
        padding: 7px 15px;
        font-size: 9px;
        letter-spacing: 0.09em;
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .header-inner {
        min-height: 72px;
        width: calc(100% - 36px);
        gap: 13px;
    }

    .mobile-menu {
        display: inline-flex;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
    }

    .logo {
        margin-right: auto;
    }

    .logo-main {
        font-size: 31px;
        letter-spacing: -1.4px;
    }

    .logo-sub {
        margin-top: 5px;
        font-size: 6px;
        letter-spacing: 0.22em;
    }

    .logo::after {
        width: 28px;
    }

    .header-actions {
        gap: 5px;
    }

    .header-actions .header-action {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 16px;
        right: 16px;
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        margin: 0;
        padding: 10px;
        border: 1px solid rgba(117, 86, 54, 0.12);
        border-radius: 22px;
        background: rgba(251, 248, 241, 0.985);
        box-shadow: 0 24px 60px rgba(55, 33, 22, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px) scale(0.98);
        transform-origin: top center;
        transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
    }

    .main-nav.mobile-menu-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .main-nav a {
        min-height: 52px;
        display: flex;
        align-items: center;
        padding: 0 18px;
        border-radius: 14px;
        color: var(--varka-text, #292321);
        font-size: 15px;
        font-weight: 500;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover {
        color: var(--varka-primary, #7e1824);
        background: rgba(126, 24, 36, 0.055);
        transform: none;
    }

    .main-nav a + a {
        border-top: 1px solid rgba(117, 86, 54, 0.07);
        border-radius: 0;
    }

    .tracking-form {
        grid-template-columns: 1fr 1fr;
    }

    .track-button {
        grid-column: 1 / -1;
    }

    .order-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .product-gallery {
        position: relative;
        top: auto;
    }

    .product-image-card {
        min-height: min(650px, 75vw);
    }

    .product-information {
        max-width: 760px;
        margin-inline: auto;
        width: 100%;
    }

    .related-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 28px !important;
    }

    .product-gallery {
        position: relative !important;
        top: 0 !important;
        max-width: 480px;
        margin: 0 auto;
    }

    .product-image-card {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
    }

    .related-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .mobile-only-link {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .nav-count-badge {
        background: var(--varka-primary, #701421);
        color: #ffffff;
        font-size: 10px;
        padding: 2px 7px;
        border-radius: 12px;
        font-weight: 700;
    }
}


/* =========================================================
   ACCOUNT & CART — 850px
========================================================= */

@media (max-width: 850px) {

    .account-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 32px;
    }

    .hero-profile {
        min-width: 0;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .orders-card {
        grid-column: auto;
    }

    .order-item {
        grid-template-columns: 1fr 1fr;
    }

    .order-action {
        text-align: left;
    }

    .cart-page > .container,
    .cart-hero > .container {
        width: min(calc(100% - 32px), 700px);
    }

    .cart-hero {
        padding-top: 25px;
    }

    .cart-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .cart-count-badge {
        align-self: flex-start;
    }

    .cart-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cart-summary {
        position: static;
    }

    .cart-item {
        grid-template-columns: 100px minmax(0, 1fr);
        align-items: start;
        gap: 18px;
        min-height: 0;
        padding: 20px;
    }

    .cart-item-image {
        width: 100px;
        height: 100px;
        border-radius: 16px;
    }

    .cart-item-info {
        padding-right: 30px;
    }

    .cart-item-name {
        font-size: 18px;
    }

    .cart-item-controls {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 5px;
    }

    .cart-item-total {
        min-width: auto;
        text-align: left;
    }

    .cart-remove-button {
        top: 18px;
        right: 18px;
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .wishlist-promise-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}


/* =========================================================
   CHECKOUT & PRODUCT DETAIL — 800px
========================================================= */

@media (max-width: 800px) {

    .checkout-page .container {
        width: calc(100% - 28px);
    }

    .checkout-hero {
        padding: 15px 0 28px;
    }

    .checkout-breadcrumb {
        margin-bottom: 18px;
    }

    .checkout-heading h1 {
        font-size: 38px;
    }

    .checkout-heading p {
        font-size: 14px;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .checkout-sidebar {
        position: static;
        order: 2;
    }

    .checkout-main {
        order: 1;
    }

    .checkout-card {
        border-radius: 20px;
    }

    .checkout-card-header {
        gap: 13px;
        padding: 23px 21px 19px;
    }

    .checkout-step {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
    }

    .checkout-card-heading h2 {
        font-size: 22px;
    }

    .checkout-card-heading p {
        font-size: 13px;
    }

    .checkout-card-body {
        padding: 0 21px 23px;
    }

    .checkout-form-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .form-group-full,
    .form-group-half {
        grid-column: auto;
    }

    .order-type-options,
    .payment-options {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        border-radius: 20px;
        padding: 25px 22px;
    }

    .checkout-trust {
        display: none;
    }

    .product-page {
        padding-bottom: 40px;
    }

    .product-container {
        width: calc(100% - 30px);
    }

    .product-breadcrumb {
        padding: 18px 0 20px;
        font-size: 11px;
    }

    .product-detail {
        display: block;
    }

    .product-gallery {
        display: flex;
        flex-direction: column-reverse;
        gap: 12px;
    }

    .product-main-image {
        min-height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 22px;
    }

    .product-main-image img {
        padding: 22px;
    }

    .product-image-badge {
        top: 13px;
        left: 13px;
        padding: 6px 10px;
        font-size: 9px;
    }

    .product-thumbnails {
        flex-direction: row;
        width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
    }

    .product-thumb {
        flex: 0 0 67px;
        width: 67px;
        height: 67px;
        border-radius: 12px;
    }

    .product-information {
        padding-top: 30px;
    }

    .product-information h1 {
        margin-top: 13px;
        font-size: 31px;
        letter-spacing: -1px;
    }

    .product-short-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .product-price-area {
        padding: 17px 0;
    }

    .product-actions {
        grid-template-columns: 1fr 1fr;
    }

    .product-description-section {
        margin-top: 55px;
    }

    .related-products {
        margin-top: 55px;
    }

    .related-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .related-card {
        border-radius: 15px;
    }

    .related-content {
        padding: 12px 12px 14px;
    }

    .related-content h3 {
        font-size: 12px;
    }

    .related-content strong {
        font-size: 14px;
    }
}


/* =========================================================
   PRODUCT LISTING & MODAL — 768px
========================================================= */

@media (max-width: 768px) {

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px;
    }

    .product-card {
        border-radius: 16px;
    }

    .product-body {
        padding: 14px 12px;
    }

    .product-name {
        min-height: 40px;
    }

    .product-bottom {
        margin-top: auto;
        padding-top: 10px;
    }

    .add-cart-btn {
        height: 38px;
        padding: 0 14px;
        border-radius: 10px;
    }

    .product-quick-view {
        display: none;
    }

    .product-modal-card {
        grid-template-columns: 1fr;
        max-height: 88vh;
        overflow-y: auto;
    }

    .modal-image-side {
        padding: 16px;
    }

    .modal-content-side {
        padding: 20px;
    }
}


/* =========================================================
   ORDER TRACKING — 700px
========================================================= */

@media (max-width: 700px) {

    .tracking-page {
        width: min(calc(100% - 24px), 620px);
        padding: 38px 0 50px;
    }

    .tracking-header {
        margin-bottom: 28px;
    }

    .tracking-header h1 {
        font-size: 40px;
    }

    .tracking-header p {
        font-size: 14px;
    }

    .track-search-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 28px 22px;
    }

    .search-icon {
        width: 72px;
        height: 72px;
    }

    .search-icon div {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .tracking-form {
        grid-template-columns: 1fr;
    }

    .track-button {
        grid-column: auto;
        width: 100%;
    }

    .order-top {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 22px 24px;
    }

    .order-top h2 {
        font-size: 28px;
    }

    .current-status {
        margin: 0 22px;
        padding: 20px;
    }

    .tracking-progress {
        overflow-x: auto;
        padding: 35px 22px;
        min-width: 650px;
    }

    .order-info-grid {
        grid-template-columns: 1fr;
        padding: 0 22px 25px;
    }

    .items-section {
        margin: 0 22px;
    }

    .address-section {
        margin: 0 22px;
    }

    .order-total {
        margin: 0 22px;
    }

    .tracking-actions {
        flex-direction: column;
        margin: 0 22px;
    }

    .btn {
        width: 100%;
    }

    .secure-note {
        padding: 22px 20px 27px;
    }
}


/* =========================================================
   PRODUCT DETAIL — 640px
========================================================= */

@media (max-width: 640px) {

    .product-page .container {
        width: min(calc(100% - 28px), 1240px);
    }

    .product-breadcrumb-section {
        padding-top: 16px;
    }

    .product-breadcrumb {
        font-size: 11px;
        gap: 7px;
    }

    .product-detail-section {
        padding: 18px 0 55px;
    }

    .product-image-card {
        min-height: 390px;
        border-radius: 21px;
    }

    .product-image-card::before {
        width: 280px;
        height: 280px;
    }

    .product-main-image {
        padding: 22px;
    }

    .product-featured-badge,
    .product-unavailable-badge {
        top: 15px;
        left: 15px;
        padding: 7px 11px;
        font-size: 9px;
    }

    .product-thumbnails {
        gap: 8px;
    }

    .product-thumb {
        flex-basis: 65px;
        width: 65px;
        height: 65px;
    }

    .product-information {
        padding-top: 0;
    }

    .product-title {
        margin-top: 12px;
        font-size: clamp(34px, 11vw, 48px);
    }

    .product-short-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .weight-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .weight-option {
        width: 100%;
        min-width: 0;
    }

    .product-price-area {
        margin-top: 22px;
    }

    .product-price {
        font-size: 34px;
    }

    .quantity-section {
        align-items: center;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .product-add-to-cart,
    .product-buy-now {
        min-height: 55px;
    }

    .product-benefits {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .benefit {
        padding: 4px 0;
    }

    .product-description-section {
        padding: 60px 0;
    }

    .related-products {
        padding: 60px 0 75px;
    }

    .related-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .related-image {
        height: 170px;
    }

    .related-content {
        padding: 13px;
    }

    .related-content h3 {
        font-size: 16px;
    }

    .related-content strong {
        font-size: 14px;
    }
}


/* =========================================================
   MOBILE RESPONSIVE SYSTEM (4 CATEGORIES VISIBLE) — 600px
========================================================= */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 20px);
    }

    /* Top Bar */
    .top-bar {
        min-height: 28px;
        font-size: 8.5px;
        line-height: 1.35;
        letter-spacing: 0.07em;
        padding: 5px 10px;
    }

    /* Header */
    .header-inner {
        width: calc(100% - 20px);
        min-height: 64px;
        gap: 8px;
    }

    .mobile-menu {
        display: inline-flex;
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .header-actions {
        gap: 4px;
    }

    .header-actions .header-action {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .cart-header {
        font-size: 15px !important;
    }

    .logo-main {
        font-size: 26px;
    }

    .logo-sub {
        font-size: 5px;
        letter-spacing: 0.18em;
    }

    .main-nav {
        top: 64px;
        left: 12px;
        right: 12px;
        border-radius: 20px;
        padding: 8px;
    }

    .main-nav a {
        min-height: 48px;
        padding: 0 16px;
        font-size: 14px;
    }

    /* Hero Banner */
    .hero {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 0;
        background: transparent;
    }

    .hero-slide {
        display: none;
        width: 100%;
        height: auto;
    }

    .hero-slide.active {
        display: block;
    }

    .hero picture {
        display: block;
        width: 100%;
        height: auto;
        line-height: 0;
    }

    .hero-img,
    .hero-fallback-backdrop {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    .hero-dots {
        bottom: 8px;
        gap: 6px;
    }

    .hero-dot {
        width: 6px;
        height: 6px;
    }

    .hero-dot.active {
        width: 18px;
    }

    /* =========================================================
       CATEGORY NAVIGATION (4 PERFECTLY FITTED & VISIBLE)
       ========================================================= */
    .category-section {
        padding: 14px 0 12px;
    }

    .category-scroll {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 6px !important;
        padding: 0 2px !important;
        overflow-x: visible !important;
    }

    .category-item {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 25% !important;
        padding: 0 2px !important;
    }

    .category-circle {
        width: 58px !important;
        height: 58px !important;
        margin: 0 auto 5px !important;
        padding: 2px !important;
    }

    .category-circle img {
        width: 100% !important;
        height: 100% !important;
    }

    .category-placeholder {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    .category-name {
        display: block !important;
        font-size: 10px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.2px !important;
        text-align: center !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    /* Products Section & 2-Column Grid */
    .product-section {
        padding: 38px 0;
    }

    .product-heading {
        margin-bottom: 16px;
        align-items: flex-end;
    }

    .product-heading-left {
        gap: 2px;
    }

    .product-category-title {
        font-size: 22px;
    }

    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .product-card {
        border-radius: 14px;
        width: 100%;
        overflow: hidden;
    }

    .product-image-wrap {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .product-body {
        padding: 10px 8px 12px;
    }

    .product-category-small {
        font-size: 8.5px;
        letter-spacing: 1px;
        margin-bottom: 4px;
    }

    .product-name {
        font-size: 13.5px;
        line-height: 1.25;
        min-height: 34px;
    }

    .product-bottom {
        gap: 6px;
        padding-top: 8px;
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .product-price {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .add-cart-btn {
        height: 32px;
        padding: 0 10px;
        border-radius: 8px;
        font-size: 11.5px;
        gap: 4px;
    }

    .cart-btn-icon {
        font-size: 13px;
    }

    /* Festival Section Mobile Stack */
    .festival-section {
        padding: 45px 0;
    }

    .festival-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        align-items: stretch !important;
    }

    .festival-content {
        width: 100%;
        text-align: left;
    }

    .festival-label {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .festival-title {
        font-size: 26px;
        line-height: 1.2;
        margin: 10px 0 12px;
    }

    .festival-text {
        font-size: 13.5px;
        line-height: 1.65;
        max-width: 100%;
    }

    .festival-image {
        width: 100% !important;
        aspect-ratio: 16 / 10 !important;
        border-radius: 16px !important;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
        background: #550c18;
    }

    .festival-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* Trust Grid 2x2 */
    .trust-section {
        padding: 45px 0;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 24px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .trust-card {
        padding: 14px 6px;
    }

    .trust-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
        margin-bottom: 8px;
    }

    .trust-card h3 {
        font-size: 14px;
    }

    .trust-card p {
        font-size: 11px;
    }

    /* Instagram Section Mobile (2x2 Grid) */
    .instagram-section {
        padding: 45px 0;
    }

    .instagram-header {
        display: flex !important;
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 14px !important;
        margin-bottom: 22px !important;
    }

    .instagram-title {
        font-size: 24px;
    }

    .instagram-link {
        padding: 8px 16px;
        font-size: 11px;
    }

    .instagram-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .instagram-item {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        background: #38080f;
    }

    .instagram-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* Footer */
    .footer {
        padding: 85px 0 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        margin-top: 30px;
    }

    .whatsapp {
        width: 48px;
        height: 48px;
        right: 16px;
        bottom: 16px;
        font-size: 22px;
    }

      .wishlist-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .wishlist-hero-art {
        display: none;
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .wishlist-card {
        border-radius: 14px;
    }

    .wishlist-card-body {
        padding: 10px 8px 12px;
    }

    .wishlist-card-title-row h3 {
        font-size: 13.5px;
    }

    .wishlist-card-description {
        display: none;
    }

    .wishlist-card-price {
        font-size: 14px;
    }

    .wishlist-view-button {
        font-size: 11px;
    }

    .wishlist-promise-inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

        .product-page .container {
        width: calc(100% - 24px) !important;
    }

    .product-detail-section {
        padding: 14px 0 45px !important;
    }

    .product-detail-grid {
        gap: 22px !important;
    }

    .product-gallery {
        max-width: 100% !important;
    }

    .product-image-card {
        border-radius: 16px;
    }

    .product-thumbnails {
        gap: 8px;
        margin-top: 10px;
    }

    .product-thumb {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }

    .product-title {
        font-size: 24px !important;
        margin: 8px 0 !important;
    }

    .product-short-description {
        font-size: 13px !important;
        margin-bottom: 16px !important;
    }

    .weight-options {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .weight-option {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .product-price-area {
        margin: 18px 0 6px !important;
        padding-bottom: 14px !important;
    }

    .quantity-section {
        margin-top: 16px !important;
    }

    .product-actions {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin-top: 14px !important;
    }

    .product-add-to-cart,
    .product-buy-now {
        min-height: 46px !important;
        font-size: 13px !important;
    }

    .product-benefits {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-top: 18px !important;
        padding-top: 14px !important;
    }

    .product-description-section {
        padding: 40px 0 !important;
    }

    .related-products {
        padding: 40px 0 55px !important;
    }

    .related-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .related-card {
        border-radius: 14px;
    }

    .related-content {
        padding: 12px 10px;
    }

    .related-content h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .related-content strong {
        font-size: 14px;
    }

    .header-actions {
        gap: 3px;
    }

    .header-actions .header-action {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

}


/* =========================================================
   ACCOUNT & CART — 560px
========================================================= */

@media (max-width: 560px) {

    .account-page {
        width: min(calc(100% - 20px), 1240px);
        padding-top: 20px;
        padding-bottom: 50px;
    }

    .account-hero {
        min-height: 0;
        padding: 27px 22px;
        border-radius: 21px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-text {
        font-size: 12px;
    }

    .account-card,
    .login-card {
        padding: 20px;
        border-radius: 17px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .order-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .order-action {
        width: 100%;
    }

    .track-button {
        width: 100%;
    }

    .cart-page > .container,
    .cart-hero > .container {
        width: calc(100% - 24px);
    }

    .cart-heading h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .cart-heading p {
        font-size: 14px;
    }

    .cart-items-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

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

    .cart-item-image {
        width: 82px;
        height: 82px;
        border-radius: 14px;
    }

    .cart-item-name {
        font-size: 16px;
    }

    .cart-item-weight,
    .cart-item-variant {
        font-size: 12px;
    }

    .cart-item-price,
    .cart-item-unit-price {
        font-size: 16px;
    }

    .cart-item-controls {
        flex-wrap: wrap;
        gap: 12px;
    }

    .cart-item-quantity,
    .cart-quantity,
    .quantity-control {
        min-width: 132px;
        height: 44px;
    }

    .cart-item-quantity .quantity-button,
    .cart-quantity button,
    .cart-quantity .qty-btn,
    .quantity-control .quantity-btn {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .cart-item-quantity .quantity-input,
    .cart-quantity input {
        width: 46px;
        height: 42px;
        flex-basis: 46px;
    }

    .cart-item-total {
        font-size: 15px;
    }

    .cart-remove-button {
        width: 36px;
        min-width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 10px;
    }

    .cart-summary-card,
    .summary-card {
        padding: 25px 21px 23px;
        border-radius: 21px;
    }

    .cart-summary h2,
    .summary-card h2 {
        font-size: 24px;
        margin-bottom: 22px;
    }

    .summary-total strong,
    .cart-summary-total-value {
        font-size: 23px;
    }
}


/* =========================================================
   CART & AUTHENTICATION — 520px
========================================================= */

@media (max-width: 520px) {

    .cart-container {
        width: calc(100% - 22px);
        padding-top: 22px;
    }

    .cart-eyebrow,
    .cart-summary-eyebrow {
        font-size: 10px;
        letter-spacing: 2.3px;
    }

    .cart-heading h1 {
        font-size: 27px;
    }

    .cart-heading-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

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

    .cart-item-image {
        width: 80px;
        height: 80px;
        border-radius: 13px;
    }

    .cart-item-name {
        font-size: 17px;
    }

    .cart-item-weight {
        font-size: 12px;
    }

    .cart-item-unit-price {
        font-size: 15px;
    }

    .cart-item-controls {
        align-items: center;
    }

    .cart-quantity {
        height: 42px;
    }

    .cart-quantity button,
    .cart-quantity .qty-btn {
        width: 38px;
        height: 40px;
    }

    .cart-quantity input,
    .cart-quantity input[type="number"] {
        width: 38px;
        height: 40px;
    }

    .cart-remove,
    .remove-item,
    .cart-item-remove {
        min-width: 75px;
        height: 34px;
        padding: 0 11px;
        font-size: 11px;
    }

    .cart-summary {
        padding: 25px 20px;
    }

    .cart-summary h2 {
        font-size: 25px;
        margin-bottom: 25px;
    }

    .cart-summary-total-value {
        font-size: 23px;
    }

    .checkout-btn {
        min-height: 54px;
    }

    .auth-wrap,
    .wrap {
        width: 100%;
    }

    .brand {
        margin-bottom: 18px;
    }

    .brand-name {
        font-size: 29px;
    }

    .auth-card,
    .card {
        padding: 25px 20px;
        border-radius: 19px;
    }

    h1 {
        font-size: 27px;
    }

    .intro {
        margin-bottom: 22px;
        font-size: 12.5px;
    }
}


/* =========================================================
   COMPACT MOBILE — 480px
========================================================= */

@media (max-width: 480px) {

    .category-circle {
        width: 52px !important;
        height: 52px !important;
    }

    .category-placeholder {
        width: 28px !important;
        height: 28px !important;
        font-size: 13px !important;
    }

    .category-name {
        font-size: 9.5px !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .product-body {
        padding: 8px 6px 10px;
    }

    .add-cart-btn {
        width: 30px;
        height: 30px;
        min-width: 30px;
        padding: 0;
        border-radius: 7px;
        justify-content: center;
    }

    .cart-btn-text {
        display: none;
    }

    .cart-btn-icon {
        font-size: 16px;
    }

    .checkout-page .container {
        width: calc(100% - 20px);
    }

    .checkout-heading h1 {
        font-size: 33px;
    }

    .checkout-eyebrow {
        font-size: 10px;
        letter-spacing: 0.24em;
    }

    .checkout-card-header {
        align-items: flex-start;
    }

    .order-type-option,
    .payment-option {
        min-height: 100px;
        padding: 17px;
    }

    .summary-header h2 {
        font-size: 24px;
    }

    .summary-total > strong {
        font-size: 22px;
    }

    .summary-total > div > span {
        font-size: 16px;
    }

    .place-order-btn {
        min-height: 56px;
    }

    .product-container {
        width: calc(100% - 22px);
    }

    .product-information h1 {
        font-size: 27px;
    }

    .product-category {
        font-size: 9px;
        padding: 6px 10px;
    }

    .product-old-price {
        font-size: 14px;
    }

    .product-discount {
        font-size: 9px;
    }

    .quantity-control {
        height: 45px;
    }

    .quantity-control button {
        width: 42px;
    }

    .quantity-control input {
        width: 45px;
    }

    .product-actions {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .product-actions button {
        min-height: 51px;
    }

    .service-item {
        padding: 14px 0;
    }

    .service-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 15px;
    }

    .service-item span {
        font-size: 10px;
    }

    .related-product-grid {
        gap: 10px;
    }
}


/* =========================================================
   ORDER TRACKING & DETAIL — 420px
========================================================= */

@media (max-width: 420px) {

    .tracking-header h1 {
        font-size: 34px;
    }

    .search-content h2 {
        font-size: 28px;
    }

    .current-status {
        align-items: flex-start;
    }

    .current-status-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .order-item {
        align-items: flex-start;
    }

    .item-price {
        white-space: nowrap;
    }

    .order-total strong {
        font-size: 24px;
    }

    .product-page .container {
        width: calc(100% - 22px);
    }

    .product-image-card {
        min-height: 340px;
    }

    .product-main-image {
        padding: 15px;
    }

    .product-title {
        font-size: 34px;
    }

    .weight-options {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    .weight-option {
        padding: 11px 10px;
    }

    .weight-label,
    .weight-price {
        font-size: 11px;
    }

    .quantity-control {
        height: 46px;
    }

    .quantity-control button {
        width: 42px;
        height: 46px;
    }

    .quantity-control input {
        width: 45px;
        height: 46px;
    }

    .related-product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .related-image {
        height: 145px;
    }
}


/* =========================================================
   EXTRA COMPACT MOBILE — 390px
========================================================= */

@media (max-width: 390px) {

    .header-inner {
        width: calc(100% - 18px);
        gap: 5px;
    }

    .mobile-menu {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .header-actions .header-action {
        width: 33px;
        height: 33px;
        font-size: 15px;
    }

    .logo-main {
        font-size: 24px;
    }

    .logo-sub {
        font-size: 5px;
    }

    .category-circle {
        width: 48px !important;
        height: 48px !important;
    }

    .category-placeholder {
        width: 24px !important;
        height: 24px !important;
        font-size: 11px !important;
    }

    .category-name {
        font-size: 8.5px !important;
    }
}


/* =========================================================
   TINY DEVICES — 360px
========================================================= */

@media (max-width: 360px) {
    .auth-card,
    .card {
        padding: 22px 16px;
        border-radius: 17px;
    }

    .brand-name {
        font-size: 27px;
    }

    h1 {
        font-size: 25px;
    }

    input {
        height: 46px;
        line-height: 46px;
    }
}


/* =========================================================
   TOUCH DEVICES (HOVER GUARDS)
========================================================= */

@media (hover: none) {

    .product-main-image:hover img {
        transform: none;
    }

    .related-card:hover {
        transform: none;
        box-shadow: 0 8px 30px rgba(65, 36, 24, 0.04);
    }

    .related-card:hover .related-image img {
        transform: none;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
