/* Samino — single product page styles */

body.samino-product { background-color: #FFF7E8; }

/* ====== Gallery ====== */

.samino-gallery__main {
  position: relative;
  width: 100%;
  max-width: 560px;        /* cap so image stays readable on wide screens */
  margin: 0 auto;          /* center within its grid column */
  aspect-ratio: 1 / 1;     /* square — less imposing than 4:5 portrait */
  background: #f3f0e7;
  border-radius: 16px;
  overflow: hidden;
}

.samino-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;  /* keep models' heads in frame on tall product shots */
  display: block;
  transition: opacity .35s ease;
}

.samino-gallery__main img.is-fading { opacity: 0; }

.samino-gallery__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #FF8A5B;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
}

.samino-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 12px;
  max-width: 560px;        /* match main image cap */
  margin-left: auto;
  margin-right: auto;
}

.samino-gallery__thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
  background: #f3f0e7;
}

.samino-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

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

.samino-gallery__thumb.is-active {
  border-color: #1C1C1C;
}

/* ====== Sticky info column ====== */

@media (min-width: 1024px) {
  .samino-product__info-sticky {
    position: sticky;
    top: 110px;
    align-self: start;
  }
}

.samino-product__eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #7A7A7A;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
/* Inline badge pill — same brand gradient + shape as the product-card badge,
   sized to live alongside the small uppercase eyebrow. */
.samino-product__eyebrow-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 10px;
  font-size: 9px;
  letter-spacing: 0.10em;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #FF8A5B 0%, #FFA500 100%);
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
}

.samino-product__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  color: #1C1C1C;
  margin: 8px 0 14px;
}

.samino-product__price {
  font-size: 22px;
  font-weight: 700;
  color: #FFA500;
  letter-spacing: -0.01em;
}

.samino-product__price del {
  color: #b3b3b3;
  font-size: 16px;
  font-weight: 500;
  margin-right: 8px;
}

/* Rating row — sits BELOW the title, above the price. Each star is a button
   that scrolls to #reviews and pre-selects the rating in the comment form
   (see product.js). Hover paints stars up to the cursor for instant feedback. */
.samino-product__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 12px;
}
.samino-product__rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.samino-product__star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #E6DDC4;
  cursor: pointer;
  transition: color .15s, transform .15s;
}
.samino-product__star svg { width: 22px; height: 22px; }
.samino-product__star.is-filled,
.samino-product__star.is-hot,
.samino-product__star:hover { color: #F5B400; }    /* gold-yellow */
.samino-product__star:hover,
.samino-product__star.is-hot { transform: scale(1.08); }
.samino-product__star:focus-visible {
  outline: 2px solid #FF8A5B;
  outline-offset: 2px;
  border-radius: 6px;
}
.samino-product__rating-meta {
  font-size: 12px;
  color: #7A7A7A;
  letter-spacing: 0.02em;
}
.samino-product__price-row { margin: 4px 0 0; }

.samino-product__excerpt {
  color: #4a4a4a;
  font-size: 14px;
  line-height: 1.7;
  margin: 18px 0 28px;
}

/* ====== Quantity stepper ====== */

.samino-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  height: 48px;
}

.samino-qty button {
  width: 40px;
  height: 100%;
  background: transparent;
  border: 0;
  font-size: 18px;
  color: #1C1C1C;
  cursor: pointer;
  transition: background .15s;
}

.samino-qty button:hover { background: #FFF7E8; }

.samino-qty input {
  width: 48px;
  height: 100%;
  border: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  appearance: textfield;
  -moz-appearance: textfield;
}

.samino-qty input::-webkit-outer-spin-button,
.samino-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ====== CTA buttons ====== */

.samino-add-cart,
.samino-buy-now {
  flex: 1;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}

.samino-add-cart {
  background: transparent;
  color: #1C1C1C;
  border: 1px solid #1C1C1C;
  position: relative;
  overflow: hidden;
}

/* Post-add confirmation pill. Sits in the same column as the qty stepper
   on the product detail page; product.js shows the pill + hides the
   stepper after a successful AJAX add. The button next to it has already
   morphed to "View cart →", so the row reads as a clean two-step
   confirmation: [✓ Added] [View cart →]. */
.samino-product__added-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 14px;
  background: #E5F6EC;
  color: #2E7D4F;
  border: 1px solid #B4E0C2;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.samino-product__added-pill[hidden] { display: none; }
.samino-add-cart:hover {
  background: #1C1C1C;
  color: #fff;
  border-color: #1C1C1C;
}
.samino-add-cart__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity .2s;
}

