:root {
  --ivory: #f8f5ee;
  --paper: #fffdf8;
  --sand: #e8dece;
  --olive: #596047;
  --olive-dark: #3f4533;
  --terracotta: #a36f55;
  --charcoal: #292b26;
  --muted: #6c6e65;
  --line: rgba(41,43,38,.14);
  --serif: "Noto Serif Armenian", Georgia, serif;
  --sans: "Noto Sans Armenian", Arial, sans-serif;
  --container: min(1380px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--charcoal); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { display: block; width: auto; height: auto; clip: auto; margin: 8px; padding: 12px 18px; background: white; z-index: 100000; }

.announcement-bar { background: var(--olive-dark); color: #fff; font-size: .76rem; letter-spacing: .02em; }
.announcement-inner { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 48px; }
.announcement-delivery::before { content: "◇"; margin-inline-end: 8px; }
.site-header { position: relative; z-index: 30; background: rgba(255,253,248,.97); border-bottom: 1px solid var(--line); }
.header-grid { height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.primary-navigation ul, .language-switcher { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; gap: 30px; }
.primary-navigation a { font-size: .82rem; position: relative; padding-block: 10px; }
.primary-navigation a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: var(--olive); transition: right .25s ease; }
.primary-navigation a:hover::after, .primary-navigation .current-menu-item a::after { right: 0; }
.site-branding { text-align: center; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; font-family: Georgia, serif; font-size: 1.42rem; letter-spacing: .07em; line-height: 1; white-space: nowrap; }
.wordmark-leaf { color: var(--olive); font-size: 1.1rem; line-height: .7; transform: rotate(-9deg); }
.custom-logo { display: block; width: auto; max-height: 60px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.language-switcher { gap: 5px; font-size: .68rem; text-transform: uppercase; }
.language-switcher li:not(:last-child)::after { content: "/"; margin-inline-start: 5px; opacity: .4; }
.language-switcher .current-lang { font-weight: 700; color: var(--olive); }
.icon-link { position: relative; display: grid; place-items: center; width: 32px; height: 32px; font-size: 1.3rem; }
.viento-cart-count { position: absolute; right: -1px; top: -1px; display: grid; place-items: center; min-width: 16px; height: 16px; padding-inline: 3px; border-radius: 20px; background: var(--olive); color: white; font-size: .58rem; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 24px; height: 1px; margin: 5px 0; background: var(--charcoal); }

.hero { min-height: clamp(610px, 69vw, 820px); position: relative; display: flex; align-items: center; overflow: hidden; background: #efe9dd; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,248,241,.97) 0%, rgba(250,248,241,.82) 24%, rgba(250,248,241,.24) 46%, rgba(250,248,241,0) 67%); }
.hero-content { position: relative; z-index: 2; padding-block: 96px; }
.hero-content h1 { max-width: 640px; margin: 0 0 22px; font: 500 clamp(2.4rem, 4.6vw, 5rem)/1.18 var(--serif); letter-spacing: -.025em; }
.hero-content > p:not(.eyebrow) { max-width: 550px; margin: 0 0 32px; color: #4f514b; font-size: 1.05rem; }
.eyebrow { margin: 0 0 14px; color: var(--olive); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .17em; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border: 1px solid var(--olive-dark); font-size: .86rem; font-weight: 500; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--olive-dark); color: white; }
.button-ghost { background: rgba(255,255,255,.48); }
.button-light { background: #fffdf8; color: var(--charcoal); border-color: #fffdf8; }

.section { padding-block: clamp(76px, 8vw, 130px); }
.section-tight { padding-block: 24px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { position: relative; min-height: 205px; display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 20px; overflow: hidden; background: #ded5c5 center/cover no-repeat; color: white; isolation: isolate; }
.category-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url('../images/viento-hero.webp'); background-size: 250%; transition: transform .5s ease; }
.category-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(29,31,25,.68), rgba(29,31,25,.03) 70%); }
.category-card:hover::before { transform: scale(1.04); }
.category-card span:first-child { font: 500 1rem var(--serif); }
.category-tablecloths::before { background-position: 78% 80%; }
.category-runners::before { background-position: 51% 88%; }
.category-napkins::before { background-position: 95% 52%; }
.category-sets::before { background-position: 68% 30%; }

.section-heading { margin-bottom: 44px; }
.section-heading.centered { text-align: center; }
.section-heading h2, .story-copy h2, .custom-order h2, .page-header h1 { margin: 0; font: 500 clamp(2rem, 3.4vw, 3.45rem)/1.25 var(--serif); letter-spacing: -.02em; }
.products-section { background: var(--ivory); }
.products-section ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 !important; }
.products-section ul.products::before, .products-section ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; background: var(--paper); padding-bottom: 20px; box-shadow: 0 10px 28px rgba(55,52,44,.045); }
.woocommerce ul.products li.product a img { aspect-ratio: 4/5; object-fit: cover; margin: 0 0 17px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 18px !important; font: 500 1rem/1.4 var(--serif); }
.woocommerce ul.products li.product .price { padding-inline: 18px; color: var(--charcoal) !important; font-size: .9rem !important; }
.woocommerce ul.products li.product .button { margin: 10px 18px 0 !important; min-height: 42px; background: transparent !important; color: var(--olive-dark) !important; border: 1px solid var(--line); }
.woocommerce span.onsale { min-width: 0 !important; min-height: 0 !important; line-height: 1 !important; padding: 8px 10px !important; border-radius: 0 !important; background: var(--olive) !important; top: 10px !important; left: 10px !important; }
.demo-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.demo-product-card { background: var(--paper); padding-bottom: 18px; }
.demo-product-card h3, .demo-product-card p { margin: 14px 18px 0; }
.demo-product-card h3 { font: 500 1rem var(--serif); }
.demo-product-card p { margin-top: 4px; color: var(--muted); font-size: .8rem; }
.demo-product-image { aspect-ratio: 4/5; background: url('../images/viento-hero.webp') center/cover; }
.demo-1 { background-position: 70% center; }.demo-2 { background-position: 90% center; }.demo-3 { background-position: 54% center; }.demo-4 { background-position: 78% center; }
.section-link { text-align: center; margin: 36px 0 0; }
.section-link a, .text-link { display: inline-block; border-bottom: 1px solid currentColor; font-size: .86rem; }

.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 480px; }
.story-image { min-height: 420px; background: url('../images/viento-hero.webp') center/cover; }
.fabric-image { background-position: 80% center; }
.craft-image { background-position: 52% center; }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 5vw, 76px); background: #f2ece1; }
.story-copy h2 { font-size: clamp(1.8rem, 2.5vw, 2.75rem); }
.story-copy p { color: var(--muted); }
.olive-copy { background: var(--olive); color: white; }
.olive-copy p { color: rgba(255,255,255,.8); }
.feature-list { padding: 0; margin: 20px 0 0; list-style: none; color: var(--olive-dark); font-size: .82rem; }
.feature-list li { border-top: 1px solid var(--line); padding-block: 9px; }

