:root {
    --ink: #202321;
    --muted: #6b716c;
    --line: #e4e0dc;
    --paper: #ffffff;
    --wash: #fff6f9;
    --rose: #e25591;
    --rose-dark: #a92f60;
    --rose-soft: #fde4ef;
    --leaf: #315b43;
    --leaf-soft: #dfe9df;
    --gold: #b38745;
    --danger: #b42318;
    --success: #287947;
    --shadow: 0 16px 40px rgba(31, 35, 33, 0.09);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

input,
select,
textarea,
button {
    font: inherit;
}

label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-weight: 650;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 11px 12px;
    background: var(--paper);
    color: var(--ink);
}

textarea {
    resize: vertical;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

small {
    color: var(--muted);
}

.top-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, var(--rose-dark), var(--rose), #f08cb7);
    color: #fff;
    text-align: center;
    padding: 9px 16px;
    font-size: 0.9rem;
    font-weight: 700;
}

.top-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.24) 45%, transparent 70%);
    transform: translateX(-100%);
    animation: bannerShine 8s ease-in-out infinite;
    pointer-events: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 16px 34px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(226, 85, 145, 0.08);
    backdrop-filter: blur(16px);
}

.brand,
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-logo {
    width: 190px;
    height: 102px;
    object-fit: contain;
    border-radius: 4px;
    background: #f5f0ea;
    box-shadow: 0 10px 24px rgba(169, 47, 96, 0.12);
}

.brand strong {
    display: block;
    font-size: 1.05rem;
}

.brand small {
    display: block;
    margin-top: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 520px;
    flex-wrap: wrap;
    gap: 18px;
    color: #323733;
    font-size: 0.94rem;
}

.main-nav a:hover,
.text-link:hover,
.product-card h3 a:hover {
    color: var(--rose-dark);
}

.main-nav a {
    position: relative;
    padding: 8px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--rose);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions,
.button-row,
.table-actions,
.hero-actions,
.radio-row,
.checkbox-row,
.footer-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lang-link,
.cart-link {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.86rem;
    font-weight: 800;
}

.lang-link.active {
    background: var(--rose-dark);
    border-color: var(--rose-dark);
    color: #fff;
}

.cart-link span {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    margin-left: 6px;
    border-radius: 999px;
    background: var(--rose);
    color: #fff;
    font-size: 0.78rem;
}

.hero {
    position: relative;
    min-height: 72vh;
    display: grid;
    align-items: end;
    padding: 72px 34px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(120deg, rgba(226, 85, 145, 0.34), transparent 34%, rgba(179, 135, 69, 0.16));
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(65, 27, 42, 0.74), rgba(96, 38, 63, 0.28), rgba(20, 24, 22, 0.08));
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    color: #fff;
    animation: fadeUp 760ms ease both;
}

.hero h1,
.shop-hero h1 {
    margin: 8px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 6.3rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero p {
    max-width: 580px;
    font-size: 1.12rem;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #f5d9a8;
}

.button,
button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 1px solid var(--rose-dark);
    border-radius: 6px;
    padding: 11px 18px;
    background: linear-gradient(135deg, var(--rose-dark), var(--rose));
    color: #fff;
    font-weight: 850;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    background: linear-gradient(135deg, #8f2851, #d84784);
    border-color: var(--rose-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(226, 85, 145, 0.18);
}

.button.secondary {
    background: var(--paper);
    color: var(--rose-dark);
}

.button.secondary:hover,
.button.ghost:hover {
    background: var(--rose-soft);
    color: var(--rose-dark);
}

.button.ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.button.danger,
.button.ghost.danger {
    color: var(--danger);
    border-color: #efc8c3;
}

.button.small {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.82rem;
}

.button:disabled,
button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.section,
.shop-layout,
.product-detail,
.checkout-layout,
.service-row,
.store-info,
.feature-band,
.site-footer {
    width: min(1180px, calc(100% - 44px));
    margin: 0 auto;
}

.section {
    padding: 64px 0;
}

.section.narrow {
    max-width: 860px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-heading h1,
.section-heading h2,
.feature-band h2,
.store-info h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.collection-tile {
    position: relative;
    min-height: 190px;
    display: flex;
    align-items: end;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--wash);
    overflow: hidden;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.collection-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(45, 21, 31, 0.12), rgba(112, 34, 69, 0.72));
    z-index: 1;
}

.collection-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.collection-tile span {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.collection-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(226, 85, 145, 0.15);
}

.collection-tile:hover .collection-thumb {
    transform: scale(1.06);
}

.feature-band {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 34px;
    padding: 46px;
    background: var(--wash);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.feature-band img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 320ms ease;
}

.feature-band:hover img {
    transform: scale(1.025);
}

.text-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--leaf);
    font-weight: 850;
    border-bottom: 2px solid var(--gold);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--paper);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card-image {
    position: relative;
    display: block;
    background: var(--wash);
}

.product-card-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 180ms ease;
}

.product-card:hover img {
    transform: scale(1.035);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #f4b8cf;
    box-shadow: 0 18px 34px rgba(226, 85, 145, 0.15);
}

