/* ============================================================
   Lilia — quality from georgia
   Palette: ivory / warm-white / antique gold / deep umber
   ============================================================ */

:root {
    --ivory:      #F4EFE6;
    --paper:      #FBF8F2;
    --white:      #FFFFFF;
    --gold:       #B98A2F;
    --gold-soft:  #D4B76A;
    --gold-pale:  #EFE4C8;
    --umber:      #2C2620;
    --taupe:      #7C7264;
    --line:       #E3DACA;
    --danger:     #A9442E;

    --serif: "Noto Serif Georgian", Georgia, serif;
    --sans:  "Noto Sans Georgian", "Helvetica Neue", Arial, sans-serif;

    --container: 1180px;
    --radius: 4px;
    --shadow: 0 18px 45px -18px rgba(44, 38, 32, .22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    font-family: var(--sans);
    font-weight: 400;
    color: var(--umber);
    background: var(--paper);
    line-height: 1.7;
    font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--umber); color: var(--paper);
    padding: 10px 18px; z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--umber);
    color: var(--gold-pale);
    font-size: 12.5px;
    letter-spacing: .04em;
}
.topbar-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 8px; padding-bottom: 8px; gap: 16px;
}
.topbar a { color: var(--gold-soft); font-weight: 600; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 100;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; padding-bottom: 14px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 54px; width: auto; display: block; }
.footer-logo-img { height: 62px; width: auto; display: block; margin-bottom: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-family: var(--serif); font-size: 27px; font-weight: 600;
    color: var(--gold); letter-spacing: .02em;
}
.brand-tag {
    font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase;
    color: var(--taupe); margin-top: 3px;
}
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
.site-nav a { position: relative; padding: 4px 0; color: var(--umber); }
.site-nav a::after {
    content: ""; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 1.5px; background: var(--gold);
    transition: width .25s ease;
}
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.nav-icons { display: flex; align-items: center; gap: 6px; margin-left: 2px; }
.nav-icon-link {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 999px;
    color: var(--umber); transition: background .2s ease, color .2s ease;
}
.nav-icon-link svg {
    width: 21px; height: 21px; fill: none; stroke: currentColor;
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.nav-icon-link:hover { background: var(--gold-pale); color: var(--gold); }
.nav-icon-link[aria-current="page"] { background: var(--gold-pale); color: var(--gold); }
.nav-icon-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-icon-dot {
    position: absolute; top: 7px; right: 8px;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--gold); border: 1.5px solid var(--paper);
}
.cart-badge {
    position: absolute; top: 2px; right: 2px;
    background: var(--gold); color: var(--white);
    font-size: 10.5px; font-weight: 700; line-height: 1;
    border-radius: 999px; min-width: 17px; height: 17px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px; border: 1.5px solid var(--paper);
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--umber);
    margin: 5px 0; transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Hero ---------- */