/* Loading: hide the label and show a spinner. */
.samino-add-cart.loading {
  opacity: .9;
  cursor: wait;
  pointer-events: none;
}
.samino-add-cart.loading .samino-add-cart__label { opacity: 0; }
.samino-add-cart.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(28, 28, 28, 0.20);
  border-top-color: #1C1C1C;
  border-radius: 50%;
  animation: samino-spin .7s linear infinite;
}
@keyframes samino-spin { to { transform: rotate(360deg); } }

/* Added: green button with checkmark + "Added to cart" text via pseudo. */
.samino-add-cart.added {
  background: #2D7A4F !important;
  border-color: #2D7A4F !important;
  pointer-events: none;
}
.samino-add-cart.added .samino-add-cart__label { opacity: 0; }
.samino-add-cart.added::after {
  content: "\2713  Added to cart";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}

/* In-cart: post-add state set by product.js. Flips the button into a
   "View cart →" CTA — orange, clickable, navigates to the cart page. */
.samino-add-cart.samino-add-cart--in-cart,
.samino-add-cart.added.samino-add-cart--in-cart {
  background: #FF8A5B !important;
  border-color: #FF8A5B !important;
  pointer-events: auto;
  cursor: pointer;
}
.samino-add-cart.samino-add-cart--in-cart:hover,
.samino-add-cart.added.samino-add-cart--in-cart:hover {
  background: #1C1C1C !important;
  border-color: #1C1C1C !important;
}
.samino-add-cart.samino-add-cart--in-cart::after,
.samino-add-cart.added.samino-add-cart--in-cart::after {
  content: "View cart  \2192";
}

/* WC's "View cart →" link injected after a successful add-to-cart.
   Filled brand-orange pill so it reads as the next CTA. */
.samino-product .added_to_cart,
.samino-product .added_to_cart.wc-forward {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  margin-left: 8px;
  padding: 0 22px;
  background: #FF8A5B;
  border: 1.5px solid #FF8A5B;
  color: #fff;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.samino-product .added_to_cart::after {
  content: " \2192";
  font-size: 14px;
}
.samino-product .added_to_cart:hover,
.samino-product .added_to_cart.wc-forward:hover {
  background: #1C1C1C;
  border-color: #1C1C1C;
  color: #fff;
}

.samino-buy-now {
  background: #fff;
  color: #1C1C1C;
  border: 1px solid #1C1C1C;
}
.samino-buy-now:hover {
  background: #1C1C1C;
  color: #fff;
}

.samino-product__wishlist {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  color: #7A7A7A;
  cursor: pointer;
  transition: all .2s;
}
.samino-product__wishlist:hover,
.samino-product__wishlist.woosw-added {
  color: #FF8A5B;
  border-color: #FF8A5B;
}
.samino-product__wishlist.woosw-added .woosw-btn-icon svg { fill: currentColor; }
.samino-product__wishlist .woosw-btn-icon,
.samino-product__wishlist .woosw-btn-icon svg {
  display: inline-flex !important;
  visibility: visible !important;
}

/* ====== Trust pills ====== */

.samino-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 28px 0;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
}

.samino-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #1C1C1C;
}

.samino-trust__item svg {
  flex-shrink: 0;
  color: #FF8A5B;
}

/* ====== Accordion ====== */

