/*
Theme Name: SHIRAOS
Theme URI: https://shiraos.pages.dev
Author: SHIRAOS
Description: תבנית וורדפרס מותאמת אישית ל-SHIRAOS — מתנות, תכשיטים ומארזים יוקרתיים. בנויה בהתאמה מלאה לזהות המותג, עם תמיכה מלאה ב-WooCommerce.
Version: 1.6.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: shiraos
WC requires at least: 8.0
WC tested up to: 9.0
*/

/* ============ SHIRAOS — design tokens ============ */
:root{
  --pink:        #8E0100;
  --pink-dark:   #5C0001;
  --pink-deep:   #3D0000;
  --gold:        #CE8A2C;
  --gold-light:  #FAC654;
  --gold-dim:    rgba(206,138,44,.35);
  --plum:        #2B0505;
  --plum-2:      #1A0202;
  --plum-3:      #0D0000;
  --cream:       #FDF8F1;
  --cream-2:     #F8EEE1;
  --ink:         #241512;
  --ink-soft:    #6E5A56;
  --white:       #ffffff;

  --serif: 'Frank Ruhl Libre', 'Times New Roman', serif;
  --serif-italic: 'Cormorant Garamond', 'Frank Ruhl Libre', serif;
  --sans: 'Assistant', -apple-system, sans-serif;

  --shadow-sm: 0 2px 14px rgba(13,0,0,.06);
  --shadow-md: 0 16px 40px rgba(13,0,0,.10);
  --shadow-lg: 0 30px 80px rgba(13,0,0,.35);

  --container: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family: var(--serif); margin:0; color: var(--plum); font-weight:700; }
h2 em, h3 em{ font-family: var(--serif-italic); font-style: italic; font-weight:500; color: var(--pink-dark); }
p{ margin:0; line-height:1.85; color: var(--ink-soft); }
ul{ margin:0; padding:0; list-style:none; }
section{ position:relative; }

.eyebrow{
  display:inline-block; font-family: var(--sans); font-weight:700; letter-spacing:.22em;
  font-size: .74rem; color: var(--pink-dark); text-transform: uppercase; margin-bottom: 16px;
}

