:root {
    --ink: #17221f;
    --muted: #66736d;
    --line: #e8ded0;
    --paper: #fffaf2;
    --soft: #f4ecdf;
    --green: #0f5b4d;
    --green-2: #167161;
    --gold: #d8a84d;
    --rose: #8f314c;
    --teal: #176d77;
    --shadow: 0 18px 45px rgba(23, 34, 31, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(15, 91, 77, .08), transparent 34%),
        linear-gradient(315deg, rgba(143, 49, 76, .08), transparent 32%),
        #efe7da;
}

body:has(.store-header) {
    background: #f7f2e8;
}

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

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

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

.app-shell {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    background: var(--paper);
    box-shadow: none;
    overflow: visible;
}

.main-content {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0 80px;
}

.announcement-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 38px;
    padding: 6px 18px;
    color: #f8f0df;
    background: #13251f;
    font-size: 13px;
    font-weight: 800;
}

.announcement-bar span {
    color: rgba(248, 240, 223, .72);
}

.announcement-bar a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.store-header {
    position: sticky;
    top: 0;
    z-index: 35;
    background: rgba(255, 250, 242, .96);
    border-bottom: 1px solid rgba(232, 222, 208, .95);
    box-shadow: 0 12px 30px rgba(23, 34, 31, .07);
    backdrop-filter: blur(18px);
}

.header-main {
    display: grid;
    grid-template-columns: 240px minmax(280px, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 16px 0 12px;
}

.header-search,
.mobile-search {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 2px solid rgba(15, 91, 77, .15);
    border-radius: 999px;
    background: #fff;
}

.header-search input,
.mobile-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 18px;
    background: transparent;
}

.header-search button,
.mobile-search button {
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    color: #fff;
    background: var(--green);
    font-weight: 900;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-link,
.cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
}

.cart-link {
    position: relative;
    padding-right: 34px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px clamp(20px, 5vw, 58px);
    background: rgba(255, 250, 242, .92);
    border-bottom: 1px solid rgba(232, 222, 208, .9);
    backdrop-filter: blur(18px);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    min-width: 0;
    padding: 0 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.desktop-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 900;
}

.desktop-nav a.active,
.desktop-nav a:hover {
    color: #fff;
    background: var(--green);
}

.desktop-nav .browse-pill {
    margin-right: 10px;
    color: #152019;
    background: var(--gold);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.menu-toggle {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: var(--green);
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: max(14px, calc((100vw - 1180px) / 2));
    display: none;
    width: min(340px, calc(100vw - 28px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 250, 242, .98);
    box-shadow: var(--shadow);
}

.mobile-menu.open {
    display: grid;
    gap: 8px;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 13px;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 900;
}

.mobile-menu a.active {
    color: #fff;
    background: var(--green);
}

.mobile-search {
    border-radius: 16px;
}

.mobile-search input {
    min-height: 44px;
}

.mobile-search button {
    min-height: 44px;
    padding: 0 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    color: #fff;
    background: var(--green);
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(15, 91, 77, .28);
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.1;
}

.brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.top-whatsapp,
.btn,
.mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    white-space: nowrap;
}

.top-whatsapp {
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    color: #fff;
    background: var(--green);
    font-size: 13px;
}

.store-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: stretch;
    min-height: 530px;
    padding: clamp(30px, 5vw, 66px);
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(19, 37, 31, .96), rgba(15, 91, 77, .9) 58%, rgba(139, 49, 76, .82)),
        #13251f;
    overflow: hidden;
}

.store-hero .hero-copy {
    align-self: center;
    max-width: 680px;
}

.store-hero h1 {
    margin: 10px 0 12px;
    max-width: 720px;
    font-size: clamp(42px, 5.8vw, 78px);
    line-height: .98;
    letter-spacing: 0;
}

.store-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.65;
}

.review-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 9px 12px;
    border-radius: 999px;
    color: #ffdf88;
    background: rgba(255, 255, 255, .12);
    font-size: 13px;
    font-weight: 900;
}

