/* ==========================================================================
   LITTLE & CO. — Premium Baby Clothing
   Design tokens
   ========================================================================== */
:root{
  --ivory: #FAF6F0;
  --ivory-deep: #F3ECE1;
  --blush: #F3D8D6;
  --blush-deep: #EABEBC;
  --sage: #A8B79A;
  --sage-deep: #8CA07C;
  --beige: #E6DCC9;
  --charcoal: #2C2724;
  --charcoal-soft: #55504B;
  --white: #FFFFFF;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

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

  --shadow-soft: 0 20px 45px -20px rgba(44, 39, 36, 0.18);
  --shadow-card: 0 10px 30px -12px rgba(44, 39, 36, 0.14);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

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

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

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

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

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

.section-lede{
  max-width: 42rem;
  color: var(--charcoal-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-charcoal{
  background-color: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--ivory);
}
.btn-charcoal:hover{
  background-color: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}

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

.btn-sage{
  background-color: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}
.btn-sage:hover{
  background-color: var(--sage-deep);
  border-color: var(--sage-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(--charcoal);
  color: var(--ivory);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 1rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar-little{
  background-color: var(--ivory);
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(44,39,36,0.08);
}

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

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

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

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

.nav-icon-link{
  color: var(--charcoal);
  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(--sage-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(--ivory-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, 246, 240, 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(--sage);
  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(--sage-deep);
  margin-bottom: 1.25rem;
}

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

.hero-title{
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
}

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

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

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

.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.02rem;
  font-weight: 600;
}

.category-count{
  font-size: 0.78rem;
  color: var(--charcoal-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(44,39,36,0.24);
}

.product-media{
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: var(--ivory-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(--sage-deep); }
.product-badge.badge-best{ background-color: #C98A6B; }
.product-badge.badge-sale{ background-color: #B5504A; }

.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(--charcoal);
  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(--charcoal);
  color: var(--ivory);
  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(--sage-deep);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

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

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

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

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

/* ==========================================================================
   Featured collection banner
   ========================================================================== */
.featured-banner{
  background-color: var(--sage);
  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);
}

/* ==========================================================================
   Why parents love us
   ========================================================================== */
.feature-tile{
  text-align: center;
  padding: 2rem 1.25rem;
}

.feature-icon{
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background-color: var(--blush);
  color: var(--charcoal);
  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(--beige);
}

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

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

.testimonial-quote{
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--charcoal);
  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(--charcoal-soft);
}

/* ==========================================================================
   Instagram gallery
   ========================================================================== */
.insta-tile{
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  display: block;
}

.insta-tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insta-tile:hover img{
  transform: scale(1.12);
}

.insta-overlay{
  position: absolute;
  inset: 0;
  background: rgba(44, 39, 36, 0.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.insta-tile:hover .insta-overlay{
  opacity: 1;
}

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

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

.newsletter-section p{
  color: rgba(250,246,240,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,246,240,0.08);
  border: 1.5px solid rgba(250,246,240,0.3);
  color: var(--ivory);
  border-radius: 50px 0 0 50px;
  padding: 0.85rem 1.3rem;
}

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

.newsletter-form .form-control:focus{
  box-shadow: none;
  border-color: var(--sage);
  background-color: rgba(250,246,240,0.12);
}

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

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

.footer-brand{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
  color: var(--charcoal);
  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(--charcoal);
}

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

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

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

.footer-links a:hover{
  color: var(--sage-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(44,39,36,0.2);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

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

.payment-icons{
  font-size: 1.6rem;
  color: var(--charcoal-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(--charcoal);
  opacity: 0.2;
}

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

.ph-blush{ background: linear-gradient(160deg, var(--blush), var(--blush-deep)); }
.ph-sage{ background: linear-gradient(160deg, #CBD9C0, var(--sage)); }
.ph-beige{ background: linear-gradient(160deg, var(--beige), #D9CCAF); }
.ph-ivory{ background: linear-gradient(160deg, var(--ivory-deep), var(--beige)); }

/* ==========================================================================
   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(--ivory-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(--charcoal-soft);
}

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

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

.breadcrumb-trail li:not(:last-child)::after{
  content: "/";
  margin-left: 0.5rem;
  color: var(--blush-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(--charcoal-soft);
  margin-bottom: 0.4rem;
}

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

.form-control:focus,
.form-select:focus{
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(140, 160, 124, 0.18);
}

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

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

.form-check-label{
  font-size: 0.92rem;
  color: var(--charcoal-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(44,39,36,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(--charcoal-soft);
}

.form-range::-webkit-slider-thumb{ background-color: var(--sage-deep); }
.form-range::-moz-range-thumb{ background-color: var(--sage-deep); }
.form-range::-webkit-slider-runnable-track{ background-color: rgba(140,160,124,0.25); }
.form-range::-moz-range-track{ background-color: rgba(140,160,124,0.25); }

.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(44,39,36,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(44,39,36,0.1);
}

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

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

.shop-pagination .page-link{
  border: none;
  color: var(--charcoal);
  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(--charcoal);
  color: var(--ivory);
}

.shop-pagination .page-link:hover{
  background-color: var(--ivory-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(--sage-deep);
  opacity: 1;
}

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

.pd-title{
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  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: #A79E93;
  text-decoration: line-through;
  margin-right: 0.6rem;
}

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

.size-swatch{
  min-width: 52px;
  height: 44px;
  padding: 0 0.8rem;
  border-radius: 50px;
  border: 1.5px solid rgba(44,39,36,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(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

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

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

.qty-stepper input{
  width: 44px;
  height: 46px;
  border: none;
  border-left: 1.5px solid rgba(44,39,36,0.15);
  border-right: 1.5px solid rgba(44,39,36,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(--charcoal-soft);
}

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

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

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

.pd-tabs .nav-link{
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--charcoal-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(--charcoal);
  border-bottom-color: var(--sage-deep);
  background: transparent;
}

.pd-tab-content{
  padding-top: 1.75rem;
  color: var(--charcoal-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(--charcoal-soft);
  font-weight: 600;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(44,39,36,0.1);
}

.cart-table td{
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid rgba(44,39,36,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(--charcoal-soft);
}

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

.cart-remove:hover{ color: #B5504A; }

.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(--charcoal-soft);
}

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

.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(--charcoal);
  color: var(--ivory);
  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(44,39,36,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(--sage-deep);
  background-color: rgba(168, 183, 154, 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(--charcoal);
  color: var(--ivory);
  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(44,39,36,0.06), rgba(44,39,36,0.06)),
    repeating-linear-gradient(45deg, var(--ivory-deep) 0 2px, transparent 2px 40px),
    repeating-linear-gradient(-45deg, var(--ivory-deep) 0 2px, transparent 2px 40px),
    var(--beige);
  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(--sage-deep);
  font-size: 1.2rem;
}

.faq-item{
  border-bottom: 1px solid rgba(44,39,36,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;
}

/* ==========================================================================
   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(--charcoal);
}

.blog-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -18px rgba(44,39,36,0.24);
  color: var(--charcoal);
}

.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(--sage-deep);
  margin-bottom: 0.6rem;
}

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

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

.blog-meta{
  font-size: 0.78rem;
  color: #A79E93;
  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(--charcoal);
}

.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(--charcoal-soft);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(44,39,36,0.1);
}

.sidebar-category-link:hover{ color: var(--sage-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(--charcoal-soft);
  margin-bottom: 1.5rem;
}

.article-body{
  max-width: 44rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--charcoal-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(--sage-deep);
  padding-left: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--charcoal);
  margin: 2rem 0;
}

.author-box{
  max-width: 44rem;
  margin: 3rem auto 0;
  background-color: var(--ivory-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(--sage-deep);
  margin-bottom: 0.2rem;
}

.stat-label{
  font-size: 0.85rem;
  color: var(--charcoal-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(--sage-deep);
  opacity: 1;
}

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

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

#tabDescription:checked ~ .pd-tabs label[for="tabDescription"],
#tabSize:checked ~ .pd-tabs label[for="tabSize"],
#tabReviews:checked ~ .pd-tabs label[for="tabReviews"]{
  color: var(--charcoal);
  border-bottom-color: var(--sage-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"],
#sz4:checked ~ label[for="sz4"],
#sz5:checked ~ label[for="sz5"]{
  background-color: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

#col1:checked ~ label[for="col1"],
#col2:checked ~ label[for="col2"],
#col3:checked ~ label[for="col3"]{
  outline: 2px solid var(--charcoal);
  outline-offset: 2px;
}