.product-card-body {
    padding: 16px;
}

.product-card h3 {
    min-height: 54px;
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.28;
    letter-spacing: 0;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 9px;
    flex-wrap: wrap;
}

.price-row.large {
    margin: 10px 0 12px;
    font-size: 1.25rem;
}

.old-price {
    color: var(--muted);
    text-decoration: line-through;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    border-radius: 999px;
    padding: 6px 10px;
    background: var(--rose-dark);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 850;
}

.badge.muted {
    left: auto;
    right: 12px;
    background: rgba(32, 35, 33, 0.78);
}

.service-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 0 0 64px;
}

.service-row article {
    min-height: 150px;
    padding: 26px;
    background: linear-gradient(135deg, var(--rose-dark), var(--rose));
    color: #fff;
}

.service-row h3 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    letter-spacing: 0;
}

.service-row p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.store-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 42px 0 72px;
    border-top: 1px solid var(--line);
}

.shop-hero {
    min-height: 260px;
    display: grid;
    align-items: end;
    padding: 56px 34px;
    background:
        linear-gradient(90deg, rgba(89, 29, 57, 0.80), rgba(226, 85, 145, 0.22)),
        url("https://images.unsplash.com/photo-1490750967868-88aa4486c946?auto=format&fit=crop&w=1600&q=85") center/cover;
    color: #fff;
}

.shop-hero > div {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    padding: 42px 0 70px;
}

.filters {
    align-self: start;
    position: sticky;
    top: 104px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: var(--paper);
}

.filters form,
.checkout-form,
.admin-form,
.coupon-form,
.login-panel {
    display: grid;
    gap: 16px;
}

.split-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.checkout-form .split-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.results-count {
    margin-bottom: 18px;
    color: var(--muted);
    font-weight: 750;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 46px;
    padding: 54px 0;
}

.main-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    background: var(--wash);
}

.thumb-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.thumb-row img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
}

.product-info h1 {
    margin: 4px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: 0;
}

.stock-state {
    display: inline-flex;
    margin: 0 0 16px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 850;
}

.stock-in {
    color: var(--success);
}

.stock-out {
    color: var(--danger);
}

.spec-list {
    display: grid;
    gap: 10px;
    margin: 24px 0;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.spec-list div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 14px;
}

.spec-list dt {
    color: var(--muted);
    font-weight: 850;
}

.spec-list dd {
    margin: 0;
}

.add-cart-form {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 14px;
    align-items: end;
}

.cart-table {
    display: grid;
    gap: 12px;
}