.featured-edition {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: rgba(255, 250, 242, .94);
    color: var(--ink);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .16);
}

.featured-edition > span {
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.featured-edition img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    background: var(--soft);
}

.featured-edition h2 {
    margin: 0;
    font-size: 23px;
    line-height: 1.15;
}

.featured-edition p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.service-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    margin: 18px 0 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
    overflow: hidden;
}

.service-strip div {
    padding: 16px 14px;
    background: #fff;
}

.service-strip strong,
.service-strip span {
    display: block;
}

.service-strip strong {
    color: var(--green);
    font-size: 14px;
}

.service-strip span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.category-showcase,
.catalog-toolbar,
.guidance-panel {
    margin-top: 24px;
}

.text-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--green);
    background: #fff;
    font-size: 13px;
    font-weight: 900;
}

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

.quick-link-grid a {
    padding: 22px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(145deg, #13251f, #0f5b4d);
}

.quick-link-grid a:nth-child(2) {
    background: linear-gradient(145deg, #7a3f13, #b86424);
}

.quick-link-grid a:nth-child(3) {
    background: linear-gradient(145deg, #0e4d5d, #19738b);
}

.quick-link-grid strong,
.quick-link-grid span {
    display: block;
}

.quick-link-grid strong {
    font-size: 24px;
}

.quick-link-grid span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .74);
    font-weight: 800;
}

.catalog-toolbar {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-grid-soft {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.split-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.split-products > div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.section-head.small h2 {
    font-size: 24px;
}

.mini-product-list {
    display: grid;
    gap: 10px;
}

.mini-product-list a {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid #f0e8dc;
    border-radius: 8px;
    background: #fffaf5;
}

.mini-product-list img {
    grid-row: span 3;
    width: 76px;
    height: 76px;
    border-radius: 8px;
    object-fit: cover;
}

.mini-product-list span {
    color: var(--teal);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.mini-product-list strong {
    line-height: 1.25;
}

.mini-product-list em {
    grid-column: 3;
    grid-row: 1 / span 3;
    color: var(--green);
    font-style: normal;
    font-weight: 900;
}

.guidance-panel {
    padding: clamp(20px, 4vw, 34px);
    border-radius: 8px;
    color: #fff;
    background: #13251f;
}

.guidance-panel .section-head {
    margin-top: 0;
}

.guidance-panel h2 {
    color: #fff;
}

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

.guidance-grid a {
    display: grid;
    gap: 8px;
    min-height: 188px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.guidance-grid span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.guidance-grid strong {
    font-size: 19px;
    line-height: 1.22;
}

.guidance-grid small {
    color: rgba(255, 255, 255, .72);
    line-height: 1.45;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    min-height: 500px;
    padding: clamp(28px, 5vw, 58px);
    border-radius: 34px;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(15, 91, 77, .96), rgba(23, 109, 119, .9) 54%, rgba(143, 49, 76, .88)),
        #0f5b4d;
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
}

.eyebrow,
.plain-head span,
.section-head span {
    display: inline-flex;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.plain-head h1 {
    margin: 9px 0 10px;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1;
    letter-spacing: 0;
}

.hero p,
.plain-head p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    line-height: 1.55;
    max-width: 610px;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 520px;
    margin-top: 28px;
}

.hero-metrics div {
    padding: 14px 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
}

.hero-metrics strong,
.hero-metrics span {
    display: block;
}

.hero-metrics strong {
    font-size: 24px;
}

.hero-metrics span {
    margin-top: 3px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 900;
}

.btn {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 16px;
}

.btn.primary {
    color: #fff;
    background: var(--green);
    box-shadow: 0 12px 28px rgba(15, 91, 77, .25);
}

.hero .btn.primary {
    color: #152019;
    background: var(--gold);
}

.btn.ghost {
    color: var(--green);
    background: #fff;
    border: 1px solid rgba(15, 91, 77, .12);
}

.hero .btn.ghost {
    color: #fff;
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .24);
}

.hero-stack {
    position: relative;
    z-index: 1;
    min-height: 400px;
}

.hero-stack img {
    position: absolute;
    width: min(46%, 230px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    border: 4px solid rgba(255, 255, 255, .5);
    box-shadow: var(--shadow);
}

.hero-stack img:nth-child(1) {
    top: 10px;
    right: 44px;
    transform: rotate(8deg);
}

.hero-stack img:nth-child(2) {
    top: 132px;
    right: 210px;
    transform: rotate(-10deg);
}

.hero-stack img:nth-child(3) {
    top: 236px;
    right: 24px;
    transform: rotate(6deg);
}

.search-panel {
    display: flex;
    gap: 8px;
    margin: 22px 0 14px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.search-panel input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 10px;
    background: transparent;
}

.search-panel button {
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: var(--green);
    font-weight: 800;
}

.quick-filters,
.category-strip {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 2px 0 12px;
    scrollbar-width: none;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 8px;
}

.home-category-grid a {
    display: grid;
    gap: 8px;
    min-height: 168px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(23, 34, 31, .05);
}

.home-category-grid span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    color: #fff;
    background: var(--green);
    font-weight: 900;
}

.home-category-grid strong {
    font-size: 16px;
}

.home-category-grid small {
    color: var(--muted);
    line-height: 1.45;
}

.home-category-grid em {
    align-self: end;
    color: var(--green);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.quick-filters::-webkit-scrollbar,
.category-strip::-webkit-scrollbar {
    display: none;
}

.quick-filters a,
.category-strip a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.quick-filters a.active,
.category-strip a.active {
    color: #fff;
    border-color: var(--green);
    background: var(--green);
}

.category-strip span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: var(--green);
    background: rgba(216, 168, 77, .22);
    font-size: 10px;
}

.category-strip a.active span {
    color: #1d281f;
    background: var(--gold);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 13px;
}

.section-head h2 {
    margin: 3px 0 0;
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: 0;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

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

.product-grid.compact {
    margin-bottom: 10px;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(23, 34, 31, .06);
}

.product-media {
    position: relative;
    display: block;
    background: var(--soft);
}

.product-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 9px;
    left: 9px;
    padding: 5px 8px;
    border-radius: 999px;
    color: #251d10;
    background: var(--gold);
    font-size: 11px;
    font-weight: 900;
}

.product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 13px;
}

.product-category {
    color: var(--teal);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-card h3 {
    margin: 5px 0 6px;
    min-height: 42px;
    font-size: 15px;
    line-height: 1.28;
    letter-spacing: 0;
}

.product-card p {
    display: -webkit-box;
    min-height: 40px;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-rating {
    margin: -1px 0 7px;
    color: #d99b24;
    font-size: 12px;
    font-weight: 900;
}

.card-rating span {
    color: var(--muted);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}

.price-row strong {
    color: var(--green);
    font-size: 17px;
}

.price-row span {
    color: #9b8d7c;
    font-size: 12px;
    font-weight: 700;
    text-decoration: line-through;
}

.card-actions {
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: 7px;
    margin-top: 10px;
}

.mini-btn {
    min-width: 0;
    min-height: 38px;
    border-radius: 8px;
    color: var(--green);
    background: #eff8f4;
    font-size: 13px;
}

.mini-btn.primary {
    color: #fff;
    background: var(--green);
}

.plain-head {
    margin: 2px 0 16px;
    padding: 22px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(145deg, var(--green), var(--teal));
}

.plain-head h1 {
    font-size: 38px;
}

.category-list {
    display: grid;
    gap: 10px;
}

.category-card {
    display: grid;
    grid-template-columns: 50px 1fr 36px;
    gap: 12px;
    align-items: center;
    min-height: 92px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.category-card > span {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    color: #fff;
    background: var(--green);
    font-weight: 900;
}

.category-card strong {
    display: block;
    font-size: 16px;
}

.category-card p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.category-card em {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--green);
    background: #eff8f4;
    font-style: normal;
    font-weight: 900;
}

.detail {
    display: grid;
    gap: 16px;
}

.detail-media {
    position: relative;
    border-radius: 30px;
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.detail-media img {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
}

.detail-body {
    padding: 5px 2px 0;
}

.detail-body h1 {
    margin: 6px 0 8px;
    font-size: 34px;
    line-height: 1.03;
    letter-spacing: 0;
}

.detail-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.price-row.big {
    margin: 14px 0;
}

.price-row.big strong {
    font-size: 30px;
}

.detail-actions {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 10px;
}

.specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 16px 0;
}

.specs div,
.description-panel,
.checkout-panel,
.cart-line,
.empty-state,
.trust-band {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 18px;
}

.specs div {
    padding: 12px;
}

.specs span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.specs strong {
    display: block;
    margin-top: 3px;
    font-size: 14px;
}

.description-panel {
    padding: 16px;
}

.description-panel h2 {
    margin: 0 0 8px;
}

.description-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.text-link {
    display: block;
    margin-top: 12px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    word-break: break-all;
}

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

.cart-items {
    display: grid;
    gap: 10px;
}

.cart-line {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 10px;
}

.cart-line img {
    width: 72px;
    height: 82px;
    object-fit: cover;
    border-radius: 14px;
    background: var(--soft);
}

.cart-line h3 {
    margin: 0 0 5px;
    font-size: 15px;
}

.cart-line p {
    margin: 0 0 8px;
    color: var(--green);
    font-weight: 900;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-row button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 10px;
    color: var(--green);
    background: #eff8f4;
    font-weight: 900;
}

.qty-row button.remove-cart {
    width: auto;
    padding: 0 10px;
}

.qty-row span {
    min-width: 24px;
    text-align: center;
    font-weight: 900;
}

.checkout-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.checkout-panel label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.checkout-panel input,
.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 0 12px;
    color: var(--ink);
    background: #fffaf5;
    outline-color: var(--gold);
}

.total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
    font-size: 18px;
    font-weight: 900;
}

.empty-state {
    padding: 22px;
    text-align: center;
}

.empty-state h1,
.empty-state h2 {
    margin: 0 0 8px;
}

.empty-state p {
    margin: 0 0 15px;
    color: var(--muted);
}

.cart-empty {
    display: none;
}

.trust-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
}

.trust-band div {
    display: grid;
    gap: 3px;
    padding: 10px 8px;
    border-radius: 14px;
    background: var(--soft);
    text-align: center;
}

.trust-band strong {
    color: var(--green);
    font-size: 14px;
}

.trust-band span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.site-footer {
    padding: 36px clamp(20px, 5vw, 58px) 40px;
    color: #e7f2ec;
    background: #13251f;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 28px;
}

.footer-grid h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 15px;
}