.hero { background: var(--ivory); overflow: hidden; }
.hero-inner {
    display: grid; grid-template-columns: 1.05fr .95fr;
    gap: 48px; align-items: center;
    padding-top: 72px; padding-bottom: 72px;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
    color: var(--gold); font-weight: 600; margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 {
    font-family: var(--serif); font-weight: 600;
    font-size: clamp(32px, 4.6vw, 52px);
    line-height: 1.25; margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 17px; color: var(--taupe); max-width: 48ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%;
}
.hero-media::before {
    content: ""; position: absolute; inset: 18px -18px -18px 18px;
    border: 1px solid var(--gold-soft); border-radius: var(--radius);
    z-index: 0; pointer-events: none;
}
.hero-media img { position: relative; z-index: 1; }
.hero-card {
    position: absolute; z-index: 2; left: -26px; bottom: 30px;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 16px 22px; font-size: 13.5px; line-height: 1.5;
}
.hero-card strong { font-family: var(--serif); color: var(--gold); font-size: 19px; display: block; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--sans); font-size: 14.5px; font-weight: 600;
    letter-spacing: .05em; cursor: pointer;
    padding: 14px 30px; border-radius: var(--radius);
    border: 1px solid transparent;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #A0762A; }
.btn-outline { background: transparent; border-color: var(--umber); color: var(--umber); }
.btn-outline:hover { background: var(--umber); color: var(--paper); }
.btn-ghost-gold { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-ghost-gold:hover { background: var(--gold); color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-ivory { background: var(--ivory); }
.section-umber { background: var(--umber); color: var(--ivory); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
    font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase;
    color: var(--gold); font-weight: 700; display: block; margin-bottom: 12px;
}
.section-head h2 {
    font-family: var(--serif); font-weight: 600;
    font-size: clamp(26px, 3.2vw, 36px); line-height: 1.3;
}
.section-head p { color: var(--taupe); margin-top: 12px; }
.section-umber .section-head p { color: #C9BFAF; }

/* ---------- Fabric cards (main catalog) ---------- */
.fabric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.fabric-card {
    position: relative; display: block; overflow: hidden;
    border-radius: var(--radius); box-shadow: var(--shadow);
    aspect-ratio: 16 / 11;
}
.fabric-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.fabric-card:hover img { transform: scale(1.045); }
.fabric-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(10deg, rgba(30,24,18,.78) 0%, rgba(30,24,18,.12) 55%, transparent 100%);
}
.fabric-card-body {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 26px 28px; color: var(--white);
}
.fabric-card-body .eyebrow { color: var(--gold-soft); margin-bottom: 6px; }
.fabric-card-body h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; margin-bottom: 4px; }
.fabric-card-body p { font-size: 14px; color: #EDE6D8; margin-bottom: 10px; }
.fabric-card-price { font-size: 13.5px; font-weight: 600; color: var(--gold-soft); letter-spacing: .04em; }

/* ---------- Price table ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px 28px;
    display: flex; flex-direction: column; gap: 14px;
}
.price-card.featured { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.price-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.price-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; }
.price-line .name { color: var(--taupe); }
.price-line .val { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--gold); white-space: nowrap; }
.price-card .specs { border-top: 1px solid var(--line); padding-top: 14px; font-size: 13px; color: var(--taupe); }
.price-card .specs li { list-style: none; display: flex; justify-content: space-between; padding: 3px 0; }
.price-card .btn { margin-top: auto; }

/* ---------- Value props ---------- */
.props-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.prop {
    border-top: 1px solid var(--gold-soft);
    padding-top: 20px;
}
.prop h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--ivory); }
.prop p { font-size: 14px; color: #C9BFAF; }

/* ---------- Corporate band ---------- */
.corp-band { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.corp-band-media img {
    border-radius: var(--radius); box-shadow: var(--shadow);
    aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
}
/* კორპორატიული — ფოტოების სლაიდერი */
.corp-slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.corp-slides { position: relative; aspect-ratio: 4 / 3; background: var(--ivory); }
.corp-slide {
    position: absolute; inset: 0; margin: 0;
    opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s ease;
}
.corp-slide.active { opacity: 1; visibility: visible; }
.corp-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.corp-slide figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 30px 18px 16px; font-size: 14px; color: #fff;
    background: linear-gradient(to top, rgba(44, 38, 32, .72), rgba(44, 38, 32, 0));
}
.corp-slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 999px; border: 0; cursor: pointer;
    background: rgba(251, 248, 242, .88); color: var(--umber);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, opacity .2s ease; opacity: 0;
}
.corp-slider-arrow.prev { left: 12px; }
.corp-slider-arrow.next { right: 12px; }
.corp-slider-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.corp-slider:hover .corp-slider-arrow,
.corp-slider-arrow:focus-visible { opacity: 1; }
.corp-slider-arrow:hover { background: var(--paper); }
.corp-slider-dots {
    position: absolute; left: 0; right: 0; bottom: 14px;
    display: flex; justify-content: center; gap: 8px;
}
.corp-slider-dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255, 255, 255, .5); transition: background .2s ease, transform .2s ease;
}
.corp-slider-dots button.active { background: var(--gold-soft); transform: scale(1.35); }

