/* Product pages: clear shopping hierarchy, KOSTAH color and native commerce. */
body.kostah-product-page{background:#f4f6f5}
body.kostah-product-page main.shop-main{max-width:1512px;padding:0 32px;margin:24px auto 72px}
body.kostah-product-page .woocommerce-breadcrumb{font-size:12px;line-height:1.7;margin:0 0 18px;color:#53655a}
body.kostah-store .kostah-pdp{background:#fff;border:1px solid #e1e8e3;border-radius:14px;padding:28px;overflow:visible;color:var(--ink);font-size:15px;line-height:1.5}
.kostah-pdp .pdp-overview{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(275px,1fr);gap:28px;align-items:start}
.kostah-pdp .pdp-gallery,.kostah-pdp .pdp-information,.kostah-pdp .pdp-purchase{min-width:0}
body.kostah-store .woocommerce .kostah-pdp .pdp-gallery div.images{float:none;width:100%;margin:0;display:flex;flex-direction:row-reverse;gap:12px}
body.kostah-store .woocommerce .kostah-pdp .woocommerce-product-gallery .flex-viewport{flex:1;width:calc(100% - 72px);border-radius:9px;background:#f6f7f6}
body.kostah-store .woocommerce .kostah-pdp .woocommerce-product-gallery__wrapper{margin:0;max-width:none}
body.kostah-store .woocommerce .kostah-pdp .woocommerce-product-gallery__image img{width:100%;height:auto;object-fit:contain;border-radius:8px}
body.kostah-store .woocommerce .kostah-pdp .woocommerce-product-gallery .flex-control-thumbs{display:flex;flex-direction:column;width:60px;flex:0 0 60px;gap:10px;max-height:580px;margin:0;padding:0;overflow:auto;scrollbar-width:thin}
body.kostah-store .woocommerce .kostah-pdp .woocommerce-product-gallery .flex-control-thumbs li{width:60px!important;flex:0 0 auto;list-style:none}
body.kostah-store .woocommerce .kostah-pdp .woocommerce-product-gallery .flex-control-thumbs img{width:60px;aspect-ratio:3/4;object-fit:cover;opacity:.72;border:2px solid transparent;border-radius:6px}
body.kostah-store .woocommerce .kostah-pdp .woocommerce-product-gallery .flex-control-thumbs img.flex-active{opacity:1;border-color:var(--sea)}
.kostah-pdp .pdp-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#52685b;margin:0 0 12px;line-height:1.5}
body.kostah-store .woocommerce .kostah-pdp h1.product_title{font-size:clamp(22px,2vw,30px);line-height:1.24;font-weight:700;letter-spacing:-.65px;margin:0 0 16px;color:var(--ink)}
.kostah-pdp .pdp-review-link{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--sea);margin:0 0 24px}
.kostah-pdp .pdp-review-link .star-rating{float:none;margin:0;color:var(--sea)}
body.kostah-store .kostah-pdp .pdp-price{margin:0;color:var(--ink)}
body.kostah-store .kostah-pdp .pdp-price .pair-reference{display:flex;align-items:baseline;gap:6px;font-size:15px;line-height:1.4;color:#667169}
body.kostah-store .kostah-pdp .pdp-price .pair-reference small{font-size:12px}
body.kostah-store .kostah-pdp .pdp-price .pair-current,body.kostah-store .kostah-pdp .pdp-price>.woocommerce-Price-amount{display:block;font-size:clamp(34px,3vw,43px)!important;font-weight:750;letter-spacing:-1.4px;line-height:1.25;color:var(--ink);margin-top:5px}
.kostah-pdp .pdp-price-caption{font-size:12px;color:#53655a;margin:8px 0 22px}
.kostah-pdp .pdp-promotion{padding:16px;background:#fffce5;border:1px solid #f0d500;border-radius:8px;margin-bottom:24px}
.kostah-pdp .pdp-promotion>span{display:flex;gap:7px;align-items:center;font-size:14px;line-height:1.4;font-weight:800;color:#17351e}
.kostah-pdp .pdp-promotion p{font-size:13px;line-height:1.55;margin:10px 0}
.kostah-pdp .pdp-promotion small{display:block;font-size:11px;color:#526056;line-height:1.5}
.kostah-pdp .pdp-highlights h2{font-size:15px;margin:0 0 12px;font-weight:700;letter-spacing:0}
.kostah-pdp .pdp-highlights ul{margin:0 0 12px;padding-left:17px;font-size:12px;line-height:1.8}
.kostah-pdp .pdp-highlights li{margin-bottom:7px}
.kostah-pdp .pdp-highlights a{font-size:12px;color:var(--sea);display:inline-flex;align-items:center;gap:6px}
.kostah-pdp .pdp-highlights .kostah-icon{width:17px;height:17px}
.kostah-pdp .pdp-purchase{padding:21px;border:1px solid #d8e3db;border-top:4px solid var(--sea);border-radius:10px;background:#fff}
.kostah-pdp .pdp-purchase>h2{font-size:17px;font-weight:700;letter-spacing:-.2px;display:flex;align-items:center;gap:9px;margin:0 0 8px}
.kostah-pdp .pdp-purchase>h2 svg{color:var(--sea)}
.kostah-pdp .pdp-shipping-note{font-size:12px;color:#56675b;line-height:1.6;margin:0 0 12px}
body.kostah-store .kostah-pdp .cep-form{padding:0;margin:0 0 22px;background:transparent;font-size:12px}
.kostah-pdp .cep-form>strong{display:none}
.kostah-pdp .cep-form label{font-size:12px;margin:0 0 8px}
body.kostah-store .kostah-pdp .cep-form>div{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:8px}
body.kostah-store .kostah-pdp .cep-form input,body.kostah-store .kostah-pdp .cep-form button{height:46px;min-height:46px;padding:10px 8px}
body.kostah-store .kostah-pdp .cep-form button{font-size:12px;gap:5px}
body.kostah-store .kostah-pdp .cep-form button:before{font-size:16px}
.kostah-pdp .cep-result{font-size:12px;margin:10px 0;color:var(--sea)}
.kostah-pdp .cep-form small{font-size:10px;color:#637268}
.kostah-pdp .pdp-availability{display:flex;gap:7px;align-items:center;font-size:13px;font-weight:600;margin:0 0 20px}
.kostah-pdp .pdp-availability span{height:7px;width:7px;background:var(--sea);border-radius:50%}
body.kostah-store .woocommerce .kostah-pdp form.cart{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:0}
.kostah-pdp .pdp-quantity-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:700;font-size:13px;order:0}
.kostah-pdp .pdp-quantity-label span{font-size:10px;font-weight:400;color:#607267}
body.kostah-store .woocommerce .kostah-pdp form.cart .quantity{display:flex;align-items:center;float:none;flex-basis:auto;width:100%;margin:0 0 8px;border:1px solid #bacdc1;border-radius:6px;overflow:hidden;order:0}
body.kostah-store .woocommerce .kostah-pdp form.cart .quantity:before{display:none;content:none}
body.kostah-store .woocommerce .kostah-pdp .quantity input.qty{height:46px;min-width:0;width:100%;flex:1;border:0;border-radius:0;background:white;font-size:18px;font-weight:600;color:var(--ink);appearance:textfield;-moz-appearance:textfield;margin:0;padding:0;text-align:center}
.kostah-pdp input.qty::-webkit-inner-spin-button,.kostah-pdp input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.kostah-pdp .pdp-qty-control{display:grid;place-items:center;flex:0 0 46px;width:46px;min-height:46px;border:0;background:#effaf3;color:var(--sea);font-size:24px;line-height:1;cursor:pointer;padding:0}
.kostah-pdp .pdp-qty-control:disabled{color:#9daaa2;background:#f6f7f6;cursor:default}
body.kostah-store .woocommerce .kostah-pdp form.cart .button{float:none;width:100%;flex:auto;min-height:48px;height:auto;padding:15px 10px!important;margin:0!important;font-size:14px!important;font-weight:700;line-height:1.3;border-radius:6px}
body.kostah-store .woocommerce .kostah-pdp form.cart .buy-now{order:1;background:var(--sea);color:#fff;display:flex;justify-content:center;align-items:center;gap:8px}
body.kostah-store .woocommerce .kostah-pdp form.cart .single_add_to_cart_button{order:2;display:flex;justify-content:center;align-items:center;background:var(--mint);color:var(--sea);border:1px solid #b6dcc7;font-size:13px!important;white-space:normal}
body.kostah-store .woocommerce .kostah-pdp form.cart .single_add_to_cart_button:after{display:none;content:none}
.kostah-pdp .pdp-order-summary{padding:16px 0;border-bottom:1px solid #e3eae5;font-size:12px}
.kostah-pdp .pdp-quantity-copy{display:block;color:#53655a;margin-bottom:10px}
.kostah-pdp .pdp-order-summary>div{display:flex;justify-content:space-between;align-items:center;gap:10px}
.kostah-pdp .pdp-order-summary strong{font-size:20px;white-space:nowrap}
.kostah-pdp .pdp-order-summary small{display:block;color:#637268;margin-top:8px;font-size:10px}
.kostah-pdp .pdp-origin{font-size:11px;display:flex;flex-direction:column;gap:5px;padding-top:16px;color:#53655a}
.kostah-pdp .pdp-origin strong{font-size:12px;color:var(--ink)}
.kostah-pdp .pdp-section-nav{display:flex;overflow:auto;gap:26px;padding:20px 0;margin-top:35px;border-top:1px solid #e0e8e2;border-bottom:1px solid #e0e8e2;scrollbar-width:thin;white-space:nowrap;font-size:12px;font-weight:600;color:var(--sea)}
.kostah-pdp .pdp-section{margin:0;padding:42px 0;border-bottom:1px solid #e0e8e2;scroll-margin-top:190px}
.kostah-pdp .pdp-section:last-child{border-bottom:0;padding-bottom:12px}
.kostah-pdp .pdp-section h2{font-size:26px;font-weight:600;letter-spacing:-.6px;line-height:1.25;margin:0 0 25px;color:var(--ink)}
.kostah-pdp .pdp-related .line-heading{align-items:center;margin-bottom:6px}
.kostah-pdp .pdp-related .line-heading h2{margin-bottom:16px}
.kostah-pdp .pdp-related .line-controls{flex-shrink:0;margin-left:15px}
.kostah-pdp .pdp-related .line-controls button{width:44px;height:44px;border-radius:50%;box-shadow:0 2px 8px #17351e0d;display:grid;place-items:center}
.kostah-pdp .pdp-related .product-rail{gap:18px}
.kostah-pdp .pdp-related .product-rail>.eyewear-card{flex-basis:calc((100% - 54px)/4);border:1px solid #e1e8e3;border-radius:9px;overflow:hidden;background:#fff}
.kostah-pdp .pdp-related .card-content{padding:16px}
.kostah-pdp .pdp-related .card-content h2{font-size:14px;font-weight:400;line-height:1.5;letter-spacing:0;min-height:63px;margin:8px 0 14px}
.kostah-pdp .pdp-related .card-category{font-size:8px;letter-spacing:1px}
.kostah-pdp .pdp-related .card-image{aspect-ratio:3/4;object-fit:cover}
body.kostah-store .woocommerce .kostah-pdp .card-actions a.card-add.button{padding:0!important;font-size:0!important}
.kostah-pdp .pdp-characteristics dl{display:grid;grid-template-columns:1fr 1fr;column-gap:24px;margin:0;font-size:14px}
.kostah-pdp .pdp-characteristics dl>div{display:grid;grid-template-columns:minmax(105px,.8fr) minmax(0,1.2fr);padding:17px 18px;gap:16px;border-radius:6px;background:#f4f7f5;margin-bottom:8px}
.kostah-pdp .pdp-characteristics dt{font-weight:600}
.kostah-pdp .pdp-characteristics dd{margin:0;overflow-wrap:anywhere;color:#4d6154}
.kostah-pdp .pdp-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:850px;margin:0 auto}
.kostah-pdp .pdp-photo-grid img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;background:#f7f8f7;border-radius:8px}
.kostah-pdp .pdp-photos details{margin-top:22px}
.kostah-pdp .pdp-photos summary{cursor:pointer;color:var(--sea);font-size:14px;font-weight:600;list-style:none;display:flex;align-items:center;gap:8px;justify-content:center;padding:12px}
.kostah-pdp .pdp-photos details[open] summary{margin-bottom:20px}
.kostah-pdp .pdp-description-content{max-width:920px;color:#42534a;overflow-wrap:anywhere}
.kostah-pdp .pdp-description-content p{font-size:15px;line-height:1.85;margin:12px 0}
.kostah-pdp .pdp-description-content h2,.kostah-pdp .pdp-description-content h3{font-size:18px;line-height:1.6;letter-spacing:0;margin:24px 0 8px}
.kostah-pdp .pdp-description-content .product-description-title{display:none}
.kostah-pdp .pdp-description-content span,.kostah-pdp .pdp-description-content strong{font-family:inherit!important;color:inherit!important}
.kostah-pdp .pdp-description-content :is(p,h2,h3):empty{display:none}
.kostah-pdp .pdp-reviews>p:not(.pdp-eyebrow){font-size:14px;color:#53655a;margin-top:-10px;margin-bottom:25px}
.kostah-pdp .pdp-reviews #reviews{color:var(--ink)}
.kostah-pdp .pdp-reviews .woocommerce-Reviews-title{font-size:20px;letter-spacing:0}
.kostah-pdp .pdp-reviews #review_form_wrapper{max-width:800px}
.kostah-pdp .pdp-reviews label{font-size:14px}
.kostah-pdp .pdp-reviews input:not([type=checkbox]):not([type=submit]),.kostah-pdp .pdp-reviews textarea{max-width:100%;font:16px Arial,sans-serif;border:1px solid #b9cbc0;border-radius:6px;padding:12px;color:var(--ink);background:#fff}
.kostah-pdp .pdp-reviews textarea{width:100%;min-height:130px}
body.kostah-store .woocommerce .kostah-pdp #respond input#submit{background:var(--sea);color:white;border-radius:6px;font-size:14px;padding:15px 22px}
.kostah-pdp .pdp-reviews .cr-review-form-wrap{border-radius:10px}
body.kostah-store .kostah-pdp .pdp-reviews .cr-review-form-wrap .cr-review-form-submit,body.kostah-store .kostah-pdp .pdp-reviews .cr-add-review-wrap button{background:var(--sea);color:#fff;min-height:46px;border-radius:6px;font-weight:700}
body.kostah-store .kostah-pdp .pdp-reviews .cr-review-form-wrap .cr-review-form-submit:hover{background:var(--sea-hover)}
body.kostah-store .kostah-pdp .pdp-reviews .cr-review-form-wrap input:not([type=checkbox]):not([type=hidden]),body.kostah-store .kostah-pdp .pdp-reviews .cr-review-form-wrap textarea{font-size:16px;min-width:0}
@media(min-width:1450px){.kostah-pdp .pdp-overview{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) minmax(290px,1fr);gap:32px}.kostah-pdp .pdp-purchase{padding:24px}}
@media(min-width:761px) and (max-width:1100px){.kostah-pdp .pdp-overview{grid-template-columns:1.1fr 1fr;gap:24px}.kostah-pdp .pdp-gallery{grid-row:1 / span 2}.kostah-pdp .pdp-purchase{grid-column:2}.kostah-pdp .pdp-related .product-rail>.eyewear-card{flex-basis:calc((100% - 36px)/3)}}
@media(max-width:760px){
  body.kostah-product-page main.shop-main{padding:0 16px;margin-top:15px}
  body.kostah-store .kostah-pdp{padding:18px 16px;border-radius:10px}
  .kostah-pdp .pdp-overview{display:flex;flex-direction:column;gap:25px}
  .kostah-pdp .pdp-gallery,.kostah-pdp .pdp-information,.kostah-pdp .pdp-purchase{width:100%}
  body.kostah-store .woocommerce .kostah-pdp .pdp-gallery div.images{display:block}
  body.kostah-store .woocommerce .kostah-pdp .woocommerce-product-gallery .flex-viewport{width:100%}
  body.kostah-store .woocommerce .kostah-pdp .woocommerce-product-gallery .flex-control-thumbs{display:flex;flex-direction:row;width:100%;max-height:none;margin-top:12px;gap:8px;overflow-x:auto;flex-basis:auto}
  body.kostah-store .woocommerce .kostah-pdp .woocommerce-product-gallery .flex-control-thumbs li{flex:0 0 52px;width:52px!important}
  body.kostah-store .woocommerce .kostah-pdp .woocommerce-product-gallery .flex-control-thumbs img{width:52px}
  body.kostah-store .woocommerce .kostah-pdp h1.product_title{font-size:25px;line-height:1.26}
  .kostah-pdp .pdp-review-link{margin-bottom:18px}
  .kostah-pdp .pdp-promotion{margin-bottom:20px}
  .kostah-pdp .pdp-purchase{padding:20px 16px}
  .kostah-pdp .pdp-section-nav{gap:22px;margin-top:28px;font-size:12px}
  .kostah-pdp .pdp-section{padding:30px 0;scroll-margin-top:130px}
  .kostah-pdp .pdp-section h2{font-size:23px;margin-bottom:20px}
  .kostah-pdp .pdp-related .line-heading{align-items:flex-end;gap:6px}
  .kostah-pdp .pdp-related .line-controls{gap:6px;margin:0 0 17px}
  .kostah-pdp .pdp-related .line-controls button{width:36px;height:36px}
  .kostah-pdp .pdp-related .line-heading h2{font-size:21px}
  .kostah-pdp .pdp-related .product-rail{gap:12px;margin:0 -3px}
  .kostah-pdp .pdp-related .product-rail>.eyewear-card{flex-basis:calc((100% - 12px)/2)}
  .kostah-pdp .pdp-related .card-content{padding:10px 8px}
  .kostah-pdp .pdp-related .card-content h2{font-size:12px;line-height:1.5;min-height:72px;margin:8px 0 12px}
  .kostah-pdp .pdp-related .card-category{font-size:7px;letter-spacing:.7px}
  .kostah-pdp .pdp-related .card-gallery .kostah-badge{font-size:8px;padding:6px 8px;left:6px;top:7px}
  .kostah-pdp .pdp-related .pair-current{font-size:21px!important;letter-spacing:-.5px}
  .kostah-pdp .pdp-related .pair-price{font-size:10px;line-height:1.5;min-height:30px}
  body.kostah-store .kostah-pdp .card-actions{grid-template-columns:minmax(0,1fr) 46px!important;gap:5px}
  .kostah-pdp .pdp-characteristics dl{grid-template-columns:1fr;font-size:12px}
  .kostah-pdp .pdp-characteristics dl>div{padding:14px 12px}
  .kostah-pdp .pdp-photo-grid{gap:12px}
  .kostah-pdp .pdp-description-content p{font-size:14px;line-height:1.8}
}
@media(max-width:370px){body.kostah-product-page main.shop-main{padding:0 8px}body.kostah-store .kostah-pdp{padding:16px 12px}.kostah-pdp .pdp-purchase{padding:18px 12px}.kostah-pdp .pdp-related .product-rail>.eyewear-card{flex-basis:76%}}
@media(prefers-reduced-motion:reduce){.kostah-pdp *{scroll-behavior:auto!important}}
