@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//yarnsofcotton.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.6") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//yarnsofcotton.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//yarnsofcotton.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//yarnsofcotton.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//yarnsofcotton.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//yarnsofcotton.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//yarnsofcotton.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//yarnsofcotton.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//yarnsofcotton.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-header-banner-h: 40px;
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: "Glaciall", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Glaciall", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Glaciall", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Glaciall", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 400;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgba(0,124,153,0.79);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgba(0,124,153,0.79);
	--btn-accented-bgcolor-hover: rgb(172,199,191);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://yarnsofcotton.com/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
.header-banner {
	background-color: rgb(158,191,181);
	background-image: none;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-header-banner-h: 50px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

@font-face {
	font-family: "Glaciall";
	src: url("//yarnsofcotton.com/wp-content/uploads/2021/10/GlacialIndifference-Regular.woff2") format("woff2"), 
url("//yarnsofcotton.com/wp-content/uploads/2021/10/GlacialIndifference-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Glaciall";
	src: url("//yarnsofcotton.com/wp-content/uploads/2021/10/GlacialIndifference-Bold.woff2") format("woff2"), 
url("//yarnsofcotton.com/wp-content/uploads/2021/10/GlacialIndifference-Bold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
}

/* =========================================================
   Yarns of Cotton – Single Product, "Restful Retreat" style
   Woodmart + WooCommerce
   Paste: Woodmart > Theme Settings > Custom CSS > Global CSS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600&family=Inter:wght@400;500;600&display=swap');

:root {
  --y-cream:   #f9f5ec;   /* page background */
  --y-white:   #ffffff;
  --y-slate:   #2a4548;   /* headings, buttons */
  --y-slate-d: #1e3436;
  --y-sage:    #6f8f6a;   /* selected size */
  --y-green:   #52774a;   /* top bar */
  --y-rust:    #a1502f;   /* offer box */
  --y-peach:   #f6e9df;   /* delivery strip */
  --y-line:    #cfd3cf;
  --y-text:    #2f3b3d;
  --y-muted:   #6b7678;
}

/* ---------- Global ---------- */
body.single-product {
  background: var(--y-cream);
  font-family: 'Inter', sans-serif;
  color: var(--y-text);
  font-size: 15px;
}
.single-product h1, .single-product h2, .single-product h3,
.single-product .product_title, .single-product .wd-entities-title {
  font-family: 'Lora', serif;
  color: var(--y-slate);
  font-weight: 500;
}

/* Top announcement bar */
.wd-toolbar-top,
.topbar-wrapp,
.whb-top-bar {
  background: var(--y-green);
  color: #fff;
  font-size: 14px;
  text-align: center;
}
.topbar-wrapp a, .whb-top-bar a { color: #fff; }

/* Header on cream */
.whb-header .whb-main-header,
.whb-header .whb-general-header { background: var(--y-cream); }
.whb-header .wd-nav > li > a {
  font-family: 'Lora', serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  color: var(--y-slate);
}

/* Breadcrumb bar (grey strip) */
.single-product .wd-page-title,
.single-product .woocommerce-breadcrumb-wrap {
  background: #dfe3e3;
  padding: 10px 0;
}
.single-product .woocommerce-breadcrumb { font-size: 12px; color: var(--y-text); }

/* ---------- Gallery ---------- */
.single-product .woocommerce-product-gallery {
  background: transparent;
}
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image {
  background: var(--y-white);
}
.single-product .woocommerce-product-gallery__image img { background: var(--y-white); }

/* horizontal thumbnails below main image */
.single-product .thumbnails .wd-carousel-item,
.single-product .wd-thumbs-wrap .thumbnail-item {
  background: var(--y-white);
  border: 1px solid transparent;
  border-radius: 0;
  opacity: 1;
}
.single-product .thumbnails .wd-carousel-item.wd-thumb-active,
.single-product .thumbnails .wd-carousel-item.wd-active,
.single-product .thumbnails .wd-carousel-item:hover {
  border: 1.5px solid var(--y-slate);
}
.single-product .product-images .product-labels { display: none; } /* hide round badge, use offer box instead */

/* ---------- Summary ---------- */
.single-product .summary-inner { padding-left: 24px; position: relative; }

.single-product .product_title {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
  margin-bottom: 14px;
}

/* Rating */
.single-product .woocommerce-product-rating { margin-bottom: 14px; }
.single-product .star-rating span:before { color: #f2b21b; }
.single-product .woocommerce-review-link { font-size: 14px; color: var(--y-text); }

/* Subtitle / short description */
.single-product .woocommerce-product-details__short-description {
  font-size: 15px;
  line-height: 1.65;
  color: var(--y-text);
  margin-bottom: 14px;
}
.single-product .woocommerce-product-details__short-description a { color: var(--y-slate); }

/* Price */
.single-product .summary-inner .price {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--y-slate);
  margin: 12px 0;
}
.single-product .summary-inner .price del { font-size: 15px; font-weight: 400; color: var(--y-muted); }
.single-product .summary-inner .price ins { text-decoration: none; }

/* Offer box – add via a Woodmart HTML block / short description:
   <div class="y-offer">Use offer code SUMMER25 at checkout to get $62.99 (25% OFF)</div> */
.y-offer {
  background: var(--y-rust);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  padding: 14px 16px;
  border-radius: 3px;
  margin: 10px 0;
}
.y-note { font-size: 13px; color: var(--y-muted); margin-bottom: 8px; }
.single-product .stock.in-stock { color: #1c9c52; font-size: 14px; font-weight: 500; }
.single-product .stock.in-stock:before { content: "● "; font-size: 12px; }

/* ---------- Variations ---------- */
.single-product table.variations,
.single-product table.variations tbody,
.single-product table.variations tr,
.single-product table.variations th,
.single-product table.variations td { display: block; width: 100%; padding: 0; }
.single-product table.variations tr { margin-bottom: 18px; }
.single-product table.variations th.label label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--y-text);
  margin-bottom: 8px;
  display: block;
}

/* Size = outlined buttons (Woodmart "Button" swatch style for Size attribute) */
.single-product .summary-inner .wd-swatches-product .wd-swatch.wd-bg-style-text,
.single-product .summary-inner .wd-swatch.wd-text {
  min-width: 78px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--y-line);
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  color: var(--y-text);
  margin: 0 8px 8px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.single-product .summary-inner .wd-swatch.wd-text.wd-active,
.single-product .summary-inner .wd-swatch.wd-text:hover {
  background: var(--y-sage);
  border-color: var(--y-sage);
  color: #fff;
}

/* Color = square swatches */
.single-product .summary-inner .wd-swatch.wd-bg,
.single-product .summary-inner .wd-swatch.wd-bg .wd-swatch-bg {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  margin: 0 10px 10px 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.single-product .summary-inner .wd-swatch.wd-bg.wd-active {
  box-shadow: 0 0 0 2px var(--y-cream), 0 0 0 3.5px var(--y-slate);
}

/* Remove native dropdown look if still used */
.single-product .variations select {
  height: 46px; border: 1px solid var(--y-line); border-radius: 0; /*background: transparent*/;
}
.single-product .reset_variations { display: none; }

/* ---------- Qty + Add to cart ---------- */
.single-product .summary-inner form.cart,
.single-product .summary-inner .woocommerce-variation-add-to-cart {
  display: flex;
  gap: 14px;
  align-items: stretch;
}
.single-product .summary-inner .quantity {
  border: 1px solid var(--y-line);
  border-radius: 0;
  background: transparent;
}
.single-product .quantity input.qty { height: 46px; border: 0; background: transparent; }
.single-product .quantity .minus, .single-product .quantity .plus { border: 0; background: transparent; height: 46px; }

.single-product .summary-inner .single_add_to_cart_button {
  flex: 1;
  height: 46px;
  background: var(--y-slate);
  color: #fff;
  border: 0;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: .01em;
  box-shadow: none;
}
.single-product .summary-inner .single_add_to_cart_button:hover { background: var(--y-slate-d); }

/* ---------- Bundle block ("Make it a bundle") – wrap in .y-bundle ---------- */
.y-bundle {
  border-top: 1px solid var(--y-line);
  margin-top: 28px;
  padding-top: 22px;
}
.y-bundle h3 { font-size: 20px; margin-bottom: 14px; }
.y-bundle-card {
  background: #f1f2f3;
  border-radius: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  align-items: start;
}
.y-bundle-card .y-save { color: #2f7d3b; font-size: 11px; font-weight: 600; }
.y-bundle-card .y-add {
  background: #17214a; color: #fff; border-radius: 14px; padding: 12px 26px; border: 0; font-weight: 600;
}

/* ---------- Delivery strip – wrap in .y-delivery ---------- */
.y-delivery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--y-peach);
  border-radius: 6px;
  margin: 22px 0;
  text-align: center;
}
.y-delivery > div { padding: 12px 8px; }
.y-delivery > div + div { border-left: 1px solid #e4cdbd; }
.y-delivery strong { display: block; font-family: 'Lora', serif; color: var(--y-rust); font-weight: 500; font-size: 15px; }
.y-delivery span { font-size: 11px; color: var(--y-muted); }

/* ---------- Accordions (Look & Feel, Product Details, Care...) ----------
   Woodmart: Theme Settings > Product page > Tabs layout = "Accordion"      */
.single-product .woocommerce-tabs.wc-tabs-wrapper,
.single-product .woocommerce-tabs { background: transparent; padding: 0; margin: 0; }

.single-product .wd-accordion-item,
.single-product .woocommerce-tabs .wd-accordion-item { border-bottom: 1px solid var(--y-line); }
.single-product .wd-accordion-title {
  padding: 18px 0;
  font-family: 'Lora', serif;
  font-size: 17px;
  color: var(--y-slate);
  background: transparent;
}
.single-product .wd-accordion-title .wd-accordion-title-text { text-transform: none; font-weight: 500; }
.single-product .wd-accordion-content { font-size: 14.5px; line-height: 1.7; padding-bottom: 18px; }

/* ---------- Sticky add-to-cart bar (appears on scroll) ---------- */
.wd-sticky-btn {
  background: var(--y-white);
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  padding: 10px 0;
}
.wd-sticky-btn .wd-sticky-btn-cont .wd-sticky-title,
.wd-sticky-btn .wd-sticky-btn-cont .title { font-family: 'Lora', serif; color: var(--y-slate); font-size: 17px; }
.wd-sticky-btn .single_add_to_cart_button,
.wd-sticky-btn .button { background: var(--y-slate); border-radius: 0; color: #fff; }

/* ---------- Story / content sections (Elementor) ----------
   Add class  y-story  to Elementor sections: image left, text right      */
.y-story { padding: 70px 0; background: var(--y-cream); }
.y-story h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.25; margin-bottom: 20px; }
.y-story p { max-width: 62ch; line-height: 1.75; margin-bottom: 18px; }
.y-story img { border-radius: 0; width: 100%; height: auto; }
.y-btn, .y-story .elementor-button {
  background: var(--y-slate); color: #fff; border-radius: 0;
  font-family: 'Lora', serif; font-size: 15px; padding: 14px 28px;
}

/* ---------- Press / testimonial slider – class y-quotes ---------- */
.y-quotes { background: var(--y-white); padding: 40px 0 50px; text-align: center; }
.y-quotes h2 { font-size: 30px; margin-bottom: 26px; }
.y-quotes .y-quote {
  background: var(--y-cream);
  padding: 34px 48px;
  font-family: 'Lora', serif;
  font-size: 21px;
  line-height: 1.45;
  color: var(--y-slate);
}
.y-quotes cite { display: block; margin-top: 12px; font-size: 13px; color: var(--y-muted); font-style: normal; }

/* ---------- Three-column "Our Difference" – class y-features ---------- */
.y-features { padding: 70px 0; }
.y-features h2 { font-size: 30px; margin-bottom: 34px; }
.y-features .elementor-icon-box-title { font-family: 'Lora', serif; font-size: 22px; color: var(--y-slate); }
.y-features .elementor-icon-box-description { font-size: 14.5px; line-height: 1.7; color: var(--y-text); }

/* ---------- FAQ (grey section) – class y-faq ---------- */
.y-faq { background: #f4f4f4; padding: 60px 0; }
.y-faq .elementor-accordion-item,
.y-faq .wd-accordion-item {
  border: 1px solid var(--y-line);
  background: transparent;
  margin-bottom: 12px;
}
.y-faq .elementor-tab-title,
.y-faq .wd-accordion-title {
  padding: 16px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--y-text);
}
.y-faq .elementor-tab-content { padding: 0 18px 18px; font-size: 14px; line-height: 1.7; }

/* ---------- Related / "Frequently Bought Together" ----------
   Sirf card ki skin badli hai; carousel ka layout Woodmart ka hi rahega */
.single-product .related-products,
.single-product .up-sells { padding: 50px 0 20px; }
.single-product .related-products > .title,
.single-product .related-products .title,
.single-product .up-sells .title {
  font-family: 'Lora', serif;
  font-size: 30px;
  font-weight: 500;
  text-transform: none;
  color: var(--y-slate);
  margin-bottom: 24px;
}

.single-product .related-products .product-wrapper,
.single-product .up-sells .product-wrapper {
  background: var(--y-white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.single-product .related-products .product-element-bottom,
.single-product .up-sells .product-element-bottom { padding: 10px 14px 18px; }
.single-product .related-products .wd-product-cats a { font-size: 12.5px; color: var(--y-muted); }
.single-product .related-products .wd-entities-title a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--y-text);
}
.single-product .related-products .price { font-size: 14px; font-weight: 600; color: var(--y-slate); }
.single-product .related-products .wd-swatches-grid .wd-swatch,
.single-product .related-products .wd-swatches-grid .wd-swatch .wd-swatch-bg {
  width: 18px;
  height: 18px;
  min-width: 0;
  border-radius: 2px;
}

/* ---------- "Meet Our Sheets" comparison cards – class y-compare ---------- */
.y-compare { background: var(--y-white); padding: 50px 0; }
.y-compare h2 { font-size: 34px; margin-bottom: 6px; }
.y-compare .y-card { background: #f5f7f6; padding: 22px 16px; }
.y-compare .y-card:first-child { background: var(--y-cream); }
.y-compare .y-card h3 { text-align: center; font-size: 19px; margin-bottom: 8px; }
.y-compare .y-card .y-sub { text-align: center; font-weight: 500; border-bottom: 1px solid var(--y-slate); padding-bottom: 10px; margin-bottom: 14px; }
.y-compare .y-card strong { display: block; font-size: 13px; }
.y-compare .y-card a.button {
  display: block; background: var(--y-slate); color: #fff; border-radius: 0; text-align: center; margin-top: 18px;
}

/* ---------- Reviews ---------- */
.single-product #reviews { background: var(--y-cream); padding: 50px 0; }
.single-product #reviews h2 { text-align: center; font-size: 30px; }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .single-product .summary-inner { padding-left: 0; margin-top: 18px; }
  .y-story { padding: 40px 0; }
  .y-quotes .y-quote { padding: 22px 18px; font-size: 17px; }
  .y-bundle-card { grid-template-columns: 56px 1fr; }
  .y-bundle-card .y-add { grid-column: 1 / -1; }
  .single-product .summary-inner .wd-swatch.wd-text { min-width: 64px; }
}


/* ---------- Sticky product gallery (desktop) ----------
   Gallery scroll ke saath ruka rahega jab tak right side ka summary/accordions chal rahe hain.
   --y-sticky-top = sticky header ki height + thoda gap (header sticky nahi hai to 20px rakho) */
:root { --y-sticky-top: 100px; }

@media (min-width: 1025px) {
  /* parents me overflow hidden hoga to sticky kaam nahi karega */
  .single-product .single-product-page .product-image-summary-wrap,
  .single-product .single-product-page .product-image-summary,
  .single-product .single-product-page .product-image-summary-inner {
    overflow: visible;
  }

  /* columns stretch na hon, tabhi sticky chalega */
  .single-product .product-image-summary-inner { align-items: flex-start; }

  .single-product .product-images {
    position: -webkit-sticky;
    position: sticky;
    top: var(--y-sticky-top);
    align-self: flex-start;
    height: fit-content;
    z-index: 2;
  }
}

/* tablet / mobile par normal flow */
@media (max-width: 1024px) {
  .single-product .product-images { position: static; }
}


/* =========================================================
   GALLERY – polish
   ========================================================= */
.single-product .product-images .woocommerce-product-gallery__image,
.single-product .product-images .wd-carousel-item .woocommerce-product-gallery__image {
  background: var(--y-white);
  border: 1px solid #e8e3d6;
  overflow: hidden;
}
.single-product .product-images .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

/* arrows: round, quiet, visible on hover */
.single-product .product-images .wd-btn-arrow {
  opacity: 0;
  transition: opacity .2s;
}
.single-product .product-images:hover .wd-btn-arrow { opacity: 1; }
.single-product .product-images .wd-btn-arrow .wd-arrow-inner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--y-white);
  color: var(--y-slate);
  box-shadow: 0 2px 12px rgba(30,52,54,.18);
}
.single-product .product-images .wd-btn-arrow:hover .wd-arrow-inner {
  background: var(--y-slate);
  color: #fff;
}

/* zoom / fullscreen button */
.single-product .woodmart-show-product-gallery,
.single-product .wd-gallery-btn a {
  background: var(--y-white);
  color: var(--y-slate);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 12px rgba(30,52,54,.18);
}

/* thumbnails row */
.single-product .wd-gallery-thumb { margin-top: 12px; }
.single-product .wd-gallery-thumb .wd-carousel-item,
.single-product .wd-gallery-thumb .thumbnail-item {
  background: var(--y-white);
  border: 1px solid #e8e3d6;
  padding: 0;
  opacity: .72;
  transition: opacity .2s, border-color .2s;
  cursor: pointer;
}
.single-product .wd-gallery-thumb .wd-carousel-item img { display: block; width: 100%; height: auto; }
.single-product .wd-gallery-thumb .wd-carousel-item:hover { opacity: 1; }
.single-product .wd-gallery-thumb .wd-carousel-item.wd-thumb-active,
.single-product .wd-gallery-thumb .wd-carousel-item.wd-active {
  opacity: 1;
  border-color: var(--y-slate);
  box-shadow: inset 0 0 0 1px var(--y-slate);
}

/* =========================================================
   DESCRIPTION – polish
   Description editor me .y-desc template use karo
   (yarns-of-cotton-description-template.html)
   ========================================================= */
.single-product .woocommerce-Tabs-panel--description > h2:first-child,
.single-product .woocommerce-Tabs-panel--description > .wd-tab-title { display: none; } /* duplicate "Description" heading */

.single-product .woocommerce-Tabs-panel { max-width: 1140px; margin: 0 auto; }

.y-desc { font-size: 15.5px; line-height: 1.8; color: var(--y-text); }
.y-desc h2 {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  color: var(--y-slate);
  margin: 0 0 16px;
}
.y-desc h3 {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--y-slate);
  margin: 0 0 8px;
}
.y-desc p { max-width: 68ch; margin: 0 0 16px; }
.y-desc .y-lead { font-family: 'Lora', serif; font-size: 20px; line-height: 1.6; color: var(--y-slate); max-width: 62ch; }
.y-desc section { padding: 36px 0; border-top: 1px solid #e8e3d6; }
.y-desc section:first-child { border-top: 0; padding-top: 8px; }

/* feature grid: 2 x 2 */
.y-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid #e8e3d6;
  background: var(--y-white);
}
.y-feature { padding: 28px 28px 24px; border-right: 1px solid #e8e3d6; border-bottom: 1px solid #e8e3d6; }
.y-feature:nth-child(2n) { border-right: 0; }
.y-feature:nth-last-child(-n+2) { border-bottom: 0; }
.y-feature svg, .y-feature img.y-icon { width: 34px; height: 34px; margin-bottom: 14px; color: var(--y-sage); stroke: currentColor; }
.y-feature p { font-size: 14.5px; line-height: 1.7; color: var(--y-muted); margin: 0; }

/* specs table */
.y-specs { width: 100%; max-width: 720px; border-collapse: collapse; font-size: 14.5px; }
.y-specs th, .y-specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid #e8e3d6; vertical-align: top; }
.y-specs th { width: 38%; font-weight: 500; color: var(--y-slate); padding-right: 16px; }
.y-specs td { color: var(--y-text); }

/* included list with tick marks */
.y-included { list-style: none; margin: 0; padding: 0; max-width: 620px; }
.y-included li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid #e8e3d6;
  font-size: 15px;
}
.y-included li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 6px;
  height: 11px;
  border: solid var(--y-sage);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.y-included li span { display: block; font-size: 13px; color: var(--y-muted); }

