/*
Theme Name: Sabon Relaxing Pro
Theme URI: https://openai.com/
Author: OpenAI
Author URI: https://openai.com/
Description: A calm, WooCommerce-ready classic WordPress theme with RTL support and front-page editing via ACF. It uses real WordPress pages and real WooCommerce product data.
Version: 1.0.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sabon-relaxing
Tags: ecommerce, rtl-language-support, custom-logo, custom-menu, featured-images, editor-style, one-column, two-columns
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root{
  --sabon-bg:#f7f2ea;
  --sabon-bg-soft:#fbf8f3;
  --sabon-card:rgba(255,255,255,.72);
  --sabon-line:rgba(217,207,195,.8);
  --sabon-text:#3d342d;
  --sabon-text-soft:#675a51;
  --sabon-heading:#2f2823;
  --sabon-accent:#332b25;
  --sabon-accent-2:#a98a70;
  --sabon-accent-soft:#efe6da;
  --sabon-green:#dfe8d3;
  --sabon-rose:#f2d8cc;
  --sabon-radius:32px;
  --sabon-shadow:0 10px 34px rgba(70,56,42,.08);
  --sabon-shadow-lg:0 28px 80px rgba(70,56,42,.12);
  --sabon-width:min(1200px, calc(100% - 32px));
  --wp--style--global--content-size: 760px;
  --wp--style--global--wide-size: 1200px;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  color:var(--sabon-text);
  background:var(--sabon-bg);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height:1.65;
}

body.admin-bar .site-header{
  top:32px;
}

@media (max-width:782px){
  body.admin-bar .site-header{
    top:46px;
  }
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
select,
textarea{
  font:inherit;
}

.screen-reader-text{
  border:0;
  clip:rect(1px,1px,1px,1px);
  clip-path:inset(50%);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute!important;
  width:1px;
  word-wrap:normal!important;
}

.site-wrap{
  position:relative;
  overflow:hidden;
}

.site-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.05;
  background-image:radial-gradient(circle at 20% 20%, #000 0.6px, transparent 0.7px);
  background-size:18px 18px;
}

.sabon-orb{
  position:absolute;
  border-radius:999px;
  filter:blur(70px);
  opacity:.55;
  pointer-events:none;
  animation:sabonPulse 8s ease-in-out infinite;
  z-index:0;
}

.sabon-orb--one{left:-80px;top:100px;width:260px;height:260px;background:var(--sabon-rose);}
.sabon-orb--two{right:-100px;top:220px;width:340px;height:340px;background:#e5dbc8;}
.sabon-orb--three{left:35%;bottom:30px;width:230px;height:230px;background:var(--sabon-green);}

@keyframes sabonPulse{
  0%,100%{opacity:.35;transform:scale(1);}
  50%{opacity:.55;transform:scale(1.08);}
}
@keyframes sabonFloat{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-8px);}
}

.container{
  width:var(--sabon-width);
  margin:0 auto;
  position:relative;
  z-index:1;
}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid var(--sabon-line);
  background:rgba(247,242,234,.82);
  backdrop-filter:blur(16px);
}

.site-header__inner{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.site-branding{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.custom-logo-link img{
  max-height:48px;
  width:auto;
}

.site-title{
  margin:0;
  font-size:13px;
  font-weight:700;
  letter-spacing:.34em;
  text-transform:uppercase;
  color:#6b5d50;
}

.site-title a:hover{
  color:#241d18;
}

.header-tools{
  display:flex;
  align-items:center;
  gap:14px;
}

.header-cart{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(255,255,255,.75);
  box-shadow:0 6px 18px rgba(51,43,37,.06);
  font-size:14px;
  white-space:nowrap;
}

.header-cart__count{
  display:inline-flex;
  width:24px;
  height:24px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:var(--sabon-accent);
  color:#fff;
  font-size:12px;
  font-weight:700;
}

.primary-nav{
  display:flex;
  align-items:center;
  gap:28px;
}

.primary-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:28px;
}

.primary-nav a{
  font-size:14px;
  color:#5c5045;
  transition:color .25s ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a{
  color:#241d18;
}

.menu-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.65);
  color:var(--sabon-heading);
  cursor:pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after{
  content:"";
  display:block;
  width:18px;
  height:2px;
  background:currentColor;
  border-radius:999px;
  transition:transform .25s ease, opacity .25s ease;
}

.menu-toggle span{margin:4px 0;}
.menu-toggle[aria-expanded="true"]::before{transform:translateY(6px) rotate(45deg);}
.menu-toggle[aria-expanded="true"]::after{transform:translateY(-6px) rotate(-45deg);}
.menu-toggle[aria-expanded="true"] span{opacity:0;}

.site-main{
  position:relative;
  z-index:1;
}

.section{
  padding:90px 0;
  position:relative;
}

.section--tight-top{
  padding-top:30px;
}

.eyebrow,
.section-kicker,
.contact-card small,
.product-card__eyebrow{
  display:block;
  text-transform:uppercase;
  letter-spacing:.24em;
  font-size:11px;
  color:#8a7a6c;
}

.hero{
  min-height:calc(100vh - 78px);
  display:grid;
  grid-template-columns:1.03fr .97fr;
  gap:48px;
  align-items:center;
  padding:70px 0 80px;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.62);
  box-shadow:0 4px 20px rgba(51,43,37,.06);
  color:#6a5d52;
  font-size:12px;
  letter-spacing:.28em;
  text-transform:uppercase;
}

.hero-title{
  margin:22px 0 0;
  max-width:760px;
  color:var(--sabon-heading);
  font-size:clamp(44px, 7vw, 76px);
  line-height:1.02;
  letter-spacing:-.04em;
}

.hero-text{
  margin-top:22px;
  max-width:690px;
  font-size:19px;
  line-height:1.8;
  color:#5b5048;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:34px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 28px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  transition:transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn--dark{
  color:#fff;
  background:var(--sabon-accent);
  box-shadow:0 12px 24px rgba(51,43,37,.14);
}

.btn--dark:hover{
  background:#241d18;
}

.btn--light{
  color:#433a33;
  border:1px solid #cfc3b6;
  background:rgba(255,255,255,.62);
}

.btn--light:hover{
  background:#fff;
}

.hero-stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-top:42px;
}

.glass-card{
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.62);
  backdrop-filter:blur(8px);
  box-shadow:0 8px 30px rgba(70,56,42,.05);
}

.hero-stat{
  border-radius:26px;
  padding:22px;
}

.hero-stat strong{
  display:block;
  color:var(--sabon-heading);
  font-size:30px;
  line-height:1.1;
}

.hero-stat span{
  display:block;
  margin-top:6px;
  font-size:14px;
  color:#6a5f55;
}

.hero-card{
  position:relative;
  margin-inline:auto;
  max-width:560px;
  border-radius:36px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.55);
  padding:16px;
  backdrop-filter:blur(16px);
  box-shadow:var(--sabon-shadow-lg);
  animation:sabonFloat 7s ease-in-out infinite;
}

.hero-card__label{
  position:absolute;
  left:-26px;
  top:40px;
  padding:16px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.82);
  background:rgba(251,248,243,.92);
  box-shadow:0 12px 30px rgba(70,56,42,.1);
}

.hero-card__label strong{
  display:block;
  margin-top:6px;
  font-size:18px;
  color:var(--sabon-heading);
}

.hero-card__image-wrap{
  aspect-ratio: 11 / 12;
  border-radius:30px;
  overflow:hidden;
  background:#ede6db;
}

.hero-card__image{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-card__footer{
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-radius:24px;
  background:var(--sabon-bg);
  padding:18px 20px;
}

.price-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 16px;
  border-radius:999px;
  background:#fff;
  color:#433933;
  font-size:14px;
  font-weight:600;
  box-shadow:0 6px 18px rgba(51,43,37,.08);
  white-space:nowrap;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}

.feature-card{
  border-radius:32px;
  padding:30px;
}

.feature-card__icon{
  width:44px;
  height:44px;
  border-radius:16px;
  background:#efe5d8;
  margin-bottom:18px;
}

.feature-card h3,
.section-title,
.content-card h2,
.contact-card h2{
  color:var(--sabon-heading);
}

.feature-card h3{
  margin:0;
  font-size:24px;
}

.feature-card p{
  margin:12px 0 0;
  line-height:1.8;
  color:var(--sabon-text-soft);
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:38px;
}

.section-title{
  margin:10px 0 0;
  font-size:clamp(34px, 4vw, 54px);
  line-height:1.05;
  letter-spacing:-.04em;
}

.section-title span{
  display:block;
  color:#7f6d61;
}

.section-copy{
  max-width:540px;
  line-height:1.8;
  color:#64584f;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}

.product-card{
  overflow:hidden;
  border-radius:32px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.72);
  box-shadow:var(--sabon-shadow);
  transition:transform .3s ease, box-shadow .3s ease;
}

.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 60px rgba(69,54,41,.12);
}

.product-card__media{
  position:relative;
  overflow:hidden;
  background:#f2ece3;
}

.product-card__media::before{
  content:"";
  display:block;
  padding-top:108%;
}

.product-card__media img,
.product-card__placeholder{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.product-card__placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(160deg, #efe5d8, #f8f3ec);
  color:#9b8a7b;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
}

.product-card:hover .product-card__media img{
  transform:scale(1.03);
  transition:transform .5s ease;
}

.product-card__cat{
  position:absolute;
  top:16px;
  left:16px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(8px);
  font-size:11px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#75685d;
}

.product-card__body{
  padding:24px;
}

.product-card__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.product-card__title{
  margin:0;
  font-size:28px;
  line-height:1.1;
  color:var(--sabon-heading);
}

.product-card__summary{
  margin:14px 0 0;
  color:var(--sabon-text-soft);
}

.product-card__tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}

.tag-pill{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid #e5d9cc;
  background:var(--sabon-bg-soft);
  font-size:14px;
  color:#655950;
}

.product-card__footer{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

.product-card .added_to_cart{
  display:inline-flex;
  align-items:center;
  font-size:14px;
  color:#5d5044;
}

.product-card .button,
.button,
.wp-element-button,
input[type="submit"],
button[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 20px;
  border-radius:999px;
  background:var(--sabon-accent);
  color:#fff;
  border:none;
  cursor:pointer;
  transition:background .25s ease, transform .25s ease;
  box-shadow:none;
}

.product-card .button:hover,
.button:hover,
.wp-element-button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover{
  background:#241d18;
  color:#fff;
  transform:translateY(-1px);
}

.ritual-panel{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:32px;
  padding:28px;
  border-radius:40px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(239,230,218,.8);
  box-shadow:0 8px 30px rgba(70,56,42,.05);
}

.ritual-list{
  display:grid;
  gap:12px;
  margin-top:30px;
}

.ritual-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.65);
}

.ritual-item__dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--sabon-accent-2);
  flex-shrink:0;
}

.ritual-images{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.ritual-images img,
.ritual-image-placeholder{
  width:100%;
  height:280px;
  object-fit:cover;
  border-radius:30px;
  box-shadow:0 10px 24px rgba(70,56,42,.08);
}

.ritual-images > :nth-child(2){
  margin-top:40px;
}

.ritual-image-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(160deg, #efe5d8, #f8f3ec);
  color:#9b8a7b;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
}

.content-card{
  padding:34px;
  border-radius:40px;
}

.content-card h2,
.editor-content h2,
.entry-content h2{
  margin-top:0;
}

.content-card h2{
  font-size:clamp(30px, 4vw, 44px);
  line-height:1.08;
  letter-spacing:-.04em;
}

.check-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
  margin-top:30px;
}

.check-box{
  padding:18px;
  border-radius:24px;
  background:#f8f3ec;
  color:#544940;
}

.panels{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
}

.contact-card{
  border-radius:40px;
  border:1px solid #d9cbbd;
  background:var(--sabon-accent);
  color:#fff;
  box-shadow:0 10px 24px rgba(70,56,42,.08);
  padding:34px;
}

.contact-card h2{
  color:#fff;
  margin:10px 0 0;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-.04em;
}

.contact-card p{
  margin-top:18px;
  line-height:1.8;
  color:rgba(255,255,255,.82);
}

.contact-card__list{
  margin-top:30px;
  display:grid;
  gap:18px;
}

.contact-card strong{
  display:block;
  margin-top:6px;
  font-size:20px;
  color:#fff;
}

.contact-card .btn{
  margin-top:26px;
  background:#fff;
  color:var(--sabon-heading);
}

.contact-card .btn:hover{
  background:#f4ede4;
}

.editor-content,
.entry-content{
  color:var(--sabon-text);
}

.editor-content{
  margin-top:24px;
}

.editor-content > *:first-child,
.entry-content > *:first-child{
  margin-top:0;
}

.editor-content > *:last-child,
.entry-content > *:last-child{
  margin-bottom:0;
}

.entry-card{
  padding:38px;
  border-radius:34px;
}

.page-shell{
  padding:60px 0 90px;
}

.page-header{
  padding:42px 0 20px;
}

.page-title,
.entry-title{
  margin:0;
  color:var(--sabon-heading);
  font-size:clamp(34px, 4vw, 56px);
  line-height:1.04;
  letter-spacing:-.04em;
}

.entry-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  margin-top:12px;
  color:#7b6d61;
  font-size:14px;
}

.pagination,
.posts-navigation,
.post-navigation{
  margin-top:28px;
}

.posts-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:24px;
}

.post-card{
  padding:28px;
  border-radius:28px;
}

.post-card .entry-title{
  font-size:28px;
}

.site-footer{
  border-top:1px solid var(--sabon-line);
  padding:28px 0 36px;
  background:rgba(255,255,255,.25);
  position:relative;
  z-index:1;
}

.site-footer__inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  color:#6e6258;
  font-size:14px;
}

.footer-menu ul{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  list-style:none;
  margin:0;
  padding:0;
}

.notice-card{
  padding:32px;
  border-radius:32px;
  text-align:center;
}

.notice-card h3{
  margin:0 0 12px;
  color:var(--sabon-heading);
  font-size:30px;
}

.woocommerce-page .site-main,
.woocommerce .site-main{
  padding-bottom:70px;
}

.shop-hero{
  padding:42px 0 24px;
}

.shop-hero__title{
  margin:0;
  color:var(--sabon-heading);
  font-size:clamp(36px, 5vw, 58px);
  line-height:1.03;
  letter-spacing:-.04em;
}

.shop-hero__text{
  max-width:720px;
  margin-top:14px;
  color:var(--sabon-text-soft);
  font-size:18px;
}

.woocommerce-breadcrumb{
  font-size:14px;
  color:#87796e;
  margin-bottom:16px!important;
}

.woocommerce-result-count,
.woocommerce-ordering{
  margin-bottom:24px!important;
}

.woocommerce .woocommerce-ordering select,
.select2-container .select2-selection--single,
.input-text,
textarea,
select{
  min-height:48px;
  border-radius:16px;
  border:1px solid #ddcfbf;
  background:#fff;
  padding:0 14px;
  color:var(--sabon-text);
}

textarea{
  min-height:140px;
  padding:14px;
}

.woocommerce ul.products{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin:0!important;
  padding:0!important;
}

.woocommerce ul.products li.product{
  width:auto!important;
  margin:0!important;
  float:none!important;
  padding:0!important;
  border-radius:32px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.72);
  box-shadow:var(--sabon-shadow);
  transition:transform .3s ease, box-shadow .3s ease;
}

.woocommerce ul.products li.product:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 60px rgba(69,54,41,.12);
}

.woocommerce ul.products li.product a img{
  margin:0!important;
  aspect-ratio: 1 / 1.08;
  object-fit:cover;
  width:100%;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:28px;
  line-height:1.1;
  color:var(--sabon-heading);
  padding:22px 22px 0!important;
  margin:0!important;
}

.woocommerce ul.products li.product .price{
  display:block!important;
  padding:12px 22px 0!important;
  color:var(--sabon-heading)!important;
  font-weight:700;
}

.woocommerce ul.products li.product .button{
  margin:18px 22px 22px!important;
}

.woocommerce span.onsale{
  background:#fff!important;
  color:var(--sabon-heading)!important;
  min-width:auto!important;
  min-height:auto!important;
  line-height:1!important;
  border-radius:999px!important;
  padding:10px 14px!important;
  box-shadow:0 10px 20px rgba(51,43,37,.08);
  top:16px!important;
  left:16px!important;
}

.single-product .product{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:42px;
  align-items:start;
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary{
  float:none!important;
  width:auto!important;
  margin:0!important;
}

.single-product div.product .woocommerce-product-gallery{
  background:rgba(255,255,255,.72);
  border-radius:34px;
  padding:18px;
  border:1px solid rgba(255,255,255,.75);
  box-shadow:var(--sabon-shadow);
}

.single-product div.product .woocommerce-product-gallery__image img{
  border-radius:24px;
}

.single-product div.product .summary{
  padding:8px 0;
}

.single-product div.product .product_title{
  margin-top:0;
  color:var(--sabon-heading);
  font-size:clamp(36px, 5vw, 58px);
  line-height:1.03;
  letter-spacing:-.04em;
}

.single-product div.product p.price,
.single-product div.product span.price{
  color:var(--sabon-heading)!important;
  font-size:30px!important;
  font-weight:700;
}

.single-product div.product form.cart{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:26px 0!important;
}

.quantity .qty{
  min-height:46px;
  border-radius:999px;
  border:1px solid #dccfbe;
  background:#fff;
  padding:0 14px;
}

.woocommerce-product-details__short-description,
.woocommerce-tabs,
.related,
.up-sells{
  margin-top:28px;
}

.woocommerce-tabs ul.tabs{
  padding:0!important;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:0 0 18px!important;
}

.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after{
  display:none!important;
}

.woocommerce-tabs ul.tabs li{
  border:none!important;
  background:transparent!important;
  margin:0!important;
  padding:0!important;
  border-radius:999px!important;
}

.woocommerce-tabs ul.tabs li a{
  display:inline-flex;
  min-height:42px;
  align-items:center;
  padding:0 18px!important;
  border-radius:999px;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(255,255,255,.75);
  color:#5c5045!important;
}

.woocommerce-tabs ul.tabs li.active a{
  background:var(--sabon-accent);
  color:#fff!important;
}

.woocommerce-Tabs-panel,
.woocommerce-Reviews,
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce form.checkout,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation{
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.68);
  border-radius:30px;
  padding:24px;
  box-shadow:var(--sabon-shadow);
}

.woocommerce-cart-form,
.woocommerce form.login,
.woocommerce form.register{
  border:1px solid rgba(255,255,255,.75)!important;
  background:rgba(255,255,255,.68)!important;
  border-radius:30px!important;
  padding:24px!important;
  box-shadow:var(--sabon-shadow);
}

.woocommerce table.shop_table{
  border-radius:22px;
  overflow:hidden;
  border-color:#e5d7c8!important;
  background:#fff;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error{
  border-top-color:var(--sabon-accent)!important;
  border-radius:20px;
  background:rgba(255,255,255,.76)!important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before{
  color:var(--sabon-accent)!important;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt{
  background:var(--sabon-accent)!important;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover{
  background:#241d18!important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a{
  display:block;
  padding:12px 14px;
  border-radius:16px;
  background:#fff;
}

.comment-respond,
.comments-area{
  margin-top:36px;
}

@media (max-width:1100px){
  .hero,
  .grid-3,
  .product-grid,
  .ritual-panel,
  .panels,
  .section-head,
  .single-product .product{
    grid-template-columns:1fr;
  }

  .product-grid,
  .grid-3,
  .check-grid,
  .posts-grid,
  .woocommerce ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .section-head{
    display:grid;
    align-items:start;
  }

  .hero-card__label{
    left:18px;
    top:18px;
  }
}

@media (max-width:767px){
  :root{
    --sabon-width:min(100% - 24px, 1200px);
  }

  .site-header__inner{
    min-height:70px;
  }

  .menu-toggle{
    display:inline-flex;
  }

  .primary-nav{
    position:absolute;
    top:100%;
    inset-inline:0;
    padding:14px 16px 18px;
    display:none;
  }

  .primary-nav.is-open{
    display:block;
  }

  .primary-nav ul{
    display:grid;
    gap:10px;
    padding:12px;
    border-radius:24px;
    background:rgba(255,255,255,.92);
    box-shadow:var(--sabon-shadow);
    border:1px solid rgba(255,255,255,.82);
  }

  .primary-nav a{
    display:block;
    padding:12px 14px;
    border-radius:14px;
  }

  .primary-nav a:hover{
    background:#f6f0e7;
  }

  .header-cart{
    display:none;
  }

  .section{
    padding:60px 0;
  }

  .hero{
    min-height:auto;
    padding:36px 0 50px;
  }

  .hero-stats,
  .product-grid,
  .grid-3,
  .check-grid,
  .ritual-images,
  .posts-grid,
  .woocommerce ul.products{
    grid-template-columns:1fr!important;
  }

  .hero-card__footer,
  .product-card__head,
  .site-footer__inner{
    display:grid;
    justify-content:start;
  }

  .hero-card__label{
    position:static;
    margin-bottom:12px;
  }

  .content-card,
  .contact-card,
  .feature-card,
  .ritual-panel,
  .entry-card,
  .notice-card{
    padding:24px;
    border-radius:28px;
  }

  .contact-card h2{
    font-size:34px;
  }

  .section-title{
    font-size:34px;
  }

  .product-card__title,
  .woocommerce ul.products li.product .woocommerce-loop-product__title{
    font-size:24px;
  }

  .ritual-images > :nth-child(2){
    margin-top:0;
  }
}


/* 1.0.1 UI refinements */
.hero-card__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:16px;
}