.samino-accordion__item { border-bottom: 1px solid #E8E8E8; }
.samino-accordion__item:first-child { border-top: 1px solid #E8E8E8; }

.samino-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1C1C1C;
  cursor: pointer;
  text-align: left;
}

.samino-accordion__trigger svg {
  width: 18px;
  height: 18px;
  transition: transform .25s;
}
.samino-accordion__item.is-open .samino-accordion__trigger svg { transform: rotate(45deg); }

.samino-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.samino-accordion__item.is-open .samino-accordion__panel {
  max-height: 1000px;
}
.samino-accordion__panel-inner {
  padding: 4px 0 22px;
  font-size: 13px;
  line-height: 1.7;
  color: #4a4a4a;
}
.samino-accordion__panel-inner ul { padding-left: 18px; list-style: disc; }
.samino-accordion__panel-inner li { margin: 6px 0; }
.samino-accordion__panel-inner p { margin: 0 0 10px; }

/* ====== Storytelling strip ====== */

.samino-story {
  position: relative;
  width: 100%;
  background: #2c1f12;
  color: #fff;
  overflow: hidden;
}
.samino-story__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.samino-story__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Anchor the visible crop near the top of the source so the kids' faces
     stay in frame on this band — default `center` was clipping them off. */
  object-position: 50% 20%;
  opacity: 0.55;
}
.samino-story__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(28,28,28,0.7) 0%, rgba(28,28,28,0.2) 100%);
}
.samino-story__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
}
.samino-story__eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #FFB180;
  margin-bottom: 14px;
  font-weight: 600;
}
.samino-story__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  max-width: 720px;
  margin-bottom: 18px;
}
.samino-story__copy {
  font-size: 15px;
  line-height: 1.75;
  max-width: 580px;
  color: rgba(255,255,255,0.82);
}

/* ====== Benefits row ====== */

.samino-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  text-align: center;
}
@media (min-width: 768px) {
  .samino-benefits { grid-template-columns: repeat(3, 1fr); }
}
.samino-benefit__icon {
  display: inline-flex;
  width: 52px; height: 52px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #FF8A5B;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px -8px rgba(255,138,91,0.4);
}
.samino-benefit__title {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  margin-bottom: 8px;
}
.samino-benefit__copy {
  font-size: 13px;
  line-height: 1.7;
  color: #7A7A7A;
  max-width: 280px;
  margin: 0 auto;
}

/* ====== Description block (renders post_content) ====== */

.samino-desc {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 32px;
  font-size: 15px;
  line-height: 1.85;
  color: #1C1C1C;
}
/* New section header — sits above the post_content body. */
.samino-desc__head {
  margin: 0 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ECE6D7;
}
.samino-desc__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FF8A5B;
  margin: 0 0 6px;
}
.samino-desc__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  color: #1C1C1C;
  margin: 0;
}
/* Body comes from post_content. The "FEATURES" h6 in the editor was
   rendering tiny and grey — bump size and add space above so it reads as
   a real section divider, not a label. */
.samino-desc__body h6,
.samino-desc h6 {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1C1C1C;
  font-weight: 700;
  margin: 40px 0 14px;
}
.samino-desc h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  color: #1C1C1C;
  margin: 32px 0 14px;
}
.samino-desc h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin: 30px 0 12px;
}
.samino-desc p { margin: 0 0 18px; }
.samino-desc ul { padding-left: 20px; list-style: disc; margin: 0 0 18px; }
.samino-desc li { margin: 6px 0; }

/* ====== Care + Fabric two-col block ====== */

.samino-meta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 32px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 768px) {
  .samino-meta { grid-template-columns: 1fr 1fr; gap: 60px; }
}
.samino-meta__block {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 16px;
  padding: 32px;
}
.samino-meta__block h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 16px;
  color: #1C1C1C;
}
.samino-meta__block p,
.samino-meta__block li {
  font-size: 13px;
  line-height: 1.8;
  color: #4a4a4a;
}
.samino-meta__block ul { padding-left: 18px; list-style: disc; }
.samino-meta__block li { margin: 4px 0; }

/* ====== Related products ====== */

.samino-related {
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 32px 100px;
}
@media (max-width: 767px) {
  .samino-related { padding: 32px 16px 56px; }
}
.samino-related__heading {
  text-align: center;
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .samino-related__heading { margin-bottom: 22px; }
}
.samino-related__heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 8px;
}
.samino-related__heading p {
  color: #7A7A7A;
  font-size: 14px;
}