/* care note */
.y-note-box {
  background: var(--y-peach);
  border-left: 3px solid var(--y-rust);
  padding: 16px 20px;
  font-size: 14.5px;
  max-width: 68ch;
}

/* Additional information tab */
.single-product .woocommerce-Tabs-panel--additional_information table {
  max-width: 720px;
  border: 0;
}
.single-product .woocommerce-Tabs-panel--additional_information th,
.single-product .woocommerce-Tabs-panel--additional_information td {
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #e8e3d6;
  font-size: 14.5px;
  text-transform: none;
}
.single-product .woocommerce-Tabs-panel--additional_information th { color: var(--y-slate); font-weight: 500; }

@media (max-width: 767px) {
  .y-features-grid { grid-template-columns: 1fr; }
  .y-feature { border-right: 0; }
  .y-feature:nth-last-child(-n+2) { border-bottom: 1px solid #e8e3d6; }
  .y-feature:last-child { border-bottom: 0; }
  .y-desc .y-lead { font-size: 18px; }
  .y-specs th { width: 44%; }
}


/* =========================================================
   ADDITIONAL INFORMATION TAB (Color / Size etc.)
   Label left, values as clean chips (commas hide ho jate hain)
   ========================================================= */
.single-product .woocommerce-Tabs-panel--additional_information { max-width: 900px; }

.single-product .woocommerce-Tabs-panel--additional_information table.woocommerce-product-attributes,
.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  margin: 0;
  background: transparent;
}

