:root {
    --color-white: #FFFFFF;
    --color-navy: #06283D;
    --color-aqua: #00B4D8;
    --color-sand: #F6E7D8;
    --color-coral: #FF6B81;
    --color-black: #111111;
    --color-muted: #6B7280;
    --color-border: #E8E8E8;
    --color-light: #FAFAFA;
    --color-success: #16A34A;
    --color-warning: #F59E0B;
    --color-danger: #DC2626;

    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: Inter, Poppins, Arial, sans-serif;

    --container: 1200px;

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 8px 20px rgba(6, 40, 61, 0.08);
    --shadow-md: 0 16px 40px rgba(6, 40, 61, 0.12);
    --shadow-lg: 0 24px 70px rgba(6, 40, 61, 0.18);

    --transition: all 0.25s ease;
}

/* ------------------------------
   Base Reset
------------------------------ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-black);
    background: var(--color-white);
    line-height: 1.65;
    font-size: 16px;
    max-width: 100%;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.site-main {
    min-height: 60vh;
}

/* ------------------------------
   Typography
------------------------------ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    line-height: 1.15;
    margin: 0 0 16px;
}

h1 {
    font-size: clamp(38px, 6vw, 72px);
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
}

h3 {
    font-size: clamp(22px, 3vw, 30px);
}

p {
    margin: 0 0 16px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-coral);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.section-kicker::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--color-aqua);
    flex: 0 0 34px;
}

/* ------------------------------
   Announcement Bar
------------------------------ */

.announcement-bar {
    background: var(--color-navy);
    color: var(--color-white);
    font-size: 14px;
}

.announcement-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.announcement-location {
    color: rgba(255, 255, 255, 0.75);
}

/* ------------------------------
   Header
------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6, 40, 61, 0.08);
    transition: var(--transition);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-navy);
    white-space: nowrap;
    flex-shrink: 0;
}

.site-logo span {
    color: var(--color-navy);
}

.site-logo strong {
    color: var(--color-coral);
}

.desktop-nav {
    min-width: 0;
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.desktop-nav a,
.dropdown-toggle {
    border: 0;
    background: transparent;
    color: var(--color-black);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.desktop-nav a:hover,
.dropdown-toggle:hover,
.desktop-nav a.active {
    background: var(--color-sand);
    color: var(--color-navy);
}

.sale-link {
    color: var(--color-coral) !important;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 260px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 1002;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    color: var(--color-black);
}

.dropdown-menu a:hover {
    background: var(--color-sand);
    color: var(--color-coral);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    font-size: 18px;
    position: relative;
    flex: 0 0 40px;
}

.icon-btn:hover {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

.badge-link em {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--color-coral);
    color: var(--color-white);
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ------------------------------
   Search Panel
------------------------------ */

.search-panel {
    display: none;
    padding: 18px 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.search-panel.is-open {
    display: block;
}

.search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
}

.search-form input {
    height: 52px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0 20px;
    font-size: 15px;
    min-width: 0;
}

.search-form button {
    height: 52px;
    border-radius: 999px;
    border: 0;
    background: var(--color-navy);
    color: var(--color-white);
    padding: 0 24px;
    font-weight: 700;
}

.search-form button:hover {
    background: var(--color-coral);
}

.search-close {
    width: 52px;
    padding: 0 !important;
    font-size: 24px;
}

/* ------------------------------
   Mobile Menu
------------------------------ */

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex: 0 0 42px;
}

.mobile-menu-btn span {
    width: 18px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 99px;
    transition: var(--transition);
}

.mobile-menu-btn.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(86vw, 390px);
    height: 100vh;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding: 92px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    transition: right 0.3s ease;
}

.mobile-nav.is-open {
    right: 0;
}

.mobile-nav a,
.mobile-dropdown-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--color-navy);
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    text-align: left;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
}

.mobile-nav a:hover,
.mobile-dropdown-toggle:hover {
    background: var(--color-sand);
    color: var(--color-coral);
}

.mobile-dropdown {
    display: none;
    padding-left: 12px;
}

.mobile-dropdown.is-open {
    display: block;
}

.mobile-dropdown a {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-muted);
}

/* ------------------------------
   Buttons
------------------------------ */

.btn,
.primary-btn,
.secondary-btn,
.outline-btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 800;
    font-size: 15px;
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.primary-btn {
    background: var(--color-navy);
    color: var(--color-white);
}

.primary-btn:hover {
    background: var(--color-coral);
    transform: translateY(-2px);
}

.secondary-btn {
    background: var(--color-coral);
    color: var(--color-white);
}