/* Mobile: horizontal swiper, ~1 card per swipe with the next card peeking
   to hint there's more. Tablet+ keeps the 4-column grid. */
.samino-related__grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* peek beyond viewport edges so cards align nicely with section padding */
  margin: 0 -16px;
  padding: 4px 16px 12px;
}
.samino-related__grid::-webkit-scrollbar { display: none; }
.samino-related__grid > * {
  flex: 0 0 82%;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .samino-related__grid > * { flex-basis: 48%; }
}
@media (min-width: 768px) {
  .samino-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    overflow: visible;
    scroll-snap-type: none;
    margin: 0;
    padding: 0;
  }
  .samino-related__grid > * { flex: initial; }
}

/* Animations disabled — data-animate kept as a hook for future use but
   elements always render visible. Avoids any case where an element could
   end up stuck at opacity:0 because the observer didn't fire. */

/* ====== Reviews section ====== */
.samino-reviews {
  background: #FFF7E8;
  padding: clamp(40px, 6vw, 72px) 24px;
  border-top: 1px solid #ECE6D7;
}
.samino-reviews__inner {
  max-width: 760px;
  margin: 0 auto;
}
.samino-reviews__head { text-align: center; margin-bottom: 28px; }
.samino-reviews__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FF8A5B;
  margin: 0 0 8px;
}
.samino-reviews__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  color: #1C1C1C;
  margin: 0 0 8px;
  line-height: 1.15;
}
.samino-reviews__sub {
  font-size: 14px;
  color: #7A7A7A;
  margin: 0;
}

/* WC's #reviews wrapper — invisible container for the cards inside. */
.samino-reviews__body #reviews,
.samino-reviews__body #comments { padding: 0; }
.samino-reviews__body .commentlist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 18px;
}
.samino-reviews__body .commentlist > li { padding: 0; border: 0; }
/* Hide WC's redundant "Reviews" h2 — we already have a section header. */
.samino-reviews__body #reviews > h2,
.samino-reviews__body #comments > h2 { display: none; }
/* Hide WC's default review meta (we render our own in review.php) just in
   case the action stack adds it back. */
.samino-reviews__body .commentlist .meta,
.samino-reviews__body .commentlist .description,
.samino-reviews__body .commentlist .comment_container > img,
.samino-reviews__body .commentlist .comment_container > .avatar { display: none; }
.samino-reviews__body .commentlist .comment_container { padding: 0; border: 0; background: transparent; }
.samino-reviews__body .commentlist .comment-text { margin: 0; padding: 0; border: 0; }

/* ===== Samino review card — replaces WC's default review.php layout ===== */
.samino-review__card {
  background: #fff;
  border: 1px solid #ECE6D7;
  border-radius: 16px;
  padding: 22px 24px 20px;
  box-shadow: 0 1px 2px rgba(28, 28, 28, 0.03);
  transition: box-shadow .2s, transform .2s;
}
.samino-review__card:hover {
  box-shadow: 0 6px 18px rgba(28, 28, 28, 0.06);
}

.samino-review__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.samino-review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF8A5B, #DDA74F);
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}

.samino-review__who { min-width: 0; }
.samino-review__name {
  font-size: 14px;
  font-weight: 700;
  color: #1C1C1C;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.3;
}
.samino-review__date {
  font-size: 12px;
  color: #7A7A7A;
  margin: 2px 0 0;
  letter-spacing: 0.02em;
}