.single-product .woocommerce-Tabs-panel--additional_information table.woocommerce-product-attributes tr,
.single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes tr {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid #e8e3d6;
  background: transparent;
}
.single-product .woocommerce-Tabs-panel--additional_information table tr:first-child { padding-top: 4px; }
.single-product .woocommerce-Tabs-panel--additional_information table tr:last-child { border-bottom: 0; }

.single-product .woocommerce-Tabs-panel--additional_information table th {
  display: block;
  width: auto !important;
  padding: 6px 0 0 !important;
  border: 0 !important;
  background: transparent;
  text-align: left !important;
  font-family: 'Lora', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--y-slate);
  text-transform: none;
}
.single-product .woocommerce-Tabs-panel--additional_information table td {
  display: block;
  padding: 0 !important;
  border: 0 !important;
  text-align: left !important;
}

/* values as chips (sirf jahan links hon) */
.single-product .woocommerce-Tabs-panel--additional_information table td p {
  margin: 0;
  font-size: 14.5px;
  color: var(--y-text);
}
.single-product .woocommerce-Tabs-panel--additional_information table td p:has(a) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0;            /* commas chhupane ke liye */
}
.single-product .woocommerce-Tabs-panel--additional_information table td p a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--y-text);
  background: var(--y-white);
  border: 1px solid #ddd8c9;
  border-radius: 999px;
  text-decoration: none;
  pointer-events: none;      /* attribute links ki jarurat nahi; click band */
}

@media (max-width: 767px) {
  .single-product .woocommerce-Tabs-panel--additional_information table.woocommerce-product-attributes tr,
  .single-product .woocommerce-Tabs-panel--additional_information table.shop_attributes tr {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0;
  }
}