.footer-grid a {
    display: block;
    margin-top: 8px;
    color: rgba(231, 242, 236, .74);
    font-size: 13px;
    font-weight: 800;
}

.footer-grid .footer-whatsapp {
    display: inline-flex;
    width: fit-content;
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 999px;
    color: #17221f;
    background: var(--gold);
}

.site-footer p {
    margin: 5px 0 0;
    color: rgba(231, 242, 236, .72);
    line-height: 1.5;
}

.site-footer > div,
.site-footer > p {
    width: min(1180px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.footer-links a {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: 12px;
    font-weight: 800;
}

.credit {
    font-size: 12px;
}

.credit a {
    color: var(--gold);
    font-weight: 900;
}

.bottom-nav {
    position: fixed;
    right: 50%;
    bottom: 12px;
    z-index: 40;
    display: none;
    grid-template-columns: repeat(4, 1fr);
    width: min(calc(100% - 24px), 488px);
    transform: translateX(50%);
    padding: 7px;
    border: 1px solid rgba(232, 222, 208, .9);
    border-radius: 22px;
    background: rgba(255, 250, 242, .94);
    box-shadow: 0 18px 46px rgba(23, 34, 31, .18);
    backdrop-filter: blur(18px);
}

.showcase-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: 28px;
    align-items: center;
    margin-top: 28px;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 30px;
    color: #fff;
    background: linear-gradient(145deg, #13251f, #0f5b4d 58%, #7b2945);
}

.showcase-panel h2,
.contact-hero h1 {
    margin: 8px 0 10px;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.06;
}

.showcase-panel p,
.contact-hero p {
    color: rgba(255, 255, 255, .78);
    line-height: 1.65;
}

.showcase-panel .btn {
    margin-top: 12px;
    color: #17221f;
    background: var(--gold);
}

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

.showcase-products img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, .35);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
}

