/* QarzenTech – önizleme teması
   Renkler (müşteri paleti):
   --navy   #285A85  menü, üst navigasyon, kurumsal alanlar
   --white  #FFFFFF  ana zemin, ürün kartları, içerik alanları
   --yellow #FFB800  Shop Now, Sign In ve alışveriş aksiyonları
   --logo-red yalnızca logodaki "Q" için */
:root {
  --navy: #285A85;
  --navy-dark: #1D4466;
  --navy-deep: #16344F;
  --navy-tint: #EAF0F6;
  --white: #FFFFFF;
  --yellow: #FFB800;
  --yellow-dark: #E6A600;
  --logo-red: #A60000;
  --ink: #1F2A33;
  --muted: #5E6B76;
  --line: #E3E8ED;
  --bg-soft: #F6F8FA;
  --radius: 12px;
  --wrap: 1280px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--sans); padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.btn--yellow { background: var(--yellow); color: #1B1B1B; }
.btn--yellow:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--ink); padding-bottom: 6px; border-bottom: 2px solid var(--yellow); white-space: nowrap; }
.arrow-link span { font-size: 16px; transition: transform .2s; }
.arrow-link:hover span { transform: translate(2px, -2px); }
.eyebrow { font: 600 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: #E7EEF5; font-size: 12.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar__contact { display: flex; gap: 24px; }
.topbar a:hover { color: var(--yellow); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: inline-flex; flex-direction: column; line-height: 1; color: #222; }
.logo__word { font: 600 34px/1 var(--sans); letter-spacing: -.01em; }
.logo__q { color: var(--logo-red); }
.logo__rule { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.logo__rule i { height: 2px; background: var(--logo-red); border-radius: 2px; flex: 1; }
.logo__rule i:last-child { flex: 0 0 18%; }
.logo__rule b { font: 600 8px/1 var(--sans); letter-spacing: .3em; color: #333; }
.logo--light { color: var(--white); }
.logo--light .logo__q { color: #FF4D4D; }
.logo--light .logo__rule i { background: #FF4D4D; }
.logo--light .logo__rule b { color: #DDE6EE; }

.site-search { display: flex; align-items: center; max-width: 640px; width: 100%; justify-self: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 22px; transition: border-color .2s, box-shadow .2s; }
.site-search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(40, 90, 133, .15); background: var(--white); }
.site-search input { flex: 1; border: 0; background: transparent; font: 400 15px var(--sans); color: var(--ink); outline: none; min-width: 0; padding: 10px 0; }
.site-search button { width: 46px; height: 40px; border-radius: 999px; border: 0; background: var(--navy); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.site-search button:hover { background: var(--navy-dark); }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; }
.header__link:hover { color: var(--navy); }
.hcart { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--navy); }
.hcart:hover { background: var(--navy-tint); }
.hcart__count { position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--yellow); color: #1B1B1B; font: 700 11px/18px var(--sans); text-align: center; }
.burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 10px 8px; }
.burger span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Navigation ---------- */
.nav { background: var(--navy); }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.nav__list > li { position: relative; }
.nav__list > li > a { display: flex; align-items: center; gap: 6px; padding: 15px 4px; color: var(--white); font: 600 13.5px/1 var(--sans); white-space: nowrap; }
.nav__list > li > a:hover, .nav__list > li:focus-within > a { color: var(--yellow); }
.nav__caret { font-size: 9px; opacity: .8; }
.dropdown { position: absolute; top: 100%; left: -16px; min-width: 260px; background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 18px 40px rgba(22, 52, 79, .18); padding: 12px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 60; }
.nav__list > li:hover .dropdown, .nav__list > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__list > li:last-child .dropdown { left: auto; right: -16px; }
.dropdown a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 22px; font-size: 14px; }
.dropdown a small { color: var(--muted); font-size: 12px; }
.dropdown a:hover { background: var(--navy-tint); color: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__slides { position: relative; height: 620px; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; background: var(--img) center / cover no-repeat; opacity: 0; transition: opacity .8s ease; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 45% 40% at 92% 12%, rgba(22, 52, 79, .62), rgba(22, 52, 79, 0) 100%), linear-gradient(90deg, rgba(22, 52, 79, .25), rgba(22, 52, 79, 0) 55%); }
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.hero__card { width: 440px; background: rgba(255, 255, 255, .96); padding: 48px 46px 44px; box-shadow: 0 24px 60px rgba(22, 52, 79, .18); }
.hero__card .eyebrow::after { content: ""; display: block; width: 38px; height: 2px; background: var(--yellow); margin-top: 14px; }
.hero__brand { margin-top: 26px; font: 600 15px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.hero__title { margin-top: 12px; font: 500 52px/1.04 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.hero__text { margin-top: 18px; color: var(--muted); font-size: 16px; }
.hero__cta { display: flex; align-items: center; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.hero__caption { align-self: flex-start; margin-top: 64px; text-align: right; color: var(--white); font: 500 26px/1.2 var(--serif); text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero__caption small { display: block; margin-top: 10px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button { width: 34px; height: 4px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .55); cursor: pointer; padding: 0; }
.hero__dots button.is-active { background: var(--yellow); }

/* ---------- Section heads ---------- */
.collections, .journal { padding: 84px 0; }
.journal { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 30px; }
.section-title { margin-top: 12px; font: 500 54px/1.05 var(--serif); letter-spacing: -.025em; color: var(--ink); }
.section-sub { margin-top: 12px; color: var(--muted); max-width: 640px; }

/* ---------- Brand chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.chip { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 16px; font: 500 13.5px/1 var(--sans); color: var(--ink); cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Category groups ---------- */
.group { margin-top: 64px; }
.group:first-child { margin-top: 0; }
.group__head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.group__head h3 { font: 600 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.group__head::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Brand section ---------- */
.collections .brand { margin-bottom: 44px; }
.brand__banner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 230px; border-radius: var(--radius); overflow: hidden; background: var(--img) center / cover no-repeat; color: var(--white); isolation: isolate; }
.brand__banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(22, 52, 79, .88), rgba(40, 90, 133, .62)); }
.brand__name { font: 600 clamp(34px, 5vw, 64px)/1 var(--sans); letter-spacing: .01em; text-align: center; }
.brand__label { position: absolute; left: 26px; top: 22px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #D6E2EE; }
.brand__shop { position: absolute; right: 22px; bottom: 20px; }
.brand__shop .btn { padding: 10px 18px; font-size: 13px; }

.qz-products { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 16px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 34px rgba(22, 52, 79, .12); transform: translateY(-2px); }
.card__img { aspect-ratio: 1 / 1; background: var(--white); display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__img.is-missing::after { content: attr(data-brand); font: 600 13px var(--sans); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; flex: 1; }
.card__brand { font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.card__name { font: 600 14.5px/1.35 var(--sans); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; }
.card__price { font-size: 13px; color: var(--muted); }
.card__more { font-weight: 600; font-size: 12.5px; color: var(--navy); white-space: nowrap; }
.card__more:hover { text-decoration: underline; }
.search-empty { padding: 40px 0; color: var(--muted); }

/* ---------- Journal ---------- */
.journal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.story__img { aspect-ratio: 16 / 10; background: var(--img) center / cover no-repeat; }
.story__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.story h3 { font: 600 21px/1.25 var(--sans); }
.story p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.story .arrow-link { margin-top: auto; align-self: flex-start; padding-top: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #C9D6E2; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 52px; }
.footer__brand p { margin-top: 18px; font-size: 14.5px; max-width: 340px; }
.footer address { margin-top: 18px; font-style: normal; font-size: 14px; line-height: 1.8; }
.footer address strong { color: var(--white); letter-spacing: .04em; }
.footer h4 { color: var(--white); font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer a:hover { color: var(--yellow); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .qz-products { gap: 12px; }
  .nav__list > li > a { font-size: 12.5px; gap: 4px; padding-left: 2px; padding-right: 2px; }
  .nav__caret { display: none; }
}
@media (max-width: 980px) {
  .header__inner { grid-template-columns: auto auto; gap: 14px 20px; }
  .site-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .header__link span, .topbar__right { display: none; }
  .burger { display: block; }
  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; padding: 8px 0 14px; }
  .nav__list > li > a { padding: 12px 0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 6px 14px; display: none; }
  .nav__list > li.is-open .dropdown { display: block; }
  .dropdown a { color: #DDE6EE; padding: 7px 0; }
  .dropdown a small { color: #A9BCCD; }
  .dropdown a:hover { background: transparent; color: var(--yellow); }
  .hero__slides { height: auto; min-height: 640px; }
  .hero__inner { flex-direction: column; justify-content: flex-end; align-items: stretch; padding-top: 28px; padding-bottom: 64px; min-height: 640px; }
  .hero__caption { order: -1; align-self: flex-end; margin: 0 0 auto; font-size: 20px; }
  .hero__card { width: 100%; padding: 32px 28px; }
  .hero__title { font-size: 40px; }
  .section-title { font-size: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .qz-products { grid-template-columns: repeat(3, 1fr); }
  .nav__caret { display: inline; }
  .journal__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar__inner { justify-content: center; min-height: 32px; }
  .topbar__inner > span:first-child { display: none; }
  .topbar__contact { gap: 16px; font-size: 12px; }
  .logo__word { font-size: 27px; }
  .header__actions { gap: 10px; }
  .header__link { display: none; }
  .btn--sm { padding: 9px 14px; font-size: 13px; }
  .hero__title { font-size: 34px; }
  .section-title { font-size: 34px; }
  .collections, .journal { padding: 56px 0; }
  .brand__banner { min-height: 170px; }
  .brand__shop { right: 14px; bottom: 14px; }
  .qz-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card__img { padding: 12px; }
  .card__body { padding: 12px; }
  .card__foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .journal__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom-inner { flex-direction: column; }
}

/* ---------- WordPress pages & WooCommerce ---------- */
.custom-logo-link img { max-height: 64px; width: auto; }
.page-main, .wc-main { padding: 56px 0 84px; min-height: 50vh; }
.page-title { margin: 0 0 28px; font-size: 44px; }
.page-content > * + * { margin-top: 1em; }
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--navy); }
.woocommerce .page-title, .woocommerce-products-header__title { font: 500 44px/1.1 var(--serif); margin: 0 0 20px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 24px 0 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.woocommerce ul.products li.product:hover { box-shadow: 0 14px 34px rgba(22, 52, 79, .12); transform: translateY(-2px); }
.woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; object-fit: contain; margin: 0 0 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 600 14.5px/1.35 var(--sans) !important; color: var(--ink); padding: 0 0 6px !important; }
.woocommerce ul.products li.product .price { color: var(--navy) !important; font: 600 16px var(--sans) !important; margin-top: auto; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--yellow) !important; color: #1B1B1B !important; border-radius: 999px !important; font: 600 14px/1 var(--sans) !important; padding: 12px 20px !important; border: 0 !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--yellow-dark) !important; }
.woocommerce div.product .product_title { font: 500 40px/1.1 var(--serif); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--navy); font: 600 24px var(--sans); }
.woocommerce span.onsale { background: var(--yellow); color: #1B1B1B; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--navy) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--navy) !important; }
.woocommerce .woocommerce-ordering select, .woocommerce input.input-text, .woocommerce select { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: 400 15px var(--sans); }
@media (max-width: 980px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; } .page-title, .woocommerce div.product .product_title { font-size: 32px; } }

/* ---------- Front-page cards wired to WooCommerce ---------- */
.btn--xs { padding: 8px 14px; font-size: 12.5px; white-space: nowrap; }
.card__name a:hover { color: var(--navy); }
.card__price .amount, .card__price ins { font-weight: 700; color: var(--navy); font-size: 15px; text-decoration: none; }
.card__price del { color: var(--muted); font-size: 12px; margin-right: 4px; }
.card__foot .added_to_cart { display: none; }
.card__foot .add_to_cart_button.loading { opacity: .6; }
.card__foot .add_to_cart_button.added::after { content: " ✓"; }

/* ---------- v0.6: links, single product, cart/checkout blocks, forms, journal ---------- */
.group__all { order: 3; font-weight: 600; font-size: 13px; color: var(--navy); white-space: nowrap; }
.group__all:hover { text-decoration: underline; }
.story h3 a:hover { color: var(--navy); }
a.story__img { display: block; }

/* Single product */
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .button { float: none; white-space: nowrap; padding: 14px 28px !important; font-size: 15px !important; }
.woocommerce .quantity .qty { width: 72px; height: 46px; border: 1px solid var(--line); border-radius: 999px; text-align: center; font: 500 15px var(--sans); }
.woocommerce div.product .product_meta { clear: both; display: grid; gap: 4px; font-size: 13.5px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.woocommerce div.product .product_meta a { color: var(--navy); }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); margin-top: 10px; }
.woocommerce div.product div.images img { background: var(--white); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--white); }
.woocommerce div.product .woocommerce-tabs .panel h2 { font: 600 20px var(--sans); margin-bottom: 10px; }
.quote-cta { margin: 22px 0; }
.price-on-request { color: var(--muted); font-weight: 600; font-size: 15px; }
.woocommerce ul.products li.product .price .price-on-request { font-size: 14px; }
.woocommerce .related.products > h2 { font: 500 30px/1.1 var(--serif); margin: 48px 0 6px; }

/* Cart & checkout (WooCommerce blocks) – shopping actions in yellow */
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wc-block-components-button.contained, .wp-element-button.wc-block-components-button:not(.is-link) { background: var(--yellow) !important; color: #1B1B1B !important; border: 0 !important; border-radius: 999px !important; font: 600 15px/1 var(--sans) !important; }
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover, .wc-block-components-button.contained:hover { background: var(--yellow-dark) !important; }
.wc-block-components-product-name { color: var(--ink); font-weight: 600; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { margin-top: 8px; }

/* Contact Form 7 */
.wpcf7 { max-width: 760px; margin-top: 8px; }
.wpcf7 form > p, .wpcf7 .qz-form-row > p { margin: 0 0 16px; }
.wpcf7 .qz-form-row > p { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wpcf7 label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); }
.wpcf7 br { display: none; }
.wpcf7 form > p > label + label { margin-top: 16px; }
.wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: 400 15px var(--sans); color: var(--ink); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.wpcf7 textarea { min-height: 170px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(40, 90, 133, .15); }
.wpcf7 .qz-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.wpcf7 .qz-consent input { margin-top: 4px; }
.wpcf7 .qz-consent a { color: var(--navy); text-decoration: underline; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7-submit { background: var(--yellow); color: #1B1B1B; border: 0; border-radius: 999px; padding: 14px 30px; font: 600 15px/1 var(--sans); cursor: pointer; }
.wpcf7-submit:hover { background: var(--yellow-dark); }
.wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; }
.wpcf7-not-valid-tip { font-size: 13px; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 8px; }
.page-content h2, .page-content h3 { font: 600 22px/1.3 var(--sans); margin-top: 1.6em; }
.page-content a:not(.wp-block-button__link):not(.wp-element-button):not(.btn):not(.button) { color: var(--navy); }
.page-content .wp-block-button__link, .page-content a.wp-element-button, .wc-block-grid__product-add-to-cart .wp-block-button__link { background: var(--yellow) !important; color: #1B1B1B !important; border-radius: 999px !important; font: 600 14px/1 var(--sans) !important; padding: 12px 22px !important; border: 0 !important; text-decoration: none !important; }
.page-content .wp-block-button__link:hover, .wc-block-grid__product-add-to-cart .wp-block-button__link:hover { background: var(--yellow-dark) !important; }
.wc-block-grid__product-title { color: var(--ink); font: 600 14.5px/1.35 var(--sans); }
.wc-block-grid__product-price { color: var(--navy); font-weight: 600; }
.wc-block-grid__product-image img { aspect-ratio: 1 / 1; object-fit: contain; }
.wc-block-cart__empty-cart__title, .page-content h2.has-text-align-center { font: 500 30px/1.2 var(--serif); margin: 10px 0 18px; }
.page-content ul, .page-content ol { padding-left: 1.3em; }

/* Journal posts */
.wrap--narrow { max-width: 820px; }
.post-title { margin-bottom: 10px; }
.post-meta { color: var(--muted); font-size: 14px; }
.post-single .eyebrow a:hover { text-decoration: underline; }
.post-hero { margin: 34px 0 10px; aspect-ratio: 21 / 9; border-radius: var(--radius); background: var(--img) center / cover no-repeat; }
.entry { margin-top: 30px; font: 400 18px/1.7 var(--serif); color: #26323B; }
.entry > * + * { margin-top: 1em; }
.entry h2 { font: 600 24px/1.3 var(--sans); color: var(--ink); margin-top: 1.8em; }
.entry h3 { font: 600 19px/1.35 var(--sans); color: var(--ink); margin-top: 1.5em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .4em; }
.entry a { color: var(--navy); text-decoration: underline; }
.post-cta { margin-top: 48px; padding: 28px; border-radius: var(--radius); background: var(--navy-tint); }
.post-cta a:not(.btn):not(.arrow-link) { color: var(--navy); font-weight: 600; }
.post-cta__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 18px; }
.journal-archive .journal__grid { margin-top: 10px; }
.pagination { margin-top: 36px; }
@media (max-width: 640px) {
  .wpcf7 .qz-form-row > p { grid-template-columns: 1fr; }
  .entry { font-size: 17px; }
  .post-hero { aspect-ratio: 16 / 10; }
  .group__all { display: none; }
}

/* ---------- v0.7: category sections with mixed brands, search results, logo ---------- */
[hidden] { display: none !important; }
.cat { margin-bottom: 64px; }
.cat:last-child { margin-bottom: 0; }
.cat__brands { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 2px; font-size: 13px; }
.cat__brands > span { font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.cat__brands a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 500; color: var(--ink); transition: .15s; }
.cat__brands a:hover { border-color: var(--navy); color: var(--navy); }
.cat__brands a.cat__all { margin-left: auto; border: 0; padding: 6px 0; font-weight: 600; color: var(--navy); }
.cat__brands a.cat__all:hover { text-decoration: underline; }
a.card__brand:hover { text-decoration: underline; }
.dropdown a.dropdown__all { font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 11px; }
.search-results__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 0 6px; }
.search-results__head p { color: var(--muted); }
.search-results__head strong { color: var(--ink); }
.search-results__clear { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 14px; font: 500 13px var(--sans); cursor: pointer; }
.search-results__clear:hover { border-color: var(--navy); color: var(--navy); }
.search-empty a { color: var(--navy); font-weight: 600; }
.logo-plate { display: inline-flex; background: var(--white); padding: 12px 18px; border-radius: 10px; }
.logo-plate img { max-height: 46px; width: auto; }
@media (max-width: 980px) {
  .dropdown a.dropdown__all { color: var(--yellow); border-bottom-color: rgba(255, 255, 255, .15); }
}
@media (max-width: 640px) {
  .cat__brands a.cat__all { margin-left: 0; }
  .cat { margin-bottom: 48px; }
}

/* ---------- v0.8: sign in / create an account / my account ---------- */
.woocommerce #customer_login.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.woocommerce #customer_login.col2-set::before, .woocommerce #customer_login.col2-set::after { display: none; }
.woocommerce #customer_login .col-1, .woocommerce #customer_login .col-2 { float: none; width: auto; max-width: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 26px; background: var(--white); }
.woocommerce #customer_login .col-2 { background: var(--navy-tint); border-color: transparent; }
.woocommerce #customer_login h2 { font: 500 30px/1.15 var(--serif); margin: 0 0 6px; }
.woocommerce #customer_login form.login, .woocommerce #customer_login form.register { border: 0; padding: 0; margin: 0; border-radius: 0; }
.account-intro { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; }
.woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
.woocommerce form .form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.woocommerce form .form-row .required { color: var(--logo-red); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font: 400 15px var(--sans); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.woocommerce form .form-row input.input-text:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(40, 90, 133, .15); }
.woocommerce form .password-input { display: block; position: relative; }
.woocommerce form .show-password-input { top: 12px; right: 12px; }
.woocommerce form.login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.woocommerce form.login .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; order: 2; }
.woocommerce #customer_login .button { min-width: 160px; justify-content: center; }
.woocommerce form.register .button { width: 100%; margin-top: 4px; }
.woocommerce .lost_password { margin: 8px 0 0; font-size: 14px; }
.woocommerce .lost_password a, .woocommerce-privacy-policy-text a { color: var(--navy); text-decoration: underline; }
.woocommerce-privacy-policy-text p { font-size: 13px; color: var(--muted); margin: 4px 0 16px; }
.woocommerce form.lost_reset_password { max-width: 520px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
/* Logged-in account area */
.woocommerce-account .page-content > .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.woocommerce-account .page-content > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .page-content > .woocommerce::before, .woocommerce-account .page-content > .woocommerce::after { display: none; }
.woocommerce-account:not(.logged-in) .page-content > .woocommerce { display: block; }
.woocommerce-MyAccount-navigation { float: none !important; width: auto !important; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: 8px; font-weight: 500; color: var(--ink) !important; text-decoration: none !important; }
.woocommerce-MyAccount-navigation li a:hover { background: var(--navy-tint); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--navy); color: var(--white) !important; }
.woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.woocommerce-MyAccount-content a { color: var(--navy); }
@media (max-width: 860px) {
  .woocommerce #customer_login.col2-set { grid-template-columns: 1fr; }
  .woocommerce-account .page-content > .woocommerce { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .woocommerce #customer_login .col-1, .woocommerce #customer_login .col-2 { padding: 22px 18px; }
}

/* ---------- v0.9: ratings ---------- */
.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; }
.stars { --r: 0; display: inline-block; font-size: 14px; line-height: 1; letter-spacing: 2px; background: linear-gradient(90deg, var(--yellow) calc(var(--r) / 5 * 100%), #D5DBE1 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars::before { content: "★★★★★"; }
.card__rating { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.card__rating:hover span:last-child { text-decoration: underline; }
.woocommerce .star-rating { color: var(--yellow); }
.woocommerce .star-rating::before { color: #D5DBE1; opacity: 1; }
.woocommerce p.stars a { color: var(--yellow); }
.woocommerce .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; }
.woocommerce .woocommerce-product-rating .star-rating { margin: 0; }
.woocommerce .woocommerce-review-link { color: var(--navy); font-size: 14px; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-color: var(--line); border-radius: var(--radius); }
.woocommerce #reviews .woocommerce-review__verified { color: #2E7D32; font-weight: 600; font-style: normal; }
.woocommerce-verification-required { padding: 14px 16px; border-radius: 8px; background: var(--navy-tint); }
.woocommerce-verification-required a { color: var(--navy); font-weight: 600; }
/* Rate your purchases (My account) */
.rate__intro { color: var(--muted); margin-bottom: 18px; }
.rate__empty { padding: 18px; border-radius: var(--radius); background: var(--navy-tint); }
.rate__empty a { color: var(--navy); font-weight: 600; }
.rate__item { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; align-items: start; }
.rate__img img { width: 96px; height: 96px; object-fit: contain; }
.rate__name { font: 600 16px/1.35 var(--sans); margin: 0 0 10px; }
.rate__name a { color: var(--ink) !important; }
.rate__form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rate__stars { border: 0; margin: 0; padding: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate__stars label { font-size: 30px; line-height: 1; color: #D5DBE1; cursor: pointer; padding: 0 2px; transition: color .1s; }
.rate__stars input:checked ~ label, .rate__stars:hover label:hover, .rate__stars:hover label:hover ~ label { color: var(--yellow); }
.rate__stars:hover input:checked ~ label:not(:hover):not(:hover ~ label) { color: #D5DBE1; }
.rate__stars input:focus-visible + label { outline: 2px solid var(--navy); border-radius: 4px; }
.rate__form textarea { flex: 1 1 100%; min-height: 64px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: 400 15px var(--sans); resize: vertical; }
.rate__done { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.rate__done .stars { font-size: 18px; }
@media (max-width: 640px) { .rate__item { grid-template-columns: 64px 1fr; gap: 12px; padding: 14px; } .rate__img img { width: 64px; height: 64px; } }

/* ---------- v0.10: product photos on one scale, rows of one product type ---------- */
/* Photos are square with the product centred at the same size, so the frame needs almost no padding. */
.card__img { padding: 6px; }
.card__img img { image-rendering: auto; }
.rail { margin-top: 26px; }
.rail__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rail__title { font: 600 15px/1.3 var(--sans); color: var(--ink); letter-spacing: .01em; }
.rail__link { font: 600 13px/1.3 var(--sans); color: var(--navy); white-space: nowrap; }
.rail__link:hover { text-decoration: underline; }
.rail .qz-products { margin-top: 12px; }
.cat__more { display: block; margin: 26px auto 0; border: 1px solid var(--line); background: var(--white); color: var(--navy); border-radius: 999px; padding: 11px 22px; font: 600 14px var(--sans); cursor: pointer; transition: .15s; }
.cat__more:hover { border-color: var(--navy); background: var(--navy-tint); }
/* Four-digit prices leave no room for the button on narrow cards: stack price and button there. */
.card__foot { flex-wrap: wrap; row-gap: 8px; }
@media (max-width: 1180px) {
  .card__img { padding: 4px; }
  .card__foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 980px) {
  /* Each row scrolls sideways instead of wrapping, so a row never mixes product types. */
  .rail .qz-products { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3.25); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 2px 2px 10px; margin-left: -2px; margin-right: -2px; scrollbar-width: thin; }
  .rail .card { scroll-snap-align: start; }
  .rail .card:hover { transform: none; }
}
@media (max-width: 640px) {
  .rail .qz-products { grid-auto-columns: 46%; gap: 10px; }
  .rail { margin-top: 20px; }
  .rail__title { font-size: 14px; }
  .rail__link { font-size: 12px; }
}

/* ---------- v0.11: new logo ---------- */
/* Keep the logo's proportions when the header cell is narrower than the logo (phones). */
.custom-logo-link img { height: auto; max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 640px) {
  .header__inner > .custom-logo-link { min-width: 0; }
}