.custom-order { position: relative; color: white; background: var(--olive-dark); overflow: hidden; }
.custom-order::after { content: ""; position: absolute; inset: 0 0 0 52%; opacity: .3; background: url('../images/viento-hero.webp') 76% center/cover; }
.custom-order-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 700px) auto; justify-content: space-between; align-items: end; gap: 48px; }
.custom-order h2 { max-width: 700px; }
.custom-order p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.77); }
.custom-order .eyebrow { color: #d9d3c2; }

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 8vw, 120px); }
.faq-list details { border-top: 1px solid var(--line); padding-block: 20px; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; font: 500 1.08rem/1.5 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: inline-end; color: var(--olive); font-family: var(--sans); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 720px; margin: 12px 0 0; color: var(--muted); }

.site-footer { padding-top: 70px; background: #f1ece2; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr .7fr; gap: 40px; }
.footer-brand p { max-width: 300px; margin-top: 18px; color: var(--muted); font-size: .82rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 7px; }
.footer-nav a, .footer-contact, .footer-social { font-size: .8rem; }
.footer-contact { display: flex; flex-direction: column; font-style: normal; gap: 8px; }
.footer-social h2 { margin: 0 0 12px; font: 500 1rem var(--serif); }
.footer-social a { display: block; margin-bottom: 7px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; }

.content-main, .shop-main { padding-block: clamp(60px, 8vw, 120px); }
.narrow-content { max-width: 900px; }
.page-header { margin-bottom: 44px; }
.page-hero { margin: 0 0 48px; }
.page-hero img { width: 100%; max-height: 680px; object-fit: cover; }
.entry-content { font-size: 1.04rem; }
.entry-content > * { max-width: 820px; }
.entry-content > .alignwide { max-width: 1180px; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2, .entry-content h3 { font-family: var(--serif); line-height: 1.3; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card h2 { font: 500 1.35rem var(--serif); }
.post-card img { aspect-ratio: 4/3; object-fit: cover; }

.woocommerce .woocommerce-breadcrumb { color: var(--muted); font-size: .75rem; }
.woocommerce div.product .product_title { font-family: var(--serif); font-weight: 500; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--olive-dark); }
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce .checkout-button { background: var(--olive-dark) !important; border-radius: 0 !important; }
.woocommerce input, .woocommerce textarea, .woocommerce select { min-height: 46px; border: 1px solid var(--line); padding: 10px; background: white; }

@media (max-width: 1050px) {
  :root { --container: min(100% - 40px, 960px); }
  .primary-navigation { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 24px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { flex-direction: column; align-items: flex-start; gap: 8px; }
  .menu-toggle { display: block; justify-self: start; }
  .header-grid { grid-template-columns: 1fr auto 1fr; }
  .category-grid, .products-section ul.products, .demo-product-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  :root { --container: calc(100% - 32px); }
  .announcement-inner { min-height: 38px; text-align: center; font-size: .67rem; }
  .announcement-delivery { display: none; }
  .header-grid { height: 72px; gap: 8px; }
  .wordmark { font-size: 1.04rem; }
  .language-switcher { display: none; }
  .header-actions { gap: 3px; }
  .hero { min-height: 680px; align-items: end; }
  .hero-image { object-position: 66% center; }
  .hero-wash { background: linear-gradient(0deg, rgba(250,248,241,.98) 0%, rgba(250,248,241,.89) 36%, rgba(250,248,241,.16) 72%); }
  .hero-content { padding-block: 44px; }
  .hero-content h1 { font-size: clamp(2.15rem, 10vw, 3.25rem); }
  .button { width: 100%; }
  .category-grid { gap: 10px; }
  .category-card { min-height: 160px; padding: 14px; }
  .products-section ul.products, .demo-product-grid { gap: 10px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-image { min-height: 320px; }
  .story-grid .craft-image { order: 3; }
  .story-grid .olive-copy { order: 4; }
  .custom-order::after { inset: 50% 0 0; }
  .custom-order-inner, .faq-layout { grid-template-columns: 1fr; }
  .custom-order-inner { align-items: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .post-grid { grid-template-columns: 1fr; }
}