.samino-review__badge {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.samino-review__badge--you {
  background: #FF8A5B;
  color: #fff;
}
.samino-review__badge--verified {
  background: #FFF1EA;
  color: #B14B22;
}
.samino-review__badge--pending {
  background: #FFF1EA;
  color: #B14B22;
  border: 1px dashed #F4D8C6;
}

/* Pending review card — slightly faded so author can tell it isn't live yet. */
.samino-review--pending .samino-review__card {
  background: #FFF7E8;
  border-style: dashed;
}

.samino-review__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.samino-review__star {
  width: 16px;
  height: 16px;
  color: #E6DDC4;
}
.samino-review__star.is-filled { color: #F5B400; }   /* gold-yellow */

.samino-review__body {
  font-size: 15px;
  line-height: 1.65;
  color: #1C1C1C;
  position: relative;
  padding-left: 22px;
}
.samino-review__body::before {
  content: "\201C";
  position: absolute;
  left: -2px;
  top: -8px;
  font-family: "Playfair Display", serif;
  font-size: 36px;
  line-height: 1;
  color: #FF8A5B;
  opacity: 0.45;
}
.samino-review__body p { margin: 0 0 8px; }
.samino-review__body p:last-child { margin-bottom: 0; }

@media (max-width: 480px) {
  .samino-review__card { padding: 18px 18px 16px; }
  .samino-review__head { grid-template-columns: auto 1fr; gap: 12px; }
  .samino-review__stars { grid-column: 1 / -1; margin-top: 4px; }
  .samino-review__body { padding-left: 16px; font-size: 14px; }
}

/* Comment / review form */
.samino-reviews__body #respond,
.samino-reviews__body .comment-respond { margin-top: 24px; }
.samino-reviews__body #reply-title,
.samino-reviews__body .comment-reply-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 500;
  color: #1C1C1C;
  margin: 0 0 6px;
}
.samino-reviews__body .comment-notes,
.samino-reviews__body .logged-in-as {
  font-size: 13px;
  color: #7A7A7A;
  margin: 0 0 18px;
}
.samino-reviews__body .comment-form-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.samino-reviews__body .comment-form-rating label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1C1C1C;
}
.samino-reviews__body .comment-form-rating .stars { display: inline-flex; gap: 2px; }
/* WC's anchors hold the literal text "1".."5" which we hide and replace
   with a star glyph via ::before. Default state shows all 5 GRAY (nothing
   selected). On hover OR after click, the hovered/active anchor + every
   anchor BEFORE it turns gold to show the rating amount. CSS can't select
   previous siblings via combinators, so we use `:has(~ X)` — "an anchor
   that has a hovered/active anchor after it". Modern browsers (Chrome
   105+, Firefox 121+, Safari 15.4+) all support this. */
.samino-reviews__body .comment-form-rating .stars a {
  position: relative;
  width: 24px;
  height: 24px;
  display: inline-block;
  text-indent: -9999px;
  overflow: hidden;
  color: #E6DDC4;                /* default: gray */
  text-decoration: none;
  transition: color .15s;
}
.samino-reviews__body .comment-form-rating .stars a::before {
  content: "★";
  position: absolute;
  inset: 0;
  text-indent: 0;
  text-align: center;
  color: inherit;
  font-size: 22px;
  line-height: 1.05;
}
/* Hover preview: hovered anchor + every earlier sibling → gold-yellow. */
.samino-reviews__body .comment-form-rating .stars a:hover,
.samino-reviews__body .comment-form-rating .stars a:has(~ a:hover) {
  color: #F5B400;
}
/* Persisted selection (WC's JS sets .selected on parent, .active on the
   clicked anchor): active + every earlier sibling → gold-yellow. */
.samino-reviews__body .comment-form-rating .stars.selected a.active,
.samino-reviews__body .comment-form-rating .stars.selected a:has(~ a.active) {
  color: #F5B400;
}
.samino-reviews__body .comment-form-rating select {
  padding: 10px 14px;
  border: 1.5px solid #ECE6D7;
  border-radius: 10px;
  background: #FFF7E8;
  font-size: 14px;
}