.cart-item {
    display: grid;
    grid-template-columns: 92px 1fr 120px 100px auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.cart-item img {
    width: 92px;
    height: 92px;
    border-radius: 6px;
    object-fit: cover;
}

.link-button {
    border: 0;
    background: transparent;
    color: var(--danger);
    cursor: pointer;
    font-weight: 800;
}

.coupon-form {
    margin: 20px 0;
    grid-template-columns: 1fr auto;
    align-items: end;
}

.summary-box,
.order-summary,
.success-panel,
.install-panel,
.login-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.summary-box {
    display: grid;
    gap: 12px;
    max-width: 420px;
    margin-left: auto;
}

.summary-box > div,
.mini-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.summary-total,
.mini-line.total {
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 1.15rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    padding: 54px 0 72px;
}

fieldset {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

legend {
    padding: 0 8px;
    color: var(--leaf);
    font-weight: 850;
}

.hint {
    margin: 0;
    color: var(--muted);
}

.pickup-fields {
    display: none;
}

.order-summary {
    align-self: start;
    position: sticky;
    top: 104px;
    display: grid;
    gap: 13px;
}

.site-footer {
    padding: 44px 0 28px;
    border-top: 1px solid var(--line);
}

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

.footer-grid h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
}

.footer-logo {
    width: 240px;
    height: auto;
    margin-bottom: 18px;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.newsletter-form button {
    border: 1px solid var(--rose-dark);
    border-radius: 6px;
    background: linear-gradient(135deg, var(--rose-dark), var(--rose));
    color: #fff;
    padding: 10px 14px;
    font-weight: 850;
}

@media (prefers-reduced-motion: no-preference) {
    .collection-tile,
    .product-card,
    .service-row article,
    .feature-band,
    .store-info {
        animation: fadeUp 680ms ease both;
    }

    .collection-tile:nth-child(2),
    .product-card:nth-child(2),
    .service-row article:nth-child(2) {
        animation-delay: 80ms;
    }

    .collection-tile:nth-child(3),
    .product-card:nth-child(3),
    .service-row article:nth-child(3) {
        animation-delay: 150ms;
    }

    .collection-tile:nth-child(4),
    .product-card:nth-child(4) {
        animation-delay: 220ms;
    }
}

@keyframes heroDrift {
    from {
        transform: scale(1.02) translate3d(-8px, -4px, 0);
    }
    to {
        transform: scale(1.08) translate3d(10px, 8px, 0);
    }
}

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

@keyframes bannerShine {
    0%, 58% {
        transform: translateX(-100%);
    }
    72%, 100% {
        transform: translateX(100%);
    }
}

.footer-bottom {
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.flash {
    width: min(1180px, calc(100% - 44px));
    margin: 14px auto;
    padding: 12px 14px;
    border-radius: 6px;
    font-weight: 750;
}

.flash-success {
    background: #e9f6ee;
    color: var(--success);
}

.flash-error {
    background: #fff0ee;
    color: var(--danger);
}

.login-body,
.install-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
        url("https://images.unsplash.com/photo-1518895949257-7621c3c786d7?auto=format&fit=crop&w=1600&q=85") center/cover;
}

.login-panel,
.install-panel {
    width: min(460px, 100%);
}

.login-logo {
    width: min(340px, 100%);
    height: auto;
    margin: 0 auto 10px;
}

.admin-body {
    display: grid;
    grid-template-columns: 248px 1fr;
    min-height: 100vh;
    background: #f5f7f5;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px 18px;
    background: linear-gradient(180deg, #2b2026, #3c2130 48%, #211b1f);
    color: #fff;
    overflow: hidden;
}

.admin-brand {
    display: block;
    width: 100%;
    max-width: 190px;
    min-width: 0;
    margin: 0 auto 22px;
    padding: 8px;
    border-radius: 8px;
    background: #f8f2ee;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.admin-brand img {
    width: 100%;
    max-height: 96px;
    height: auto;
    object-fit: contain;
}

.admin-sidebar nav {
    display: grid;
    gap: 6px;
}

.admin-sidebar a {
    border-radius: 6px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 750;
}

.admin-sidebar a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.admin-sidebar > .admin-brand,
.admin-sidebar > .admin-brand:hover {
    display: block;
    width: 100%;
    max-width: 190px;
    min-width: 0;
    margin: 0 auto 22px;
    padding: 8px;
    background: #f8f2ee;
    color: #211b1f;
}

.admin-main {
    min-width: 0;
    padding: 24px;
    color: #211b1f;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.admin-topbar h1 {
    margin: 0;
    font-size: 1.7rem;
    letter-spacing: 0;
    color: #211b1f;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.admin-stat-grid article,
.admin-card,
.detail-grid article,
.note-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 10px 24px rgba(31, 35, 33, 0.05);
}

.admin-stat-grid article {
    padding: 18px;
}

.admin-stat-grid span {
    display: block;
    color: #5b5359;
    font-weight: 800;
}

.admin-stat-grid strong {
    display: block;
    margin-top: 8px;
    font-size: 1.8rem;
    color: #211b1f;
}

.admin-card {
    padding: 20px;
    margin-bottom: 18px;
}

.admin-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.admin-card-heading h2 {
    margin: 0;
    color: #211b1f;
}

.admin-card-heading p {
    margin: 4px 0 0;
    color: #625a60;
}

.admin-hint {
    margin: -6px 0 0;
    color: #625a60;
    font-size: 0.92rem;
}

.table-wrap {
    overflow-x: auto;
}

.admin-thumb {
    width: 58px;
    height: 58px;
    border-radius: 6px;
    object-fit: cover;
}

.admin-form.compact {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

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

.inline-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inline-check input,
.checkbox-row input,
.radio-row input {
    width: auto;
}

.image-preview {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.status-pill {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 9px;
    background: #fde4ef;
    color: #8f2851;
    font-size: 0.8rem;
    font-weight: 850;
}

.status-form select {
    min-width: 150px;
}

.inline-filter,
.status-update {
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.detail-grid article,
.note-box {
    padding: 16px;
}

.detail-grid h3 {
    margin: 0 0 10px;
}

.note-box {
    margin-bottom: 18px;
}

@media (max-width: 1000px) {
    .product-grid,
    .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-layout,
    .product-detail,
    .checkout-layout,
    .feature-band {
        grid-template-columns: 1fr;
    }

    .filters,
    .order-summary {
        position: static;
    }

    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-sidebar nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-stat-grid,
    .detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .site-header {
        align-items: flex-start;
        padding: 14px 18px;
    }

    .brand-logo {
        width: 146px;
        height: 78px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero {
        min-height: 66vh;
        padding: 48px 22px;
    }

    .hero h1,
    .shop-hero h1 {
        font-size: 3.1rem;
    }

    .section,
    .shop-layout,
    .product-detail,
    .checkout-layout,
    .service-row,
    .store-info,
    .feature-band,
    .site-footer,
    .flash {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 42px 0;
    }

    .section-heading,
    .store-info,
    .admin-card-heading,
    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-grid,
    .collection-grid,
    .service-row,
    .footer-grid,
    .form-grid,
    .admin-stat-grid,
    .detail-grid,
    .split-fields,
    .checkout-form .split-fields {
        grid-template-columns: 1fr;
    }

    .feature-band {
        padding: 26px;
    }

    .cart-item {
        grid-template-columns: 74px 1fr;
    }

    .cart-item img {
        width: 74px;
        height: 74px;
    }

    .add-cart-form,
    .coupon-form,
    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .spec-list div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .admin-sidebar nav {
        grid-template-columns: 1fr 1fr;
    }

    th,
    td {
        min-width: 120px;
    }
}