.hero-card__actions .btn,
.product-card__footer .btn{
  flex:0 0 auto;
}

.product-grid,
.woocommerce ul.products{
  direction:ltr;
}

html[dir="rtl"] .product-grid,
html[dir="rtl"] .woocommerce ul.products{
  direction:rtl;
}

html[dir="rtl"] .product-card__body,
html[dir="rtl"] .shop-hero,
html[dir="rtl"] .single-product div.product .summary,
html[dir="rtl"] .woocommerce-tabs,
html[dir="rtl"] .woocommerce-Tabs-panel,
html[dir="rtl"] .woocommerce-Reviews{
  text-align:right;
}

html[dir="ltr"] .product-card__body,
html[dir="ltr"] .shop-hero,
html[dir="ltr"] .single-product div.product .summary,
html[dir="ltr"] .woocommerce-tabs,
html[dir="ltr"] .woocommerce-Tabs-panel,
html[dir="ltr"] .woocommerce-Reviews{
  text-align:left;
}

.product-card .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.button,
.wp-element-button,
input[type="submit"],
button[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 28px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  line-height:1;
  border:1px solid transparent;
  box-shadow:0 12px 24px rgba(51,43,37,.14);
  transition:transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.product-card .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.button:hover,
.wp-element-button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover{
  transform:translateY(-2px);
}

.btn.btn--light,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.single-product .single_add_to_cart_button.button,
.single-product .single_add_to_cart_button.button.alt{
  background:rgba(255,255,255,.72)!important;
  color:#433a33!important;
  border-color:#cfc3b6!important;
  box-shadow:0 8px 22px rgba(51,43,37,.08);
}

.btn.btn--light:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.single-product .single_add_to_cart_button.button:hover,
.single-product .single_add_to_cart_button.button.alt:hover{
  background:#fff!important;
  color:#241d18!important;
}

.btn.btn--dark,
.product-card__footer .btn.btn--dark{
  background:var(--sabon-accent);
  color:#fff;
  border-color:transparent;
}

.btn.btn--dark:hover,
.product-card__footer .btn.btn--dark:hover{
  background:#241d18;
  color:#fff;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .btn{
  margin:0!important;
}

.single-product div.product{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:42px;
  align-items:start;
}

.single-product div.product .woocommerce-product-details__short-description,
.single-product div.product .woocommerce-tabs,
.single-product div.product .related,
.single-product div.product .up-sells{
  grid-column:1 / -1;
}

.single-product div.product .woocommerce-product-gallery{
  position:sticky;
  top:108px;
}

.single-product div.product .summary .product_meta{
  margin-top:22px;
  color:var(--sabon-text-soft);
}

.single-product div.product .summary .price{
  margin-bottom:18px;
}

.single-product div.product form.cart .button{
  min-width:180px;
}

.woocommerce-tabs .panel p:last-child,
.woocommerce-Tabs-panel > *:last-child{
  margin-bottom:0;
}

.related.products{
  margin-top:36px;
}

.related.products > h2,
.up-sells > h2{
  margin:0 0 20px;
  color:var(--sabon-heading);
  font-size:clamp(28px, 4vw, 42px);
  line-height:1.08;
}

.related.products ul.products,
.up-sells ul.products{
  margin-top:0!important;
}

.single-product div.product .woocommerce-tabs .panel,
.single-product div.product .woocommerce-Tabs-panel{
  width:100%;
}

@media (max-width: 991px){
  .single-product div.product{
    grid-template-columns:minmax(0,1fr);
  }

  .single-product div.product .woocommerce-product-gallery{
    position:relative;
    top:auto;
  }
}

@media (max-width: 767px){
  .hero-card__actions .btn,
  .product-card__footer .btn,
  .single-product div.product form.cart .button{
    width:100%;
  }
}


/* 1.0.2 product page layout fixes */
.product-card{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.product-card__media{
  display:block;
  width:100%;
  flex:0 0 auto;
}

.product-card__body{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-width:0;
}

.product-card__title a{
  display:block;
}

.product-card__head,
.product-card__footer,
.product-card__tags{
  width:100%;
}

.product-card__summary{
  max-width:100%;
}

.related.products ul.products li.product,
.up-sells ul.products li.product{
  display:flex;
  flex-direction:column;
  align-self:stretch;
}

.related.products ul.products li.product .price-pill,
.up-sells ul.products li.product .price-pill{
  flex:0 0 auto;
  white-space:nowrap;
}

.related.products ul.products li.product .product-card__media,
.up-sells ul.products li.product .product-card__media{
  min-height:0;
}

.related.products ul.products li.product .product-card__body,
.up-sells ul.products li.product .product-card__body{
  padding:24px;
}

.related.products ul.products li.product .woocommerce-loop-product__title,
.up-sells ul.products li.product .woocommerce-loop-product__title{
  font-size:clamp(24px, 2.4vw, 34px);
  line-height:1.08;
}

.related.products ul.products li.product .product-card__summary,
.up-sells ul.products li.product .product-card__summary{
  font-size:16px;
  line-height:1.6;
}

.single-product div.product .woocommerce-tabs{
  margin-top:40px;
  padding-top:8px;
}

.single-product div.product .woocommerce-tabs ul.tabs{
  margin:0 0 20px!important;
}

.single-product div.product .woocommerce-tabs ul.tabs li a{
  min-height:56px;
  padding:0 24px!important;
  font-size:16px;
  font-weight:700;
}

.single-product div.product .woocommerce-tabs .panel,
.single-product div.product .woocommerce-Tabs-panel{
  padding:32px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.68);
  border-radius:30px;
  box-shadow:var(--sabon-shadow);
}

.single-product div.product .woocommerce-tabs .panel > h2:first-child,
.single-product div.product .woocommerce-Tabs-panel > h2:first-child,
.single-product div.product .woocommerce-Reviews-title{
  margin-top:0;
  margin-bottom:16px;
  color:var(--sabon-heading);
  font-size:clamp(28px, 3vw, 40px);
  line-height:1.08;
}

.single-product div.product .woocommerce-tabs .panel p,
.single-product div.product .woocommerce-Tabs-panel p,
.single-product div.product .woocommerce-Reviews p{
  font-size:18px;
  line-height:1.8;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  margin-top:18px!important;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li{
  width:auto!important;
  float:none!important;
  margin:0!important;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border-radius:18px;
}

@media (max-width: 767px){
  .single-product div.product .woocommerce-tabs .panel,
  .single-product div.product .woocommerce-Tabs-panel{
    padding:22px;
  }

  .single-product div.product .woocommerce-product-gallery .flex-control-thumbs{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:10px;
  }
}
