/* Native WooCommerce pages share the storefront's type, palette and controls.
   Keep WooCommerce markup, hooks, variations and payment integrations intact. */
body.woocommerce,body.woocommerce-page{--shg-commerce-accent:#80523e;--shg-commerce-accent-hover:#65412f;--shg-commerce-surface:#eee9df}
body.woocommerce :is(.woocommerce-breadcrumb,div.product,ul.products),body.woocommerce-page .woocommerce{font-family:var(--sans);color:var(--ink)}
body.woocommerce :is(button,input,select,textarea),body.woocommerce-page :is(button,input,select,textarea){font:inherit}
body.woocommerce.single-product main.content-area{max-width:1320px;padding-block:32px 64px}
body.woocommerce .woocommerce-breadcrumb{font-size:14px;line-height:1.6;color:#746b5f;margin-bottom:26px}
body.woocommerce .woocommerce-breadcrumb a{color:#5f584e;text-decoration:none}
body.woocommerce.single-product div.product{display:flow-root}
body.woocommerce.single-product div.product div.images{width:48%;margin-bottom:32px}
body.woocommerce.single-product div.product div.summary{width:47%;margin:0 0 32px;padding:8px 0 0}
body.woocommerce.single-product div.product .product_title{font-family:var(--sans);font-size:clamp(26px,2.5vw,36px);font-weight:500;line-height:1.22;letter-spacing:-.025em;margin:0 0 20px;word-spacing:normal;overflow-wrap:break-word}
body.woocommerce.single-product div.product .summary p.price{font-size:28px;font-weight:500;line-height:1.4;margin:22px 0;color:var(--ink)}
body.woocommerce.single-product div.product .summary p.price del{font-size:18px;color:#746b60}
body.woocommerce.single-product div.product .summary p.price ins{background:transparent;text-decoration:none}
body.woocommerce.single-product div.product :is(.woocommerce-product-details__short-description,.woocommerce-product-details__short-description p){font-size:16px;line-height:1.8;color:#5e6258}
body.woocommerce.single-product div.product p.stock{display:inline-block;font-size:14px;line-height:1.5;color:#526348;background:#edf0e7;border-radius:999px;padding:7px 12px;margin:0 0 20px}
body.woocommerce.single-product div.product .woocommerce-product-rating{font-size:14px;margin:0 0 18px}
body.woocommerce.single-product div.product .woocommerce-review-link{color:#736451;text-underline-offset:4px}
body.woocommerce.single-product div.product .woocommerce-product-gallery__image>a{display:block;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;aspect-ratio:1}
body.woocommerce.single-product div.product .woocommerce-product-gallery__image>a>img{width:100%;height:100%;object-fit:contain;aspect-ratio:1}
body.woocommerce.single-product div.product .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
body.woocommerce.single-product div.product .flex-control-thumbs li{width:68px!important;float:none;margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
body.woocommerce.single-product div.product .flex-control-thumbs img{width:100%;aspect-ratio:1;object-fit:contain;opacity:.7}
body.woocommerce.single-product div.product .flex-control-thumbs img.flex-active{opacity:1;outline:2px solid var(--shg-commerce-accent);outline-offset:-2px;border-radius:11px}
body.woocommerce.single-product div.product form.cart{margin:24px 0;display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}
body.woocommerce.single-product div.product form.cart .quantity{float:none;margin:0}
body.woocommerce.single-product .quantity .qty{width:76px;min-height:50px;border:1px solid #d7cfc3;border-radius:999px;background:#fffdf9;font-size:16px;color:var(--ink);padding:10px}
body.woocommerce.single-product div.product form.cart .button{float:none;margin:0;min-height:50px;padding:12px 28px;flex:1;max-width:400px}
body.woocommerce.single-product div.product form.variations_form{display:block}
body.woocommerce.single-product div.product form.cart .variations{font-size:15px;margin-bottom:18px}
body.woocommerce.single-product div.product form.cart .variations select{min-height:48px;font-size:16px;border-radius:12px;background:#fffdf9;border:1px solid #d7cfc3;padding:10px 14px}
body.woocommerce.single-product .woocommerce-variation-add-to-cart{display:flex;gap:12px;flex-wrap:wrap}
body.woocommerce.single-product div.product .product_meta{font-size:14px;line-height:1.8;color:#746b60;border-top:1px solid var(--line);padding-top:20px;display:grid;gap:8px}
body.woocommerce.single-product div.product .product_meta a{color:#80523e;text-underline-offset:4px}
body.woocommerce.single-product div.product .woocommerce-tabs{clear:both;padding-top:30px}
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:8px 28px;border:0;padding:0;margin:0 0 32px;border-bottom:1px solid var(--line);overflow:visible}
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs::before,body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li::before,body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li::after{display:none}
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li{border:0;border-bottom:3px solid transparent;background:transparent;border-radius:0;padding:0;margin:0;box-shadow:none}
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li a{display:block;font-size:17px;font-weight:500;line-height:1.5;padding:15px 4px;color:#736859}
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li.active{background:transparent;border-bottom-color:#80523e}
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ink)}
body.woocommerce.single-product div.product .woocommerce-tabs .panel{font-size:17px;line-height:1.8;color:#5d6258;margin:0 0 44px;max-width:80ch;overflow-wrap:break-word}
body.woocommerce.single-product div.product .woocommerce-tabs .panel h2{font-family:var(--sans);font-size:28px;font-weight:500;letter-spacing:-.025em;line-height:1.25;margin:0 0 24px;color:var(--ink)}
body.woocommerce.single-product div.product .woocommerce-tabs .panel h3{font-size:22px;font-weight:500;line-height:1.35;margin:28px 0 14px;color:var(--ink)}
body.woocommerce.single-product div.product .woocommerce-tabs .panel :is(p,li){font-size:17px;line-height:1.8}
body.woocommerce.single-product div.product .woocommerce-tabs .panel table{font-size:15px;line-height:1.6;border:0;border-collapse:collapse}
body.woocommerce.single-product div.product .woocommerce-tabs .panel :is(td,th){padding:14px 16px;border:0;text-align:left;font-weight:400}
body.woocommerce.single-product div.product .woocommerce-tabs .panel tr:nth-child(odd){background:#eeeae3}
body.woocommerce.single-product div.product .related{padding-top:30px;border-top:1px solid var(--line)}
body.woocommerce.single-product div.product .related>h2{font-size:30px;font-weight:400;letter-spacing:-.025em;margin:0 0 28px}
body.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--sans);font-size:16px;line-height:1.5;font-weight:500;letter-spacing:0;padding:16px 0 12px}
body.woocommerce ul.products li.product .price{font-size:20px;line-height:1.4;margin-bottom:16px;font-weight:500}
body.woocommerce ul.products li.product .price ins{background:none;text-decoration:none}
body.woocommerce ul.products li.product .shg-card-excerpt{font-size:14px;line-height:1.65;color:var(--muted);margin:0 16px 16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.3em}
body.woocommerce ul.products li.product .button{margin-top:0;min-height:44px;font-size:14px}
body.woocommerce :is(a.button,button.button,input.button,#respond input#submit),body.woocommerce-page :is(a.button,button.button,input.button),body.woocommerce.single-product div.product form.cart .button{font-family:var(--sans);font-size:15px;font-weight:500;line-height:1.5;background:var(--shg-commerce-accent);color:#fff;border:1px solid var(--shg-commerce-accent);border-radius:999px;box-shadow:none;min-height:48px;padding:12px 24px;text-decoration:none}
body.woocommerce :is(a.button,button.button,input.button):hover,body.woocommerce-page :is(a.button,button.button,input.button):hover,body.woocommerce.single-product div.product form.cart .button:hover{background:var(--shg-commerce-accent-hover);border-color:var(--shg-commerce-accent-hover);color:#fff}
body.woocommerce button.button:disabled,body.woocommerce button.button.disabled{opacity:.5;cursor:not-allowed}
body.woocommerce-page .woocommerce :is(.input-text,select,textarea){font-family:var(--sans);font-size:16px;line-height:1.5;border:1px solid #d7cfc3;border-radius:10px;padding:12px;background:#fffdf9;color:var(--ink);max-width:100%}
body.woocommerce-page .woocommerce :is(label,table.shop_table,.woocommerce-MyAccount-navigation){font-size:15px;line-height:1.6}
body.woocommerce-page .woocommerce :is(h2,h3){font-family:var(--sans);font-weight:500;line-height:1.3;letter-spacing:-.02em}
body.woocommerce-page .woocommerce :is(.woocommerce-info,.woocommerce-message){font-family:var(--sans);font-size:15px;line-height:1.7;background:#eeeae3;border-radius:12px;color:#454b40}
@media(max-width:700px){
 body.woocommerce.single-product main.content-area{width:calc(100% - 32px);padding:22px 0 40px}
 body.woocommerce.single-product div.product :is(div.images,div.summary){width:100%;float:none}
 body.woocommerce.single-product div.product div.summary{padding-top:0}
 body.woocommerce.single-product div.product .product_title{font-size:27px;line-height:1.23}
 body.woocommerce.single-product div.product .summary p.price{font-size:26px}
 body.woocommerce.single-product div.product .woocommerce-tabs{padding-top:12px}
 body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs{gap:8px}
 body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li a{font-size:14px;padding:10px 14px}
 body.woocommerce.single-product div.product .woocommerce-tabs .panel :is(p,li){font-size:16px}
 body.woocommerce.single-product div.product .woocommerce-tabs .panel h2{font-size:25px}
 body.woocommerce.single-product div.product .related>h2{font-size:27px}
 body.woocommerce.single-product .related ul.products li.product{width:48%;margin-right:0}
 body.woocommerce.single-product .related ul.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
 body.woocommerce.single-product .related ul.products::before,body.woocommerce.single-product .related ul.products::after{display:none}
 body.woocommerce.single-product .related ul.products li.product{width:100%;float:none;margin:0}
 body.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px}
 body.woocommerce ul.products li.product .price{font-size:19px}
 body.woocommerce ul.products li.product .button{font-size:13px;padding-inline:16px}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){body.woocommerce .button{transition:background .2s,border-color .2s}}

/* Native catalogue: the same measured cards and controls as the homepage. */
body.woocommerce :is(ul.products){display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 20px;clear:both;margin:0 0 36px;padding:0}
body.woocommerce ul.products::before,body.woocommerce ul.products::after{display:none}
body.woocommerce ul.products li.product{float:none;width:100%;min-width:0;margin:0;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;padding:0 0 16px}
/* Woo's columns-N percentages describe floats, not tracks. Reset both its
   ul.columns-N and body.columns-N variants inside our native grid. */
body.woocommerce ul.products[class*="columns-"]>li.product,
body.woocommerce-page ul.products[class*="columns-"]>li.product{width:100%;max-width:none;float:none;clear:none;margin:0;justify-self:stretch}
body.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{position:relative;display:block;color:var(--ink)}
body.woocommerce ul.products li.product a img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;margin:0;background:#fff;border:0;border-radius:0}
body.woocommerce ul.products li.product img.shg-loop-hover{position:absolute;inset:0 0 auto;opacity:0;pointer-events:none}
body.woocommerce ul.products li.product .woocommerce-loop-product__title{margin:16px 16px 10px;padding:0;min-height:3em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.woocommerce ul.products li.product .price{display:block;color:var(--ink);margin:0 16px 16px;min-height:28px}
body.woocommerce ul.products li.product .star-rating{margin:12px 16px}
body.woocommerce ul.products li.product a.button{display:flex;align-items:center;justify-content:center;text-align:center;margin:auto 16px 0;padding:10px 12px;min-height:44px;background:var(--sand);border:1px solid var(--line);color:#615646;font-size:14px}
body.woocommerce ul.products li.product a.button:hover{background:var(--shg-commerce-accent);border-color:var(--shg-commerce-accent);color:#fff}
body.woocommerce ul.products li.product a.added_to_cart{font-size:14px;text-align:center;padding:10px 16px 0}
body.woocommerce :is(.woocommerce-result-count,.woocommerce-ordering){font-size:15px;line-height:1.6;margin:0 0 24px;color:#665e53}
body.woocommerce .woocommerce-ordering select{min-height:44px;background:#fffdf9;border:1px solid var(--line);border-radius:999px;padding:10px 36px 10px 16px;font-family:var(--sans);font-size:15px;color:var(--ink);max-width:100%}
body.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:8px;justify-content:center}
body.woocommerce nav.woocommerce-pagination ul li{border:0;overflow:visible}
body.woocommerce nav.woocommerce-pagination ul li :is(a,span){border:1px solid var(--line);border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font-size:15px;background:transparent;color:var(--ink)}
body.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--ink);color:#fff;border-color:var(--ink)}
body:is(.tax-product_cat,.post-type-archive-product) main.content-area{padding-top:28px;padding-bottom:56px}
body:is(.tax-product_cat,.post-type-archive-product) main.content-area>.wrap{width:100%}
@media(min-width:701px) and (max-width:1100px){body.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
 body.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
 body.woocommerce ul.products li.product{border-radius:16px;padding-bottom:12px}
 body.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;line-height:1.5;margin:12px 12px 10px}
 body.woocommerce ul.products li.product .price{font-size:19px;margin:0 12px 12px}
 body.woocommerce ul.products li.product a.button{font-size:13px;margin:auto 12px 0;padding-inline:8px}
 body.woocommerce :is(.woocommerce-result-count,.woocommerce-ordering){float:none;width:100%;margin-bottom:16px}
 body.woocommerce .woocommerce-ordering select{width:100%;font-size:16px}
}
@media(hover:hover) and (pointer:fine){body.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:hover img.shg-loop-hover{opacity:1}}
@media(prefers-reduced-motion:no-preference){body.woocommerce ul.products li.product img.shg-loop-hover{transition:opacity .3s ease}}

/* Match the homepage's full-width, warm neutral product-card actions. */
body.woocommerce ul.products li.product a.button{justify-content:space-between;gap:12px;background:#eee9df;color:#514f44;border-color:#e3ded4;font-weight:400;text-align:left}
body.woocommerce ul.products li.product a.button::after{content:'→';font-size:20px;line-height:1;flex-shrink:0;margin-left:auto}
body.woocommerce-page :is(.wc-block-cart,.wc-block-checkout){font-family:var(--sans);color:var(--ink);font-size:16px;line-height:1.6}
body.woocommerce-page :is(.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button){background:var(--shg-commerce-accent);border:1px solid var(--shg-commerce-accent);color:#fff;border-radius:999px;min-height:48px;padding:12px 24px;font-family:var(--sans);font-size:16px;font-weight:500;text-decoration:none;box-shadow:none}
body.woocommerce-page :is(.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button):hover{background:var(--shg-commerce-accent-hover);color:#fff}
body.woocommerce-page .wc-block-components-button__text{text-decoration:none}
body.woocommerce-page .wc-block-components-product-name{font-family:var(--sans);font-size:16px;line-height:1.5;color:var(--ink);text-decoration:none}
body.woocommerce-page .wc-block-components-product-price{font-size:17px;color:var(--ink)}
body.woocommerce-page .wc-block-components-quantity-selector{border:1px solid var(--line);border-radius:999px;background:#fffdf9;min-height:44px}
body.woocommerce-page .wc-block-components-quantity-selector input{font-family:var(--sans);font-size:16px}
/* Grey the item, keeping remove controls and WooCommerce error messages usable. */
.shg-cart-unavailable{background:#eeedeb}
.shg-cart-unavailable :is(.product-thumbnail img,.wc-block-cart-item__image img){filter:grayscale(1);opacity:.55}
.shg-cart-unavailable :is(.product-name,.product-name a,.product-price,.product-subtotal,.wc-block-components-product-name,.wc-block-components-product-price,.wc-block-cart-item__total){color:#737373!important}
.shg-cart-unavailable :is(.wc-block-cart-item__product,.product-name){position:relative}
.shg-cart-unavailable .wc-block-components-product-name::after{content:'Stokta yok';display:block;width:fit-content;margin-top:8px;padding:4px 10px;border-radius:999px;background:#dddcd9;color:#494949;font-size:13px;line-height:1.5;font-weight:500}
.shg-stock-unavailable{font-size:14px;font-weight:500;color:#555;margin:8px 0}
.shg-cart-unavailable :is(.remove,.wc-block-cart-item__remove-link){color:#454545!important;opacity:1}
body.woocommerce ul.products li.product a.button.loading::after{content:''}
body.woocommerce ul.products li.product a.button.added::after{content:'✓';font-family:var(--sans)}
body.woocommerce span.onsale{background:#eee9df;color:#615646;border:1px solid #ded5c8;border-radius:999px;min-height:0;min-width:0;padding:6px 12px;font:500 13px/1.5 var(--sans);margin:10px!important}
/* Native WooCommerce imported descriptions use the same padded fact tables. */
body.woocommerce ul.products li.product a.woocommerce-LoopProduct-link>img,
body.woocommerce.single-product div.product .woocommerce-product-gallery__image>a>img{
 aspect-ratio:var(--shg-product-ratio,1 / 1);object-fit:contain;object-position:center;padding:0;margin:0;
}
body.woocommerce.single-product div.product .woocommerce-tabs .panel .shg-spec-table{max-width:100%;border-collapse:separate;border-spacing:0 8px}
body.woocommerce.single-product div.product .woocommerce-tabs .panel .shg-spec-table :is(th,td){padding:18px 24px;font-size:16px;line-height:1.65}
@media(max-width:700px){body.woocommerce.single-product div.product .woocommerce-tabs .panel .shg-spec-table :is(th,td){padding:15px 16px;font-size:15px}}

/* Reviewed copy uses the same guide/content composition as the local product page. */
body.woocommerce.single-product div.product .woocommerce-tabs .panel:has(.shg-native-description){max-width:none}
.woocommerce-tabs .shg-native-description{display:grid;grid-template-columns:250px minmax(0,1fr);gap:60px;align-items:start}
body.woocommerce.single-product .woocommerce-tabs .shg-native-description>.shg-product-copy{display:block}
body.woocommerce.single-product div.product .woocommerce-tabs .shg-native-description .shg-copy-section h2{font:500 23px/1.35 var(--sans);letter-spacing:-.02em;margin:0 0 18px}
body.woocommerce.single-product div.product .woocommerce-tabs .shg-native-description .shg-section-label{font:500 12px/1.5 var(--sans);letter-spacing:.08em;color:#8a614a}
body.woocommerce.single-product div.product .woocommerce-tabs .shg-native-description :is(p,li){font-size:16px;line-height:1.85;color:var(--ink)}
.woocommerce-tabs .shg-native-description .product-information-heading>h2{font-size:29px;line-height:1.2;margin:0 0 18px}
@media(min-width:701px){.woocommerce-tabs .shg-native-description>.product-information-heading{position:sticky;top:24px;max-height:calc(100dvh - 48px);overflow-y:auto;scrollbar-width:thin}.admin-bar .woocommerce-tabs .shg-native-description>.product-information-heading{top:70px;max-height:calc(100dvh - 94px)}}
@media(max-width:700px){.woocommerce-tabs .shg-native-description{grid-template-columns:1fr;gap:24px}.woocommerce-tabs .shg-native-description .product-information-heading>h2{font-size:26px}body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs{gap:6px 14px}body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li a{font-size:15px;padding:12px 2px}}
