/* Grapzoo product page, Etsy style (v2.7.0). Only active when body has .gz-pdp */
.gz-pdp div.product{position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);column-gap:clamp(28px,4vw,56px);align-items:start}
.gz-pdp div.product>*{grid-column:1/-1}
.gz-pdp div.product>.woocommerce-product-gallery{grid-column:1;float:none;width:auto;margin:0}
.gz-pdp div.product>.summary{grid-column:2;float:none;width:auto;margin:0}
.gz-pdp .woocommerce-breadcrumb{margin-bottom:18px;font-size:13px;color:var(--gzc-muted)}

/* ===== gallery: thumbnails on the left ===== */
.gz-pdp .woocommerce-product-gallery{display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;align-items:start}
.gz-pdp .woocommerce-product-gallery .flex-viewport{grid-column:2;grid-row:1;position:relative;border-radius:22px;overflow:hidden;background:var(--gzc-lilac)}
.gz-pdp .woocommerce-product-gallery .flex-control-thumbs{grid-column:1;grid-row:1;position:relative;align-self:stretch;contain:size;display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;overflow-y:auto;scrollbar-width:none}
.gz-pdp .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar{display:none}
.gz-pdp .woocommerce-product-gallery .flex-control-thumbs li{float:none!important;flex:0 0 auto;width:100%!important;margin:0;padding:0;list-style:none}
.gz-pdp .woocommerce-product-gallery .flex-control-thumbs img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border:2px solid transparent;border-radius:12px;opacity:.6;cursor:pointer;transition:opacity .2s,border-color .2s}
.gz-pdp .woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1}
.gz-pdp .woocommerce-product-gallery .flex-control-thumbs img.flex-active{opacity:1;border-color:var(--gzc-ink)}
.gz-pdp .woocommerce-product-gallery__image img{display:block;width:100%;height:auto;border-radius:0}
.gz-pdp .woocommerce-product-gallery__trigger{top:14px;right:14px;z-index:5;width:42px;height:42px;border-radius:50%;background:#fff;box-shadow:0 4px 14px rgba(42,23,64,.18)}
.gz-pdp span.onsale{position:absolute;top:14px;left:112px;right:auto;z-index:6;min-width:0;min-height:0;margin:0;padding:6px 12px;border-radius:999px;background:var(--gzc-grape);color:#fff;font-size:12px;font-weight:800;line-height:1.2}
.gzp-arrow{position:absolute;top:50%;z-index:5;display:grid;place-items:center;width:44px;height:44px;margin-top:-22px;padding:0;border:0;border-radius:50%;background:#fff;color:var(--gzc-ink);cursor:pointer;box-shadow:0 6px 18px rgba(42,23,64,.2);transition:background .2s,color .2s,transform .2s}
.gzp-arrow--prev{left:14px}.gzp-arrow--next{right:14px}
.gzp-arrow:hover{background:var(--gzc-ink);color:#fff}
.gzp-arrow:focus-visible{outline:3px solid var(--gzc-grape);outline-offset:2px}
.gzp-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* ===== buy box ===== */
.gz-pdp div.product div.summary .product_title{margin:0 0 14px;font-family:"Bricolage Grotesque","DM Sans",sans-serif;font-weight:800;font-size:clamp(26px,3vw,36px);line-height:1.12;letter-spacing:-.02em;color:var(--gzc-ink)}
.gz-pdp div.product div.summary .price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin:0 0 6px;font-family:"Bricolage Grotesque","DM Sans",sans-serif;font-size:clamp(28px,3.2vw,36px);font-weight:800;color:var(--gzc-grape)}
.gz-pdp div.product div.summary .price ins{order:1;text-decoration:none;background:none;color:var(--gzc-grape)}
.gz-pdp div.product div.summary .price del{order:2;font-size:.55em;font-weight:500;color:#8A7DA0;opacity:1}
.gzp-sale{margin:0 0 18px;font-size:14px;color:var(--gzc-muted)}
.gzp-sale strong{display:inline-block;margin-right:6px;padding:3px 10px;border-radius:999px;background:var(--gzc-ok-bg);color:var(--gzc-ok);font-weight:800}
.gz-pdp .woocommerce-product-details__short-description{margin:0 0 6px;color:var(--gzc-muted);font-size:15px;line-height:1.65}
.gz-pdp .woocommerce-product-details__short-description p{margin:0 0 10px}
.gz-pdp .gz-md-list{list-style:none;padding:0;display:grid;gap:7px}
.gz-pdp .gz-md-list li::before{content:"✓";margin-right:9px;color:var(--gzc-grape);font-weight:800}
.gz-pdp div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 0}
.gz-pdp div.product form.cart .quantity{flex:0 0 100px}
.gz-pdp div.product form.cart .quantity input{width:100%;min-height:54px;border:2px solid var(--gzc-line);border-radius:999px;text-align:center;font-size:16px}
.gz-pdp div.product form.cart .single_add_to_cart_button,.gzp-buy{flex:1 1 100%;display:inline-flex;align-items:center;justify-content:center;min-height:54px;margin:0;padding:0 24px;border-radius:999px;font-size:16px;font-weight:700;line-height:1;text-decoration:none!important;cursor:pointer;transition:background .2s,color .2s,transform .2s,box-shadow .2s}
.gz-pdp div.product form.cart .single_add_to_cart_button{order:2;border:0;background:var(--gzc-grape);color:#fff}
.gz-pdp div.product form.cart .single_add_to_cart_button:hover{background:var(--gzc-ink);color:#fff;transform:translateY(-2px);box-shadow:0 12px 26px rgba(109,63,196,.3)}
.gzp-buy{order:1;border:2px solid var(--gzc-ink);background:#fff;color:var(--gzc-ink)!important}
.gzp-buy:hover{background:var(--gzc-ink);color:#fff!important}
.gz-pdp div.product form.cart .single_add_to_cart_button:focus-visible,.gzp-buy:focus-visible{outline:3px solid var(--gzc-grape);outline-offset:3px}
.gzp-assure{list-style:none;display:grid;gap:8px;margin:18px 0 8px;padding:14px 16px;border-radius:16px;background:#F6F0FF;font-size:14px;font-weight:600;color:var(--gzc-ink)}
.gzp-assure li{margin:0}
.gzp-assure li::before{content:"✓";margin-right:10px;color:var(--gzc-grape);font-weight:800}

/* ===== accordion (details/summary) ===== */
.gzp-acc{margin-top:18px;border-top:1px solid var(--gzc-line)}
.gzp-sec{border-bottom:1px solid var(--gzc-line)}
.gzp-sec>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:0 2px;list-style:none;cursor:pointer;font-family:"Bricolage Grotesque","DM Sans",sans-serif;font-size:18px;font-weight:700;color:var(--gzc-ink)}
.gzp-sec>summary::-webkit-details-marker{display:none}
.gzp-sec>summary::after{content:"";flex:0 0 20px;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .25s}
.gzp-sec[open]>summary::after{transform:rotate(180deg)}
.gzp-sec>summary:focus-visible{outline:3px solid var(--gzc-grape);outline-offset:2px;border-radius:8px}
.gzp-body{padding:0 2px 22px;color:var(--gzc-muted);font-size:15px;line-height:1.7}
.gzp-body p{margin:0 0 10px}
.gzp-body a{color:var(--gzc-grape);font-weight:600}
.gzp-deliv{color:var(--gzc-ink)}
.gzp-feat{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.gzp-feat li{display:flex;align-items:center;gap:12px;margin:0;color:var(--gzc-ink)}
.gzp-ic::before{content:"";flex:0 0 20px;width:20px;height:20px;background:var(--gzc-grape);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}
.gzp-ic--dl::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4M4 20h16'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4M4 20h16'/%3E%3C/svg%3E")}
.gzp-ic--file::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7zM14 3v5h5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7zM14 3v5h5'/%3E%3C/svg%3E")}
.gzp-ic--bolt::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E")}
.gzp-ic--print::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9V3h10v6M7 17H4v-7h16v7h-3M7 14h10v7H7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9V3h10v6M7 17H4v-7h16v7h-3M7 14h10v7H7z'/%3E%3C/svg%3E")}
.gzp-ic--tag::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V3h9l9 9-9 9zM8 8h.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V3h9l9 9-9 9zM8 8h.01'/%3E%3C/svg%3E")}
.gzp-ic--sku::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10'/%3E%3C/svg%3E")}

/* long description + reviews under the product */
.gzp-long{max-width:880px;margin:36px auto 10px}
.gzp-desc h4,.gzp-desc h2,.gzp-desc h3{margin:20px 0 8px;font-family:"Bricolage Grotesque","DM Sans",sans-serif;color:var(--gzc-ink)}
.gzp-desc .gz-md-h{font-size:15px;text-transform:uppercase;letter-spacing:.03em}
.gzp-desc .gz-md-list{list-style:none;padding:0;display:grid;gap:8px}
.gzp-desc .gz-md-list li::before{content:"✓";margin-right:9px;color:var(--gzc-grape);font-weight:800}
.gzp-desc strong{color:var(--gzc-ink)}
#gzp-reviews .woocommerce-Reviews-title{display:none}
#gzp-reviews #review_form_wrapper input[type=text],#gzp-reviews #review_form_wrapper input[type=email],#gzp-reviews #review_form_wrapper textarea{border:2px solid var(--gzc-line);border-radius:14px;padding:12px 14px;font-size:16px;width:100%}
.gz-pdp .related.products,.gz-pdp .up-sells{margin-top:40px}

/* ===== tablet + mobile ===== */
@media(max-width:860px){
  .gz-pdp div.product{display:block}
  .gz-pdp div.product>.woocommerce-product-gallery{margin-bottom:22px;grid-template-columns:minmax(0,1fr)}
  .gz-pdp .woocommerce-product-gallery .flex-viewport{grid-column:1;grid-row:1;border-radius:20px}
  .gz-pdp .woocommerce-product-gallery .flex-control-thumbs{grid-column:1;grid-row:2;contain:none;align-self:auto;flex-direction:row;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity}
  .gz-pdp .woocommerce-product-gallery .flex-control-thumbs li{flex:0 0 68px;width:68px!important;scroll-snap-align:start}
  .gz-pdp span.onsale{left:14px}
  .gzp-arrow{width:40px;height:40px;margin-top:-20px}
  .gzp-arrow--prev{left:10px}.gzp-arrow--next{right:10px}
  .gz-pdp div.product form.cart .single_add_to_cart_button,.gzp-buy{min-height:56px}
  .gzp-long{margin-top:20px}
}
@media(prefers-reduced-motion:reduce){.gzp-sec>summary::after,.gzp-arrow,.gz-pdp div.product form.cart .single_add_to_cart_button{transition:none}}


/* ===== v2.7.1 fixes: gallery width (WooCommerce 48% float), bigger images, description layout ===== */
/* ---------- 1. GALLERY + BUY BOX: full width, bigger images ---------- */
body.gz-pdp.woocommerce div.product{
  display:block !important;
  position:relative;
}
/* v2.7.2: the two-column grid lives in .gzp-top (gallery + summary only) */
body.gz-pdp.woocommerce div.product .gzp-top{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  column-gap:clamp(32px,5vw,72px);
  align-items:start;
}
/* WooCommerce core forces width:48% + float. This cancels it. */
body.gz-pdp.woocommerce div.product div.images,
body.gz-pdp.woocommerce div.product div.woocommerce-product-gallery{
  float:none !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  opacity:1 !important;
  grid-column:1 !important;
  grid-template-columns:96px minmax(0,1fr) !important;
  gap:16px !important;
}
body.gz-pdp.woocommerce div.product div.summary{
  float:none !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  grid-column:2 !important;
  padding-top:4px;
}
/* sticky buy box on desktop so image + details stay together */
@media (min-width:861px){
  body.gz-pdp.woocommerce div.product div.summary{position:sticky;top:96px;align-self:start}
}
/* Description / Reviews always sit above and after the buy box area */
.gzp-long{position:relative;z-index:2;clear:both}

/* main image */
.gz-pdp .woocommerce-product-gallery .flex-viewport{
  border-radius:24px !important;
  box-shadow:0 18px 44px rgba(42,23,64,.12);
  background:#fff !important;
}
.gz-pdp .woocommerce-product-gallery__image,
.gz-pdp .woocommerce-product-gallery__image a{display:block;width:100%}
.gz-pdp .woocommerce-product-gallery__image img,
.gz-pdp .woocommerce-product-gallery__image img.wp-post-image{
  display:block;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  aspect-ratio:1/1;
  object-fit:cover;
}
/* thumbnails */
.gz-pdp .woocommerce-product-gallery .flex-control-thumbs{gap:12px !important}
.gz-pdp .woocommerce-product-gallery .flex-control-thumbs img{
  border-radius:14px !important;
  opacity:.75 !important;
}
.gz-pdp .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.gz-pdp .woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1 !important}
/* sale badge sits on the main image, not over thumbnails */
.gz-pdp span.onsale{left:126px !important;top:16px !important}

/* ---------- buy box polish ---------- */
.gz-pdp div.product div.summary .product_title{
  font-size:clamp(28px,3.2vw,40px) !important;
  line-height:1.15 !important;
  margin-bottom:12px !important;
  text-transform:capitalize;
}
.gz-pdp .woocommerce-product-details__short-description{font-size:15px;line-height:1.7}
.gz-pdp .gz-md-list li{line-height:1.55}
.gz-pdp div.product form.cart{margin-top:22px !important}

/* ---------- 3. DESCRIPTION: clean, professional layout ---------- */
.gzp-long{
  max-width:980px !important;
  margin:56px auto 24px !important;
}
.gzp-acc{border-top:0 !important}
.gzp-sec{
  border:1px solid #E9DEFA !important;
  border-radius:22px;
  margin-bottom:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(42,23,64,.05);
  overflow:hidden;
}
.gzp-sec>summary{
  min-height:64px !important;
  padding:0 26px !important;
  font-size:20px !important;
  background:#FAF7FF;
}
.gzp-body{
  padding:8px 26px 28px !important;
  font-size:16px !important;
  line-height:1.8 !important;
  color:#4A3D5E !important;
}
.gzp-desc>*:first-child{margin-top:18px}
.gzp-desc p{margin:0 0 14px !important}
/* section headings inside the description */
.gzp-desc .gz-md-h,
.gzp-desc h2,.gzp-desc h3,.gzp-desc h4{
  margin:32px 0 12px !important;
  padding:16px 0 0;
  border-top:1px solid #EFE6FC;
  font-size:16px !important;
  font-weight:800 !important;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#2A1740 !important;
}
.gzp-desc .gz-md-h:first-child,
.gzp-desc>h2:first-child,.gzp-desc>h3:first-child,.gzp-desc>h4:first-child{
  margin-top:10px !important;padding-top:0;border-top:0;
}
/* tick lists: two neat columns on desktop, inside a soft box */
.gzp-desc .gz-md-list{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 28px !important;
  margin:0 0 18px !important;
  padding:18px 20px !important;
  background:#F8F4FF;
  border-radius:16px;
  list-style:none;
}
.gzp-desc .gz-md-list li{margin:0 !important;line-height:1.55}
/* lists with long sentences should stay one column */
.gzp-desc .gz-md-list:has(li:nth-child(n+6)){grid-template-columns:1fr}
.gzp-desc strong{color:#2A1740 !important}
.gzp-desc a{color:#6D3FC4;font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* reviews */
#gzp-reviews .gzp-body{padding-top:18px !important}

/* related products spacing */
.gz-pdp .related.products,.gz-pdp .up-sells{margin-top:56px !important}

/* ---------- tablet + mobile ---------- */
@media (max-width:860px){
  body.gz-pdp.woocommerce div.product{display:block !important}
  body.gz-pdp.woocommerce div.product .gzp-top{display:block}
  body.gz-pdp.woocommerce div.product div.images,
  body.gz-pdp.woocommerce div.product div.woocommerce-product-gallery{
    grid-template-columns:minmax(0,1fr) !important;
    margin-bottom:24px !important;
  }
  body.gz-pdp.woocommerce div.product div.summary{position:static;padding-top:0}
  .gz-pdp span.onsale{left:14px !important}
  .gzp-long{margin-top:32px !important}
  .gzp-sec>summary{padding:0 18px !important;font-size:18px !important}
  .gzp-body{padding:6px 18px 22px !important;font-size:15px !important}
  .gzp-desc .gz-md-list{grid-template-columns:1fr !important;padding:16px !important}
}