.contact-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: center;
    min-height: 430px;
    padding: clamp(28px, 5vw, 56px);
    border-radius: 34px;
    color: #fff;
    background: linear-gradient(145deg, var(--green), var(--teal) 54%, var(--rose));
}

.contact-card {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 26px;
    background: rgba(255, 255, 255, .14);
}

.contact-card span,
.contact-card strong {
    display: block;
}

.contact-card span {
    color: var(--gold);
    font-weight: 900;
}

.contact-card strong {
    margin-top: 8px;
    font-size: 30px;
}

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

.contact-grid article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

.contact-grid span {
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-grid h2 {
    margin: 8px 0;
}

.contact-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.bottom-nav a {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 16px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.bottom-nav a.active {
    color: #fff;
    background: var(--green);
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 10px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 99px;
    color: #281d10;
    background: var(--gold);
    font-size: 11px;
    line-height: 19px;
    text-align: center;
}

.toast {
    position: fixed;
    right: 50%;
    bottom: 86px;
    z-index: 50;
    transform: translateX(50%);
    width: min(calc(100% - 36px), 460px);
    padding: 13px 15px;
    border-radius: 16px;
    color: #fff;
    background: var(--green);
    box-shadow: var(--shadow);
    font-weight: 800;
}

.admin-shell {
    min-height: 100vh;
    background: var(--paper);
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    color: #fff;
    background: #13251f;
}

.admin-header a {
    font-weight: 800;
}

.admin-layout {
    width: min(1100px, calc(100% - 28px));
    margin: 0 auto;
    padding: 18px 0 50px;
}

.admin-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.admin-nav a,
.admin-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 12px;
    color: var(--green);
    background: #eff8f4;
    border: 1px solid rgba(15, 91, 77, .1);
    font-weight: 900;
}

.admin-action.primary {
    color: #fff;
    background: var(--green);
}

.admin-card,
.admin-table-wrap {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(23, 34, 31, .06);
}

.admin-card {
    padding: 18px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat strong {
    display: block;
    color: var(--green);
    font-size: 34px;
}

.stat span {
    color: var(--muted);
    font-weight: 800;
}

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

.admin-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

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

.admin-table th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.admin-thumb {
    width: 52px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--soft);
}

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

.admin-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.admin-form textarea {
    min-height: 110px;
    padding-top: 11px;
    resize: vertical;
}

.admin-form .full {
    grid-column: 1 / -1;
}

.form-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.notice,
.error {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 800;
}

.notice {
    color: #155041;
    background: #e5f5ed;
}

.error {
    color: #7b1f34;
    background: #fde8ee;
}

.login-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 18px;
    background: linear-gradient(145deg, var(--green), var(--teal));
}

