@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
  --forest: #173f39;
  --forest-2: #275b50;
  --ink: #1d2926;
  --muted: #68736e;
  --paper: #fbfaf6;
  --white: #fff;
  --line: #deded5;
  --coral: #d86e54;
  --yellow: #e6bb58;
  --mint: #e5eee8;
  --radius: 8px;
  font-family: "Vazirmatn", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  height: 82px; max-width: 1380px; padding: 0 34px; margin: auto;
  display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 24px;
}
.brand { display: inline-flex; gap: 11px; align-items: center; width: max-content; }
.brand > span:last-child { display: grid; gap: 0; }
.brand strong { font-size: 1.1rem; line-height: 1.4; }
.brand small { color: var(--muted); font-size: .72rem; }
.brand-symbol { width: 38px; height: 38px; position: relative; display: grid; place-items: center; border-radius: 7px; background: var(--forest); overflow: hidden; }
.brand-symbol i { width: 15px; height: 21px; background: var(--yellow); clip-path: polygon(50% 0, 100% 42%, 85% 100%, 15% 100%, 0 42%); }
.brand-symbol b { position: absolute; width: 24px; height: 4px; bottom: 6px; border-radius: 2px; background: #d09564; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.main-nav a { font-size: .91rem; color: #515e58; transition: color .2s; }
.main-nav a:hover { color: var(--coral); }
.header-socials { display: flex; align-items: center; gap: 7px; }
.social-icon { width: 36px; aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 50%; color: white; box-shadow: 0 2px 6px rgba(20,35,28,.18); transition: transform .18s, filter .18s; }
.social-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-icon.telegram svg { fill: currentColor; stroke: none; }
.social-icon .icon-dot { fill: currentColor; stroke: none; }
.social-icon:hover { transform: translateY(-2px); filter: brightness(1.08); }
.social-icon.instagram { background: linear-gradient(145deg, #833ab4, #e1306c 58%, #f77737); }
.social-icon.whatsapp { background: #25d366; }
.social-icon.telegram { background: #229ed9; }
.header-order { justify-self: end; border: 0; background: var(--forest); color: white; padding: 11px 17px; border-radius: 6px; display: flex; align-items: center; gap: 14px; }
.header-order span { color: var(--yellow); font-size: 1.12rem; }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; height: 42px; width: 42px; border-radius: 6px; }

.hero { min-height: 600px; max-width: 1380px; margin: auto; background: var(--forest); position: relative; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; color: white; }
.hero-copy { padding: clamp(50px, 7vw, 98px) clamp(34px, 7vw, 96px) 78px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: .81rem; color: #d2dcd4; }
.eyebrow > span { display: inline-block; width: 22px; height: 2px; background: var(--yellow); }
.eyebrow.dark { color: var(--forest-2); }
.hero h1 { margin: 22px 0 17px; font-size: clamp(2.8rem, 5.5vw, 5.4rem); line-height: 1.17; font-weight: 700; }
.hero h1 em, .section-heading h2 em, .craft-copy h2 em { color: var(--yellow); font-style: normal; }
.hero-copy > p { max-width: 440px; line-height: 2.1; color: #d2ded7; font-size: 1.03rem; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 23px; margin-top: 30px; }
.button { border: 0; border-radius: 6px; padding: 12px 17px; min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: 18px; font-weight: 600; transition: transform .18s, background .18s; }
.button:hover, .header-order:hover { transform: translateY(-2px); }
.button-light { background: var(--yellow); color: #202d27; }
.text-link { color: white; display: inline-flex; gap: 9px; align-items: center; font-size: .9rem; }
.hero-note { margin-top: 54px; display: flex; align-items: center; gap: 12px; color: #f5f4ec; line-height: 1.55; font-weight: 600; }
.hero-note small { font-size: .76rem; font-weight: 400; color: #b9ccc2; }
.note-mark { color: var(--coral); font-size: 2.2rem; }
.hero-image-wrap { min-height: 600px; position: relative; overflow: hidden; background: #252522; }
.hero-image { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; object-position: center; }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,31,26,.57), transparent 37%), linear-gradient(90deg, rgba(23,63,57,.14), transparent 42%); pointer-events: none; }
.hero-image-caption { position: absolute; z-index: 1; bottom: 28px; right: 30px; left: 30px; display: flex; justify-content: space-between; color: white; font-size: .83rem; }
.hero-image-caption span + span { color: #d9e3d9; }
.hero-stamp { position: absolute; z-index: 2; top: 34px; left: 34px; width: 82px; height: 82px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-content: center; text-align: center; color: white; line-height: 1.4; font-size: .85rem; transform: rotate(-9deg); }
.hero-index { position: absolute; left: 18px; bottom: 20px; writing-mode: vertical-rl; color: rgba(255,255,255,.56); font-size: .67rem; letter-spacing: 0; }

.section-pad { padding: 95px max(34px, calc((100% - 1200px)/2)); }
.product-section { background: #f5f3ec; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.section-heading h2, .craft-copy h2 { font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1.34; margin: 15px 0 0; font-weight: 700; }
.section-heading h2 em, .craft-copy h2 em { color: var(--coral); }
.section-heading > p { max-width: 390px; color: var(--muted); line-height: 2; margin: 0 0 4px; }
.category-filters { display: flex; gap: 8px; overflow: auto; padding: 0 0 13px; margin-bottom: 19px; scrollbar-width: thin; }
.filter-chip { flex: 0 0 auto; border: 1px solid #d7d8cf; color: #59635d; background: transparent; padding: 9px 13px; border-radius: 999px; font-size: .82rem; }
.filter-chip.active { background: var(--forest); color: white; border-color: var(--forest); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.video-showcase { background: #fff; }
.video-showcase-layout { max-width: 1200px; margin: auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(28px, 6vw, 80px); }
.video-showcase-copy h2 { margin: 14px 0 8px; font-size: 2rem; line-height: 1.5; }
.video-showcase-copy p { max-width: 390px; margin: 0; color: var(--muted); font-size: .94rem; line-height: 2; }
.video-showcase-player { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #201f1c; border-radius: 7px; }
.product-card { min-width: 0; background: var(--white); border: 1px solid #e3e2da; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: 0 14px 34px rgba(38,53,45,.11); transform: translateY(-3px); }
.product-photo { aspect-ratio: 1.22 / 1; overflow: hidden; position: relative; background: #dce6df; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-photo img { transform: scale(1.035); }
.product-number { position: absolute; top: 13px; right: 13px; padding: 5px 9px; background: rgba(255,255,255,.91); color: var(--forest); border-radius: 5px; font-size: .74rem; }
.product-content { padding: 17px 17px 15px; display: flex; flex-direction: column; flex: 1; }
.product-content h3 { margin: 0 0 8px; font-size: 1.08rem; line-height: 1.65; }
.product-content p { color: var(--muted); font-size: .87rem; line-height: 1.9; margin: 0 0 17px; min-height: 50px; }
.product-bottom { border-top: 1px solid #ebe9e1; padding-top: 14px; margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product-price { display: grid; color: var(--muted); font-size: .72rem; gap: 2px; }
.product-price strong { color: var(--forest); font-size: .99rem; }
.small-order { border: 0; background: var(--mint); color: var(--forest); padding: 9px 11px; border-radius: 5px; font-size: .81rem; font-weight: 600; }
.small-order:hover { background: var(--yellow); }

.craft-band { background: var(--coral); color: white; display: grid; grid-template-columns: 1fr 1fr; min-height: 490px; }
.craft-image { min-height: 490px; position: relative; overflow: hidden; background: #252522; }
.craft-image img { width: 100%; height: 100%; position: absolute; object-fit: contain; object-position: center; inset: 0; }
.image-tag { position: absolute; bottom: 20px; right: 22px; background: var(--paper); color: var(--forest); border-radius: 5px; padding: 9px 12px; font-size: .8rem; }
.craft-copy { align-self: center; padding: 60px clamp(36px, 7vw, 95px); }
.craft-copy .eyebrow { color: #f7e4dd; }
.craft-copy .eyebrow > span { background: var(--yellow); }
.craft-copy h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); }
.craft-copy h2 em { color: #ffdd86; }
.craft-copy p { line-height: 2; max-width: 500px; color: #ffe9e1; margin: 19px 0 23px; }
.button-outline { border: 1px solid rgba(255,255,255,.75); background: transparent; color: white; }
.button-outline:hover { background: rgba(255,255,255,.12); }

.how-section { text-align: center; background: #fff; }
.section-heading.compact { text-align: right; }
.steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 32px; text-align: right; }
.step { background: #f7f6f1; border: 1px solid #e9e7df; border-radius: var(--radius); padding: 20px 18px; min-height: 212px; position: relative; }
.step > b { font-size: .78rem; color: var(--coral); }
.step-icon { display: grid; place-items: center; height: 45px; width: 45px; margin: 13px 0 10px; border-radius: 7px; color: var(--forest); background: #e2eee7; font-size: 1.35rem; }
.step h3 { margin: 0 0 6px; font-size: 1rem; }
.step p { color: var(--muted); font-size: .82rem; line-height: 1.8; margin: 0; }
.button-green { background: var(--forest); color: white; }
.button-green:hover { background: var(--forest-2); }

.contact-band { min-height: 290px; position: relative; overflow: hidden; background: var(--forest); color: white; padding: 55px max(34px, calc((100% - 1200px)/2)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 38px; }
.contact-band h2 { font-size: clamp(2rem,4vw,3rem); line-height: 1.4; margin: 13px 0 0; }
.contact-actions { max-width: 430px; z-index: 1; }
.contact-actions p { color: #d0ddd5; line-height: 2; margin: 0 0 16px; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 14px; border: 0; border-radius: 5px; color: white; font-size: .83rem; font-weight: 600; box-shadow: 0 3px 10px rgba(0,0,0,.16); transition: transform .18s, filter .18s; }
.social-action:hover { transform: translateY(-2px); filter: brightness(1.07); }
.social-action span { font-size: 1.05rem; }
.social-action.instagram { background: linear-gradient(110deg, #833ab4, #e1306c 58%, #f77737); }
.social-action.whatsapp { background: #168b42; }
.social-action.telegram { background: #1688bd; }
.contact-spark { position: absolute; left: 9%; top: -45px; font-size: 240px; color: rgba(230,187,88,.1); }
.site-footer { max-width: 1380px; margin: auto; padding: 24px 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .82rem; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { font-weight: 600; }
.footer-socials a:hover { color: var(--forest); }
.footer-socials a:nth-child(1) { color: #c13584; }
.footer-socials a:nth-child(2) { color: #168b42; }
.footer-socials a:nth-child(3) { color: #1688bd; }
.footer-brand strong { color: var(--ink); }
.footer-brand .brand-symbol { width: 34px; height: 34px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 40; display: none; align-items: center; justify-content: center; padding: 14px; background: rgba(12,27,23,.72); }
.modal-backdrop.open { display: flex; }
.order-modal { position: relative; width: min(680px,100%); max-height: min(92vh,900px); overflow: auto; padding: clamp(20px,4vw,36px); border-radius: 9px; background: var(--paper); box-shadow: 0 22px 70px rgba(0,0,0,.25); }
.modal-close { position: absolute; top: 15px; left: 15px; width: 38px; height: 38px; border: 1px solid var(--line); background: white; border-radius: 6px; font-size: 1.45rem; color: var(--forest); }
.modal-intro { padding-left: 37px; }
.modal-intro h2 { margin: 12px 0 5px; font-size: 1.75rem; }
.modal-intro p { color: var(--muted); font-size: .88rem; line-height: 1.85; margin: 0 0 20px; }
.order-form { display: grid; gap: 13px; }
.order-form label { display: grid; gap: 7px; font-size: .86rem; font-weight: 600; }
.order-form[hidden], .order-form [hidden], .success-state[hidden] { display: none !important; }
.form-error { margin: 0; padding: 10px 12px; color: #8f3027; background: #fff0ed; border: 1px solid #e8b3a9; border-radius: 5px; font-size: .85rem; line-height: 1.7; }
.label-heading { display: block; }
.label-heading b, .field-title b { color: #bd4a39; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.order-form input:not([type=radio]):not([type=checkbox]), .order-form textarea, .order-form select { width: 100%; min-width: 0; border: 1px solid #d8d8cf; border-radius: 6px; background: white; padding: 11px 12px; outline: 0; color: var(--ink); font-weight: 400; }
.optional-text-toggle > span:last-child { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 500; }
.optional-text-toggle input[type=checkbox] { width: 17px; height: 17px; margin: 0; accent-color: var(--forest); }
.optional-text-toggle small { color: var(--muted); font-weight: 400; }
.order-form input:focus, .order-form textarea:focus, .order-form select:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(39,91,80,.12); }
.order-form textarea { resize: vertical; }
.input-hint { color: var(--muted); font-weight: 400; font-size: .73rem; line-height: 1.7; }
.option-block { display: grid; gap: 8px; }
.field-title { font-size: .86rem; font-weight: 600; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.design-choice-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(128px,1fr)); gap: 9px; }
.design-picker-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.remove-selected-design { min-height: 34px; padding: 6px 10px; border: 1px solid #e4d8d5; border-radius: 5px; background: transparent; color: #85554e; font: inherit; font-size: .76rem; cursor: pointer; }
.remove-selected-design:hover { border-color: #c9aaa4; background: #f8f1ef; color: #703d36; }
.selected-design-preview { display: flex; align-items: center; gap: 12px; min-height: 64px; color: var(--muted); font-weight: 400; }
.selected-design-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 5px; border: 1px solid #d9dfd8; }
.design-picker .button { padding: 9px 13px; font-size: .82rem; }
.design-confirmation { width: 100%; display: flex; align-items: center; gap: 13px; padding: 11px 13px; border: 1px solid #a8c8ae; border-inline-start: 4px solid #34784d; border-radius: 6px; background: #edf6ee; color: #244c31; }
.design-confirmation img { width: 60px; height: 60px; flex: 0 0 auto; object-fit: cover; border: 1px solid #d2e2d3; border-radius: 4px; }
.design-confirmation > span:nth-child(2) { display: grid; gap: 4px; }
.design-confirmation strong { font-size: .9rem; }
.design-confirmation small { color: #526e58; font-size: .8rem; }
.confirmation-check { margin-inline-start: auto; display: grid; place-items: center; width: 29px; aspect-ratio: 1; border-radius: 50%; background: #34784d; color: white; font-weight: 700; }
.inline-design-gallery { display: grid; gap: 15px; }
.inline-design-gallery[hidden] { display: none !important; }
.inline-gallery-heading { display: grid; gap: 9px; }
.inline-gallery-heading .button-outline { justify-self: start; min-height: 38px; padding: 7px 11px; border: 1px solid #c8d2cb; color: var(--forest); background: white; font-size: .8rem; }
.inline-gallery-heading .button-outline:hover { background: #eff4ef; }
.inline-gallery-heading h3 { margin: 3px 0 0; font-size: 1.22rem; }
.inline-gallery-heading p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.8; }
.inline-gallery-status { margin: 0; padding: 8px 11px; border-inline-start: 3px solid var(--forest-2); background: #edf3ed; color: var(--forest); font-size: .8rem; }
.inline-design-gallery .public-design-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding-top: 0; }
.inline-design-gallery .public-design-info { padding: 9px; }
.inline-design-gallery .public-design-info strong { font-size: .82rem; }
.inline-design-gallery .public-design-info .button { min-height: 36px; padding: 6px; }
.inline-design-gallery .gallery-search { width: 100%; }
.inline-design-gallery .gallery-search input { font: inherit; }
.gallery-page { min-height: 100vh; background: #f6f7f3; }
.gallery-header { position: static; }
.gallery-header .button { min-height: 40px; padding: 8px 14px; font-size: .82rem; }
.design-gallery-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 64px; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid #dce2dc; }
.gallery-heading h1 { margin: 7px 0; font-size: 1.8rem; }
.gallery-heading p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.gallery-search { width: min(320px, 100%); display: grid; gap: 6px; color: var(--muted); font-size: .78rem; }
.gallery-search input { min-height: 42px; border: 1px solid #d8d8cf; border-radius: 5px; background: white; padding: 9px 12px; font: inherit; }
.gallery-notice { margin: 14px 0 0; padding: 10px 12px; border-inline-start: 3px solid var(--forest-2); background: #eaf1eb; color: var(--forest); font-size: .86rem; line-height: 1.8; }
.gallery-notice[hidden] { display: none; }
.public-design-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; padding-top: 20px; }
.public-design-card { min-width: 0; overflow: hidden; border: 1px solid #dce2dc; border-radius: 6px; background: white; }
.public-design-card.selected { border-color: var(--forest-2); box-shadow: 0 0 0 1px var(--forest-2); }
.public-design-card > img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #edf0ea; }
.public-design-info { display: grid; gap: 10px; padding: 12px; }
.public-design-info strong { min-height: 1.5em; font-size: .88rem; }
.public-design-info .button { min-height: 38px; padding: 7px 10px; font: inherit; font-size: .8rem; }
.gallery-empty { grid-column: 1 / -1; padding: 30px 0; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .public-design-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 620px) {
  .design-gallery-main { width: min(100% - 28px, 560px); padding-top: 25px; }
  .gallery-heading { align-items: stretch; flex-direction: column; gap: 16px; }
  .gallery-search { width: 100%; }
  .public-design-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .inline-design-gallery .public-design-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .public-design-info { padding: 9px; }
  .public-design-info strong { font-size: .8rem; }
}
.order-form .design-choice { position: relative; display: block; border: 1px solid #d9dfd8; border-radius: 6px; overflow: hidden; background: white; cursor: pointer; }
.design-choice input { position: absolute; inset: 8px auto auto 8px; z-index: 1; accent-color: var(--forest); }
.design-choice img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #f1f3ef; }
.design-choice span { display: block; padding: 7px 9px; font-size: .78rem; }
.design-choice:has(input:checked) { border-color: var(--forest); box-shadow: 0 0 0 2px rgba(39,91,80,.16); }

.catalog-hint { margin: -18px 0 22px; color: var(--muted); font-size: .86rem; }
.product-card { cursor: pointer; }
.small-order { display: inline-flex; align-items: center; white-space: nowrap; }
.store-page { background: #f7f7f2; min-height: 100vh; }
.store-header { max-width: 1240px; }
.cart-count { display: inline-grid; place-items: center; min-width: 25px; aspect-ratio: 1; padding: 0 5px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: .78rem; }
.header-order .cart-count { color: var(--ink); font-size: .78rem; }
.product-detail-page, .cart-page { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 20px 0 72px; }
.page-loading { padding: 70px 0; color: var(--muted); text-align: center; }
.detail-breadcrumb { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: .82rem; padding: 2px 0 20px; }
.detail-breadcrumb strong { color: var(--forest); font-weight: 600; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); gap: 42px; align-items: start; }
.detail-gallery { min-width: 0; }
.detail-main-image { aspect-ratio: 1 / .87; position: relative; overflow: hidden; background: #e7ebe4; border-radius: 7px; }
.detail-main-image img { width: 100%; height: 100%; object-fit: contain; }
.detail-image-tag { position: absolute; inset-inline-start: 14px; bottom: 14px; padding: 8px 11px; border-radius: 5px; background: rgba(255,255,255,.94); color: var(--forest); font-size: .8rem; }
.detail-thumbnails { display: flex; gap: 9px; overflow-x: auto; padding: 12px 0 2px; }
.detail-thumb { flex: 0 0 92px; border: 1px solid #d6ddd6; border-radius: 5px; padding: 4px; background: white; color: var(--ink); font: inherit; font-size: .72rem; text-align: right; }
.detail-thumb.active, .detail-design-card.active { border-color: var(--forest-2); box-shadow: 0 0 0 1px var(--forest-2); }
.detail-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.detail-thumb span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 5px 2px 2px; }
.detail-info { position: sticky; top: 16px; display: grid; gap: 14px; }
.detail-category, .overline { color: var(--forest-2); font-size: .78rem; font-weight: 600; }
.detail-info h1, .cart-heading h1, .cart-empty h1, .checkout-success h1 { margin: 0; font-size: 1.75rem; line-height: 1.55; }
.detail-description, .cart-heading p, .cart-empty p, .checkout-success p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.9; }
.detail-specs { padding: 13px 15px; border-inline-start: 3px solid var(--coral); background: white; }
.detail-specs strong { font-size: .88rem; }
.detail-specs p { margin: 5px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.9; }
.detail-price, .detail-total, .cart-line-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.detail-price { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.detail-price strong { color: var(--forest); font-size: 1.1rem; }
.detail-selected-design { padding: 11px 13px; border: 1px solid #b9d0bd; background: #edf5ed; color: #295237; border-radius: 5px; font-size: .83rem; }
.detail-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-options label, .cart-options label, .checkout-panel form > label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; }
.detail-options select, .detail-options input:not([type=checkbox]), .cart-options select, .cart-line-notes textarea, .cart-custom-text > input:not([type=checkbox]), .checkout-panel input:not([type=radio]), .checkout-panel textarea { width: 100%; min-width: 0; padding: 10px; border: 1px solid #d8d8cf; border-radius: 5px; background: white; color: var(--ink); font: inherit; font-size: .86rem; }
.detail-text-toggle { grid-column: 1 / -1; display: flex !important; grid-template-columns: auto 1fr; align-items: center; }
.detail-text-toggle input { width: 17px; height: 17px; accent-color: var(--forest); }
.detail-total { padding: 13px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.detail-total strong { color: var(--forest); font-size: 1.08rem; }
.detail-add { width: 100%; }
.detail-add:disabled { opacity: .55; cursor: not-allowed; }
.detail-notice { min-height: 1.5em; margin: -7px 0 0; color: #a13f2f; font-size: .8rem; }
.detail-order-note, .checkout-disclaimer { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.8; }
.detail-design-section { margin-top: 54px; padding-top: 25px; border-top: 1px solid #dfe2dc; }
.detail-design-section h2 { margin: 6px 0 18px; font-size: 1.28rem; }
.detail-design-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.detail-design-card { min-width: 0; padding: 5px; border: 1px solid #dce2dc; border-radius: 5px; background: white; color: var(--ink); font: inherit; text-align: right; }
.detail-design-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: #eef0ea; }
.detail-design-card span { display: block; padding: 7px 4px 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
.cart-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 15px 0 25px; }
.cart-heading > div { display: grid; gap: 4px; }
.cart-heading h1 { font-size: 1.7rem; }
.cart-heading-count { display: inline-block; margin-inline-start: 7px; padding: 4px 9px; border-radius: 4px; background: #e5eee8; color: var(--forest); vertical-align: middle; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.cart-continue { border-color: #cbd4cd; background: white; color: var(--forest); white-space: nowrap; }
.cart-heading-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cart-clear { min-height: 40px; border: 1px solid #e1d9d6; border-radius: 5px; padding: 8px 11px; background: transparent; color: #795f59; font: inherit; font-size: .8rem; cursor: pointer; }
.cart-clear:hover { border-color: #c8a9a2; color: #8b3e32; background: #fff8f5; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(285px, .7fr); gap: 24px; align-items: start; }
.cart-layout[hidden], .cart-heading[hidden], .store-header[hidden] { display: none !important; }
.cart-items { display: grid; gap: 12px; }
.cart-item { min-width: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 15px; border: 1px solid #e0e2dc; border-radius: 7px; background: white; }
.cart-item-image { min-width: 0; aspect-ratio: 1; background: #edf0ea; border-radius: 5px; overflow: hidden; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-content { min-width: 0; display: grid; gap: 12px; }
.cart-item-title { display: flex; justify-content: space-between; gap: 12px; }
.cart-item-title h2 { margin: 2px 0; font-size: 1.02rem; line-height: 1.55; }
.cart-item-title p { margin: 0; color: var(--muted); font-size: .78rem; }
.cart-remove { align-self: start; border: 0; padding: 5px 8px; background: transparent; color: #805c55; font: inherit; font-size: .77rem; }
.cart-remove:hover { color: #a63628; text-decoration: underline; }
.cart-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cart-custom-text, .cart-photo-upload, .cart-line-notes { display: grid; gap: 7px; font-size: .8rem; font-weight: 600; }
.cart-custom-text { grid-template-columns: auto 1fr; align-items: center; }
.cart-custom-text input[type=checkbox] { accent-color: var(--forest); }
.cart-custom-text > input:not([type=checkbox]) { grid-column: 1 / -1; }
.cart-photo-upload b, .checkout-panel b { color: #b63e31; }
.cart-photo-upload input { min-width: 0; width: 100%; font-size: .8rem; }
.cart-photo-upload small { color: var(--muted); font-weight: 400; }
.cart-line-notes textarea { resize: vertical; }
.cart-line-total { padding-top: 10px; border-top: 1px solid #ebede8; color: var(--muted); font-size: .78rem; }
.cart-line-total strong { color: var(--forest); font-size: .9rem; }
.checkout-panel { position: sticky; top: 15px; padding: 18px; border-top: 3px solid var(--forest); background: white; box-shadow: 0 5px 22px rgba(31,49,40,.06); }
.checkout-panel h2 { margin: 0 0 14px; font-size: 1.05rem; }
.checkout-panel form { display: grid; gap: 14px; }
.checkout-panel fieldset { display: grid; gap: 9px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; }
.checkout-panel legend { padding: 0 4px; font-size: .82rem; font-weight: 600; }
.checkout-radio { display: flex; align-items: start; gap: 8px; color: var(--ink); font-size: .79rem; line-height: 1.7; }
.checkout-radio input { margin-top: 5px; accent-color: var(--forest); }
.checkout-total { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .84rem; }
.checkout-total strong { color: var(--forest); font-size: 1.03rem; }
.checkout-submit { width: 100%; }
.cart-error { margin: 0; padding: 10px; border-radius: 4px; color: #922e28; background: #fff0ed; font-size: .82rem; line-height: 1.7; }
.cart-error[hidden] { display: none; }
.cart-empty, .checkout-success { max-width: 620px; margin: 40px auto; padding: 45px 25px; text-align: center; background: white; border-top: 3px solid var(--forest); }
.cart-empty h1, .checkout-success h1 { margin: 9px 0; }
.cart-empty .button { margin-top: 20px; }
.checkout-success[hidden] { display: none !important; }
.checkout-success > * { margin-inline: auto; }
.success-check { display: grid; place-items: center; width: 53px; aspect-ratio: 1; margin-bottom: 16px; border-radius: 50%; background: #e4f1e6; color: #28603c; font-size: 1.5rem; }
.social-order-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin: 20px 0; }
.social-link { padding: 9px 15px; border-radius: 5px; color: white; font-size: .86rem; }
.social-link span { margin-inline-end: 4px; font-size: 1rem; }
.social-link.whatsapp { background: #24784b; }
.social-link.instagram { background: #a84463; }
.social-link.telegram { background: #237a9f; }
.batch-detail-items { display: grid; gap: 15px; margin-top: 18px; }
.batch-detail-item { padding: 15px; border: 1px solid #dfe3dc; border-radius: 6px; }
.batch-detail-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.batch-detail-title span { color: var(--muted); font-size: .76rem; }
.batch-detail-title strong { flex: 1; }
.batch-detail-title b { color: var(--forest); font-size: .9rem; }
.order-product-list { display: grid; gap: 2px; }
.order-item-divider { margin: 8px 0; border-top: 1px dashed #d8ddd5; }
.batch-photo-upload { display: inline-flex; }
.batch-photo-upload input { width: 0; height: 0; opacity: 0; position: absolute; }
@media (max-width: 820px) {
  .detail-layout, .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-info, .checkout-panel { position: static; }
  .detail-design-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .store-header { height: 68px; padding: 0 14px; grid-template-columns: 1fr auto; }
  .store-header .main-nav { display: none; }
  .store-header .header-order { padding: 8px 10px; gap: 6px; font-size: .82rem; }
  .product-detail-page, .cart-page { width: calc(100% - 28px); padding-top: 12px; }
  .detail-layout { gap: 20px; }
  .detail-info h1, .cart-heading h1, .cart-empty h1, .checkout-success h1 { font-size: 1.4rem; }
  .detail-main-image { aspect-ratio: 1 / .95; }
  .detail-design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cart-heading { align-items: stretch; flex-direction: column; }
  .cart-continue { align-self: start; }
  .cart-item { grid-template-columns: 88px minmax(0, 1fr); gap: 11px; padding: 10px; }
  .cart-item-title h2 { font-size: .9rem; }
  .cart-options { gap: 7px; }
  .cart-options label { font-size: .75rem; }
  .cart-options select { padding: 8px 5px; font-size: .75rem; }
  .cart-line-total { align-items: start; flex-direction: column; gap: 3px; }
}
.design-empty { grid-column: 1 / -1; margin: 0; padding: 10px; color: #8d4a32; background: #fff4ec; border-radius: 5px; font-size: .82rem; }
.choice { position: relative; display: flex !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { border: 1px solid #d8d8cf; background: white; border-radius: 6px; padding: 9px 12px; display: grid; line-height: 1.5; }
.choice small { color: var(--muted); font-weight: 400; font-size: .7rem; }
.choice input:checked + span { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); background: #eef4ef; color: var(--forest); }
.price-summary { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; border-block: 1px solid var(--line); padding: 12px 0; color: var(--muted); font-size: .82rem; }
.price-summary strong { color: var(--ink); font-size: .85rem; }
.price-summary #addonLabel { overflow-wrap: anywhere; line-height: 1.7; }
.price-summary .total-label, .price-summary .total-price { padding-top: 7px; border-top: 1px dashed #cfcfc5; font-size: .98rem; }
.price-summary .total-price { color: var(--coral); font-size: 1.1rem; }
.price-note { margin: -4px 0 0; color: var(--muted); font-size: .76rem; }
.submit-order { width: 100%; }
.success-state { text-align: center; padding: 40px 10px 20px; }
.success-state > span { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #e2eee7; color: var(--forest); font-size: 1.7rem; }
.success-state h3 { font-size: 1.45rem; margin: 15px 0 6px; }
.success-state p { color: var(--muted); margin: 0 0 20px; }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.success-actions .button-outline { border: 1px solid #c8d2cb; color: var(--forest); background: white; }
.success-actions .button-outline:hover { background: #eff4ef; }

.chat-launch { position: fixed; z-index: 22; bottom: 20px; right: 20px; border: 0; border-radius: 7px; background: var(--forest); color: white; box-shadow: 0 8px 25px rgba(22,42,33,.28); min-height: 54px; padding: 0 16px; display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: .9rem; }
.chat-launch:hover { background: var(--forest-2); }
.chat-launch svg { width: 24px; height: 24px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: #51d17b; box-shadow: 0 0 0 3px rgba(81,209,123,.2); }
.chat-panel { display: none; position: fixed; z-index: 23; right: 20px; bottom: 82px; width: min(360px,calc(100vw - 28px)); height: min(490px,calc(100dvh - 110px)); grid-template-rows: auto 1fr auto; background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 18px 45px rgba(22,42,33,.2); }
.chat-panel.open { display: grid; }
.chat-panel > header { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--forest); color: white; }
.chat-panel > header div { display: grid; gap: 1px; }
.chat-panel > header small { color: #c9d9cf; font-size: .73rem; }
.chat-panel > header button { border: 0; background: transparent; color: white; font-size: 1.45rem; }
.chat-body { display: flex; flex-direction: column; gap: 9px; padding: 12px; overflow: auto; background: #fbfaf7; }
.chat-msg { max-width: 90%; padding: 9px 11px; border-radius: 7px; line-height: 1.8; font-size: .84rem; white-space: pre-wrap; }
.chat-msg.bot { align-self: flex-start; background: #e9f0eb; }
.chat-msg.user { align-self: flex-end; background: var(--forest); color: white; }
.chat-panel form { display: grid; grid-template-columns: 1fr 42px; gap: 7px; padding: 10px; border-top: 1px solid var(--line); }
.chat-panel input { min-width: 0; border: 1px solid var(--line); padding: 10px; border-radius: 6px; outline: 0; }
.chat-panel form button { border: 0; border-radius: 6px; color: white; background: var(--forest); font-size: 1.2rem; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto auto auto; }
  .main-nav { display: none; position: absolute; top: 72px; left: 12px; right: 12px; z-index: 30; background: white; border: 1px solid var(--line); border-radius: 7px; padding: 14px; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 12px 32px rgba(22,42,33,.15); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px; }
  .menu-toggle { display: block; }
  .header-order { justify-self: end; }
  .header-socials { justify-self: end; }
  .hero { min-height: auto; grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: 55px 36px 64px 22px; }
  .hero-image-wrap { min-height: 510px; }
  .hero-note { margin-top: 35px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .site-header { height: 68px; padding: 0 14px; gap: 10px; }
  .brand-symbol { width: 34px; height: 34px; }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: .67rem; }
  .header-order { padding: 9px 10px; font-size: .8rem; gap: 7px; min-height: 39px; }
  .header-socials { gap: 4px; }
  .social-icon { width: 32px; }
  .menu-toggle { width: 39px; height: 39px; }
  .main-nav { top: 61px; }
  .hero { display: flex; flex-direction: column; }
  .hero-copy { padding: 44px 22px 35px; }
  .hero h1 { font-size: 3rem; margin: 17px 0 12px; }
  .hero-copy > p { font-size: .91rem; }
  .hero-actions { margin-top: 22px; }
  .hero-note { margin-top: 24px; }
  .hero-image-wrap { min-height: 340px; }
  .hero-stamp { width: 65px; height: 65px; top: 18px; left: 18px; font-size: .72rem; }
  .hero-index { display: none; }
  .section-pad { padding: 60px 16px; }
  .section-heading { display: grid; gap: 13px; margin-bottom: 24px; }
  .section-heading h2 { font-size: 2.3rem; }
  .section-heading > p { font-size: .89rem; }
  .product-grid { grid-template-columns: 1fr; gap: 12px; }
  .video-showcase-layout { grid-template-columns: 1fr; gap: 20px; }
  .video-showcase-copy h2 { font-size: 1.7rem; }
  .product-photo { aspect-ratio: 1.42 / 1; }
  .product-content p { min-height: unset; }
  .craft-band { grid-template-columns: 1fr; }
  .craft-image { min-height: 310px; }
  .craft-copy { padding: 35px 22px 44px; }
  .craft-copy h2 { font-size: 2.4rem; }
  .steps { grid-template-columns: 1fr 1fr; gap: 8px; }
  .step { padding: 15px 12px; min-height: 200px; }
  .step h3 { font-size: .91rem; }
  .step p { font-size: .77rem; }
  .contact-band { padding: 42px 20px; grid-template-columns: 1fr; gap: 17px; }
  .contact-band h2 { font-size: 2.2rem; }
  .contact-actions p { font-size: .89rem; }
  .site-footer { padding: 19px 16px 80px; flex-wrap: wrap; }
  .site-footer > p { order: 3; width: 100%; margin: 0; }
  .footer-socials { order: 2; gap: 9px; font-size: .76rem; }
  .footer-brand small { display: none; }
  .modal-backdrop { padding: 0; align-items: end; }
  .order-modal { width: 100%; max-height: 95dvh; border-radius: 10px 10px 0 0; padding: 24px 16px 20px; }
  .modal-intro h2 { font-size: 1.45rem; }
  .form-row { grid-template-columns: 1fr; }
  .choice-row { display: grid; grid-template-columns: 1fr 1fr; }
  .choice span { width: 100%; }
  .chat-launch { bottom: 12px; right: 12px; min-height: 49px; padding: 0 12px; font-size: .84rem; }
  .chat-panel { right: 10px; bottom: 72px; }
}

@media (max-width: 390px) {
  .header-socials { display: none; }
  .site-header { grid-template-columns: 1fr auto auto; }
}