/* შეხებით მართვადი მოწყობილობები — ისრები მუდამ ჩანს (hover არ არსებობს) */
@media (hover: none) {
    .corp-slider-arrow { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .corp-slide { transition: none; }
}

.corp-list { margin: 20px 0 30px; }
.corp-list li {
    list-style: none; padding: 10px 0 10px 30px; position: relative;
    border-bottom: 1px solid var(--line); font-size: 15px;
}
.corp-list li::before {
    content: "✦"; position: absolute; left: 2px; color: var(--gold); font-size: 13px;
}
.section-umber .corp-list li { border-color: #4A4238; }

/* ---------- Trust logos strip ---------- */
.trust-strip { text-align: center; }
.trust-strip p {
    font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--taupe); margin-bottom: 22px;
}
.trust-logos {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 22px 16px;
}
.trust-logo { margin: 0; width: 178px; }
.trust-logo-tile {
    display: flex; align-items: center; justify-content: center;
    height: 62px; padding: 10px 20px; background: var(--umber); border-radius: var(--radius);
}
.trust-logo img { max-height: 100%; max-width: min(130px, 100%); width: auto; height: auto; object-fit: contain; display: block; }
.trust-logo figcaption {
    margin-top: 10px; text-align: center; font-size: 13px; line-height: 1.35;
    color: var(--taupe); letter-spacing: .01em;
}

/* ---------- Shop page ---------- */
.page-head { background: var(--ivory); padding: 52px 0; }
.page-head h1 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; }
.page-head p { color: var(--taupe); margin-top: 8px; max-width: 60ch; }
.breadcrumbs { font-size: 13px; color: var(--taupe); margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--gold); }

.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: box-shadow .25s ease, transform .25s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card-body .fabric { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.product-card-body h3 { font-family: var(--serif); font-size: 18.5px; font-weight: 600; }
.product-card-body .desc { font-size: 13.5px; color: var(--taupe); }
.product-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.product-card-foot .price { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--gold); }

/* ---------- Product page ---------- */
.product-layout {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px;
    align-items: start; padding-top: 52px; padding-bottom: 76px;
}
.gallery-main {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    aspect-ratio: 4 / 3; background: var(--ivory);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-label { font-size: 12.5px; color: var(--taupe); margin: 14px 0 8px; letter-spacing: .06em; }
.gallery-thumbs {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px;
    max-height: 260px; overflow-y: auto; padding-right: 4px;
}
.gallery-thumbs button {
    border: 2px solid transparent; border-radius: var(--radius); overflow: hidden;
    padding: 0; cursor: pointer; background: none; aspect-ratio: 1;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.selected { border-color: var(--gold); }
.gallery-thumbs button:hover { border-color: var(--gold-soft); }

.pd-fabric { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.pd-title { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1.3; }
.pd-tagline { color: var(--taupe); margin: 10px 0 24px; }
.pd-price { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--gold); margin-bottom: 26px; }
.pd-price small { font-size: 15px; color: var(--taupe); font-family: var(--sans); font-weight: 400; }

.pd-form .field-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; margin-bottom: 10px; display: block; }
.size-options { display: grid; gap: 10px; margin-bottom: 24px; }
.size-option {
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 13px 16px; display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; background: var(--white); transition: border-color .2s ease;
    gap: 12px;
}
.size-option:hover { border-color: var(--gold-soft); }
.size-option input { accent-color: var(--gold); }
.size-option .so-label { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.size-option .so-price { font-family: var(--serif); font-weight: 600; color: var(--gold); font-size: 17px; }
.size-option.checked { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }

.qty-row { display: flex; gap: 14px; align-items: stretch; margin-bottom: 26px; }
.qty-box {
    display: inline-flex; align-items: center; border: 1px solid var(--line);
    border-radius: var(--radius); background: var(--white);
}
.qty-box button {
    background: none; border: 0; font-size: 18px; width: 42px; height: 100%;
    cursor: pointer; color: var(--taupe);
}
.qty-box input {
    width: 46px; text-align: center; border: 0; font-size: 15px; font-weight: 600;
    font-family: var(--sans); background: transparent;
}
.qty-box input:focus { outline: none; }
.qty-row .btn { flex: 1; }

.pd-specs { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 24px; }
.pd-specs h3 { font-family: var(--serif); font-size: 17px; margin-bottom: 12px; }
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.specs-table td:last-child { text-align: right; color: var(--taupe); }
.specs-note { font-size: 12.5px; color: var(--taupe); margin-top: 10px; }
.pd-features { margin-top: 22px; }
.pd-features li {
    list-style: none; position: relative; padding: 6px 0 6px 26px; font-size: 14.5px;
}
.pd-features li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 12px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; padding-top: 52px; padding-bottom: 76px; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
    display: grid; grid-template-columns: 110px 1fr auto; gap: 18px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px; align-items: center;
}
.cart-item img { width: 110px; height: 84px; object-fit: cover; border-radius: var(--radius); }
.cart-item h3 { font-family: var(--serif); font-size: 16.5px; font-weight: 600; }
.cart-item .meta { font-size: 13px; color: var(--taupe); margin-top: 2px; }
.cart-item-right { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.cart-item-right .sum { font-family: var(--serif); font-weight: 600; color: var(--gold); font-size: 18px; }
.link-remove { font-size: 12.5px; color: var(--danger); background: none; border: 0; cursor: pointer; text-decoration: underline; }
.cart-qty-form { display: inline-flex; align-items: center; gap: 6px; }
.qty-box-sm { height: 36px; }
.qty-box-sm button { width: 34px; font-size: 16px; }
.qty-box-sm input { width: 36px; font-size: 14px; }

.summary-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; position: sticky; top: 96px;
}
.summary-card h2 { font-family: var(--serif); font-size: 20px; margin-bottom: 18px; }
.summary-line { display: flex; justify-content: space-between; font-size: 14.5px; padding: 7px 0; }
.summary-total {
    display: flex; justify-content: space-between; border-top: 1px solid var(--line);
    margin-top: 12px; padding-top: 14px; font-weight: 700; font-size: 17px;
}
.summary-total .val { font-family: var(--serif); color: var(--gold); font-size: 22px; }
.summary-note { font-size: 12.5px; color: var(--taupe); margin-top: 12px; }

.empty-state { text-align: center; padding: 90px 0 110px; }
.empty-state .lily { height: 60px; width: auto; margin: 0 auto 18px; display: block; opacity: .85; }
.empty-state h1 { font-family: var(--serif); font-size: 26px; margin-bottom: 10px; }
.empty-state p { color: var(--taupe); margin-bottom: 26px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 14px; font-size: 14.5px; font-family: var(--sans);
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
    color: var(--umber);
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--gold);
}
.field input:disabled { cursor: not-allowed; opacity: .8; }
.field textarea { resize: vertical; min-height: 90px; }
.form-error {
    background: #F7E8E3; border: 1px solid #E0B7A9; color: var(--danger);
    border-radius: var(--radius); padding: 12px 16px; font-size: 14px; margin-bottom: 18px;
}
.notice-success {
    background: #EEF3E6; border: 1px solid #C4D3AC; color: #4A6231;
    border-radius: var(--radius); padding: 14px 18px; font-size: 14.5px; margin-bottom: 22px;
}

