/* ==========================================================================
   BARE BOTANICA — Organic Skincare & Beauty
   Design tokens
   ========================================================================== */
:root{
  --cream: #FAF4EA;
  --cream-deep: #F1E6D6;
  --nude: #E8CFB5;
  --nude-deep: #DCB88F;
  --terracotta: #C1704A;
  --terracotta-deep: #A2582F;
  --mauve: #C1A0A3;
  --mauve-deep: #9C7477;
  --brown: #3A2C22;
  --brown-soft: #6E5D50;
  --white: #FFFFFF;

  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --radius-lg: 1.75rem;
  --radius-md: 1.25rem;
  --radius-sm: 0.75rem;

  --shadow-soft: 0 20px 45px -20px rgba(58, 44, 34, 0.22);
  --shadow-card: 0 10px 30px -14px rgba(58, 44, 34, 0.18);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--brown);
  background-color: var(--cream);
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, .display-font{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brown);
  letter-spacing: -0.01em;
}

p{ color: var(--brown-soft); }

.section-eyebrow{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--terracotta-deep);
}

.section-title{
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  margin-bottom: 0.5rem;
}

.section-lede{
  max-width: 42rem;
  color: var(--brown-soft);
}

.container-xl-soft{
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  border-radius: 50px;
  padding: 0.85rem 2rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: 0.92rem;
  transition: all 0.3s ease;
  border-width: 1.5px;
}

.btn-brown{
  background-color: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}
.btn-brown:hover{
  background-color: transparent;
  border-color: var(--brown);
  color: var(--brown);
}