.samino-reviews__body .comment-form-comment,
.samino-reviews__body .comment-form-author,
.samino-reviews__body .comment-form-email,
.samino-reviews__body p.form-row { margin: 0 0 16px; }
.samino-reviews__body .comment-form-comment label,
.samino-reviews__body .comment-form-author label,
.samino-reviews__body .comment-form-email label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1C1C1C;
  margin-bottom: 6px;
}
.samino-reviews__body .comment-form-comment textarea,
.samino-reviews__body .comment-form-author input,
.samino-reviews__body .comment-form-email input {
  width: 100%;
  padding: 12px 14px;
  background: #FFF7E8;
  border: 1.5px solid #ECE6D7;
  border-radius: 10px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, background .15s;
  box-sizing: border-box;
}
.samino-reviews__body .comment-form-comment textarea { min-height: 120px; resize: vertical; }
.samino-reviews__body .comment-form-comment textarea:focus,
.samino-reviews__body .comment-form-author input:focus,
.samino-reviews__body .comment-form-email input:focus {
  border-color: #FF8A5B;
  background: #fff;
}
.samino-reviews__body .form-submit { margin: 8px 0 0; }
.samino-reviews__body .form-submit input[type="submit"],
.samino-reviews__body .submit {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: #1C1C1C;
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.samino-reviews__body .form-submit input[type="submit"]:hover,
.samino-reviews__body .submit:hover { background: #FF8A5B; }
.samino-reviews__body .must-log-in { font-size: 14px; color: #7A7A7A; }
.samino-reviews__body .must-log-in a { color: #FF8A5B; text-decoration: none; font-weight: 600; }
.samino-reviews__body .must-log-in a:hover { color: #1C1C1C; }

/* Sign-in prompt for guests when comment_registration = 1. */
.samino-review-prompt {
  background: #fff;
  border: 1px solid #ECE6D7;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin: 0;
}
.samino-review-prompt__copy {
  font-size: 14px;
  color: #1C1C1C;
  margin: 0 0 14px;
}
.samino-review-prompt__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.samino-review-prompt__btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  background: #1C1C1C;
  color: #fff !important;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}
.samino-review-prompt__btn:hover { background: #FF8A5B; }
.samino-review-prompt__register {
  font-size: 13px;
  color: #7A7A7A;
  text-decoration: none;
  border-bottom: 1px dashed #C9C2AB;
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.samino-review-prompt__register:hover {
  color: #FF8A5B;
  border-color: #FF8A5B;
}
/* Replaces the form for users who've already reviewed. */
.samino-reviews__body .samino-review-thanks,
.samino-reviews__body .samino-review-closed,
.samino-reviews__body .woocommerce-verification-required {
  background: #fff;
  border: 1px solid #ECE6D7;
  border-radius: 14px;
  padding: 18px 22px;
  margin: 24px 0 0;
  font-size: 14px;
  color: #7A7A7A;
  text-align: center;
}
.samino-reviews__body .samino-review-thanks { color: #1C1C1C; }

/* Pending-moderation pill — shown when the user just submitted a review
   that hasn't been approved yet. Form is hidden so they can't stack
   another, the public card isn't rendered (would mislead other shoppers). */
.samino-reviews__body .samino-review-pending {
  background: #FFF1EA;
  border: 1px solid #F4D8C6;
  border-left: 4px solid #FF8A5B;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0 0;
  text-align: left;
}
.samino-review-pending__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B14B22;
  margin: 0 0 6px;
}
.samino-review-pending__copy {
  font-size: 14px;
  line-height: 1.55;
  color: #5a4940;
  margin: 0;
}

.samino-reviews__body .woocommerce-noreviews,
.samino-reviews__body .no-comments {
  font-size: 14px;
  color: #7A7A7A;
  font-style: italic;
  margin: 0 0 18px;
}

/* ====== Size selector ====== */

.samino-size-selector {
  margin-bottom: 4px;
}

.samino-size-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 40px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #3d3d3d;
  background: #fff;
  border: 1.5px solid #d4d0ca;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.samino-size-btn:hover:not(:disabled) {
  border-color: #38434A;
  color: #38434A;
}

.samino-size-btn.is-selected {
  border-color: #38434A;
  background: #38434A;
  color: #fff;
}

/* Out of stock */
.samino-size-btn.is-oos {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: none;
}

.samino-size-btn__oos-line {
  position: absolute;
  top: 50%;
  left: 6px;
  right: 6px;
  height: 1px;
  background: #999;
  transform: rotate(-12deg);
  pointer-events: none;
}

/* Shake animation when user tries to add without selecting size */
@keyframes samino-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}
.samino-size-selector.is-shaking {
  animation: samino-shake 0.4s ease;
}
