:root {
    --ink: #1a1917;
    --muted: #6d675f;
    --paper: #f4f0e8;
    --card: #fffdf9;
    --line: #e4dcd0;
    --orange: #f15a22;
    --orange-dark: #c84312;
    --header: #121212;
    --sage: #24352f;
    --shadow: 0 18px 40px rgba(40, 30, 18, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(1200px 400px at 10% -10%, rgba(241, 90, 34, 0.08), transparent 50%),
        var(--paper);
    font-family: Manrope, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: Fraunces, Georgia, serif; font-weight: 560; letter-spacing: -0.03em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 0.98; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.topbar {
    display: flex;
    justify-content: center;
    padding: 8px 20px;
    background: #111;
    color: #fff;
    font-size: 0.82rem;
}
.topbar p { margin: 0; }
.topbar-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 10px; }
.topbar a { color: white; text-decoration: none; }
.topbar span { opacity: 0.45; }
.top-split { width: 1px; height: 12px; background: rgba(255,255,255,0.35); flex: 0 0 auto; }
.pinlink {
    margin-left: 10px;
    border: 0;
    background: none;
    color: var(--orange);
    font-weight: 800;
    cursor: pointer;
    padding: 0;
}
.pinpop {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.pinpop[hidden] { display: none; }
.pinpop label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.86rem; }
.pinpop input { width: 120px; border-radius: 8px; }
.pinpop p { margin: 0; color: var(--sage); font-weight: 700; }
.pinwa { color: white !important; background: #1f7a43; text-decoration: none; border-radius: 999px; padding: 8px 14px; font-weight: 800; }

.mast {
    position: relative;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    width: min(1180px, calc(100% - 36px));
    min-height: 72px;
    margin: 0 auto;
    padding: 0;
    background: #fff;
}
.logo { flex: 0 0 auto; }
.logo img { height: 42px; width: auto; }
.navbtn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    color: #282c3f;
    border: 0;
}
.navbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.dock svg { width: 24px; height: 24px; display: block; }
.head-links { display: flex; gap: 18px; align-items: center; }
.head-links a { color: #282c3f; text-decoration: none; font-weight: 650; font-size: 14px; white-space: nowrap; }
.head-links a:hover { color: var(--orange); }
.search {
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    align-items: center;
    height: 42px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    overflow: hidden;
}
.search input[type="text"] {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 40px;
    border: 0;
    border-radius: 0;
    padding: 0 14px 0 4px;
    background: transparent;
    outline: none;
    color: #282c3f;
}
.search input[type="text"]::placeholder { color: #94969f; }
.search input.searchbtn,
.search input[type="submit"] {
    flex: 0 0 42px;
    width: 42px;
    height: 40px;
    border: 0;
    border-radius: 0;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.2' fill='none' stroke='%23696e79' stroke-width='2'/%3E%3Cpath d='M15.4 15.4L20 20' stroke='%23696e79' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat;
    color: transparent;
    font-size: 0;
    padding: 0;
    cursor: pointer;
}
.tools { display: flex; gap: 6px; align-items: center; flex: 0 0 auto; }
.tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 56px;
    padding: 6px 8px;
    color: #282c3f;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.tool:hover { color: var(--orange-dark); }
.bag { position: relative; display: inline-flex; }
.bag em, .cartlink em {
    position: absolute;
    top: -7px;
    right: -10px;
    font-style: normal;
    background: var(--orange);
    color: white;
    border-radius: 999px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
}
.menubar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 0;
    background: #fff;
    border-top: 1px solid #eee;
}
.menu-row { display: flex; align-items: center; gap: 2px; min-width: 0; }
.menu-phone {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #404040;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}
.menu-phone:hover { color: var(--orange-dark); }
.menu-visit {
    display: inline-flex;
    align-items: center;
    color: #404040;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 14px 14px 12px;
    white-space: nowrap;
}
.menu-visit:hover { color: var(--orange-dark); }
.menu-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #404040;
    background: transparent;
    border: 0;
    font-weight: 500;
    font-size: 15px;
    padding: 14px 14px 12px;
    cursor: pointer;
}
.menu-label::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 8px;
    height: 2px;
    background: transparent;
}
.drop:hover .menu-label, .drop:focus-within .menu-label, .drop.open .menu-label { color: var(--orange-dark); }
.drop:hover .menu-label::after, .drop:focus-within .menu-label::after, .drop.open .menu-label::after { background: var(--orange); }
.drop { position: static; }
.menu-veil {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: var(--navtop, 148px);
    background: rgba(30, 30, 30, 0.42);
    z-index: 35;
}
.menubar:hover .menu-veil, .menubar:focus-within .menu-veil { display: block; }
.menubar.shut .menu-veil, .menubar.shut .panel { display: none !important; }
.panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 41;
    padding: 0 28px;
    background: transparent;
}
.drop:hover .panel, .drop:focus-within .panel, .drop.open .panel { display: block; }
.mega {
    width: 100%;
    margin: 0;
    background: #fff;
    border-radius: 0 0 18px 18px;
    padding: 22px 28px 26px;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.12);
    max-height: min(70vh, 640px);
    overflow: auto;
}
.mega-group + .mega-group { margin-top: 22px; }
.mega h3 {
    text-align: left;
    font-family: Manrope, sans-serif;
    font-weight: 650;
    font-size: 0.95rem;
    letter-spacing: 0;
    color: #5c5c5c;
    margin: 0 0 12px;
}
.mega-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 18px;
}
.mega-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 108px;
    padding: 0;
    color: #222;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    text-align: center;
    line-height: 1.25;
}
.mega-grid a:hover { color: var(--orange-dark); }
.shot {
    display: block;
    width: 100%;
    aspect-ratio: 108 / 80;
    border-radius: 8px;
    overflow: hidden;
    background: #ece8e2;
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.flash, .dbnote {
    display: block;
    margin: 0;
    padding: 12px 28px;
    background: #fff4e8;
    color: #7a3412;
}
.dbnote { background: #fff1ee; }

main { min-height: 50vh; }
.wrap { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 42px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.section-head a { color: var(--orange-dark); font-weight: 700; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 46ch; }

.home-banner {
    position: relative;
    width: 100%;
    max-width: 1980px;
    height: 700px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
    background: #f6f1e8;
}
.banner-track { display: flex; width: 100%; height: 100%; transition: transform 0.45s ease; align-items: stretch; }
.banner-slide { position: relative; flex: 0 0 100%; min-width: 0; height: 100%; color: inherit; text-decoration: none; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.banner-copy {
    position: absolute;
    z-index: 2;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: min(400px, 38%);
    background: rgba(255, 253, 249, 0.92);
    border-radius: 18px;
    padding: 22px 24px 18px;
    box-shadow: 0 16px 36px rgba(40, 30, 18, 0.12);
}
.banner-copy .eyebrow { display: block; margin-bottom: 6px; color: #c84312; }
.banner-copy h1, .banner-copy h2 {
    font-size: clamp(1.45rem, 2.8vw, 2.7rem);
    line-height: 1.02;
    margin: 0;
    color: #1a1917;
}
.banner-copy p {
    margin: 10px 0 0;
    font-size: clamp(0.78rem, 1.15vw, 1rem);
    line-height: 1.4;
    color: #6d675f;
}
.banner-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    background: #f15a22;
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 22px;
    border-radius: 4px;
    pointer-events: none;
    box-shadow: 0 8px 18px rgba(241, 90, 34, 0.28);
}
.banner-shop::after {
    content: "→";
    font-size: 1.05em;
    line-height: 1;
}
.banner-slide:hover .banner-shop { background: #c84312; }
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: white;
    color: #1a1917;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(40, 30, 18, 0.16);
}
.banner-prev { left: 14px; }
.banner-next { right: 14px; }
.banner-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.banner-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 253, 249, 0.8); cursor: pointer; }
.banner-dots button.on { width: 24px; background: #f15a22; }
.hero {
    width: min(1180px, calc(100% - 36px));
    margin: 22px auto 10px;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; font-weight: 700; color: var(--orange-dark); margin-bottom: 10px; }
.lead { font-size: 1.08rem; color: #3f3a34; max-width: 46ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.count { color: var(--muted); }

.btn, input[type="submit"].btn, a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: white !important;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
}
.btn.ghost, a.btn.ghost { background: transparent; color: var(--ink) !important; border: 1px solid #cfc4b4; }
.btn.sage { background: var(--sage); }
.btn.sage:hover { background: #1a2823; }
.btn:hover { background: var(--orange-dark); }
.pinnote { margin: 8px 0 0; color: var(--sage); font-size: 0.88rem; font-weight: 700; }

.band {
    width: min(1180px, calc(100% - 36px));
    margin: 10px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.band div { background: white; border-radius: 16px; padding: 16px; border: 1px solid var(--line); }
.band strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.15rem; }
.band span { color: var(--muted); font-size: 0.92rem; }

.sizegrid, .roomgrid, .grid { display: grid; gap: 14px; }
.sizegrid { grid-template-columns: repeat(6, 1fr); }
.sizecard, .roomgrid a {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    text-decoration: none;
    min-height: 148px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 4px;
}
.sizephoto {
    display: block;
    width: 100%;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: #ece8e2;
    margin-bottom: auto;
}
.sizephoto img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.sizecard strong, .roomgrid b { font-size: 0.95rem; }
.sizecard em, .roomgrid span { font-style: normal; color: var(--muted); font-size: 0.85rem; }
.roomgrid { grid-template-columns: repeat(4, 1fr); }
.roomgrid a { background: var(--sage); color: #f6f1ea; min-height: 120px; }
.roomgrid span { color: #d9d0c4; }

.grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard {
    background: var(--card);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.pmedia { display: block; background: #e6dfd2; padding: 18px 14px 8px; }
.pmedia img { width: 100%; height: 280px; object-fit: contain; }
.pbody { padding: 0 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ptop { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; padding: 12px 14px 0; }
.finish {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sage);
    font-weight: 800;
}
.pbody h3 { font-family: Fraunces, Georgia, serif; font-size: 1.25rem; font-weight: 560; letter-spacing: -0.03em; line-height: 1.15; padding: 0 14px; }
.pbody h3 a { text-decoration: none; }
.code { margin: 0; color: var(--orange-dark); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; }
.meta { margin: 0; color: var(--muted); font-size: 0.86rem; padding: 0 14px; display: flex; justify-content: space-between; gap: 8px; }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: auto; padding: 4px 14px 0; border-top: 1px solid var(--line); }
.price strong { font-size: 1.15rem; }
.price span { color: var(--muted); font-size: 0.82rem; }
.pactions { display: grid; grid-template-columns: 1fr 1.15fr; margin-top: 10px; border-top: 1px solid var(--line); }
.wish, .pactions .add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    border: 0;
    background: var(--paper);
    color: var(--sage);
    padding: 11px 8px;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-align: center;
}
.wish { border-right: 1px solid var(--line); }
.wish svg, .pactions .add svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.wish:hover { background: #fff4ee; color: var(--orange-dark); }
.wish.on { color: var(--orange-dark); background: #fff4ee; }
.wish.on svg { fill: var(--orange); stroke: var(--orange-dark); }
.pactions .add { background: var(--orange); color: white; }
.pactions .add:hover { background: var(--orange-dark); color: white; }

.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0; list-style: none; }
.steps li { background: white; border-radius: 18px; padding: 18px; border: 1px solid var(--line); }
.steps strong { display: block; margin-bottom: 6px; }
.steps span { color: var(--muted); }

.shop { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.yard-head, .yard .section-head { align-items: end; }
.yard .section-head h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.yard .count { margin: 8px 0 0; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; font-weight: 800; color: var(--sage); }
.yard select { border-radius: 0; border-color: var(--ink); background: transparent; }
.filters {
    background: var(--sage);
    color: #f6f1ea;
    border: 0;
    border-radius: 0;
    padding: 18px 16px 24px;
    position: sticky;
    top: 16px;
}
.filter-head, .facet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.filters h2, .filters h3 { font-family: Fraunces, Georgia, serif; letter-spacing: -0.03em; color: #f6f1ea; font-weight: 560; }
.filters h2 { font-size: 1.6rem; margin: 0 0 8px; }
.facet { border-top: 1px solid rgba(246, 241, 234, 0.18); padding: 12px 0 8px; }
.filters h3 { margin: 0; font-size: 1.05rem; text-transform: none; }
.filters .clear { color: #f0c2ad; font-size: 12px; font-weight: 700; text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; }
.filters .clear:hover { color: white; }
.fgroup { display: flex; flex-direction: column; margin-top: 8px; }
.fgroup a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    color: #f6f1ea;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
}
.fgroup a.extra { display: none; }
.facet.open .fgroup a.extra { display: flex; }
.fgroup .box {
    width: 13px;
    height: 13px;
    margin-top: 2px;
    flex: 0 0 13px;
    border: 1px solid #cfc6ba;
    border-radius: 0;
    background: transparent;
    position: relative;
}
.fgroup a.on .box { background: var(--orange); border-color: var(--orange); }
.fgroup a.on .box::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 0;
    width: 4px;
    height: 7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.fgroup a.on span:last-child { color: white; }
.fgroup a:hover span:last-child { color: #f0c2ad; }
.seemore {
    background: none;
    border: 0;
    color: #f0c2ad;
    padding: 8px 0 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}
.seemore:hover { color: white; }
.pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.pager a { text-decoration: none; min-width: 36px; text-align: center; padding: 8px 10px; border: 1px solid var(--ink); color: var(--ink); }
.pager a.on { background: var(--ink); color: #f6f1ea; font-weight: 800; }
.empty { background: white; border-radius: 18px; padding: 28px; border: 1px solid var(--line); }

.wrap.product { display: block; padding-top: 28px; }
.wrap.product > div { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 22px; align-items: start; }
.gallery { display: grid; gap: 16px; }
.glabel { margin: 0 0 10px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: var(--sage); }
.stage { background: #e7e0d4; padding: 18px 18px 22px; }
.stage img { width: auto; max-width: 100%; max-height: 640px; object-fit: contain; margin: 0 auto; }
.sheet-view { background: white; border: 1px solid var(--ink); padding: 14px 14px 18px; }
.sheet-view img, .gallery .catalogue { width: 100%; max-width: 100%; max-height: none; object-fit: contain; }
.missing, .product .empty { grid-column: 1 / -1; }
.buy { background: var(--card); border: 1px solid var(--ink); padding: 22px 22px 26px; }
.buy .code { letter-spacing: 0.14em; }
.buy h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin-top: 6px; }
.summary { color: var(--muted); margin-top: 8px; }
.priceblock { background: var(--sage); color: #f6f1ea; padding: 16px 18px; margin: 16px 0; }
.priceblock strong { font-size: 2rem; display: block; }
.priceblock span { color: #cfc6ba; text-decoration: line-through; margin-right: 8px; }
.priceblock em { font-style: normal; color: #f0c2ad; font-weight: 700; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 16px; border: 1px solid var(--line); }
.specs div { border-top: 0; border-right: 1px solid var(--line); padding: 10px 12px; }
.specs div:nth-child(4n) { border-right: 0; }
.specs dt { color: var(--muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.specs dd { margin: 2px 0 0; font-weight: 800; }
.buyrow { display: flex; gap: 10px; align-items: end; }
.buy .btn { border-radius: 0; }
.buyrow label, .sheet label, .calc label { display: flex; flex-direction: column; gap: 6px; font-size: 0.86rem; font-weight: 700; }
input[type="text"], input[type="email"], input[type="number"], input[type="password"], textarea, select {
    border: 1px solid #d9d0c4;
    background: white;
    border-radius: 12px;
    padding: 10px 12px;
    min-width: 0;
}
.qty, #qty { width: 90px; }
.calc { margin-top: 18px; background: #f7f3ec; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 16px 0 0; }
.calc h2 { font-size: 1.3rem; margin-bottom: 6px; }
.calcgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.calcout { font-weight: 700; }
.story, .seo-copy { color: #3c3833; }
.specs-title { font-size: 1.35rem; margin: 18px 0 8px; }
.product-story { grid-column: 1 / -1; background: white; border: 1px solid var(--ink); padding: 28px 32px 36px; }
.seo-copy { display: grid; gap: 10px; margin-top: 0; max-width: 72ch; }
.seo-copy h2 { font-size: 1.7rem; line-height: 1.2; margin-top: 0; }
.seo-copy h2.product-faq { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.seo-copy h3 { font-size: 1.15rem; line-height: 1.25; margin-top: 6px; }
.seo-copy h4 { font-family: Manrope, sans-serif; font-size: 0.95rem; font-weight: 750; letter-spacing: 0; margin-top: 4px; }
.seo-copy p { margin: 0; line-height: 1.65; }
.seo-copy a { color: #9a3412; font-weight: 700; }

.cartpage h1, .checkout h1, .account h1, .admin h1, .wishpage h1 { margin-bottom: 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.cline {
    display: grid;
    grid-template-columns: 108px 1fr auto auto auto;
    gap: 14px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--line);
    padding: 12px;
    margin-bottom: 12px;
}
.cline img { width: 108px; height: 84px; object-fit: contain; background: #e7e0d4; }
.cline h2 { font-family: Fraunces, Georgia, serif; font-size: 1.15rem; letter-spacing: -0.03em; font-weight: 560; }
.cline-qty { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.cline-qty input { width: 72px; border-radius: 0; }
.textbtn { background: none; border: 0; color: var(--orange-dark); font-weight: 800; cursor: pointer; padding: 0; }
.totals {
    background: var(--sage);
    color: #f6f1ea;
    padding: 22px;
}
.totals h2 { color: #f6f1ea; font-size: 1.6rem; margin-bottom: 12px; }
.totals p, .mini { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { font-size: 1.45rem; font-family: Fraunces, Georgia, serif; border-top: 1px solid rgba(246,241,234,0.2); padding-top: 10px; }
.totals .btn { margin-top: 8px; width: 100%; border-radius: 0; }
.fine { color: #d9d0c4; font-size: 0.88rem; display: block !important; }
.checkout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; align-items: start; }
.sheet { background: white; border: 1px solid var(--line); border-radius: 0; padding: 18px; display: grid; gap: 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.account { padding-top: 36px; padding-bottom: 56px; }
.visit-book { padding-top: 24px; padding-bottom: 48px; }
.auth, .signed-home {
    display: grid;
    grid-template-columns: 320px 1fr;
    max-width: 860px;
    margin: 0 auto;
    background: #fffdf9;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.auth-side { background: var(--sage); color: #f6f1ea; padding: 42px 32px; display: flex; flex-direction: column; justify-content: center; }
.auth-side h1 { color: #f6f1ea; font-size: clamp(2rem, 4vw, 2.8rem); }
.auth-side p { color: #d9d0c4; margin: 12px 0 0; }
.auth-kicker { margin: 0 0 12px; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; font-weight: 800; color: #f0c2ad; }
.auth-points { list-style: none; margin: 22px 0 0; padding: 0; }
.auth-points li { padding: 10px 0; border-top: 1px solid rgba(246, 241, 234, 0.16); font-weight: 650; }
.auth-sheet { padding: 32px 36px 36px; }
.auth-switch { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.auth-tab {
    background: none;
    border: 0;
    padding: 0 0 12px;
    font-weight: 750;
    color: var(--muted);
    cursor: pointer;
    position: relative;
}
.auth-tab.on { color: var(--ink); }
.auth-tab.on::after, .auth.show-up .auth-tab[data-auth="up"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--orange);
}
.auth.show-up .auth-tab[data-auth="in"] { color: var(--muted); }
.auth.show-up .auth-tab[data-auth="in"]::after { display: none; }
.auth.show-up .auth-tab[data-auth="up"] { color: var(--ink); }
.auth-pane { display: none; gap: 14px; }
.auth .auth-pane[data-pane="in"], .auth.show-up .auth-pane[data-pane="up"] { display: grid; }
.auth.show-up .auth-pane[data-pane="in"] { display: none; }
.auth-pane label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 750; color: #3f3a34; }
.auth-pane input { width: 100%; height: 46px; }
.auth-pane .btn { width: 100%; height: 48px; margin-top: 4px; }
.auth-sheet .dbnote { margin: 0; padding: 10px 12px; border-radius: 10px; }
.auth-card { padding: 36px; display: grid; gap: 12px; align-content: start; }
.auth-card h2 { font-size: 1.7rem; }
.signed-home .auth-card { background: transparent; }
.account .signedIn, .narrow { grid-column: 1 / -1; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-lines { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.contact-lines a { color: var(--orange-dark); }
.showroom-map {
    grid-column: 1 / -1;
    margin-top: 8px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #ece8e2;
}
.account .showroom-map { margin-top: 28px; }
.showroom-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.visit-band {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
}
.visit-copy p { color: var(--muted); max-width: 46ch; }
.visit-copy .visit-meta { margin: 0 0 16px; font-weight: 700; }
.visit-copy .visit-meta a { color: var(--orange-dark); text-decoration: none; }
.visit-band .showroom-map { margin-top: 0; }
.visit-band .showroom-map iframe { height: 340px; }
.about p { font-size: 1.05rem; }
.faq { max-width: 860px; }
.faq h2 { margin-bottom: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 0 0 8px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0; }
.admin .cline { grid-template-columns: 72px 1fr 120px 90px auto; }

.foot {
    background: var(--sage);
    color: #f6f1ea;
    padding: 8px 0 78px;
    margin-top: 36px;
}
.foot-visit, .foot-main, .foot-bar { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.foot-visit {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(246, 241, 234, 0.16);
}
.foot-kicker {
    margin: 0 0 8px;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    color: #f0c2ad;
}
.foot-address { margin: 0 0 8px; max-width: 36ch; line-height: 1.45; color: #f6f1ea; }
.foot-visit strong {
    display: block;
    margin: 0 0 4px;
    font-family: Fraunces, Georgia, serif;
    font-weight: 560;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.foot-visit strong a, .foot-visit > div > a { color: #f6f1ea; text-decoration: none; }
.foot-visit > div > a { border-bottom: 1px solid rgba(240, 194, 173, 0.7); }
.foot-visit p { margin: 0; color: #d9d0c4; }
.foot-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 28px;
    padding: 28px 0 18px;
}
.foot-brand img { height: 42px; width: auto; margin-bottom: 12px; }
.foot-brand p { margin: 0; max-width: 32ch; color: #d9d0c4; }
.foot h4 {
    margin: 0 0 10px;
    font-family: Manrope, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    color: #f0c2ad;
}
.foot-main a {
    display: block;
    color: #f6f1ea;
    text-decoration: none;
    padding: 4px 0;
}
.foot-main a:hover { color: #f0c2ad; }
.foot-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(246, 241, 234, 0.16);
    color: #d9d0c4;
    font-size: 0.82rem;
}
.wa {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: #1f7a43;
    color: white !important;
    text-decoration: none;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 800;
    box-shadow: var(--shadow);
    z-index: 30;
}

@media (max-width: 1100px) {
    .tlabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .tool { min-width: 40px; padding: 6px; }
    .head-links { display: none; }
    .auth, .signed-home, .auth-forms, .cart-layout, .checkout { grid-template-columns: 1fr; }
    .auth-forms .auth-card + .auth-card { border-left: 0; border-top: 1px solid var(--line); }
    .sizegrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
    .home-banner { height: auto; aspect-ratio: 1980 / 700; min-height: 210px; }
    .head { display: flex; flex-wrap: wrap; width: auto; margin: 0; min-height: 0; padding: 10px 14px; gap: 10px; }
    .logo { order: 1; }
    .navbtn { display: inline-flex; order: 2; }
    .tools { order: 3; margin-left: auto; width: auto; }
    .search { order: 4; flex: 1 1 100%; max-width: none; margin-left: 0; }
    .menubar { display: none; flex-direction: column; align-items: stretch; width: auto; margin: 0; padding: 0; }
    .menu-phone { position: static; transform: none; }
    .menubar.open { display: flex; }
    .menu-row { flex-direction: column; align-items: stretch; }
    .menu-phone { display: none; }
    .menu-visit { display: none; }
    .menu-label { justify-content: space-between; width: 100%; padding: 12px 16px; }
    .menu-label::after { left: 16px; right: auto; width: 42px; bottom: 8px; }
    .menu-veil { display: none !important; }
    .menubar .panel { position: static; display: none; padding: 0 12px 12px; }
    .drop:hover .panel, .drop:focus-within .panel { display: none; }
    .menubar .drop.open .panel { display: block; }
    .mega { width: 100%; border-radius: 0; box-shadow: none; padding: 4px 4px 8px; max-height: none; }
    .mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
    .mega-grid a { width: auto; }
    .hero, .band, .sizegrid, .roomgrid, .steps ol, .wrap.product > div, .shop, .contact, .account, .auth, .signed-home, .auth-forms, .cart-layout, .checkout, .visit-band, .bi, .bi-kpis, .bi-grid, .edit-layout, .edit-fields { grid-template-columns: 1fr; }
    .hero { margin: 16px; width: auto; }
    .band, .wrap, .foot-visit, .foot-main, .foot-bar { width: auto; margin-left: 14px; margin-right: 14px; }
    .buyrow { flex-wrap: wrap; }
    .buyrow .btn { flex: 1 1 140px; }
    .foot-visit, .foot-main { grid-template-columns: 1fr 1fr; }
    .grid, .roomgrid { grid-template-columns: 1fr 1fr; }
    .filters { position: static; }
    .filters .facet { display: none; }
    .filters.open .facet { display: block; }
    .filters h2::after { content: "  +"; font-family: Manrope, sans-serif; font-size: 1rem; }
    .filters.open h2::after { content: "  –"; }
    .specs { grid-template-columns: 1fr 1fr; }
    .pmedia img { height: 200px; }
    .wrap.product > div, .gallery, .buy, .stage, .sheet-view { min-width: 0; max-width: 100%; }
    .stage, .sheet-view { overflow: hidden; }
    .stage img, .gallery img, .sheet-view img { width: 100%; max-width: 100%; height: auto; max-height: 280px; object-fit: contain; }
    .band, .sizegrid { grid-template-columns: 1fr 1fr; }
    .auth-side, .auth-card { padding: 22px 16px; }
    .auth-side h1, .buy h1 { font-size: 1.7rem; line-height: 1.15; overflow-wrap: anywhere; }
    .buy { padding: 16px 14px 20px; }
    .priceblock strong { font-size: 1.55rem; }
    .priceblock em, .priceblock span { display: block; }
    .wrap.product { padding-top: 12px; }
    .pinpop { flex-wrap: wrap; padding: 12px 14px; }
}
@media (max-width: 720px) {
    .topbar { padding: 8px 14px; }
    .topbar-line { justify-content: flex-start; }
    .head { padding: 10px 14px; }
    .logo img { height: 34px; }
    .stage img, .gallery img, .sheet-view img { max-height: 200px; }
    .hero, .band, .grid, .roomgrid, .steps ol, .sizegrid { grid-template-columns: 1fr; }
    .home-banner { height: auto; aspect-ratio: 1980 / 700; min-height: 210px; margin-top: 0; border-radius: 0; }
    .banner-slide img { height: 100%; }
    .banner-copy {
        right: 12px;
        left: 12px;
        top: auto;
        bottom: 14px;
        transform: none;
        width: auto;
        padding: 12px 14px 10px;
    }
    .banner-copy h1, .banner-copy h2 { font-size: 1.2rem; }
    .banner-copy p { font-size: 0.78rem; margin-top: 4px; }
    .banner-shop { margin-top: 10px; padding: 8px 14px; font-size: 0.7rem; }
    .banner-nav { display: none; }
    .lead { padding-right: 58px; }
    .showroom-map iframe { height: 280px; }
    .menu-visit { padding: 12px 16px; }
    .cline, .admin .cline { grid-template-columns: 84px 1fr; }
    .cline strong, .cline .textbtn, .cline-qty { grid-column: 2; }
    .calcgrid, .split, .foot-visit, .foot-main { grid-template-columns: 1fr; }
    .specs { grid-template-columns: 1fr 1fr; }
    .mega-grid { grid-template-columns: repeat(3, 1fr); }
    .mega-grid a { width: auto; }
    .foot-bar { flex-direction: column; }
    .totals .btn, .auth-card .btn, .buyrow .btn { width: 100%; }
    .wa {
        right: 12px;
        bottom: 12px;
        left: auto;
        width: 48px;
        height: 48px;
        padding: 0;
        overflow: hidden;
        font-size: 0;
        border-radius: 50%;
        bottom: 86px;
        background: #1f7a43 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 3.2A8.7 8.7 0 0 0 4.4 16.3L3.2 20.8l4.6-1.2A8.8 8.8 0 1 0 12 3.2zm4.9 12.4c-.2.6-1.2 1.1-1.7 1.1-.4 0-.9.2-3-.8-2.5-1.2-4.1-3.6-4.2-3.8-.1-.2-1-1.3-1-2.5s.6-1.8.9-2c.2-.2.5-.3.7-.3h.5c.2 0 .4 0 .6.5.2.6.8 2 .8 2.1.1.2 0 .3-.1.5l-.4.5c-.1.2-.3.3-.1.6.2.3.7 1.2 1.6 1.9 1.1.9 2 1.1 2.3 1.3.2.1.4.1.6-.1l.7-.8c.2-.2.3-.2.6-.1.2.1 1.5.7 1.8.8.2.1.4.2.4.3.1.3 0 .8-.2 1.4z'/%3E%3C/svg%3E") center / 26px no-repeat;
    }
}

.dock, .dock-sheet { display: none; }
.auth-sheet h2 { margin-bottom: 8px; }
.auth-sheet label, .gate-card label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 750; margin-top: 12px; }
.auth-sheet input, .auth-sheet select, .gate-card input { width: 100%; height: 46px; }
.auth-sheet .btn { width: 100%; margin-top: 16px; }
.date-label { display: flex; align-items: center; height: 46px; border: 1px solid #d9d0c4; border-radius: 12px; padding: 0 12px; background: white; }
.time-name { display: flex; align-items: center; gap: 6px; }
.clock { width: 16px; height: 16px; fill: none; stroke: #f15a22; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.india-cal { margin-top: 8px; background: #f7f3ec; border-radius: 14px; padding: 10px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-head button { border: 0; background: white; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 1.1rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 0.72rem; color: var(--muted); font-weight: 800; }
.cal-day { border: 0; background: white; border-radius: 8px; height: 36px; cursor: pointer; font-weight: 700; }
.cal-day.on { background: var(--orange); color: white; }
.cal-day:disabled { opacity: 0.35; cursor: default; }
body.desk-mode, body.desk-login-mode { background: #f4f6fb; color: #1c2430; }
body.desk-mode .topbar, body.desk-mode .mast, body.desk-mode .foot, body.desk-mode .wa, body.desk-mode .dock, body.desk-mode .pinpop, body.desk-mode .flash,
body.desk-login-mode .topbar, body.desk-login-mode .mast, body.desk-login-mode .foot, body.desk-login-mode .wa, body.desk-login-mode .dock, body.desk-login-mode .pinpop, body.desk-login-mode .flash { display: none !important; }
body.desk-mode main, body.desk-login-mode main { min-height: 100vh; padding: 0; }
.desk-login { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.login-hero {
    background: radial-gradient(120% 90% at 12% 10%, #5b7cff 0%, #3a1d8a 42%, #1a1038 100%);
    color: #fff;
    padding: 72px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-hero img { width: 92px; height: 92px; object-fit: contain; border-radius: 50%; background: #fff; padding: 8px; margin-bottom: 28px; }
.login-hero h1 { font-size: 2.6rem; margin: 0 0 12px; color: #fff; }
.login-hero p { max-width: 420px; color: rgba(255,255,255,0.82); margin: 0 0 22px; }
.login-hero ul { margin: 0 0 32px; padding: 0; list-style: none; }
.login-hero li { position: relative; padding: 7px 0 7px 18px; color: rgba(255,255,255,0.9); }
.login-hero li:before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: #f15a22; }
.login-site { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; width: min(360px, 100%); background: rgba(255,255,255,0.08); }
.login-pane { display: grid; place-items: center; background: #f6f7fb; padding: 40px 24px; }
.login-card { width: min(420px, 100%); background: #fff; border-radius: 18px; padding: 32px; box-shadow: 0 18px 50px rgba(23, 32, 51, 0.08); }
.login-card h2 { margin: 0 0 6px; font-size: 1.8rem; }
.login-card p { margin: 0 0 16px; color: #667085; }
.login-card label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 750; margin-top: 12px; }
.login-card input { width: 100%; height: 46px; background: #eef4ff; border: 1px solid #dbe4f3; border-radius: 10px; padding: 0 12px; }
.login-actions { display: flex; gap: 10px; margin-top: 18px; }
.btn.in, input[type="submit"].btn.in { background: #1e2a78; color: #fff !important; }
.btn.in:hover, input[type="submit"].btn.in:hover { background: #16205f; }
.login-actions .btn.ghost, .login-actions input[type="submit"].btn.ghost { background: #fff; color: #1e2a78 !important; border: 1px solid #cfd6e6; }
.btn.out, input[type="submit"].btn.out { background: #f5c400; color: #1a1917 !important; border: 0; font-weight: 800; border-radius: 8px; padding: 10px 16px; }
.btn.out:hover, input[type="submit"].btn.out:hover { background: #e0b400; }
.bi { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.bi-side { background: #111111; color: #e7edf5; padding: 18px 10px; display: flex; flex-direction: column; gap: 4px; }
.bi-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 10px 22px; }
.bi-brand img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 50%; padding: 6px; }
.bi-brand span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #c9c9c9; font-weight: 800; }
.bi-nav { color: #d7dee8; text-decoration: none; padding: 12px 14px; border-radius: 4px; font-weight: 700; background: none; border: 0; text-align: left; cursor: pointer; }
.bi-nav:hover, .bi-nav:focus { background: #222; }
.bi-nav.on { background: #f5c400; color: #111; }
.bi-main { padding: 18px 24px 48px; max-width: none; }
.bi-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 8px; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; background: #f5c400; color: #111; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; }
.live-pill:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #146c43; }
.bi-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 16px; }
.bi-sub { margin: 6px 0 0; color: #667085; font-weight: 600; }
.bi-main h1 { font-size: 1.55rem; margin: 0; color: #172033; }
.bi-note { display: block; background: #e7f6ee; color: #146c43; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; font-weight: 750; }
.bi-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.bi-kpis div, .bi-card { background: #fff; border: 1px solid #e4e8ef; border-radius: 8px; padding: 16px; box-shadow: 0 8px 20px rgba(23, 32, 51, 0.04); }
.bi-kpis span { display: block; color: #667085; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.bi-kpis strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.45rem; color: #172033; margin: 8px 0 4px; }
.bi-kpis em { font-style: normal; color: #667085; font-size: 0.74rem; font-weight: 700; }
.kpi-a { border-top: 4px solid #22c55e; }
.kpi-b { border-top: 4px solid #f15a22; }
.kpi-c { border-top: 4px solid #2563eb; }
.kpi-d { border-top: 4px solid #111; }
.kpi-e { border-top: 4px solid #f5c400; }
.kpi-f { border-top: 4px solid #7c3aed; }
.bi-charts { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 14px; }
.chart-wide { grid-column: 1; }
.bi-svg { width: 100%; height: 220px; display: block; }
.bi-svg .grid { stroke: #eef1f6; stroke-width: 1; }
.bi-svg .axis { font-size: 9px; fill: #8a93a3; }
.donut-wrap { display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: center; }
.donut { width: 160px; height: 160px; }
.donut-total { font-size: 6px; font-weight: 800; fill: #172033; }
.donut-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.82rem; color: #3f4b5c; }
.donut-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.bi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.bi-card { margin-top: 0; }
.bi-card h2 { font-size: 0.95rem; margin: 0 0 14px; color: #172033; }
.bi-card p { color: #667085; }
.bi-bar { display: grid; grid-template-columns: 120px 1fr 36px; gap: 10px; align-items: center; margin: 8px 0; color: #3f4b5c; font-size: 0.84rem; }
.bi-bar i { display: block; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #f15a22, #f7b090); }
.bi-status { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef1f6; }
.bi-status:last-child { border-bottom: 0; }
.bi-filters { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 10px; align-items: end; margin: 12px 0 16px; }
.bi-filters label { display: flex; flex-direction: column; gap: 6px; font-size: 0.75rem; font-weight: 750; color: #3f4b5c; }
.bi-filters select, .bi-filters input { height: 40px; border: 1px solid #d5dbe6; border-radius: 10px; padding: 0 10px; background: #fff; }
.bi-pager { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: #667085; font-weight: 700; }
.bi-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bi-row { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 12px; align-items: center; background: #fff; border: 1px solid #e4e8ef; border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.bi-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #ece8e2; }
.bi-table { display: grid; gap: 8px; }
.bi-table div { display: grid; grid-template-columns: 1.1fr 1fr 0.8fr 1fr; gap: 10px; background: #f7f8fb; border: 1px solid #e4e8ef; border-radius: 10px; padding: 12px; color: #3f4b5c; }
.bi-table .head { background: transparent; border: 0; color: #667085; font-size: 0.75rem; padding-bottom: 0; }
.bi-table .line { background: #fff; font-size: 0.86rem; }
.bi-table .orig { font-style: normal; color: #111; font-weight: 800; font-size: 0.78rem; }
.tag { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 4px 10px; font-size: 0.72rem; font-weight: 800; background: #eef1f6; }
.tag.paid { background: #e7f6ee; color: #146c43; }
.tag.pending { background: #fff4e0; color: #b45309; }
.bi-main .fine { color: #667085; margin: 8px 0 0; font-size: 0.78rem; }
.desk-mode .btn.ghost { color: #172033 !important; border-color: #d5dbe6; background: #fff; }
.desk-mode .bi-row .code, .desk-mode .bi-row p { color: #667085; margin: 0; }
.desk-mode .buyrow { max-width: 520px; margin-bottom: 14px; }
.desk-mode .buyrow input { background: #fff; color: #172033; border-color: #d5dbe6; }
.edit-wrap { display: grid; gap: 16px; }
.edit-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.edit-top h1 { margin: 0; }
.edit-actions { display: flex; gap: 8px; }
.edit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.edit-col { display: grid; gap: 14px; }
.edit-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.edit-fields label, .edit-media label { display: flex; flex-direction: column; gap: 6px; font-weight: 750; font-size: 0.75rem; color: #3f4b5c; }
.edit-fields label span, .edit-media label span { font-weight: 600; color: #8a93a3; }
.edit-fields .wide { grid-column: 1 / -1; }
.edit-fields input, .edit-fields textarea, .edit-media input[type="file"] {
    width: 100%;
    min-width: 0;
    height: 40px;
    border: 1px solid #d5dbe6;
    background: #fbfcfe;
    border-radius: 10px;
    padding: 8px 10px;
    color: #172033;
}
.edit-fields textarea { height: auto; min-height: 88px; resize: vertical; }
.edit-fields input:focus, .edit-fields textarea:focus { outline: 2px solid rgba(241, 90, 34, 0.25); border-color: #f15a22; background: #fff; }
.edit-media { position: sticky; top: 16px; }
.edit-photo { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; background: #ece8e2; margin-bottom: 12px; }
.bi-shot { display: grid; grid-template-columns: 56px 1fr; gap: 8px; align-items: center; margin-top: 10px; }
.bi-shot img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }

@media (max-width: 980px) {
    html, body { overflow-x: hidden; }
    body { padding-bottom: 84px; }
    .dock { width: 100%; box-sizing: border-box; }
    .dock {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 45;
        background: white;
        border-top: 1px solid #e6e6e6;
        height: 70px;
    }
    #pinCheck, .top-split { display: none; }
    .dock a, .dock button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        border: 0;
        background: none;
        color: #282c3f;
        text-decoration: none;
        cursor: pointer;
        padding: 0;
        font-size: 11px;
        font-weight: 750;
        line-height: 1;
    }
    .dock-sheet { display: block; position: fixed; inset: 0; background: rgba(20, 24, 32, 0.45); z-index: 60; }
    .dock-sheet[hidden] { display: none; }
    .dock-card {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 78vh;
        overflow: auto;
        background: white;
        border-radius: 18px 18px 0 0;
        padding: 0 16px 84px;
    }
    .dock-bar {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        justify-content: flex-end;
        background: white;
        margin: 0 -16px;
        padding: 10px 12px 8px;
    }
    .dock-close {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        height: 36px;
        padding: 0 12px 0 10px;
        border: 0;
        border-radius: 999px;
        background: #f4f0e8;
        color: #1a1917;
        font-size: 13px;
        font-weight: 750;
        cursor: pointer;
    }
    .dock-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
    .dock-actions { display: grid; gap: 10px; margin-top: 12px; }
    .menubar.open { background: white; max-height: 70vh; overflow: auto; border-bottom: 1px solid #eee; }
    .wa { bottom: 86px; }
    .bi { grid-template-columns: 1fr; }
    .bi-side { flex-direction: row; flex-wrap: wrap; }
    .bi-kpis, .bi-table div, .bi-row, .bi-bar, .bi-charts, .donut-wrap, .bi-filters { grid-template-columns: 1fr; }
    .desk-login { grid-template-columns: 1fr; }
    .login-hero { padding: 36px 24px; }
}