.login-card {
    width: min(100%, 430px);
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}

.login-card h1 {
    margin: 0 0 6px;
}

.login-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

@media (max-width: 1040px) {
    .header-main {
        grid-template-columns: 220px minmax(220px, 1fr) auto auto;
    }

    .header-actions .header-link {
        display: none;
    }

    .desktop-nav a {
        padding: 0 10px;
        font-size: 13px;
    }

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

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

    .hero,
    .store-hero {
        grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
    }

    .service-strip,
    .guidance-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .main-content {
        width: auto;
        margin: 0;
        padding: 18px 14px 120px;
    }

    .topbar {
        padding: 12px 14px;
    }

    .announcement-bar {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
    }

    .header-main {
        grid-template-columns: 1fr auto;
        width: auto;
        padding: 12px 14px;
    }

    .header-search,
    .header-actions {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .hero,
    .store-hero {
        grid-template-columns: 1fr;
        min-height: 420px;
        padding: 22px;
        border-radius: 8px;
    }

    .store-hero h1 {
        font-size: clamp(36px, 10vw, 48px);
    }

    .hero h1,
    .plain-head h1 {
        font-size: clamp(30px, 8vw, 42px);
    }

    .hero p,
    .plain-head p {
        max-width: none;
    }

    .hero-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 18px;
    }

    .hero-metrics div {
        padding: 10px 8px;
    }

    .hero-metrics strong {
        font-size: 18px;
    }

    .hero-stack {
        min-height: 190px;
    }

    .hero-stack img {
        width: 116px;
    }

    .hero-stack img:nth-child(1) {
        top: 20px;
        right: 8px;
    }

    .hero-stack img:nth-child(2) {
        top: 96px;
        right: 78px;
    }

    .hero-stack img:nth-child(3) {
        top: 146px;
        right: 2px;
    }

    .featured-edition {
        max-width: 360px;
        margin: 0 auto;
    }

    .service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 14px;
    }

    .home-category-grid a {
        min-height: 132px;
        padding: 13px;
    }

    .quick-link-grid,
    .split-products,
    .guidance-grid,
    .contact-grid,
    .category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .showcase-panel,
    .contact-hero {
        grid-template-columns: 1fr;
        border-radius: 8px;
    }

    .showcase-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .split-products > div,
    .contact-grid article {
        padding: 12px;
    }

    .category-card {
        grid-template-columns: 1fr;
        align-items: start;
        min-height: 174px;
        padding: 12px;
    }

    .category-card > span {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .category-card em {
        width: auto;
        height: auto;
        padding: 5px 8px;
        border-radius: 999px;
        justify-self: start;
    }

    .split-products .section-head {
        display: grid;
        align-items: start;
        gap: 8px;
    }

    .split-products .section-head h2 {
        font-size: 20px;
    }

    .mini-product-list a {
        grid-template-columns: 56px 1fr;
        gap: 8px;
        padding: 8px;
    }

    .mini-product-list img {
        width: 56px;
        height: 56px;
    }

    .mini-product-list em {
        grid-column: 2;
        grid-row: auto;
    }

    .site-footer {
        padding: 22px 16px 108px;
    }

    .bottom-nav {
        display: grid;
    }
}

@media (max-width: 430px) {
    .main-content {
        padding-inline: 12px;
    }

    .service-strip,
    .home-category-grid,
    .quick-link-grid,
    .split-products,
    .guidance-grid,
    .contact-grid,
    .category-list,
    .footer-grid,
    .product-grid,
    .showcase-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-strip div,
    .quick-link-grid a,
    .guidance-grid a {
        padding: 12px;
    }

    .quick-link-grid strong {
        font-size: 18px;
    }

    .guidance-grid a {
        min-height: 160px;
    }

    .guidance-grid strong {
        font-size: 15px;
    }

    .guidance-grid small,
    .home-category-grid small,
    .contact-grid p {
        font-size: 12px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 420px;
    }

    .hero-stack {
        min-height: 190px;
    }

    .hero-stack img:nth-child(1) {
        right: 30px;
    }

    .hero-stack img:nth-child(2) {
        right: 145px;
    }

    .hero-stack img:nth-child(3) {
        right: 86px;
    }

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

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

}