/* ---------- Order confirmation ---------- */
.confirm-box { max-width: 620px; margin: 70px auto 90px; text-align: center; padding: 0 24px; }
.confirm-box .lily { height: 68px; width: auto; margin: 0 auto 20px; display: block; }
.confirm-box h1 { font-family: var(--serif); font-size: 30px; margin-bottom: 14px; }
.confirm-box p { color: var(--taupe); margin-bottom: 10px; }
.confirm-box .order-no { font-family: var(--serif); color: var(--gold); font-size: 20px; font-weight: 600; margin-bottom: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--umber); color: #D8CFC0; margin-top: 0; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px;
    padding-top: 64px; padding-bottom: 44px;
}
.footer-tag { font-size: 12.5px; letter-spacing: .12em; margin: 6px 0 14px; color: #B7AC9A; }
.footer-note { font-size: 13.5px; color: #A79C8A; max-width: 30ch; }
.footer-col h3 {
    font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--gold-soft); margin-bottom: 16px; font-weight: 700;
}
.footer-col a { display: block; font-size: 14px; padding: 5px 0; color: #D8CFC0; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    border-top: 1px solid #453D33; padding-top: 20px; padding-bottom: 26px;
    font-size: 12.5px; color: #A79C8A;
}

/* ---------- Account / Admin ---------- */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 880px; }
.auth-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 28px;
}
.auth-card h2 { font-family: var(--serif); font-size: 21px; margin-bottom: 20px; }
.auth-card .field { margin-bottom: 14px; }
.auth-card.dim { opacity: .92; }

.account-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.account-h2 { font-family: var(--serif); font-size: 23px; font-weight: 600; }

