/* =============================================================================
   Crocurry redesign - "The Arch" design system
   Loaded once, sitewide, after all other stylesheets so it can win the cascade
   against the legacy Bootstrap/MDB CSS and inline style="" attributes without
   editing every template (hence the !important - deliberate, for a reskin).
   ========================================================================== */

:root {
  --cro-ink:        #2B2620;
  --cro-ink-soft:   #6B6255;
  --cro-cream:      #FAF6EE;
  --cro-cream-deep: #F1E9D8;
  --cro-border:     #E4D9C3;
  --cro-gold:       #8A5F14;
  --cro-gold-dark:  #6F4C10;
  --cro-charcoal:   #24211D;
  --cro-success:    #3E7A4F;
  --cro-radius:     16px;
  --cro-shadow:     0 10px 28px rgba(43,38,32,.10);
  --cro-shadow-lg:  0 24px 60px rgba(20,17,13,.16);
  --font-display:   'Fraunces', Georgia, serif;
  --font-body:      'Work Sans', 'Poppins', -apple-system, sans-serif;
}

body { background: var(--cro-cream) !important; color: var(--cro-ink) !important; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6, .zavoly-title, .cat-heading {
  font-family: var(--font-display) !important;
  color: var(--cro-ink) !important;
  font-weight: 500 !important;
}
.zavoly-title {
  display: block !important;
  text-align: center !important;
  font-size: 2rem !important;
  margin: 0 auto 2.4rem !important;
  padding-bottom: 0 !important;
  position: relative;
}
.zavoly-title::before {
  content: attr(data-kicker);
  display: block;
  font-family: var(--font-body) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cro-gold);
  margin-bottom: 10px;
}
@media (max-width: 767px) {
  .zavoly-title { font-size: 1.5rem !important; margin-bottom: 1.6rem !important; }
}
a { color: var(--cro-gold); }
a:hover { color: var(--cro-gold-dark); }

/* ---------- Buttons ---------- */
.btn-warning, button[onclick*="addToCartFn"], input[value="ADD TO CART" i] {
  background: var(--cro-gold) !important;
  border-color: var(--cro-gold) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0.4px;
  border-radius: 999px !important;
  transition: background .2s, transform .15s;
}
.btn-warning:hover, button[onclick*="addToCartFn"]:hover {
  background: var(--cro-gold-dark) !important;
  border-color: var(--cro-gold-dark) !important;
}
.btn-dark, .btn.btn-default { border-radius: 999px !important; }

.cro-btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .4px;
  color: var(--cro-ink) !important; background: transparent;
  padding: 13px 28px; border-radius: 999px; border: 1px solid rgba(43,38,32,.35);
  transition: border-color .2s;
}
.cro-btn-ghost:hover { border-color: var(--cro-ink); }

.cro-textlink {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--cro-ink) !important; display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.cro-textlink:hover { color: var(--cro-gold) !important; }

/* ---------- Section rhythm ---------- */
.container { max-width: 1260px; }

/* ---------- Kicker helper (for sections not using .zavoly-title) ---------- */
.cro-kicker {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; color: var(--cro-gold);
}

/* ---------- Product cards / grids ---------- */
.prodImage {
  border: 1px solid var(--cro-border) !important;
  border-radius: var(--cro-radius) !important;
  box-shadow: none !important;
  transition: transform .3s ease;
  background: #fff !important;
}
a:hover > .prodImage, .card:hover .prodImage { transform: translateY(-3px); }
.card { border: 1px solid var(--cro-border) !important; border-radius: var(--cro-radius) !important; box-shadow: none !important; overflow: hidden; }
.card:hover { box-shadow: var(--cro-shadow) !important; }
.square-img-container { border: 1px solid var(--cro-border); background: #fff !important; border-radius: 14px; overflow: hidden; }
.square-img-container img { transition: transform .5s ease; }
.square-img-container:hover img { transform: scale(1.05); }
.percentage-circle { background: var(--cro-success) !important; color: #fff !important; border-radius: 999px; padding: 2px 8px; font-weight: 600; }

/* Two-line clamp for product/card titles so mixed name lengths line up */
.cro-clamp2 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.7em; line-height: 1.35;
}

/* ---------- Header ---------- */
header.header { background: var(--cro-cream) !important; box-shadow: none !important; border-bottom: 1px solid var(--cro-border) !important; }
.linkMenu { font-family: var(--font-body) !important; font-size: 16px !important; font-weight: 500 !important; color: var(--cro-ink) !important; }
.linkMenu:hover { color: var(--cro-gold) !important; }
#custom-search-input input.search-query {
  border: 1px solid var(--cro-border) !important; border-radius: 999px !important;
  background: #fff !important; font-family: var(--font-body) !important;
}
#custom-search-input #search_btn { background: var(--cro-gold) !important; border-radius: 0 999px 999px 0 !important; }