.secondary-btn:hover {
    background: var(--color-navy);
    transform: translateY(-2px);
}

.outline-btn {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.outline-btn:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

/* ------------------------------
   Product Cards
------------------------------ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    min-width: 0;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.product-card-image {
    position: relative;
    aspect-ratio: 3 / 4;
    background: var(--color-sand);
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--color-coral);
    color: var(--color-white);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    z-index: 2;
}

.product-badge.new {
    background: var(--color-aqua);
}

.product-badge.best {
    background: var(--color-navy);
}

.wishlist-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-navy);
    font-size: 18px;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.wishlist-btn.is-active,
.wishlist-btn:hover {
    background: var(--color-coral);
    color: var(--color-white);
}

.product-card-content {
    padding: 18px;
}

.product-category {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-title {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--color-navy);
    margin: 8px 0;
    line-height: 1.35;
}

.product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 14px;
}

.product-price del {
    color: var(--color-muted);
    font-weight: 600;
}

.product-price ins {
    color: var(--color-coral);
    text-decoration: none;
}

.color-swatches {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
}

.color-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    box-shadow: 0 0 0 1px var(--color-border);
}

.quick-add {
    width: 100%;
    min-height: 42px;
    border-radius: 999px;
    border: 0;
    background: var(--color-sand);
    color: var(--color-navy);
    font-weight: 800;
}

.quick-add:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

/* ------------------------------
   Forms
------------------------------ */

.form-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-navy);
    font-weight: 800;
    font-size: 14px;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    border-radius: var(--radius-sm);
    min-height: 48px;
    padding: 12px 14px;
    color: var(--color-black);
    outline: none;
    transition: var(--transition);
    min-width: 0;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-aqua);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.12);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* ------------------------------
   Tables
------------------------------ */

.table-wrapper {
    overflow-x: auto;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

thead {
    background: var(--color-navy);
    color: var(--color-white);
}

th,
td {
    padding: 15px 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

th {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

td {
    color: var(--color-black);
}

/* ------------------------------
   FAQ Accordion
------------------------------ */

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: var(--color-white);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-navy);
    font-weight: 800;
    font-size: 16px;
    text-align: left;
}

.faq-question span {
    font-size: 22px;
    color: var(--color-coral);
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    color: var(--color-muted);
}

.faq-item.is-open .faq-answer {
    display: block;
}

/* ------------------------------
   Quantity Control
------------------------------ */

.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    overflow: hidden;
    background: var(--color-white);
}

.quantity-control button {
    width: 42px;
    height: 42px;
    border: 0;
    background: var(--color-sand);
    color: var(--color-navy);
    font-size: 18px;
    font-weight: 800;
}

.quantity-control input {
    width: 54px;
    height: 42px;
    min-height: 42px;
    border: 0;
    text-align: center;
    padding: 0;
    font-weight: 800;
}

/* ------------------------------
   Generic Layout Sections
------------------------------ */

.section {
    padding: clamp(56px, 7vw, 80px) 0;
}

.section-soft {
    background: var(--color-sand);
}

.page-hero {
    padding: clamp(64px, 8vw, 90px) 0;
    background:
        radial-gradient(circle at top left, rgba(0, 180, 216, 0.16), transparent 32%),
        linear-gradient(135deg, var(--color-sand), var(--color-white));
}

.page-hero-content {
    max-width: 760px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--color-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--color-navy);
    font-weight: 700;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

/* ------------------------------
   Footer
------------------------------ */

.site-footer {
    background: var(--color-navy);
    color: var(--color-white);
}

.footer-newsletter {
    background: linear-gradient(135deg, var(--color-sand), #fff);
    color: var(--color-black);
    padding: clamp(42px, 6vw, 54px) 0;
}

.newsletter-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 32px;
    align-items: center;
}

.newsletter-inner h2 {
    color: var(--color-navy);
    margin-bottom: 10px;
}

.newsletter-inner p {
    color: var(--color-muted);
    max-width: 650px;
}

.newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    position: relative;
}

.newsletter-form input {
    border-radius: 999px;
    height: 54px;
}

.newsletter-form button {
    border: 0;
    border-radius: 999px;
    height: 54px;
    padding: 0 24px;
    background: var(--color-coral);
    color: var(--color-white);
    font-weight: 800;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--color-navy);
}

.newsletter-message {
    grid-column: 1 / -1;
    min-height: 18px;
    color: var(--color-danger);
    font-weight: 700;
}

.newsletter-message.success {
    color: var(--color-success);
}

.footer-main {
    padding: clamp(48px, 7vw, 70px) 0 42px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
    gap: 36px;
}