.orders-list { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.order-box {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 24px;
}
.order-box-head {
    display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
    margin-bottom: 10px;
}
.order-box-head strong { font-family: var(--serif); color: var(--gold); font-size: 17px; }
.order-date { font-size: 13px; color: var(--taupe); margin-left: 10px; }
.order-meta { font-size: 14px; color: var(--taupe); margin-bottom: 12px; line-height: 1.6; }
.order-meta a { color: var(--gold); font-weight: 600; }
.status-badge {
    background: var(--gold-pale); color: #7A5B14; font-size: 12.5px; font-weight: 700;
    border-radius: 999px; padding: 5px 14px; letter-spacing: .04em;
}
.status-form { display: inline-flex; gap: 8px; align-items: center; }
.status-form select {
    padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius);
    font-family: var(--sans); font-size: 13.5px; background: var(--white); color: var(--umber);
}
.admin-item-cell { display: flex; align-items: center; gap: 10px; }
.admin-thumb { width: 44px; height: 34px; object-fit: cover; border-radius: 3px; }

/* ---------- Admin: products ---------- */
.admin-sub {
    font-family: var(--serif); font-size: 17px; font-weight: 600;
    margin: 26px 0 12px; padding-top: 18px; border-top: 1px solid var(--line);
}
.admin-hint { font-size: 12.5px; color: var(--taupe); margin: 8px 0; }
.sizes-admin { display: grid; gap: 14px; }
.size-admin-box {
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px; background: var(--paper);
}
.size-admin-new { border-style: dashed; }
.photo-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 8px; margin-top: 10px;
}
.photo-cell {
    position: relative; border: 2px solid transparent; border-radius: var(--radius);
    overflow: hidden; aspect-ratio: 4/3; cursor: pointer; display: block;
}
.photo-cell img { width: 100%; height: 100%; object-fit: cover; }
.photo-cell input[type="radio"] { position: absolute; opacity: 0; }
.photo-cell:has(input:checked), .photo-cell.is-cover:has(input:checked) { border-color: var(--gold); }
.photo-cell:hover { border-color: var(--gold-soft); }
.photo-del {
    position: absolute; top: 4px; right: 4px;
    background: rgba(44,38,32,.75); color: #fff; border: 0; border-radius: 50%;
    width: 24px; height: 24px; cursor: pointer; font-size: 12px; line-height: 1;
}
.photo-del:hover { background: var(--danger); }
.upload-form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.upload-form input[type="file"] {
    border: 1px dashed var(--line); border-radius: var(--radius);
    padding: 10px; font-size: 13px; background: var(--white); flex: 1; min-width: 220px;
}
.danger-zone { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.danger-zone summary { cursor: pointer; color: var(--danger); font-size: 13.5px; font-weight: 600; }
.danger-zone form { margin-top: 12px; }

/* ---------- Admin shell (sidebar layout) ---------- */
.admin-body { background: var(--ivory); }
.admin-shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }

.admin-sidebar {
    background: var(--umber); color: #D8CFC0;
    display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-brand {
    display: flex; align-items: center; gap: 10px;
    padding: 22px 22px 18px; border-bottom: 1px solid #453D33;
}
.admin-brand-logo { height: 34px; width: auto; flex-shrink: 0; display: block; }
.admin-brand-text {
    font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--gold-soft);
    display: flex; flex-direction: column; line-height: 1.15;
}
.admin-brand-text small {
    font-family: var(--sans); font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
    color: #A79C8A; font-weight: 500; margin-top: 2px;
}
.admin-nav { display: flex; flex-direction: column; padding: 14px 12px; gap: 2px; flex: 1; }
.admin-nav a {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 12px; border-radius: var(--radius);
    color: #C9BFAF; font-size: 14px; font-weight: 500;
    transition: background .15s ease, color .15s ease;
}
.admin-nav a svg {
    width: 17px; height: 17px; flex-shrink: 0;
    fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.admin-nav a:hover { background: #3A332B; color: var(--paper); }
.admin-nav a.active { background: var(--gold); color: #fff; }
.admin-sidebar-foot {
    padding: 14px 22px 22px; border-top: 1px solid #453D33;
    display: flex; flex-direction: column; gap: 10px; font-size: 13px;
}
.admin-sidebar-foot a { color: #C9BFAF; }
.admin-sidebar-foot a:hover { color: var(--gold-soft); }
.admin-sidebar-foot form button {
    background: none; border: 0; color: #C9BFAF; font-size: 13px; cursor: pointer; padding: 0;
    font-family: var(--sans);
}
.admin-sidebar-foot form button:hover { color: var(--gold-soft); }

.admin-main { min-width: 0; }
.admin-topbar {
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 26px 36px;
}
.admin-topbar h1 { font-family: var(--serif); font-size: 25px; font-weight: 600; }
.admin-topbar p { color: var(--taupe); font-size: 14px; margin-top: 6px; }
.admin-content { padding: 30px 36px 60px; }

/* ---------- Admin data tables ---------- */
.admin-table-wrap {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow-x: auto; margin-bottom: 16px;
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; white-space: nowrap; }
.admin-table th {
    text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--taupe); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--line);
    background: var(--ivory);
}
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: var(--ivory); }
.admin-table .num { text-align: right; font-family: var(--serif); font-weight: 600; color: var(--gold); }
.muted { color: var(--taupe); }
.admin-table-empty { padding: 40px 16px; text-align: center; color: var(--taupe); }
.admin-table select.status-select {
    padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius);
    font-family: var(--sans); font-size: 12.5px; background: var(--white);
}
.admin-row-form { display: inline-flex; gap: 6px; align-items: center; }
.admin-link-btn {
    background: none; border: 0; color: var(--gold); font-size: 12.5px; font-weight: 600;
    cursor: pointer; padding: 0; font-family: var(--sans); white-space: nowrap;
}
.admin-link-btn:hover { text-decoration: underline; }
.admin-link-btn.danger { color: var(--danger); }

