/* HME shop styling (WooCommerce) */
:root{
  --hme-c-cream:var(--wp--preset--color--cream);--hme-c-paper:var(--wp--preset--color--paper);--hme-c-sand:var(--wp--preset--color--sand);
  --hme-o9:var(--wp--preset--color--olive-900);--hme-o7:var(--wp--preset--color--olive-700);--hme-o5:var(--wp--preset--color--olive-500);
  --hme-gold:var(--wp--preset--color--gold);--hme-ink:var(--wp--preset--color--ink);--hme-muted:var(--wp--preset--color--muted);--hme-line:var(--wp--preset--color--line);
  --hme-cart-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h3l2.6 12.2a1 1 0 001 .8h9.6a1 1 0 001-.8L21 7H6'/%3E%3Ccircle cx='9.5' cy='20' r='1.4'/%3E%3Ccircle cx='17.5' cy='20' r='1.4'/%3E%3C/svg%3E");
  --hme-branch:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%236B7A3A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M30 96C48 74 68 52 92 28'/%3E%3Cpath d='M44 80c-10-2-16-8-18-16 10 0 16 6 18 16zM56 66c-10-2-15-9-16-17 10 1 15 8 16 17zM70 52c-9-3-13-10-13-18 9 2 13 9 13 18zM52 72c4-9 11-13 19-14-1 9-8 14-19 14zM64 58c4-9 11-13 19-13-1 9-8 13-19 13zM78 44c4-8 10-12 18-12-1 8-7 12-18 12z'/%3E%3C/svg%3E");
}
body{background:var(--hme-c-cream);color:var(--hme-ink)}

/* ---------- Headings / page head ---------- */
.hme-eyebrow{font-family:var(--wp--preset--font-family--body);color:var(--hme-gold);font-size:.78rem;font-weight:600;letter-spacing:.28em;text-transform:uppercase;margin:0 0 .6rem;display:flex;align-items:center;gap:.8rem}
.hme-shop-head{text-align:center;padding:1.5rem 0 .5rem}
.hme-shop-head .hme-eyebrow{justify-content:center}
.hme-shop-head .hme-eyebrow::before,.hme-shop-head .hme-eyebrow::after{content:"";width:34px;height:1px;background:var(--hme-gold)}
.hme-shop-head .wp-block-query-title,.hme-single-info .wp-block-post-title{font-family:var(--wp--preset--font-family--heading);color:var(--hme-o9);font-weight:500;line-height:1.15;margin:0}
.hme-shop-head .wp-block-query-title{font-size:clamp(2rem,4.5vw,3rem)}
.hme-shop-head .wp-block-term-description{color:var(--hme-muted);font-style:italic;max-width:60ch;margin:.8rem auto 0}

/* breadcrumbs */
.wc-block-breadcrumbs,.woocommerce-breadcrumb{color:var(--hme-muted);font-size:.85rem;padding-top:1rem}
.woocommerce-breadcrumb a{color:var(--hme-o7);text-decoration:none}
.woocommerce-breadcrumb a:hover{color:var(--hme-gold);text-decoration:underline}