/* ---------- Announcement bar (top strip) ---------- */
.cro-announce {
  background: var(--cro-charcoal); padding: 9px 24px; text-align: center;
  font-family: var(--font-body); font-size: 12.5px; letter-spacing: .3px; color: #D9CFBA;
}
.cro-announce strong { color: #F3EAD6; font-weight: 500; }
.cro-announce a { color: #E7C77F !important; }

/* ---------- Hero: show client banners whole, never crop, never overlay text --- */
.cro-hero-frame {
  position: relative; width: 100%; border-radius: 22px; overflow: hidden;
  background: var(--cro-cream-deep);
}
.cro-hero-frame .cro-hero-bg {
  position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px);
  object-fit: cover; filter: blur(30px) saturate(1.1); opacity: .9;
}
.cro-hero-frame .cro-hero-fg {
  position: relative; width: 100%; height: 100%; object-fit: contain; display: block;
}
.cro-hero-arrow {
  position: absolute; top: 50%; margin-top: -26px; width: 52px; height: 52px; border-radius: 999px;
  border: none; background: rgba(255,255,255,.94); color: var(--cro-ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--cro-shadow); z-index: 3;
}
.cro-hero-arrow:hover { background: #fff; }
.cro-hero-arrow.prev { left: 20px; }
.cro-hero-arrow.next { right: 20px; }

/* ---------- Shop by Category: the arch ---------- */
.cro-arch-wrap { display: block; text-align: center; }
.cro-arch-frame {
  position: relative; padding: 8px; margin: 0 auto;
}
.cro-arch-outline {
  position: absolute; inset: 0; border: 1px solid rgba(138,95,20,.32);
  border-radius: 50% 50% 14px 14px / 38% 38% 14px 14px;
  transition: border-color .3s, transform .3s;
}
.cro-arch-wrap:hover .cro-arch-outline { border-color: var(--cro-gold); transform: translateY(-4px); }
.cro-arch-img {
  position: relative; aspect-ratio: 3 / 4; border-radius: 50% 50% 10px 10px / 37.5% 37.5% 10px 10px;
  overflow: hidden; background: var(--cro-cream-deep);
}
.cro-arch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cro-arch-wrap:hover .cro-arch-img img { transform: scale(1.06); }
.cro-arch-label {
  margin-top: 16px; font-family: var(--font-display); font-size: 18px; color: var(--cro-ink);
  transition: color .3s;
}
.cro-arch-wrap:hover .cro-arch-label { color: var(--cro-gold); }

/* ---------- Wishlist / add-to-cart hover reveal on featured cards ---------- */
.cro-pcard { position: relative; }
.cro-pcard .cro-atc {
  position: absolute; left: 8px; right: 8px; bottom: 8px; height: 42px; border: none;
  border-radius: 10px; background: var(--cro-ink); color: var(--cro-cream);
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  transform: translateY(calc(100% + 12px)); transition: transform .35s ease, background .2s;
}
.cro-pcard:hover .cro-atc, .cro-pcard:focus-within .cro-atc { transform: translateY(0); }
.cro-pcard .cro-atc:hover { background: var(--cro-gold); }
.cro-pcard .cro-wish {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.08); color: var(--cro-ink); border: none; cursor: pointer;
}
.cro-pcard .cro-badge {
  position: absolute; top: 8px; left: 8px; background: var(--cro-ink); color: #fff;
  font-family: var(--font-body); font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px;
}

/* ---------- Our Story section ---------- */
.cro-story { background: var(--cro-cream-deep); padding: 90px 0; }
.cro-story-stat { font-family: var(--font-display); font-size: 30px; color: var(--cro-ink); line-height: 1; }
.cro-story-stat-label { font-family: var(--font-body); font-size: 12.5px; color: var(--cro-ink-soft); margin-top: 6px; }

/* ---------- Gallery hover shade (targets existing .tz-gallery structure) --- */
.tz-gallery .lightbox { position: relative; display: block; overflow: hidden; border-radius: 0; }
.tz-gallery .lightbox img { transition: transform .5s ease; }
.tz-gallery .lightbox:hover img { transform: scale(1.05); }

/* ---------- Promise band (4-up trust icons) ---------- */
.cro-promise-icon {
  width: 48px; height: 48px; border-radius: 999px; background: var(--cro-cream-deep);
  color: var(--cro-gold); display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}

/* ---------- Footer (presento) ---------- */
#footer { background: var(--cro-charcoal) !important; }
#footer h3, #footer h4 { font-family: var(--font-display) !important; color: #FAF6EE !important; }
#footer .footer-links h4 { font-size: 12px !important; letter-spacing: 2px; text-transform: uppercase; color: #FAF6EE !important; font-family: var(--font-body) !important; font-weight: 600 !important; }
#footer .footer-links a, #footer .footer-links p, #footer .footer-contact, #footer .footer-contact a {
  color: #C9BFA9 !important; text-decoration: none; font-family: var(--font-body) !important;
}
#footer .footer-contact h3 { font-size: 22px !important; }
#footer .footer-links a:hover { color: #E7C77F !important; }
#footer .footer-newsletter input[type="submit"] { background: var(--cro-gold) !important; border-radius: 999px !important; }
#footer .footer-newsletter input[name="email"] { border-radius: 999px !important; }
#footer .social-links a {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid #3A352C; color: #E8DFC9 !important;
  margin-right: 8px;
}
#footer .social-links a:hover { background: var(--cro-gold); border-color: var(--cro-gold); color: #fff !important; }
#footer .copyright, #footer .credits { color: #A99F8B !important; font-family: var(--font-body) !important; }
#footer .credits a { color: #E7C77F !important; }

/* ---------- Focus visibility (accessibility) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--cro-gold) !important; outline-offset: 2px;
}