.btn-outline-brown{
  background-color: transparent;
  border-color: var(--brown);
  color: var(--brown);
}
.btn-outline-brown:hover{
  background-color: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

.btn-terracotta{
  background-color: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}
.btn-terracotta:hover{
  background-color: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
  color: var(--white);
}

.btn-sm-pill{
  border-radius: 50px;
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Top announcement bar
   ========================================================================== */
.announce-bar{
  background-color: var(--brown);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 1rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar-bb{
  background-color: var(--cream);
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(58,44,34,0.08);
}

.brand-mark{
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brown) !important;
  text-decoration: none;
}

.navbar-bb .nav-link{
  color: var(--brown);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.navbar-bb .nav-link::after{
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.15rem;
  height: 1px;
  background-color: var(--terracotta-deep);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.navbar-bb .nav-link:hover::after{
  transform: scaleX(1);
}

.nav-icon-link{
  color: var(--brown);
  font-size: 1.15rem;
  padding: 0.4rem 0.6rem;
  position: relative;
  text-decoration: none;
}

.cart-badge{
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--terracotta-deep);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  background-color: var(--cream-deep);
  overflow: hidden;
}

.hero-image-wrap{
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.hero-image-wrap img{
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.hero-badge-float{
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: rgba(250, 244, 234, 0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
}

.hero-badge-float .icon{
  width: 42px;
  height: 42px;
  background-color: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--terracotta-deep);
  margin-bottom: 1.25rem;
}

.hero-eyebrow::before{
  content: "";
  width: 30px;
  height: 1px;
  background-color: var(--terracotta-deep);
}

.hero-title{
  font-size: clamp(2.5rem, 4.8vw, 4.1rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
}

.hero-title em{
  font-style: italic;
  color: var(--terracotta-deep);
}

.hero-sub{
  font-size: 1.08rem;
  max-width: 32rem;
  margin-bottom: 2.2rem;
  color: var(--brown-soft);
}

/* ==========================================================================
   Category circles (Shop by Concern)
   ========================================================================== */
.category-card{
  text-decoration: none;
  display: block;
  text-align: center;
  color: var(--brown);
}

.category-circle{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-card);
  border: 6px solid var(--white);
  position: relative;
}

.category-circle img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.category-card:hover .category-circle img{
  transform: scale(1.1);
}

.category-name{
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.category-count{
  font-size: 0.78rem;
  color: var(--brown-soft);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Product cards
   ========================================================================== */
.product-card{
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -18px rgba(58,44,34,0.26);
}

.product-media{
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: var(--cream-deep);
}

.product-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-media img{
  transform: scale(1.08);
}

.product-badge{
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  color: var(--white);
}

.product-badge.badge-new{ background-color: var(--terracotta-deep); }
.product-badge.badge-best{ background-color: var(--mauve-deep); }
.product-badge.badge-sale{ background-color: #9A4A34; }

.product-wishlist{
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.3s ease;
}

.product-card:hover .product-wishlist{
  opacity: 1;
  transform: translateY(0);
}

.product-quickadd{
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -50px;
  background-color: var(--brown);
  color: var(--cream);
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: bottom 0.35s ease;
}

.product-card:hover .product-quickadd{
  bottom: 0.75rem;
}

.product-info{
  padding: 1.1rem 1.2rem 1.3rem;
}

.product-category{
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta-deep);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.product-name{
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.product-price{
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--brown);
}

.product-price .old-price{
  font-weight: 400;
  color: #A6968A;
  text-decoration: line-through;
  margin-right: 0.5rem;
  font-size: 0.88rem;
}

.product-rating{
  color: #C7963F;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   Featured collection / editorial banner
   ========================================================================== */
.featured-banner{
  background-color: var(--mauve);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.featured-banner-img{
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  width: 100%;
}

.featured-banner-content{
  padding: 3rem;
  color: var(--white);
}

.featured-banner-content .section-eyebrow{
  color: rgba(255,255,255,0.85);
}

.featured-banner-content h2,
.featured-banner-content p{
  color: var(--white);
}

.featured-banner-content p{
  color: rgba(255,255,255,0.88);
}

/* ==========================================================================
   Daily Ritual steps
   ========================================================================== */
.ritual-step{
  text-align: center;
  padding: 1rem;
  position: relative;
}

.ritual-num{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--terracotta-deep);
  border: 1.5px solid var(--nude-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 auto 1.2rem;
}

.ritual-step h3{
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.ritual-step p{
  font-size: 0.92rem;
  margin-bottom: 0;
  max-width: 18rem;
  margin-inline: auto;
}

/* ==========================================================================
   Shop by category (Cleansers / Serums / Moisturizers / Body Care)
   ========================================================================== */
.concern-card{
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-card);
}

.concern-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.concern-card:hover img{
  transform: scale(1.08);
}

.concern-card-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58,44,34,0) 40%, rgba(58,44,34,0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.concern-card-overlay h3{
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.15rem;
}

.concern-card-overlay span{
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Ingredient cards
   ========================================================================== */
.ingredient-card{
  text-align: center;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.25rem;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.ingredient-card:hover{
  transform: translateY(-6px);
}

.ingredient-icon{
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background-color: var(--cream-deep);
  color: var(--terracotta-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.2rem;
}

.ingredient-card h3{
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ingredient-card p{
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Editorial philosophy section
   ========================================================================== */
.editorial-section{
  background-color: var(--brown);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.75rem, 5vw, 5rem);
}

.editorial-section .section-eyebrow{
  color: var(--nude-deep);
}

.editorial-section h2{
  color: var(--cream);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

.editorial-section p{
  color: rgba(250,244,234,0.78);
}

.editorial-quote{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.5;
  color: var(--cream);
  max-width: 46rem;
}

.editorial-signature{
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--nude-deep);
  margin-top: 1.5rem;
}

/* ==========================================================================
   Why Bare Botanica / feature tiles
   ========================================================================== */
.feature-tile{
  text-align: center;
  padding: 2rem 1.25rem;
}

.feature-icon{
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background-color: var(--nude);
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.2rem;
}

.feature-tile h3{
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-tile p{
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-section{
  background-color: var(--cream-deep);
}

.testimonial-card{
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  height: 100%;
  box-shadow: var(--shadow-card);
}

.testimonial-stars{
  color: #C7963F;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.testimonial-quote{
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  color: var(--brown);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.testimonial-author{
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-author img{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name{
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0;
}

.testimonial-role{
  font-size: 0.78rem;
  color: var(--brown-soft);
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter-section{
  background-color: var(--brown);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
}

.newsletter-section h2{
  color: var(--cream);
}

.newsletter-section p{
  color: rgba(250,244,234,0.75);
  max-width: 34rem;
  margin: 0 auto 1.8rem;
}

.newsletter-form{
  max-width: 30rem;
  margin: 0 auto;
}

.newsletter-form .form-control{
  background-color: rgba(250,244,234,0.08);
  border: 1.5px solid rgba(250,244,234,0.3);
  color: var(--cream);
  border-radius: 50px 0 0 50px;
  padding: 0.85rem 1.3rem;
}

.newsletter-form .form-control::placeholder{
  color: rgba(250,244,234,0.55);
}

.newsletter-form .form-control:focus{
  box-shadow: none;
  border-color: var(--terracotta);
  background-color: rgba(250,244,234,0.12);
}

.newsletter-form .btn{
  border-radius: 0 50px 50px 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background-color: var(--cream-deep);
  border-top: 1px solid rgba(58,44,34,0.08);
  padding-top: 4rem;
}

.footer-brand{
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
  color: var(--brown);
  text-decoration: none;
}

.footer-about{
  max-width: 22rem;
  font-size: 0.92rem;
}

.footer-heading{
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--brown);
}

.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li{
  margin-bottom: 0.7rem;
}

.footer-links a{
  color: var(--brown-soft);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.25s ease;
}

.footer-links a:hover{
  color: var(--terracotta-deep);
}

.footer-social{
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.footer-social a{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(58,44,34,0.2);
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social a:hover{
  background-color: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}

.footer-bottom{
  border-top: 1px solid rgba(58,44,34,0.1);
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: var(--brown-soft);
}

.payment-icons{
  font-size: 1.6rem;
  color: var(--brown-soft);
  display: flex;
  gap: 0.6rem;
}

/* ==========================================================================
   Placeholder media tiles (soft palette + icon, in place of product photography)
   ========================================================================== */
.ph-media{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease;
}

.ph-media i{
  font-size: 3.2rem;
  color: var(--brown);
  opacity: 0.2;
}

.product-card:hover .ph-media,
.category-card:hover .ph-media,
.concern-card:hover .ph-media{
  transform: scale(1.08);
}

.ph-nude{ background: linear-gradient(160deg, var(--nude), var(--nude-deep)); }
.ph-mauve{ background: linear-gradient(160deg, #D9C1C3, var(--mauve)); }
.ph-terracotta{ background: linear-gradient(160deg, #E2B79E, var(--terracotta)); }
.ph-cream{ background: linear-gradient(160deg, var(--cream-deep), var(--nude)); }

/* ==========================================================================
   Section spacing helpers
   ========================================================================== */
.section-py{
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

@media (max-width: 767.98px){
  .featured-banner-content{
    padding: 2rem;
  }
  .hero-badge-float{
    display: none;
  }
}

/* ==========================================================================
   Page header (interior pages)
   ========================================================================== */
.page-header{
  background-color: var(--cream-deep);
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.breadcrumb-trail{
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brown-soft);
}

.breadcrumb-trail a{
  color: var(--brown-soft);
  text-decoration: none;
}

.breadcrumb-trail a:hover{ color: var(--terracotta-deep); }

.breadcrumb-trail li:not(:last-child)::after{
  content: "/";
  margin-left: 0.5rem;
  color: var(--mauve-deep);
}

.page-header h1{
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  margin-bottom: 0.5rem;
}

.page-header p{
  max-width: 34rem;
  margin: 0 auto;
}

/* ==========================================================================
   Generic form controls (checkout / contact)
   ========================================================================== */
.form-label{
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin-bottom: 0.4rem;
}

.form-control,
.form-select{
  border: 1.5px solid rgba(58,44,34,0.14);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  color: var(--brown);
  background-color: var(--white);
}

.form-control:focus,
.form-select:focus{
  border-color: var(--terracotta-deep);
  box-shadow: 0 0 0 3px rgba(162, 88, 47, 0.15);
}

.form-check-input{
  border: 1.5px solid rgba(58,44,34,0.3);
}

.form-check-input:checked{
  background-color: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
}

.form-check-label{
  font-size: 0.92rem;
  color: var(--brown-soft);
}

textarea.form-control{
  min-height: 140px;
}

/* ==========================================================================
   Shop page — filters + toolbar
   ========================================================================== */
.filter-panel{
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.filter-group{
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(58,44,34,0.08);
}

.filter-group:last-child{
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-heading{
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.price-range-value{
  font-size: 0.85rem;
  color: var(--brown-soft);
}

.form-range::-webkit-slider-thumb{ background-color: var(--terracotta-deep); }
.form-range::-moz-range-thumb{ background-color: var(--terracotta-deep); }
.form-range::-webkit-slider-runnable-track{ background-color: rgba(162,88,47,0.2); }
.form-range::-moz-range-track{ background-color: rgba(162,88,47,0.2); }

.color-swatch-row{
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.color-swatch{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(58,44,34,0.15);
  cursor: pointer;
  display: inline-block;
}

.shop-toolbar{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(58,44,34,0.1);
}

.result-count{
  font-size: 0.9rem;
  color: var(--brown-soft);
}

.sort-select{
  max-width: 220px;
  font-size: 0.85rem;
}

.shop-pagination .page-link{
  border: none;
  color: var(--brown);
  background: transparent;
  margin: 0 0.2rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.shop-pagination .page-item.active .page-link{
  background-color: var(--brown);
  color: var(--cream);
}

.shop-pagination .page-link:hover{
  background-color: var(--cream-deep);
}

/* ==========================================================================
   Product detail page
   ========================================================================== */
.pd-gallery-main{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
}

.pd-gallery-main img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-thumbs{
  display: flex;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.pd-thumb{
  width: 76px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
}

.pd-thumb.active{
  border-color: var(--terracotta-deep);
  opacity: 1;
}

.pd-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-title{
  font-size: clamp(1.8rem, 2.7vw, 2.3rem);
  margin-bottom: 0.5rem;
}

.pd-price{
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.pd-price .old-price{
  font-size: 1.05rem;
  font-weight: 400;
  color: #A6968A;
  text-decoration: line-through;
  margin-right: 0.6rem;
}

.pd-swatch-row{
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.size-swatch{
  min-width: 58px;
  height: 44px;
  padding: 0 0.8rem;
  border-radius: 50px;
  border: 1.5px solid rgba(58,44,34,0.2);
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.size-swatch.active{
  background-color: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}

.qty-stepper{
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(58,44,34,0.2);
  border-radius: 50px;
  overflow: hidden;
}

.qty-stepper button{
  width: 42px;
  height: 46px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  color: var(--brown);
}

.qty-stepper input{
  width: 44px;
  height: 46px;
  border: none;
  border-left: 1.5px solid rgba(58,44,34,0.15);
  border-right: 1.5px solid rgba(58,44,34,0.15);
  text-align: center;
  font-size: 0.95rem;
  -moz-appearance: textfield;
}

.pd-meta-list{
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  font-size: 0.88rem;
  color: var(--brown-soft);
}

.pd-meta-list li{
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(58,44,34,0.12);
  display: flex;
  gap: 0.5rem;
}

.pd-meta-list strong{
  color: var(--brown);
  min-width: 110px;
  font-weight: 600;
}

.pd-tabs{
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(58,44,34,0.1);
}

.pd-tabs .nav-link{
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--brown-soft);
  font-weight: 500;
  padding: 0.9rem 0;
  margin-right: 2rem;
  margin-bottom: -1px;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.pd-tabs .nav-link.active{
  color: var(--brown);
  border-bottom-color: var(--terracotta-deep);
  background: transparent;
}

.pd-tab-content{
  padding-top: 1.75rem;
  color: var(--brown-soft);
  max-width: 46rem;
}

/* ==========================================================================
   Cart page
   ========================================================================== */
.cart-table{
  width: 100%;
  border-collapse: collapse;
}

.cart-table th{
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brown-soft);
  font-weight: 600;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(58,44,34,0.1);
}

.cart-table td{
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid rgba(58,44,34,0.08);
  vertical-align: middle;
}

.cart-item-info{
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.cart-item-img{
  width: 84px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-name{
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.cart-item-variant{
  font-size: 0.82rem;
  color: var(--brown-soft);
}

.cart-remove{
  font-size: 0.78rem;
  color: var(--brown-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.cart-remove:hover{ color: #9A4A34; }

.order-summary-box{
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.summary-row{
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding: 0.6rem 0;
  color: var(--brown-soft);
}

.summary-row.total{
  border-top: 1px solid rgba(58,44,34,0.12);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown);
}

.promo-input-group .form-control{
  border-radius: 50px 0 0 50px;
}

.promo-input-group .btn{
  border-radius: 0 50px 50px 0;
}

/* ==========================================================================
   Checkout page
   ========================================================================== */
.checkout-step-num{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--brown);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 0.7rem;
}

.checkout-section-title{
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-bottom: 1.4rem;
}

.payment-option{
  border: 1.5px solid rgba(58,44,34,0.15);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
}

.payment-option:has(input:checked){
  border-color: var(--terracotta-deep);
  background-color: rgba(193, 112, 74, 0.08);
}

.checkout-summary-item{
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1rem;
}

.checkout-summary-item img{
  width: 56px;
  height: 66px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.checkout-summary-item .qty-badge{
  position: relative;
}

.checkout-summary-item .qty-badge span{
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--brown);
  color: var(--cream);
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-info-card{
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  height: 100%;
}

.contact-info-card .feature-icon{
  margin: 0 auto 1rem;
}

.contact-info-card h3{
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.contact-info-card p{
  font-size: 0.9rem;
  margin-bottom: 0;
}

.map-block{
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  background:
    linear-gradient(rgba(58,44,34,0.06), rgba(58,44,34,0.06)),
    repeating-linear-gradient(45deg, var(--cream-deep) 0 2px, transparent 2px 40px),
    repeating-linear-gradient(-45deg, var(--cream-deep) 0 2px, transparent 2px 40px),
    var(--nude);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin{
  background-color: var(--white);
  border-radius: 50px;
  padding: 0.9rem 1.4rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.map-pin i{
  color: var(--terracotta-deep);
  font-size: 1.2rem;
}

.faq-item{
  border-bottom: 1px solid rgba(58,44,34,0.1);
  padding: 1.4rem 0;
}

.faq-item h3{
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.faq-item p{
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Beauty Journal (blog) listing + article
   ========================================================================== */
.blog-card{
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  display: block;
  color: var(--brown);
}

.blog-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -18px rgba(58,44,34,0.26);
  color: var(--brown);
}

.blog-card-media{
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.blog-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-media img{
  transform: scale(1.08);
}

.blog-card-body{
  padding: 1.4rem 1.5rem 1.6rem;
}

.blog-tag{
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--terracotta-deep);
  margin-bottom: 0.6rem;
}

.blog-card-title{
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.blog-card-excerpt{
  font-size: 0.9rem;
  color: var(--brown-soft);
  margin-bottom: 1rem;
}

.blog-meta{
  font-size: 0.78rem;
  color: #A6968A;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-featured{
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.blog-featured img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.blog-sidebar-block{
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
}

.blog-sidebar-block h3{
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}

.sidebar-post{
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  text-decoration: none;
  color: var(--brown);
}

.sidebar-post img{
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-post-title{
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.35;
}

.sidebar-category-link{
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  color: var(--brown-soft);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(58,44,34,0.1);
}

.sidebar-category-link:hover{ color: var(--terracotta-deep); }

.article-hero{
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  box-shadow: var(--shadow-soft);
}

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

.article-meta{
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--brown-soft);
  margin-bottom: 1.5rem;
}

.article-body{
  max-width: 44rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--brown-soft);
}

.article-body h2{
  font-size: 1.5rem;
  margin: 2.2rem 0 1rem;
}

.article-body p{
  margin-bottom: 1.3rem;
}

.article-body img{
  width: 100%;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.article-body blockquote{
  border-left: 3px solid var(--terracotta-deep);
  padding-left: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--brown);
  margin: 2rem 0;
}

.author-box{
  max-width: 44rem;
  margin: 3rem auto 0;
  background-color: var(--cream-deep);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.author-box img{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.author-box h4{
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.author-box p{
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ==========================================================================
   About page
   ========================================================================== */
.about-hero{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-hero img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.stat-block{
  text-align: center;
}

.stat-number{
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--terracotta-deep);
  margin-bottom: 0.2rem;
}

.stat-label{
  font-size: 0.85rem;
  color: var(--brown-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Empty cart / 404 style states */
.empty-state{
  border-radius: var(--radius-lg);
  background-color: var(--white);
  box-shadow: var(--shadow-card);
  padding: 4rem 2rem;
  text-align: center;
}

/* ==========================================================================
   CSS-only interactive patterns (radio + label, no JavaScript)
   ========================================================================== */
.pd-gallery-radio,
.pd-tab-radio,
.pd-swatch-radio{
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Gallery */
.pd-gallery-main{
  position: relative;
}

.pd-gallery-slide{
  display: none;
}

.pd-gallery-slide img,
.pd-gallery-slide .ph-media{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#pdg1:checked ~ .pd-gallery-main #slide1,
#pdg2:checked ~ .pd-gallery-main #slide2,
#pdg3:checked ~ .pd-gallery-main #slide3{
  display: block;
}

#pdg1:checked ~ .pd-thumbs label[for="pdg1"],
#pdg2:checked ~ .pd-thumbs label[for="pdg2"],
#pdg3:checked ~ .pd-thumbs label[for="pdg3"]{
  border-color: var(--terracotta-deep);
  opacity: 1;
}

/* Tabs */
.pd-tab-panels .pd-tab-content{ display: none; }

#tabDescription:checked ~ .pd-tab-panels .pd-panel-description,
#tabIngredients:checked ~ .pd-tab-panels .pd-panel-ingredients,
#tabReviews:checked ~ .pd-tab-panels .pd-panel-reviews{
  display: block;
}

#tabDescription:checked ~ .pd-tabs label[for="tabDescription"],
#tabIngredients:checked ~ .pd-tabs label[for="tabIngredients"],
#tabReviews:checked ~ .pd-tabs label[for="tabReviews"]{
  color: var(--brown);
  border-bottom-color: var(--terracotta-deep);
}

/* Size / color swatches */
.pd-swatch-row label,
.color-swatch-row label{
  margin-bottom: 0;
}

#sz1:checked ~ label[for="sz1"],
#sz2:checked ~ label[for="sz2"],
#sz3:checked ~ label[for="sz3"]{
  background-color: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}