/* category pills */
.hme-catnav{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin:1.2rem auto 1.8rem;max-width:var(--wp--style--global--wide-size,1200px)}
.hme-catnav a{padding:.45rem 1.05rem;border:1px solid var(--hme-line);border-radius:999px;background:var(--hme-c-paper);color:var(--hme-o7);font-size:.9rem;text-decoration:none;transition:.15s}
.hme-catnav a:hover{border-color:var(--hme-o5);color:var(--hme-o9)}
body.post-type-archive-product:not(.tax-product_cat) .hme-catnav a[data-cat=all],
body.term-zeytinyaglari .hme-catnav a[data-cat=zeytinyaglari],body.term-zeytinlerimiz .hme-catnav a[data-cat=zeytinlerimiz],
body.term-zeytin-sutu .hme-catnav a[data-cat=zeytin-sutu],body.term-kantaron-yagi .hme-catnav a[data-cat=kantaron-yagi],
body.term-sabunlarimiz .hme-catnav a[data-cat=sabunlarimiz],body.term-paketler .hme-catnav a[data-cat=paketler]{background:var(--hme-o9);border-color:var(--hme-o9);color:#fff}

/* result count + sorting */
.hme-shop-bar{border-top:1px solid var(--hme-line);padding-top:1rem;margin-bottom:1.2rem;align-items:center;flex-wrap:wrap!important}
.woocommerce-result-count{margin:0;color:var(--hme-muted);font-size:.9rem;font-style:italic}
.woocommerce-ordering select,.wc-block-catalog-sorting select{font-family:inherit;font-size:.9rem;color:var(--hme-ink);background-color:var(--hme-c-paper);border:1px solid var(--hme-line);border-radius:4px;padding:.5rem 2rem .5rem .8rem}
.woocommerce-ordering{margin:0}

/* ---------- Product grid + card ---------- */
.wc-block-product-template{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.4rem;padding:0;margin-top:0;list-style:none}
.wc-block-product-template.columns-5{grid-template-columns:repeat(4,minmax(0,1fr))}
.wc-block-product-template>li.wc-block-product{width:auto!important;margin:0!important;max-width:none!important;display:flex;flex-direction:column;background:var(--hme-c-paper);border:1px solid var(--hme-line);border-radius:6px;padding:.9rem .9rem 1.1rem;transition:box-shadow .2s,transform .2s,border-color .2s}
.wc-block-product-template>li.wc-block-product:hover{box-shadow:var(--hme-shadow,0 6px 18px rgba(46,58,27,.1));border-color:var(--hme-gold);transform:translateY(-2px)}
.wc-block-product .wc-block-components-product-image{margin:0 0 .9rem;background:#fff;border-radius:4px;overflow:hidden;position:relative;aspect-ratio:1/1;display:flex}
.wc-block-product .wc-block-components-product-image a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.wc-block-product .wc-block-components-product-image img{width:100%;height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;padding:.4rem;transition:transform .3s}
.wc-block-product:hover .wc-block-components-product-image img{transform:scale(1.03)}
/* placeholder: calm sand panel with olive branch */
.wc-block-product .wc-block-components-product-image:has(img.woocommerce-placeholder){background:var(--hme-c-sand)}
img.woocommerce-placeholder{opacity:0!important}
.wc-block-product .wc-block-components-product-image:has(img.woocommerce-placeholder)::after{content:"";position:absolute;inset:0;background:var(--hme-branch) center/38% no-repeat;opacity:.55;pointer-events:none}
.wc-block-product .wp-block-post-title{font-family:var(--wp--preset--font-family--heading);font-weight:500;font-size:1.05rem!important;line-height:1.3!important;margin:0 0 .5rem;text-align:center;min-height:2.6em;display:flex;align-items:center;justify-content:center}
.wc-block-product .wp-block-post-title a{color:var(--hme-o9);text-decoration:none}
.wc-block-product .wp-block-post-title a:hover{color:var(--hme-gold)}
.wc-block-product .wp-block-woocommerce-product-price{margin-top:auto!important;margin-bottom:.8rem!important}
.wc-block-components-product-price,.wp-block-woocommerce-product-price{font-weight:700;color:var(--hme-o9);font-family:var(--wp--preset--font-family--body)}
.wc-block-product .wc-block-components-product-price{font-size:1.15rem!important}
.wc-block-components-product-price del,.price del{color:var(--hme-muted);font-weight:400;opacity:.8}
.wc-block-components-product-price ins,.price ins{text-decoration:none}
.wc-block-product .wc-block-components-product-button{margin:0!important;width:100%}

/* Buttons (add to cart, generic woo) */
.wc-block-components-product-button__button,.single_add_to_cart_button,.wp-block-woocommerce-product-button .wp-block-button__link,
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link){font-family:var(--wp--preset--font-family--body)!important;background:var(--hme-o9)!important;color:#fff!important;border:1px solid var(--hme-o9)!important;border-radius:4px!important;font-weight:600;font-size:.92rem!important;letter-spacing:.02em;padding:.75rem 1.1rem!important;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s;box-shadow:none}
.wc-block-components-product-button__button:hover,.single_add_to_cart_button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.wc-block-components-button:not(.is-link):hover{background:var(--hme-o7)!important;border-color:var(--hme-o7)!important;color:#fff!important}
.wc-block-components-product-button__button,.single_add_to_cart_button{display:flex!important;align-items:center;justify-content:center;gap:.5rem;width:100%}
.wc-block-components-product-button__button::before,.single_add_to_cart_button::before{content:"";width:1.1em;height:1.1em;background:currentColor;-webkit-mask:var(--hme-cart-icon) center/contain no-repeat;mask:var(--hme-cart-icon) center/contain no-repeat;flex:none}
.wc-block-components-product-button__button.loading{opacity:.7}
a.added_to_cart{display:block;text-align:center;margin-top:.5rem;font-size:.85rem;color:var(--hme-o7)}
.wc-block-components-button.outlined,.wc-block-components-button.wc-block-components-button--outlined{background:transparent!important;color:var(--hme-o9)!important}

/* Sale badge */
.wc-block-components-product-sale-badge,.onsale,.wc-block-grid__product-onsale{position:absolute;top:.6rem;right:.6rem;z-index:2;background:var(--hme-gold)!important;color:#fff!important;border:0!important;border-radius:999px!important;font-size:.72rem!important;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:.3rem .75rem!important;margin:0!important;min-height:0;min-width:0;line-height:1.3}
.wc-block-components-product-image .wp-block-woocommerce-product-sale-badge{position:absolute;top:0;right:0;z-index:2}

/* Pagination */
.wp-block-query-pagination{margin-top:2.2rem;gap:.4rem}
.wp-block-query-pagination a,.wp-block-query-pagination .page-numbers,.woocommerce-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:2.4rem;height:2.4rem;padding:0 .8rem;border:1px solid var(--hme-line);border-radius:4px;background:var(--hme-c-paper);color:var(--hme-o7);text-decoration:none;font-size:.92rem}
.wp-block-query-pagination a:hover{border-color:var(--hme-o5);color:var(--hme-o9)}
.wp-block-query-pagination .page-numbers.current{background:var(--hme-o9);border-color:var(--hme-o9);color:#fff}
.wp-block-query-pagination-numbers{display:flex;gap:.4rem}

/* ---------- Single product ---------- */
.hme-single-cols{gap:3rem!important;margin-top:1.5rem;align-items:flex-start}
.woocommerce-product-gallery{background:#fff;border:1px solid var(--hme-line);border-radius:6px;padding:1.5rem;margin:0}
.woocommerce-product-gallery__image img,.woocommerce-product-gallery img{width:100%;height:auto;max-height:620px;object-fit:contain;display:block;margin:0 auto}
.woocommerce-product-gallery__image--placeholder,.woocommerce-product-gallery:not(.woocommerce-product-gallery--with-images){background:var(--hme-c-sand);position:relative;min-height:380px}
.woocommerce-product-gallery:not(.woocommerce-product-gallery--with-images) img{opacity:0}
.woocommerce-product-gallery:not(.woocommerce-product-gallery--with-images)::after{content:"";position:absolute;inset:0;background:var(--hme-branch) center/30% no-repeat;opacity:.55;pointer-events:none}
.woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:.5rem;list-style:none;padding:0;margin:1rem 0 0}
.woocommerce-product-gallery .flex-control-thumbs li{width:70px}
.woocommerce-product-gallery .flex-control-thumbs img{border:1px solid var(--hme-line);border-radius:4px;padding:2px;cursor:pointer;opacity:.7}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active{opacity:1;border-color:var(--hme-gold)}
.woocommerce-product-gallery__trigger{display:none}
.hme-single-info .hme-eyebrow{margin-bottom:.4rem}
.hme-single-info .wp-block-post-title{font-size:clamp(1.8rem,3.4vw,2.5rem)}
.hme-single-info .wp-block-woocommerce-product-price{margin:.9rem 0}
.hme-single-info .wc-block-components-product-price{font-size:1.9rem!important;color:var(--hme-o9)}
.hme-single-info .wp-block-post-excerpt{color:var(--hme-ink);margin:0 0 1.2rem;line-height:1.7}
.stock{font-size:.88rem;color:var(--hme-o5);margin:0 0 .9rem;font-weight:600}
.stock.out-of-stock{color:#9a3b2a}
form.cart{display:flex;gap:.8rem;align-items:stretch;flex-wrap:nowrap;margin:0 0 .5rem}
form.cart .single_add_to_cart_button{flex:1;width:auto;padding:.95rem 1.4rem!important;font-size:1rem!important}
.quantity .qty,.wc-block-components-quantity-selector input{width:4.6rem;height:100%;min-height:3rem;text-align:center;font:inherit;background:var(--hme-c-paper);border:1px solid var(--hme-line);border-radius:4px;color:var(--hme-ink)}
.hme-trust{list-style:none;margin:1.4rem 0;padding:1rem 0;border-top:1px solid var(--hme-line);border-bottom:1px solid var(--hme-line);display:grid;gap:.7rem}
.hme-trust li{display:flex;align-items:center;gap:.7rem;font-size:.92rem;color:var(--hme-o7)}
.hme-trust svg{width:22px;height:22px;flex:none;fill:none;stroke:var(--hme-gold);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.wp-block-woocommerce-product-meta{font-size:.88rem;color:var(--hme-muted)}
.wp-block-woocommerce-product-meta .wp-block-group{gap:1.2rem!important}
.wp-block-woocommerce-product-meta a{color:var(--hme-o7)}
.taxonomy-product_brand,.wp-block-woocommerce-product-meta .taxonomy-product_tag{display:none}
/* tabs */
.wp-block-woocommerce-product-details{margin-top:3rem}
.woocommerce-tabs ul.tabs{list-style:none;display:flex;gap:1.5rem;padding:0;margin:0 0 1.5rem;border-bottom:1px solid var(--hme-line)}
.woocommerce-tabs ul.tabs li a{display:block;padding:.7rem 0;font-family:var(--wp--preset--font-family--heading);font-size:1.15rem;color:var(--hme-o9);text-decoration:none;border-bottom:2px solid var(--hme-gold);margin-bottom:-1px}
.woocommerce-tabs ul.tabs li:not(.active) a{border-bottom-color:transparent;color:var(--hme-muted)}
.woocommerce-tabs .panel>h2:first-child{display:none}
.woocommerce-tabs .panel{max-width:78ch;line-height:1.75}
.reviews_tab,#tab-reviews,#reviews,.woocommerce-Reviews,.woocommerce-product-rating,.wp-block-woocommerce-product-rating{display:none!important}
/* related */
.wp-block-woocommerce-product-collection h2.wp-block-heading,.wp-block-heading.alignwide{font-family:var(--wp--preset--font-family--heading);color:var(--hme-o9);font-weight:500}
.wp-block-woocommerce-product-collection .wc-block-product-template{margin-top:1rem}
.wp-block-woocommerce-product-collection .wc-block-components-product-image:has(img.woocommerce-placeholder){background:var(--hme-c-sand)}

/* ---------- Inputs (global within shop) ---------- */
.woocommerce input[type=text],.woocommerce input[type=email],.woocommerce input[type=tel],.woocommerce input[type=password],.woocommerce input[type=number],.woocommerce textarea,.woocommerce select,
.wc-block-components-text-input input,.wc-block-components-textarea,.wc-blocks-components-select__select,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-block-components-form .wc-block-components-text-input input[type=text]{font-family:inherit;background-color:var(--hme-c-paper)!important;border:1px solid var(--hme-line)!important;border-radius:4px!important;color:var(--hme-ink)!important;box-shadow:none}
.woocommerce input:focus,.woocommerce textarea:focus,.woocommerce select:focus,.wc-block-components-text-input input:focus,.wc-blocks-components-select__select:focus,.wc-block-components-textarea:focus{outline:2px solid var(--hme-o5)!important;outline-offset:0;border-color:var(--hme-o5)!important}
.wc-block-components-text-input label,.wc-blocks-components-select__label{color:var(--hme-muted)!important}
.wc-block-components-checkbox .wc-block-components-checkbox__input:checked,.wc-block-components-radio-control__input:checked{border-color:var(--hme-o7)!important}
.wc-block-components-checkbox .wc-block-components-checkbox__mark{fill:var(--hme-o9)}
.wc-block-components-radio-control__input:checked::before{background:var(--hme-o9)!important}
.wc-block-components-radio-control-accordion-option,.wc-block-components-radio-control__option-checked{border-radius:4px}

/* ---------- Cart / checkout (blocks) ---------- */
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{font-family:var(--wp--preset--font-family--body)}
.wp-block-woocommerce-cart h1,.wp-block-woocommerce-checkout h1,.wp-block-post-title{font-family:var(--wp--preset--font-family--heading);color:var(--hme-o9);font-weight:500}
.wc-block-components-title,.wc-block-cart__totals-title,.wc-block-components-checkout-step__title,.wc-block-components-order-summary__title{font-family:var(--wp--preset--font-family--heading)!important;color:var(--hme-o9);font-weight:500;text-transform:none!important;letter-spacing:0!important}
.wc-block-cart__totals-title{font-size:1.3rem!important;padding-left:0!important}
.wc-block-cart__sidebar .wc-block-components-totals-wrapper,.wp-block-woocommerce-cart-order-summary-block,.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block{border-color:var(--hme-line)!important}
.wc-block-cart__sidebar,.wc-block-checkout__sidebar{background:var(--hme-c-paper);border:1px solid var(--hme-line);border-radius:6px;padding:1.2rem 1.4rem!important;align-self:flex-start;box-shadow:var(--hme-shadow,none)}
.wc-block-cart-items,.wc-block-cart-items th,.wc-block-cart-items td{border-color:var(--hme-line)!important}
.wc-block-cart-items__header{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--hme-muted)}
.wc-block-cart-item__image img,.wc-block-components-order-summary-item__image img{object-fit:contain;background:#fff;border:1px solid var(--hme-line);border-radius:4px}
.wc-block-components-product-name{font-family:var(--wp--preset--font-family--heading);color:var(--hme-o9);text-decoration:none}
.wc-block-components-totals-item__value,.wc-block-components-product-price__value{font-weight:700;color:var(--hme-o9)}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:1.3rem}
.wc-block-components-quantity-selector{background:var(--hme-c-paper);border-color:var(--hme-line)!important;border-radius:4px}
.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{width:100%;justify-content:center;padding:1rem!important}
.wc-block-components-checkout-step{border-color:var(--hme-line)!important}
.wc-block-components-panel__button{color:var(--hme-o7)}
.wc-block-components-totals-coupon__button{background:var(--hme-o9)!important}
.wc-block-components-order-summary{border:0}
.wc-block-components-express-payment--checkout,.wc-block-components-express-payment-continue-rule{border-color:var(--hme-line)!important}
.wc-block-components-address-card{background:var(--hme-c-paper);border-color:var(--hme-line)!important;border-radius:4px}
/* empty cart */
.wp-block-woocommerce-empty-cart-block{text-align:center;padding:2.5rem 1rem 1rem}
.wp-block-woocommerce-empty-cart-block h2{font-family:var(--wp--preset--font-family--heading);color:var(--hme-o9);font-weight:500;font-size:clamp(1.6rem,3vw,2.2rem)}
.wp-block-woocommerce-empty-cart-block h2.with-empty-cart-icon::before{background-color:var(--hme-o5);opacity:.6}
.wp-block-woocommerce-empty-cart-block hr{border-color:var(--hme-line);opacity:1}
.wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.with-empty-cart-icon){font-family:var(--wp--preset--font-family--heading);color:var(--hme-o9)}

/* ---------- Notices ---------- */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{background:var(--hme-c-paper)!important;border:1px solid var(--hme-line)!important;border-left:4px solid var(--hme-o5)!important;border-radius:4px!important;color:var(--hme-ink)!important;padding:.9rem 1.1rem!important;list-style:none}
.woocommerce-error,.wc-block-components-notice-banner.is-error{border-left-color:#9a3b2a!important}
.woocommerce-info,.wc-block-components-notice-banner.is-info{border-left-color:var(--hme-gold)!important}
.wc-block-components-notice-banner>svg{background:var(--hme-o5)!important;fill:#fff!important}
.wc-block-components-notice-banner.is-error>svg{background:#9a3b2a!important}
.wc-block-components-notice-banner.is-info>svg{background:var(--hme-gold)!important}
.woocommerce-message .button{float:right;margin-left:1rem}
.woocommerce-message::before,.woocommerce-info::before{color:var(--hme-o5)!important}

/* ---------- Mini cart drawer ---------- */
.wc-block-mini-cart__drawer .components-modal__frame,.wc-block-components-drawer{background:var(--hme-c-cream)!important;color:var(--hme-ink)}
.wc-block-mini-cart__title,.wc-block-mini-cart__drawer h2{font-family:var(--wp--preset--font-family--heading)!important;color:var(--hme-o9)}
.wc-block-mini-cart__footer{border-top:1px solid var(--hme-line)!important;background:var(--hme-c-paper)}
.wc-block-mini-cart__footer-actions{gap:.6rem}
.wc-block-mini-cart__footer .wc-block-components-button.outlined{border:1px solid var(--hme-o9)!important}
.wc-block-mini-cart__footer .wc-block-components-totals-item__value{color:var(--hme-o9)}
.wc-block-mini-cart__badge{background:var(--hme-gold)!important;color:#fff!important}
.wc-block-mini-cart__empty-cart-wrapper{text-align:center}

/* ---------- My account ---------- */
.woocommerce-account .woocommerce{max-width:960px;margin:1.5rem auto}
.woocommerce-account h2,.woocommerce-account h3{font-family:var(--wp--preset--font-family--heading);color:var(--hme-o9);font-weight:500}
.woocommerce-form-login,.woocommerce-form-register,.woocommerce form.lost_reset_password,.woocommerce-account .u-column1,.woocommerce-account .u-column2{background:var(--hme-c-paper);border:1px solid var(--hme-line)!important;border-radius:6px!important;padding:1.8rem 2rem!important;box-shadow:var(--hme-shadow,none);margin:0 0 1.5rem}
.woocommerce-account .u-column1 form,.woocommerce-account .u-column2 form{border:0!important;padding:0!important;margin:0!important;box-shadow:none;background:none}
.woocommerce-account:not(.logged-in) .woocommerce>h2,.woocommerce-account .woocommerce-form-login>.woocommerce-form-login__submit{margin-top:0}
.woocommerce-account:not(.logged-in) #customer_login{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start}
.woocommerce-account:not(.logged-in) #customer_login>div{float:none;width:auto;min-width:0}
.woocommerce form .form-row{margin:0 0 1rem;padding:0}
.woocommerce form .form-row label{display:block;margin-bottom:.3rem;font-size:.9rem;color:var(--hme-muted)}
.woocommerce form .form-row input.input-text{width:100%;padding:.7rem .85rem}
.woocommerce form .woocommerce-form-login__submit{width:100%}
.woocommerce form .lost_password a,.woocommerce-account a{color:var(--hme-o7)}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.5rem}
.woocommerce-MyAccount-navigation a{display:block;padding:.45rem 1rem;border:1px solid var(--hme-line);border-radius:999px;background:var(--hme-c-paper);color:var(--hme-o7);text-decoration:none;font-size:.9rem}
.woocommerce-MyAccount-navigation .is-active a{background:var(--hme-o9);border-color:var(--hme-o9);color:#fff}
.woocommerce-MyAccount-content{margin-top:1.5rem}
.woocommerce table.shop_table{border-collapse:collapse;border:1px solid var(--hme-line);border-radius:6px;background:var(--hme-c-paper)}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:var(--hme-line);padding:.8rem 1rem}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .wc-block-product-template,.wc-block-product-template.columns-5{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hme-single-cols{gap:2rem!important}
}
@media (max-width:781px){
  .hme-single-cols{flex-direction:column;flex-wrap:wrap!important}
  .hme-single-cols>.wp-block-column{flex-basis:100%!important;width:100%}
  .woocommerce-account:not(.logged-in) #customer_login{grid-template-columns:1fr}
}
@media (max-width:600px){
  .wc-block-product-template{gap:.7rem}
  .wc-block-product-template>li.wc-block-product{padding:.55rem .55rem .8rem}
  .wc-block-product .wp-block-post-title{font-size:.92rem!important}
  .wc-block-components-product-button__button{font-size:.8rem!important;padding:.65rem .4rem!important}
  .wc-block-components-product-button__button::before{display:none}
  .hme-shop-bar{gap:.6rem}
  .woocommerce-account .u-column1,.woocommerce-account .u-column2,.woocommerce-form-login,.woocommerce-form-register{padding:1.3rem 1.1rem!important}
  form.cart{flex-wrap:wrap}
}

/* ---------- specificity fixes ---------- */
.wp-block-woocommerce-product-collection .wc-block-product-template.wc-block-product-template,
.wp-block-woocommerce-product-collection ul.wc-block-product-template.columns-3,.wp-block-woocommerce-product-collection ul.wc-block-product-template.columns-4,.wp-block-woocommerce-product-collection ul.wc-block-product-template.columns-5{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.wc-block-product .wp-block-woocommerce-product-button,.wc-block-product .wc-block-components-product-button{width:100%;display:block}
.wc-block-product .wc-block-components-product-button__button{width:100%!important;box-sizing:border-box}
.wc-block-product .wc-block-components-product-price,.wc-block-product .wc-block-components-product-price *,.hme-single-info .wc-block-components-product-price *{font-weight:700!important;font-family:var(--wp--preset--font-family--body)}
.wc-block-product .wc-block-components-product-price del *{font-weight:400!important}
@media (max-width:1024px){
 .wp-block-woocommerce-product-collection .wc-block-product-template.wc-block-product-template,
 .wp-block-woocommerce-product-collection ul.wc-block-product-template[class*=columns-]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
.wc-block-add-to-cart-form,.wc-block-add-to-cart-form form.cart{width:100%}
.wp-block-woocommerce-product-collection[data-collection] .wc-block-product-template>li:nth-child(n+5),
.wp-block-woocommerce-product-collection:has(ul[data-block-name]) .wc-block-product-template>li.product:nth-child(n+5):last-child:nth-child(5){display:none}

/* legacy product grid (empty cart "Mağazada yeni", etc.) */
.wc-block-grid__products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.4rem;list-style:none;padding:0;margin:1.5rem 0}
.wc-block-grid__product{display:flex!important;flex-direction:column;width:auto!important;max-width:none!important;margin:0!important;padding:.9rem .9rem 1.1rem!important;background:var(--hme-c-paper);border:1px solid var(--hme-line);border-radius:6px;text-align:center;transition:box-shadow .2s,border-color .2s}
.wc-block-grid__product:hover{box-shadow:var(--hme-shadow,none);border-color:var(--hme-gold)}
.wc-block-grid__product-link{display:flex;flex-direction:column;flex:1;text-decoration:none!important;color:inherit}
.wc-block-grid__product-image{position:relative;aspect-ratio:1/1;background:#fff;border-radius:4px;overflow:hidden;margin:0 0 .9rem;display:flex;align-items:center;justify-content:center}
.wc-block-grid__product-image img{width:100%!important;height:100%!important;object-fit:contain;padding:.4rem}
.wc-block-grid__product-image:has(img.woocommerce-placeholder){background:var(--hme-c-sand)}
.wc-block-grid__product-image:has(img.woocommerce-placeholder)::after{content:"";position:absolute;inset:0;background:var(--hme-branch) center/38% no-repeat;opacity:.55}
.wc-block-grid__product-title{font-family:var(--wp--preset--font-family--heading);color:var(--hme-o9);font-size:1.05rem;line-height:1.3;margin:0 0 .5rem;padding:0!important}
.wc-block-grid__product-price{margin:auto 0 .8rem!important;font-weight:700;color:var(--hme-o9);font-size:1.1rem}
.wc-block-grid__product-add-to-cart{width:100%;margin:0!important}
.wc-block-grid__product-add-to-cart .wp-block-button__link{display:flex!important;width:100%;box-sizing:border-box;align-items:center;justify-content:center;gap:.5rem;background:var(--hme-o9)!important;color:#fff!important;border-radius:4px!important;font-size:.92rem!important;padding:.75rem 1rem!important;text-decoration:none}
.wc-block-grid__product-add-to-cart .wp-block-button__link::before{content:"";width:1.1em;height:1.1em;background:currentColor;-webkit-mask:var(--hme-cart-icon) center/contain no-repeat;mask:var(--hme-cart-icon) center/contain no-repeat}
@media (max-width:1024px){.wc-block-grid__products{grid-template-columns:repeat(2,minmax(0,1fr))}}
.wp-block-woocommerce-product-new .wc-block-grid__products{margin-top:1.5rem}

.woocommerce-account h2{text-align:center}
.woocommerce-account .u-column1 h2,.woocommerce-account .u-column2 h2{text-align:left}
.wp-block-add-to-cart-form form.cart,.wc-block-add-to-cart-form form.cart{width:100%!important;max-width:none!important}
.wc-block-add-to-cart-form{display:block!important}