.admin-panel {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 28px; margin-bottom: 20px;
}
.admin-panel-head {
    display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
    margin-bottom: 16px;
}
.admin-panel-head h2 { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.admin-section-label {
    font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
    font-weight: 700; margin: 26px 0 14px;
}

@media (max-width: 880px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; height: auto; flex-direction: row; align-items: center; overflow-x: auto; }
    .admin-brand { border-bottom: 0; border-right: 1px solid #453D33; padding: 14px 16px; }
    .admin-nav { flex-direction: row; padding: 8px; }
    .admin-nav a { white-space: nowrap; }
    .admin-sidebar-foot { flex-direction: row; align-items: center; border-top: 0; border-left: 1px solid #453D33; padding: 14px 16px; }
    .admin-topbar, .admin-content { padding-left: 20px; padding-right: 20px; }
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    margin-top: 24px;
}
.pagination-page, .pagination-arrow {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 6px;
    border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 13.5px; font-weight: 600; color: var(--umber);
    background: var(--white); transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.pagination-page:hover, .pagination-arrow:hover { border-color: var(--gold-soft); color: var(--gold); }
.pagination-page.active {
    background: var(--gold); border-color: var(--gold); color: var(--white); cursor: default;
}
.pagination-arrow.disabled {
    opacity: .4; pointer-events: none;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
    .hero-card { left: 10px; bottom: 14px; }
    .fabric-grid { grid-template-columns: 1fr; }
    .price-grid { grid-template-columns: 1fr; }
    .props-grid { grid-template-columns: 1fr 1fr; }
    .corp-band { grid-template-columns: 1fr; }
    .shop-grid { grid-template-columns: 1fr 1fr; }
    .product-layout { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .topbar-inner span { font-size: 11px; }

    /* პარტნიორები — ვიწრო ეკრანზე ორ-ორად, რომ სექცია ცხრა მწკრივად არ გაიწელოს */
    .trust-logo { width: calc(50% - 8px); }
    .trust-logo-tile { padding: 10px 14px; }
    .trust-logo figcaption { font-size: 12.5px; }

    .shop-grid { grid-template-columns: 1fr; }
    .props-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 84px 1fr; }
    .cart-item img { width: 84px; height: 66px; }
    .cart-item-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }

    .nav-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--paper); border-bottom: 1px solid var(--line);
        flex-direction: column; gap: 0; padding: 10px 24px 18px;
    }
    .site-nav.open { display: flex; }
    .site-nav > a { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }

    .nav-icons { flex-direction: column; align-items: stretch; gap: 0; margin-left: 0; width: 100%; }
    .nav-icon-link {
        width: 100%; height: auto; justify-content: flex-start; gap: 10px;
        padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0;
        font-size: 14.5px; font-weight: 500;
    }
    .nav-icon-link:last-child { border-bottom: 0; }
    .nav-icon-link:hover, .nav-icon-link[aria-current="page"] { background: none; }
    .nav-icon-link svg { width: 19px; height: 19px; flex-shrink: 0; }
    .nav-icon-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
    .nav-icon-dot { position: static; margin-left: 2px; }
    .cart-badge { position: static; margin-left: auto; }
}