/* ============ buttons (theme + WooCommerce) ============ */
.btn,
a.button, button.button, input.button, .wp-block-button__link,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce-page a.button,
.woocommerce a.added_to_cart, .woocommerce button.single_add_to_cart_button{
  display:inline-flex; align-items:center; gap:10px; justify-content:center;
  padding: 15px 34px !important; border-radius: 2px; font-weight:600; font-size: .92rem;
  font-family: var(--sans); letter-spacing:.04em; border: 1px solid transparent; cursor:pointer;
  transition: all .4s cubic-bezier(.19,1,.22,1);
  white-space: nowrap; position: relative;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%) !important;
  color:#fff !important; box-shadow: 0 10px 24px rgba(142,1,0,.28); text-transform:none !important;
}
.btn:hover, a.button:hover, button.button:hover, input.button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce button.single_add_to_cart_button:hover{
  transform: translateY(-2px); box-shadow: 0 16px 30px rgba(142,1,0,.36);
}
.btn-outline{
  background: transparent !important; color: var(--plum) !important; border-color: var(--gold) !important; box-shadow:none;
}
.btn-outline:hover{ background: var(--gold) !important; color:#fff !important; }
.btn-hero{
  padding: 18px 56px !important; font-size: .88rem !important; letter-spacing:.18em !important;
  min-width: 260px;
}

/* ============ NAV ============ */
.site-nav{
  position: fixed; top:0; inset-inline:0; z-index: 500;
  padding: 18px 0; background: transparent; backdrop-filter: none;
  box-shadow: none;
  transition: background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease, padding .4s ease;
}
.site-nav.scrolled{
  padding: 12px 0; background: rgba(253,248,241,.92); backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(13,0,0,.06);
}
.nav-inner{
  position:relative; max-width: var(--container); margin:0 auto; padding: 0 32px;
  display:flex; align-items:center; justify-content:space-between; gap: 24px;
}
/* nav-start = menu, renders on the right in RTL (first flex child) */
.nav-start{ display:flex; align-items:center; }
.nav-links ul{ display:flex; align-items:center; gap: 28px; list-style:none; margin:0; padding:0; }
.nav-links li{ list-style:none; }
.nav-links a{
  font-weight:600; font-size:.92rem; position:relative; padding: 4px 0;
  color: var(--gold-light); transition: color .4s ease;
}
.site-nav.scrolled .nav-links a{ color: var(--ink); }
.nav-links a::after{
  content:''; position:absolute; bottom:-2px; right:0; width:0; height:1px; background: var(--gold);
  transition: width .35s ease;
}
.nav-links a:hover::after{ width:100%; }

/* logo sits perfectly centered regardless of how wide the menu/icons are */
.nav-logo{
  position:absolute; top:50%; left:50%; transform: translate(-50%,-50%);
  z-index:1;
}
.nav-logo img{ width:44px; height:44px; object-fit:contain; transition: width .4s ease, height .4s ease; }
.site-nav.scrolled .nav-logo img{ width:38px; height:38px; }

/* nav-end = search + cart + mobile toggle, renders on the left in RTL */
.nav-end{ display:flex; align-items:center; gap: 6px; }
.nav-icon-btn{
  position:relative; display:flex; align-items:center; justify-content:center;
  width: 38px; height: 38px; border-radius:50%; border:none; background:none;
  color: var(--gold-light); cursor:pointer; transition: background .25s ease, color .4s ease;
}
.site-nav.scrolled .nav-icon-btn{ color: var(--ink); }
.nav-icon-btn:hover{ background: rgba(206,138,44,.16); color: var(--gold-light) !important; }
.nav-cart-count{
  position:absolute; top:1px; inset-inline-end:1px; min-width:16px; height:16px; padding: 0 3px;
  border-radius:50%; background: var(--pink-dark); color:#fff; font-size:.62rem; font-weight:700;
  display:flex; align-items:center; justify-content:center; line-height:1;
}
.nav-search-panel{
  position:relative; max-width: var(--container); margin: 0 auto; padding: 0 32px;
  max-height:0; overflow:hidden; transition: max-height .3s ease, padding .3s ease;
}
.nav-search-panel:not([hidden]){ max-height: 70px; padding-top: 14px; padding-bottom: 4px; }
.nav-search-panel[hidden]{ display:block; }
.nav-search-panel .search-form{ display:flex; gap:8px; }
.nav-search-panel .search-field{
  flex:1; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(206,138,44,.3);
  background:#fff; font-family: var(--sans); font-size:.92rem;
}
.nav-search-panel .search-submit{
  padding: 10px 20px; border-radius: 999px; border:none; background: var(--pink);
  color:#fff; font-weight:700; cursor:pointer; font-size:.85rem;
}

/* mobile hamburger — hidden on desktop, shown under the 760px breakpoint */
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width: 38px; height: 38px; border:none; background:none; cursor:pointer; padding:0;
}
.nav-toggle span{ display:block; width: 20px; height:2px; margin-inline:auto; background: var(--gold-light); border-radius:2px; transition: transform .25s ease, opacity .25s ease, background .4s ease; }
.site-nav.scrolled .nav-toggle span{ background: var(--ink); }
.site-nav.menu-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.site-nav.menu-open .nav-toggle span:nth-child(2){ opacity:0; }
.site-nav.menu-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero{
  min-height: 78vh; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding: 170px 24px 100px; position:relative; overflow:hidden;
  background: radial-gradient(120% 90% at 50% -10%, #5A1010 0%, var(--plum) 45%, var(--plum-2) 100%);
}
.hero-inner{ position:relative; z-index:1; max-width: 720px; margin: 0 auto; display:flex; flex-direction:column; align-items:center; }
.hero-label{
  display:flex; align-items:center; gap:16px; margin-bottom: 30px;
  font-size:.72rem; font-weight:700; letter-spacing:.24em; color: var(--gold-light); text-transform:uppercase;
}
.hero-label .rule{ width:36px; height:1px; background: var(--gold-dim); }
.hero-logo{ width: min(360px, 70vw); margin-bottom: 30px; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.hero h1{ color:#fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom:18px; }
.hero-sub{ font-size: 1.05rem; max-width: 540px; margin: 0 auto 38px; color: rgba(253,248,241,.72); }

/* ============ SECTION HEAD ============ */
.section-head{ max-width: 620px; margin: 0 auto 60px; text-align:center; }
.section-head h2{ font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height:1.25; }
.section-head p{ font-size: 1.02rem; margin-top:14px; }

/* ============ TRUST STRIP ============ */
.trust-strip{
  max-width: var(--container); margin: 0 auto; padding: 46px 32px;
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-bottom: 1px solid rgba(206,138,44,.18);
}
.trust-item{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap: 12px;
  color: var(--ink-soft);
}
.trust-item svg{ color: var(--gold); }
.trust-item span{ font-size:.86rem; font-weight:600; }

/* ============ WORLDS ============ */
.worlds{ max-width: var(--container); margin: 0 auto; padding: 110px 32px 60px; }
.worlds-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.world-card{
  padding: 44px 30px; text-align:center; border-radius: 4px;
  border: 1px solid rgba(206,138,44,.28);
  background: linear-gradient(165deg, #fff, var(--cream-2));
  box-shadow: var(--shadow-sm);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.world-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.world-num{
  display:flex; align-items:center; justify-content:center; width:54px; height:54px; margin: 0 auto 22px;
  border-radius:50%; border: 1.5px solid var(--gold);
  background: linear-gradient(150deg, var(--gold-light), var(--gold));
  font-family: var(--serif); font-size: 1.25rem; font-weight:700; color: var(--plum-3);
}
.world-card h3{ font-size: 1.4rem; margin-bottom: 12px; }
.world-card p{ font-size: .96rem; }

/* ============ PRODUCT GRID (WooCommerce shop) ============ */
.shop-wrap{ max-width: var(--container); margin: 0 auto; padding: 150px 32px 100px; }
ul.products{ display:grid !important; grid-template-columns: repeat(3, 1fr); gap: 30px; list-style:none; padding:0; margin:0 !important; }
ul.products li.product{
  background:#fff; border: 1px solid rgba(206,138,44,.18); border-radius: 6px; padding: 22px 22px 28px;
  transition: transform .35s ease, box-shadow .35s ease;
  text-align:center;
}
ul.products li.product:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
ul.products li.product img{ border-radius: 4px; margin-bottom: 18px; aspect-ratio: 1/1; object-fit:cover; }
ul.products li.product h2, ul.products li.product .woocommerce-loop-product__title{
  font-size: 1.1rem; margin-bottom: 8px; color: var(--plum);
}
ul.products li.product .price{ color: var(--pink-dark) !important; font-weight:700; font-size:1rem; }
ul.products li.product .price ins{ text-decoration:none; }
.woocommerce ul.products li.product .button{ margin-top: 16px !important; }

/* single product */
.woocommerce div.product .product_title{ font-size: clamp(1.6rem,3vw,2.2rem); }
.woocommerce div.product p.price{ color: var(--pink-dark); font-size:1.3rem; font-weight:700; }
.woocommerce div.product .woocommerce-product-details__short-description{ color: var(--ink-soft); }

/* cart / checkout basics */
.woocommerce table.shop_table{ border-color: rgba(206,138,44,.25); }
.woocommerce-checkout #payment{ background: var(--cream-2) !important; border-radius:6px; }

/* ============ FOOTER ============ */
.site-footer{
  background: var(--plum-3); color: rgba(255,255,255,.7);
  text-align:center; padding: 64px 32px 38px;
}
.footer-brand{ display:flex; align-items:center; justify-content:center; margin-bottom: 20px; }
.footer-logo{ width: 64px; opacity:.95; }
.footer-social{ display:flex; align-items:center; justify-content:center; gap: 14px; margin-bottom: 30px; }
.footer-social-icon{
  display:flex; align-items:center; justify-content:center;
  width: 40px; height: 40px; border-radius:50%;
  border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.75);
  transition: all .3s ease;
}
.footer-social-icon:hover{ border-color: var(--gold-light); color: var(--gold-light); background: rgba(255,255,255,.06); }
.footer-links{ margin-bottom: 26px; }
.footer-links ul{ display:flex; gap: 26px; justify-content:center; flex-wrap:wrap; list-style:none; padding:0; margin:0; }
.footer-links a{ font-weight:600; font-size:.86rem; color: rgba(255,255,255,.6); transition: color .3s ease; }
.footer-links a:hover{ color: var(--gold-light); }
.footer-copy{ font-size:.76rem; color: rgba(255,255,255,.32); }

/* ============ NEWSLETTER ============ */
.newsletter{
  background: linear-gradient(175deg, var(--plum) 0%, var(--plum-3) 100%);
  padding: 90px 32px; text-align:center;
}
.newsletter-inner{ max-width: 560px; margin:0 auto; }
.newsletter-inner .eyebrow{ color: var(--gold-light); }
.newsletter-inner h2{ color:#fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom:14px; }
.newsletter-inner > p{ color: rgba(255,255,255,.65); margin-bottom: 32px; }
.newsletter-inner > p strong{ color: var(--gold-light); font-weight:700; }
.newsletter-form{ display:flex; gap:10px; max-width: 420px; margin:0 auto; }
.newsletter-form input[type="email"]{
  flex:1; padding: 14px 20px; border-radius: 999px; border: 1px solid rgba(206,138,44,.4);
  background: rgba(255,255,255,.06); color:#fff; font-family: var(--sans); font-size:.94rem;
}
.newsletter-form input[type="email"]::placeholder{ color: rgba(255,255,255,.45); }
.newsletter-form .btn{ padding: 14px 28px; white-space:nowrap; }
.newsletter-status{ font-weight:700; }
.newsletter-status-success{ color: var(--gold-light); }
.newsletter-status-error{ color: #ff9f9f; }
.form-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ============ CONTACT FORM ============ */
.contact-page .contact-quick-links{ display:flex; gap: 14px; flex-wrap:wrap; margin: 30px 0 46px; }
.contact-quick-link{
  display:flex; align-items:center; gap:10px; padding: 12px 20px; border-radius: 999px;
  border: 1px solid rgba(206,138,44,.3); color: var(--plum); font-weight:600; font-size:.9rem;
  transition: background .25s ease, border-color .25s ease;
}
.contact-quick-link:hover{ background: var(--cream-2); border-color: var(--gold); }
.contact-form-wrap{ max-width: 620px; }
.shiraos-form .form-row{ margin-bottom: 20px; }
.shiraos-form .form-row-half{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shiraos-form label{ display:block; font-weight:700; font-size:.86rem; color: var(--plum); margin-bottom: 8px; }
.shiraos-form input, .shiraos-form textarea{
  width:100%; padding: 13px 16px; border-radius: 6px; border: 1px solid rgba(206,138,44,.3);
  background:#fff; font-family: var(--sans); font-size:.94rem; color: var(--ink);
}
.shiraos-form input:focus, .shiraos-form textarea:focus{ outline: 2px solid var(--gold); outline-offset: 1px; }
.shiraos-form textarea{ resize: vertical; }
.form-notice{ padding: 14px 20px; border-radius: 6px; margin-bottom: 24px; font-weight:600; font-size:.92rem; }
.form-notice-success{ background: rgba(94,166,94,.12); color:#3d7a3d; border:1px solid rgba(94,166,94,.3); }
.form-notice-error{ background: rgba(200,60,60,.1); color:#a83a3a; border:1px solid rgba(200,60,60,.28); }

/* ============ FAQ ACCORDION ============ */
.faq-list{ display:flex; flex-direction:column; gap: 14px; margin-top: 36px; }
.faq-item{
  border: 1px solid rgba(206,138,44,.25); border-radius: 8px; padding: 6px 24px;
  background:#fff; transition: border-color .25s ease;
}
.faq-item[open]{ border-color: var(--gold); }
.faq-item summary{
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
  padding: 18px 0; cursor:pointer; font-weight:700; color: var(--plum); font-size:1rem;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-icon{
  flex-shrink:0; width:26px; height:26px; border-radius:50%; border: 1px solid var(--gold);
  display:flex; align-items:center; justify-content:center; color: var(--gold); font-size:1.1rem;
  transition: transform .25s ease;
}
.faq-item[open] .faq-icon{ transform: rotate(45deg); }
.faq-answer{ padding: 0 0 22px; }
.faq-answer p{ font-size:.96rem; }
.faq-answer a{ color: var(--pink-dark); text-decoration:underline; }

/* ============ ABOUT PAGE ============ */
.about-hero{
  padding: 160px 32px 90px; text-align:center;
  background: radial-gradient(120% 90% at 50% -10%, #5A1010 0%, var(--plum) 45%, var(--plum-2) 100%);
}
.about-hero-inner{ max-width: 640px; margin:0 auto; }
.about-hero-logo{ width: 90px; margin: 0 auto 24px; filter: drop-shadow(0 14px 30px rgba(0,0,0,.4)); }
.about-hero .eyebrow{ color: var(--gold-light); }
.about-hero h1{ color:#fff; font-size: clamp(2rem, 4vw, 2.9rem); line-height:1.3; margin-bottom: 20px; }
.about-hero h1 em{ font-family: var(--serif-italic); font-style:italic; color: var(--gold-light); }
.about-hero-lead{ color: rgba(255,255,255,.7); font-size: 1.05rem; }
.about-content-page{ max-width: 900px; margin: 0 auto; padding: 90px 32px 100px; }
.about-story{ max-width: 680px; margin: 0 auto 80px; }
.about-story p{ font-size: 1.05rem; margin-bottom: 20px; }
.about-values{ display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-bottom: 90px; }
.about-value{ text-align:center; padding: 20px; }
.about-value-num{
  display:flex; align-items:center; justify-content:center; width:50px; height:50px; margin: 0 auto 18px;
  border-radius:50%; border: 1.5px solid var(--gold);
  background: linear-gradient(150deg, var(--gold-light), var(--gold));
  font-family: var(--serif); font-weight:700; color: var(--plum-3);
}
.about-value h3{ font-size: 1.2rem; margin-bottom: 10px; }
.about-value p{ font-size: .92rem; }
.about-cta{
  text-align:center; padding: 56px 32px; border-radius: 8px;
  background: linear-gradient(165deg, #fff, var(--cream-2)); border: 1px solid rgba(206,138,44,.3);
}
.about-cta h2{ font-size: 1.5rem; margin-bottom: 22px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px){
  .worlds-grid{ grid-template-columns: 1fr; }
  ul.products{ grid-template-columns: repeat(2,1fr) !important; }
  .about-values{ grid-template-columns: 1fr; gap: 20px; }
  .shiraos-form .form-row-half{ grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 760px){
  .nav-inner{ padding: 0 20px; }
  .nav-start{ gap: 16px; }
  .nav-links{
    display:none; position:absolute; top:100%; inset-inline:0;
    background: rgba(253,248,241,.98); backdrop-filter: blur(16px);
    box-shadow: 0 12px 30px rgba(13,0,0,.1); padding: 10px 20px 20px;
  }
  .site-nav.menu-open .nav-links{ display:block; }
  .nav-links ul{ flex-direction:column; align-items:flex-start; gap: 4px; }
  .nav-links a, .site-nav.scrolled .nav-links a{ display:block; padding: 12px 4px; width:100%; color: var(--ink); }
  .nav-toggle{ display:flex; }
  .nav-search-panel{ padding-inline: 20px; }

  .hero{ padding: 140px 20px 80px; }
  .worlds, .shop-wrap, .about-content-page{ padding-inline: 20px; }
  .about-hero{ padding-inline: 20px; }
  .newsletter{ padding-inline: 20px; }
  .newsletter-form{ flex-direction:column; }
  .contact-quick-links{ flex-direction:column; }
  ul.products{ grid-template-columns: repeat(2,1fr) !important; gap: 16px; }
  .faq-item summary{ font-size:.94rem; }
}

@media (max-width: 560px){
  ul.products{ grid-template-columns: 1fr !important; }
  .about-cta{ padding: 40px 20px; }
  .btn-hero{ min-width: 0; width: 100%; padding: 16px 24px !important; }
  .trust-strip{ grid-template-columns: repeat(2, 1fr); gap: 30px 16px; padding: 36px 24px; }
}
/* ============ SKIP LINK ============ */
.skip-link{
  position: fixed; top: -100px; inset-inline-start: 16px; z-index: 2000;
  background: var(--plum-3); color: var(--gold-light); padding: 12px 22px;
  border-radius: 4px; border: 1px solid var(--gold-dim); font-weight:700; font-size:.9rem;
  transition: top .25s ease;
}
.skip-link:focus{ top: 16px; }

/* ============ VISUALLY HIDDEN (still readable by screen readers) ============ */
.visually-hidden{
  position:absolute !important; width:1px; height:1px; overflow:hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space:nowrap; border:0; padding:0; margin:-1px;
}

/* ============ LEGAL PAGES ============ */
.legal-page{
  max-width: 760px; margin: 0 auto; padding: 170px 32px 130px;
}
.legal-page .eyebrow{ margin-bottom: 10px; }
.legal-page h1{ font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 8px; }
.legal-updated{ font-size: .85rem; color: var(--ink-soft); margin-bottom: 46px; letter-spacing:.03em; }
.legal-page > p{ font-size: 1.02rem; margin-bottom: 20px; }
.legal-section{ margin-top: 44px; padding-top: 34px; border-top: 1px solid rgba(206,138,44,.22); }
.legal-section h2{ font-size: 1.3rem; margin-bottom: 14px; }
.legal-section p{ font-size: .98rem; margin-bottom: 14px; }
.legal-section p:last-child{ margin-bottom: 0; }
.legal-section ul{ margin: 0 0 14px; padding-inline-start: 22px; list-style: disc; }
.legal-section li{ font-size: .96rem; color: var(--ink-soft); line-height:1.8; margin-bottom: 6px; }
.legal-section a{ color: var(--pink-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-back{
  display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:.86rem;
  color: var(--pink-dark); margin-bottom: 36px;
}

/* ============ ACCESSIBILITY WIDGET ============ */
.a11y-widget{ position: fixed; bottom: 26px; right: 26px; z-index: 600; font-family: var(--sans); }
.a11y-toggle{
  width: 56px; height:56px; border-radius:50%; border: 1.5px solid var(--gold); cursor:pointer;
  background: linear-gradient(150deg, var(--gold-light), var(--gold));
  color: var(--plum-3); display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 24px rgba(206,138,44,.32);
  transition: transform .3s ease;
}
.a11y-toggle:hover{ transform: scale(1.07); }
.a11y-panel{
  position:absolute; bottom: 68px; right: 0; width: min(88vw, 360px);
  max-height: 78vh; overflow-y:auto;
  background: var(--plum-3); border: 1px solid rgba(250,198,84,.22); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 20px;
  animation: a11yIn .22s cubic-bezier(.19,1,.22,1);
}
@keyframes a11yIn{ from{ opacity:0; transform: translateY(10px) scale(.97); } to{ opacity:1; transform:none; } }
.a11y-panel-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 16px; }
.a11y-panel-head h2{ font-size: 1.02rem; color:#fff; font-weight:600; margin:0; }
.a11y-close{
  background:none; border:none; color: rgba(255,255,255,.6); cursor:pointer; font-size:.95rem;
  width:28px; height:28px; border-radius:50%; transition: background .25s ease, color .25s ease;
}
.a11y-close:hover{ background: rgba(255,255,255,.08); color:#fff; }
.a11y-panel-body{ display:flex; flex-direction:column; gap: 18px; }
.a11y-row{ display:grid; gap: 8px; }
.a11y-row-2{ grid-template-columns: 1fr 1fr; }
.a11y-row-3{ grid-template-columns: repeat(3, 1fr); }
.a11y-group-label{
  font-size: .68rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color: var(--gold-light); margin: 0 0 10px;
}
.a11y-stepper{
  display:flex; flex-direction:column; align-items:center; gap: 8px;
  border: 1px solid rgba(250,198,84,.18); border-radius: 10px; padding: 10px 8px;
}
.a11y-stepper-label{ font-size: .74rem; color: rgba(255,255,255,.68); }
.a11y-stepper-controls{ display:flex; align-items:center; gap: 10px; }
.a11y-step-btn{
  width:24px; height:24px; border-radius:50%; border: 1px solid rgba(250,198,84,.35);
  background:none; color: var(--gold-light); cursor:pointer; font-size: .9rem; line-height:1;
  display:flex; align-items:center; justify-content:center; transition: background .25s ease;
}
.a11y-step-btn:hover:not(:disabled){ background: rgba(250,198,84,.14); }
.a11y-step-btn:disabled{ opacity:.3; cursor:default; }
.a11y-step-val{ font-size: .82rem; color:#fff; min-width:14px; text-align:center; }
.a11y-tile{
  border: 1px solid rgba(250,198,84,.18); border-radius: 8px; background:none;
  color: rgba(255,255,255,.72); font-size: .74rem; font-weight:600; padding: 10px 6px;
  cursor:pointer; text-align:center; line-height:1.3; transition: all .25s ease;
}
.a11y-tile:hover{ border-color: rgba(250,198,84,.4); }
.a11y-tile.active{ background: rgba(250,198,84,.14); border-color: var(--gold-light); color: var(--gold-light); }
.a11y-reset{
  display:flex; align-items:center; justify-content:center; gap:8px;
  border: 1px solid rgba(250,198,84,.2); border-radius: 10px; background:none;
  color: rgba(255,255,255,.65); font-size: .82rem; padding: 11px; cursor:pointer;
  transition: border-color .25s ease, color .25s ease;
}
.a11y-reset:hover{ border-color: var(--gold-light); color: var(--gold-light); }
.a11y-panel-foot{
  display:flex; align-items:center; justify-content:space-between;
  border-top: 1px solid rgba(250,198,84,.16); padding-top: 14px; font-size: .76rem;
}
.a11y-panel-foot a{ color: rgba(255,255,255,.6); transition: color .25s ease; }
.a11y-panel-foot a:hover{ color: var(--gold-light); }

@media (max-width: 480px){
  .a11y-widget{ bottom: 20px; right: 20px; }
  .a11y-panel{ right: -6px; }
}

/* ============ ACCESSIBILITY MODE OVERRIDES ============ */
html.a11y-color-contrast{ filter: contrast(1.4) saturate(1.2); }
html.a11y-color-invert{ filter: invert(1) hue-rotate(180deg); }
html.a11y-color-invert img,
html.a11y-color-invert video{ filter: invert(1) hue-rotate(180deg); }
html.a11y-color-sepia{ filter: sepia(.75) saturate(1.3); }
html.a11y-color-monochrome{ filter: grayscale(1); }
html.a11y-color-blackyellow body,
html.a11y-color-blackyellow body *{
  background-color:#000 !important; color:#fbbf24 !important; border-color:#fbbf24 !important;
  box-shadow:none !important; background-image:none !important;
}
html.a11y-color-blackyellow img,
html.a11y-color-blackyellow video{ filter: grayscale(1) contrast(1.2); }

html.a11y-highlight-links a{
  text-decoration: underline !important; text-underline-offset:3px;
  background-color: rgba(206,138,44,.25) !important;
}
html.a11y-highlight-headings h1,
html.a11y-highlight-headings h2,
html.a11y-highlight-headings h3{
  outline: 2px dashed var(--gold) !important; outline-offset:4px;
  background-color: rgba(206,138,44,.12) !important;
}
html.a11y-stop-animations *,
html.a11y-stop-animations *::before,
html.a11y-stop-animations *::after{
  animation-duration:.01ms !important; animation-iteration-count:1 !important;
  transition-duration:.01ms !important; scroll-behavior:auto !important;
}
html.a11y-keyboard-nav *:focus{
  outline: 3px solid var(--gold) !important; outline-offset:3px !important;
}
html.a11y-readable-font,
html.a11y-readable-font *{
  font-family: Arial, Verdana, sans-serif !important; letter-spacing:normal !important; line-height:1.7 !important;
}
html.a11y-cursor-big,
html.a11y-cursor-big *{
  cursor: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'><path d='M3 2 L3 20 L8 15.5 L11 22 L14 20.5 L11 14 L18 14 Z' fill='white' stroke='black' stroke-width='1.5' stroke-linejoin='round'/></svg>") 6 4, auto !important;
}
html.a11y-cursor-black,
html.a11y-cursor-black *{
  cursor: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'><path d='M3 2 L3 20 L8 15.5 L11 22 L14 20.5 L11 14 L18 14 Z' fill='black' stroke='black' stroke-width='1'/></svg>") 6 4, auto !important;
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* ============ ENTRY CONTENT (block-editor content on generic pages) ============ */
.entry-content{ margin-top: 30px; }
.entry-content h2{
  font-size: 1.3rem; margin-top: 44px; margin-bottom: 14px; padding-top: 34px;
  border-top: 1px solid rgba(206,138,44,.22);
}
.entry-content h2:first-child{ margin-top:0; padding-top:0; border-top:none; }
.entry-content h3{ font-size: 1.1rem; margin-top: 26px; margin-bottom: 10px; }
.entry-content p{ font-size: .98rem; margin-bottom: 14px; }
.entry-content ul, .entry-content ol{ margin: 0 0 14px; padding-inline-start: 22px; }
.entry-content ul{ list-style: disc; }
.entry-content ol{ list-style: decimal; }
.entry-content li{ font-size: .96rem; color: var(--ink-soft); line-height:1.8; margin-bottom: 6px; }
.entry-content a{ color: var(--pink-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry-content strong{ color: var(--ink); }

/* ============ SAFETY NET ============ */
/* This theme has no sidebar design. Hide any stray widget area a plugin
   (or WooCommerce's own default hook) might still inject. */
.widget-area, #secondary, aside.widget-area, .sidebar, .shop-sidebar{ display:none !important; }