.footer-logo {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo strong {
    color: var(--color-coral);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 360px;
}

.footer-column h3 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-column a:hover {
    color: var(--color-coral);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.footer-socials a {
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
}

.footer-socials a:hover {
    background: var(--color-coral);
    color: var(--color-white);
    border-color: var(--color-coral);
}

.footer-bottom {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-badges span {
    background: var(--color-white);
    color: var(--color-navy);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
}

/* ------------------------------
   Back To Top
------------------------------ */

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--color-coral);
    color: var(--color-white);
    font-size: 20px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ------------------------------
   Admin-Compatible Base Classes
------------------------------ */

.admin-layout {
    background: var(--color-light);
    min-height: 100vh;
}

.admin-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.status-active,
.status-paid,
.status-delivered {
    background: rgba(22, 163, 74, 0.12);
    color: var(--color-success);
}

.status-pending,
.status-processing {
    background: rgba(245, 158, 11, 0.12);
    color: var(--color-warning);
}

.status-inactive,
.status-cancelled,
.status-failed {
    background: rgba(220, 38, 38, 0.12);
    color: var(--color-danger);
}

/* ------------------------------
   Responsive: Desktop / Laptop
------------------------------ */

@media (max-width: 1280px) {
    :root {
        --container: 1120px;
    }

    .desktop-nav a,
    .dropdown-toggle {
        font-size: 13px;
        padding: 10px 8px;
    }

    .header-inner {
        gap: 16px;
    }
}

@media (max-width: 1180px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .header-inner {
        min-height: 70px;
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ------------------------------
   Responsive: Tablet
------------------------------ */

@media (max-width: 992px) {
    .newsletter-inner,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .footer-main {
        gap: 28px;
    }

    .page-hero-content {
        max-width: 100%;
    }

    .form-card,
    .card {
        padding: 24px;
    }
}

/* ------------------------------
   Responsive: Mobile
------------------------------ */

@media (max-width: 768px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

    h2 {
        font-size: clamp(28px, 8vw, 38px);
    }

    h3 {
        font-size: clamp(20px, 6vw, 26px);
    }

    .announcement-inner {
        justify-content: center;
        text-align: center;
        min-height: 36px;
    }

    .announcement-location {
        display: none;
    }

    .site-logo {
        font-size: 24px;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-actions {
        gap: 5px;
    }

    .icon-btn {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 16px;
    }

    .header-actions .icon-btn:nth-child(3) {
        display: none;
    }

    .mobile-nav {
        width: min(100%, 390px);
        padding: 86px 18px 28px;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .search-form input,
    .search-form button,
    .search-close {
        width: 100%;
        border-radius: 16px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .product-card-content {
        padding: 15px;
    }

    .product-title {
        font-size: 15px;
    }

    .product-category {
        font-size: 11px;
    }

    .product-badge {
        top: 10px;
        left: 10px;
        font-size: 11px;
        padding: 5px 9px;
    }

    .wishlist-btn {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
    }

    .section {
        padding: 52px 0;
    }

    .page-hero {
        padding: 56px 0;
    }

    .form-row,
    .newsletter-inner,
    .footer-main,
    .footer-bottom,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .payment-badges {
        justify-content: flex-start;
    }

    .btn,
    .primary-btn,
    .secondary-btn,
    .outline-btn,
    button.btn {
        width: 100%;
    }

    table {
        min-width: 680px;
    }
}

/* ------------------------------
   Responsive: Small Mobile
------------------------------ */

@media (max-width: 520px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    body {
        font-size: 15px;
    }

    .header-inner {
        min-height: 66px;
        gap: 10px;
    }

    .site-logo {
        font-size: 21px;
        max-width: 150px;
    }

    .header-actions .icon-btn:nth-child(2) {
        display: none;
    }

    .mobile-menu-btn {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        border-radius: 20px;
    }

    .product-card-image {
        aspect-ratio: 4 / 5;
    }

    .form-card,
    .card {
        padding: 22px;
    }

    .mobile-nav {
        width: 100%;
        right: -100%;
    }

    .footer-logo {
        font-size: 26px;
    }

    .footer-main {
        padding-top: 44px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        right: 14px;
        bottom: 14px;
    }
}

/* ------------------------------
   Responsive: Extra Small Mobile
------------------------------ */

@media (max-width: 390px) {
    .container {
        width: min(100% - 20px, var(--container));
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 27px;
    }

    .site-logo {
        max-width: 135px;
        font-size: 20px;
    }

    .icon-btn {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .header-actions {
        gap: 4px;
    }

    .product-card-content {
        padding: 14px;
    }

    .section {
        padding: 44px 0;
    }
}