/* =====================================================================
   CANTAPARK — DESIGN LAYER (presentation only)
   Dosya: wp-content/uploads/cp-design/cp-design.css
   Yukleyen: mu-plugins/cantapark-design-layer.php  (wp_head, oncelik 200)
   Olusturma: 2026-09-27 — ISKELET. Tasarim degerleri Codex tarafindan yazilacak.

   KURALLAR
   - Bu dosya YALNIZ gorsel/presentation icindir. PHP, markup, WooCommerce
     mantigi veya fonksiyon degisikligi buraya girmez.
   - Customizer > Ek CSS (wp-custom-css) icindeki CP-* bloklari YERINDE KALIR.
     Bu dosya ondan SONRA yuklenir; ayni ozgullukte kurallar burada kazanir.
     Bu yuzden !important gerekli degildir, kacinilmalidir.
   - Mevcut CSS degiskenleri (Customizer, CP-HEADER-POLISH blogu :root):
       --cp-navy, --cp-gold  ... degerleri orada tanimli, burada yeniden
       tanimlamak yerine var(--cp-navy) seklinde kullanin.
   - Blocksy kirilma noktalari: <690px (sm), 690–999px (md), >=1000px (lg).
     Tema siniflari: .ct-hidden-sm / .ct-hidden-md / .ct-hidden-lg
   - Geri alma: bu dosyanin icerigini bosaltmak tasarimi tamamen geri alir.

   DOKUNULMAYACAK (fonksiyonel katmanlar — CSS ile de gizlemeyin/kaldirmayin)
   - Urun guven kutusu semantigi: mu-plugins/cantapark-product-trust.php
   - Checkout hukuki onaylar: plugins/cp-checkout-legal
   - PayTR odeme alani, kargo satirlari, stok rozeti (stock_badge_value)
   - Legacy redirect motoru, canonical/SEO ciktilari, e-posta sablonlari
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. GLOBAL / TOKENS
   --------------------------------------------------------------------- */


/* ---------------------------------------------------------------------
   2. HEADER
   --------------------------------------------------------------------- */


/* ---------------------------------------------------------------------
   3. ANA SAYFA (hero, bolumler, editorial, trust)
   --------------------------------------------------------------------- */


/* ---------------------------------------------------------------------
   4. KATEGORI / ARSIV
   --------------------------------------------------------------------- */


/* ---------------------------------------------------------------------
   5. URUN KARTI
   --------------------------------------------------------------------- */


/* ---------------------------------------------------------------------
   6. URUN DETAY SAYFASI
   --------------------------------------------------------------------- */


/* ---------------------------------------------------------------------
   7. SEPET / ODEME (yalniz gorunum)
   --------------------------------------------------------------------- */


/* ---------------------------------------------------------------------
   8. FOOTER
   --------------------------------------------------------------------- */


/* ---------------------------------------------------------------------
   9. MOBIL (<690px) ve TABLET (690–999px)
   --------------------------------------------------------------------- */

/* DESIGN PHASE 1 — warm travel identity, 2026-09-27.
   Presentation only. Existing content, assets and interactions are preserved.
   Legacy CP token aliases intentionally follow the approved green palette. */
:root {
 --cp-green:#123B2F; --cp-deep:#0B2E25; --cp-cream:#F6F0E7;
 --cp-light:#FBF7F0; --cp-bronze:#A9773E; --cp-ink:#1B1B18;
 --cp-muted:#6C665E; --cp-sale:#B72B25;
 --cp-navy:var(--cp-green); --cp-gold:#B58A4F; --cp-soft:var(--cp-cream); --cp-line:#E7DED2;
 --theme-palette-color-1:var(--cp-green); --theme-palette-color-2:var(--cp-deep);
 --theme-palette-color-3:var(--cp-muted); --theme-palette-color-4:var(--cp-ink);
 --theme-palette-color-5:var(--cp-line); --theme-palette-color-6:var(--cp-cream);
 --theme-palette-color-7:var(--cp-cream); --theme-palette-color-8:var(--cp-light);
 --theme-text-color:var(--cp-ink); --theme-headings-color:var(--cp-ink);
 --theme-link-initial-color:var(--cp-green); --theme-link-hover-color:var(--cp-deep);
 --theme-border-color:var(--cp-line); --theme-font-family:'Manrope',sans-serif;
 --theme-button-background-initial-color:var(--cp-green); --theme-button-background-hover-color:var(--cp-deep);
 --theme-button-text-initial-color:var(--cp-light); --theme-button-text-hover-color:var(--cp-light);
 --theme-button-border-radius:6px; --theme-button-font-weight:600;
 --theme-form-field-border-initial-color:var(--cp-line); --theme-form-field-border-focus-color:var(--cp-green);
 --theme-selection-background-color:var(--cp-green);
}
body { background:var(--cp-cream); color:var(--cp-ink); }
.cp-btn:focus-visible, .cp-cat:focus-visible, header#header a:focus-visible, footer#footer a:focus-visible {
 outline:2px solid var(--cp-bronze); outline-offset:4px;
}
/* Header: keep Blocksy's native menu, search modal and cart controls. */
header#header [data-row='top'] { background:var(--cp-deep); color:var(--cp-light); --theme-text-color:var(--cp-light); }
header#header [data-row='middle'], header#header [data-row='bottom'] { background:var(--cp-light); }
header#header [data-row='bottom'] { border-bottom:1px solid var(--cp-line); }
header#header .ct-header-text { color:var(--cp-light); }
header#header [data-id='logo'] .site-logo-container { --logo-max-height:66px; }
header#header .ct-header-search { border:1px solid var(--cp-line); border-radius:6px; padding:10px 18px; min-height:44px; color:var(--cp-green); background:var(--cp-cream); }
header#header .ct-header-search:hover { border-color:var(--cp-bronze); }
header#header .ct-account-item, header#header .ct-cart-item, header#header .ct-header-trigger { --theme-icon-color:var(--cp-green); --theme-icon-hover-color:var(--cp-bronze); min-height:44px; }
header#header .header-menu-1 { --theme-link-initial-color:var(--cp-ink); --theme-link-hover-color:var(--cp-green); --dropdown-background-color:var(--cp-light); }
header#header .header-menu-1 > ul > li > a { font-weight:600; }
@media (min-width:1000px) {
 header#header [data-row='top'] > .ct-container { min-height:30px; }
 header#header [data-row='middle'] > .ct-container { min-height:88px; }
 header#header [data-row='bottom'] > .ct-container { min-height:48px; }
 header#header [data-id='search'] { min-width:280px; justify-content:space-between; }
 header#header [data-row='bottom'] [data-column='start'] { justify-content:center; }
}
/* Homepage rhythm and editorial typography. */
body.home #main > [data-vertical-spacing] { padding-top:24px; padding-bottom:16px; }
.cp-hero, .cp-cats, .cp-block, .cp-editorial, .cp-trust { margin-bottom:48px; }
.cp-hero { grid-template-columns:minmax(0,44fr) minmax(0,56fr); gap:28px; padding:32px 36px; min-height:0; background:var(--cp-light); border:1px solid var(--cp-line); border-radius:8px; }
.cp-hero__copy, .cp-hero__media, .cp-editorial__copy { min-width:0; }
.cp-hero__title, .cp-sec-head h2, .cp-editorial__title, .cp-cat__label { font-family:'Cormorant Garamond',serif; font-weight:600; color:var(--cp-ink); }
.cp-hero__title { font-size:clamp(42px,4.2vw,62px); line-height:1.02; letter-spacing:-.025em; margin-bottom:20px; }
.cp-hero__eyebrow, .cp-editorial__eyebrow { color:#80592E; font-size:11px; letter-spacing:.2em; margin-bottom:16px; }
.cp-hero__text, .cp-editorial__text { color:var(--cp-muted); line-height:1.65; }
.cp-hero__text { font-size:16px; margin-bottom:26px; }
.cp-hero__media img { height:410px; object-position:76% center; border-radius:5px; }
.cp-hero__cta, .cp-editorial__cta { gap:10px; }
.cp-btn { border-radius:6px; min-height:46px; padding:12px 22px; font-size:14px; line-height:1.4; justify-content:center; }
.cp-btn--solid { background:var(--cp-green); color:var(--cp-light); }
.cp-btn--solid:hover, .cp-btn--ghost:hover { background:var(--cp-deep); color:var(--cp-light); }
.cp-btn--ghost { background:transparent; border-color:var(--cp-green); color:var(--cp-green); }
.cp-sec-head { text-align:left; margin-bottom:22px; }
.cp-sec-head h2 { font-size:36px; line-height:1.12; margin-bottom:6px; }
.cp-sec-head p { color:var(--cp-muted); font-size:14px; }
.cp-cats { gap:16px; }
.cp-cat { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; background:var(--cp-light); border-color:var(--cp-line); border-radius:7px; }
.cp-cat__img { height:150px; background:var(--cp-light); }
.cp-cat__img img { object-fit:contain; padding:10px; }
.cp-cat__label { padding:12px; font-size:23px; line-height:1.1; text-align:left; }
.cp-cat:hover { border-color:var(--cp-bronze); }
.cp-cat:hover .cp-cat__img img { transform:scale(1.025); }
.cp-trust { background:var(--cp-light); border:1px solid var(--cp-line); border-radius:6px; }
.cp-trust div { padding:18px 14px; color:var(--cp-muted); font-size:12px; }
.cp-trust strong { font-size:13px; color:var(--cp-green); margin-bottom:4px; }
/* Product cards scoped to homepage: no archive or checkout layout changes. */
body.home .cp-block ul.products li.product { min-width:0; display:flex; flex-direction:column; padding:12px; border:1px solid var(--cp-line); border-radius:8px; background:var(--cp-light); box-shadow:none; }
body.home .cp-block ul.products li.product:hover { border-color:#C8B99F; }
body.home .cp-block ul.products li.product figure { margin:0 0 14px; }
body.home .cp-block ul.products li.product .ct-media-container { background:var(--cp-cream); border-radius:5px; }
body.home .cp-block ul.products li.product img { object-fit:contain; height:auto; }
body.home .cp-block ul.products li.product .woocommerce-loop-product__title { font-family:'Manrope',sans-serif; font-size:14px; font-weight:500; line-height:1.55; margin:0 0 12px; }
body.home .cp-block ul.products li.product .woocommerce-loop-product__title a { color:var(--cp-ink); }
body.home .cp-block ul.products li.product .price { margin-top:auto; margin-bottom:12px; color:var(--cp-green); font-size:19px; font-weight:700; }
body.home .cp-block ul.products li.product .price del { color:var(--cp-muted); font-size:13px; }
body.home .cp-block ul.products li.product .price ins { color:var(--cp-sale); }
body.home .cp-block ul.products li.product .onsale { background:var(--cp-sale); color:var(--cp-light); }
body.home .cp-block ul.products li.product .ct-woo-card-actions { margin-top:0; }
body.home .cp-block ul.products li.product .button { width:100%; min-height:44px; padding:10px 12px; font-size:13px; border-radius:5px; background:var(--cp-green); color:var(--cp-light); }
body.home .cp-block ul.products li.product .button:hover { background:var(--cp-deep); }
.cp-editorial { grid-template-columns:minmax(0,1fr) minmax(0,1fr); min-height:0; border-radius:8px; background:var(--cp-light); }
.cp-editorial__media img { min-height:0; height:390px; object-position:center; }
.cp-editorial__copy { padding:32px 36px; background:var(--cp-light); }
.cp-editorial__title { font-size:42px; line-height:1.08; }
.cp-editorial__text { font-size:15px; margin-bottom:24px; }
/* Footer: all existing legal and contact content stays available. */
footer#footer { background:var(--cp-deep); --theme-text-color:var(--cp-light); }
footer#footer [data-row='middle'] > .ct-container { column-gap:36px; padding-top:44px; padding-bottom:36px; }
footer#footer a { color:#E7DED2; }
footer#footer a:hover { color:#E4BF87; }
footer#footer .cp-f-tag, footer#footer .cp-f-contact p { color:#DDD6CA; }
footer#footer .cp-f-title { color:var(--cp-light); font-size:12px; letter-spacing:.09em; }
footer#footer .cp-f-list li { margin-bottom:9px; }
footer#footer .cp-f-list a { font-size:13px; }
footer#footer .cp-f-ship { color:#E4BF87; border-color:#826943; letter-spacing:0; }
footer#footer .cp-f-brand img { width:200px; }
footer#footer [data-id='copyright'] { color:#C9C4B9; font-size:12px; }
footer#footer .cp-f-contact { overflow-wrap:anywhere; }
/* Preserve Blocksy's <690 / 690-999 / >=1000 layout boundaries. */
@media (min-width:690px) and (max-width:999px) {
 .cp-hero { grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding:24px; gap:22px; }
 .cp-hero__title { font-size:42px; }
 .cp-hero__media img { height:380px; object-position:center; }
 .cp-cats { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .cp-editorial__copy { padding:24px; }
 .cp-editorial__title { font-size:32px; }
 .cp-editorial__media img { height:100%; min-height:340px; }
 footer#footer [data-row='middle'] > .ct-container { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
}
@media (max-width:999px) {
 header#header [data-id='logo'] .site-logo-container { --logo-max-height:50px; }
 header#header [data-device='mobile'] [data-row='bottom'] > .ct-container { min-height:56px; }
 header#header [data-device='mobile'] .ct-header-search { width:min(440px,85vw); justify-content:space-between; min-height:38px; padding:8px 16px; }
 .cp-trust { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .cp-trust div:nth-child(2n) { border-right:0; }
 .cp-trust div:nth-child(-n+2) { border-bottom:1px solid var(--cp-line); }
}
@media (max-width:689.98px) {
 body.home #main > [data-vertical-spacing] { padding-top:14px; }
 header#header [data-id='logo'] .site-logo-container { --logo-max-height:42px; }
 header#header [data-device='mobile'] [data-row='middle'] [data-items] { gap:12px; }
 header#header [data-device='mobile'] .ct-cart-item { gap:6px; font-size:12px; }
 .cp-hero, .cp-cats, .cp-block, .cp-editorial, .cp-trust { margin-bottom:32px; }
 .cp-hero { grid-template-columns:minmax(0,1fr); gap:22px; padding:22px 18px 18px; }
 .cp-hero__title { font-size:42px; line-height:1.02; margin-bottom:16px; }
 .cp-hero__text { font-size:14px; line-height:1.6; margin-bottom:20px; }
 .cp-hero__eyebrow { font-size:10px; margin-bottom:12px; }
 .cp-hero__media img { height:250px; object-position:center 42%; }
 .cp-hero__cta .cp-btn { flex:1 1 auto; padding:11px 10px; font-size:12px; }
 .cp-sec-head { margin-bottom:16px; }
 .cp-sec-head h2 { font-size:29px; }
 .cp-sec-head p { font-size:12px; }
 .cp-cats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .cp-cat { grid-template-columns:minmax(0,1fr); }
 .cp-cat__img { height:125px; }
 .cp-cat__label { font-size:22px; padding:12px; }
 .cp-trust div { padding:14px 10px; font-size:11px; }
 .cp-trust strong { font-size:12px; }
 /* Existing CP-CATEGORY uses !important on product gaps and column counts. */
 body.home .cp-block ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; }
 body.home .cp-block ul.products li.product { padding:9px; }
 body.home .cp-block ul.products li.product figure { margin-bottom:10px; }
 body.home .cp-block ul.products li.product .woocommerce-loop-product__title { font-size:12px; line-height:1.5; margin-bottom:10px; overflow-wrap:anywhere; }
 body.home .cp-block ul.products li.product .price { font-size:16px; }
 body.home .cp-block ul.products li.product .button { padding:10px 6px; font-size:12px; }
 .cp-editorial { grid-template-columns:minmax(0,1fr); }
 .cp-editorial__copy { padding:24px 20px; }
 .cp-editorial__title { font-size:34px; }
 .cp-editorial__text { font-size:14px; }
 .cp-editorial__media img { height:240px; min-height:0; }
 .cp-editorial__cta .cp-btn { flex:1 1 100%; }
 footer#footer [data-row='middle'] > .ct-container { grid-template-columns:minmax(0,1fr); gap:28px; }
 footer#footer .cp-f-brand img { width:180px; }
}

/* Blocksy toggle styling is driven by variables behind its !important reset. */
header#header .ct-header-search {
 --toggle-button-padding:10px 18px;
 --toggle-button-radius:6px;
 --toggle-button-border-width:1px;
 --toggle-button-border-color:var(--cp-line);
 --toggle-button-background:var(--cp-cream);
}
header#header .ct-header-search:hover { --toggle-button-border-color:var(--cp-bronze); }
@media (max-width:999px) {
 header#header .ct-header-search { --toggle-button-padding:8px 16px; }
}

/* DESIGN PHASE 2 — catalog and product presentation only.
   Column counts, product order, gallery/info widths and header remain native. */
body.woocommerce-archive .hero-section {
 min-height:0; background:var(--cp-light); padding:32px 0 28px; margin-bottom:0;
 border-bottom:1px solid var(--cp-line);
}
body.woocommerce-archive .hero-section .entry-header { min-height:0; padding-block:0; }
body.woocommerce-archive .page-title {
 font-family:'Cormorant Garamond',serif; font-weight:600; font-size:52px;
 line-height:1.08; letter-spacing:-.02em; color:var(--cp-ink); margin-block:12px 0;
}
:is(body.woocommerce-archive,body.single-product) #main .ct-breadcrumbs {
 font-size:12px; line-height:1.8; color:var(--cp-muted); overflow-wrap:anywhere;
 --theme-link-initial-color:var(--cp-muted); --theme-link-hover-color:var(--cp-green);
}
body.woocommerce-archive #main > .ct-container { padding-top:32px; }
body.woocommerce-archive .woo-listing-top { gap:18px; align-items:center; padding-bottom:20px; margin-bottom:24px; border-bottom:1px solid var(--cp-line); }
body.woocommerce-archive .woocommerce-result-count { font-size:12px; text-transform:none; letter-spacing:0; color:var(--cp-muted); }
body.woocommerce-archive .woocommerce-ordering select { min-height:44px; background-color:var(--cp-light); border:1px solid var(--cp-line); border-radius:6px; font-size:13px; color:var(--cp-ink); }
body.woocommerce-archive #sidebar .ct-sidebar { background:var(--cp-light); padding:24px 20px; border:1px solid var(--cp-line); border-radius:8px; }
body.woocommerce-archive #sidebar .widget-title { font-size:12px; letter-spacing:.1em; color:var(--cp-green); margin-bottom:18px; }
body.woocommerce-archive #sidebar .product-categories li { font-size:13px; line-height:1.65; margin-bottom:10px; }
body.woocommerce-archive #sidebar .product-categories a { color:var(--cp-muted); }
body.woocommerce-archive #sidebar .product-categories a:hover,
body.woocommerce-archive #sidebar .current-cat > a { color:var(--cp-green); }
body.woocommerce-archive #sidebar .product-categories .count { color:var(--cp-muted); font-size:11px; }
body.woocommerce-archive #sidebar .widget_price_filter { border-top:1px solid var(--cp-line); padding-top:24px; margin-bottom:0; }
body.woocommerce-archive #sidebar .price_slider { background:var(--cp-line); height:4px; margin:12px 10px 24px; }
body.woocommerce-archive #sidebar .ui-slider-range { background:var(--cp-green); }
body.woocommerce-archive #sidebar .ui-slider-handle { background:var(--cp-light); border:2px solid var(--cp-green); width:18px; height:18px; top:-7px; }
body.woocommerce-archive #sidebar .price_slider_amount .button { min-height:44px; border-radius:5px; padding:10px 16px; background:var(--cp-green); }
body.woocommerce-archive #sidebar .price_label { font-size:12px; color:var(--cp-muted); }
/* Shared catalog/related card surface; no grid-template changes. */
:is(body.woocommerce-archive,body.single-product) #main ul.products li.product {
 display:flex; flex-direction:column; min-width:0; padding:12px;
 border:1px solid var(--cp-line); border-radius:8px; background:var(--cp-light);
 box-shadow:none; transition:border-color .18s ease;
}
:is(body.woocommerce-archive,body.single-product) #main ul.products li.product:hover { border-color:#C8B99F; }
:is(body.woocommerce-archive,body.single-product) #main ul.products li.product figure { margin:0 0 14px; }
:is(body.woocommerce-archive,body.single-product) #main ul.products .ct-media-container { border-radius:5px; background:var(--cp-cream); }
:is(body.woocommerce-archive,body.single-product) #main ul.products .ct-media-container img { object-fit:contain; }
:is(body.woocommerce-archive,body.single-product) #main ul.products .woocommerce-loop-product__title {
 font-family:'Manrope',sans-serif; font-size:14px; font-weight:500; line-height:1.5;
 margin:0 0 12px; overflow-wrap:anywhere;
}
:is(body.woocommerce-archive,body.single-product) #main ul.products .woocommerce-loop-product__title a { color:var(--cp-ink); }
:is(body.woocommerce-archive,body.single-product) #main ul.products .price { margin-top:auto; margin-bottom:12px; font-size:19px; font-weight:700; color:var(--cp-green); }
:is(body.woocommerce-archive,body.single-product) #main ul.products .price del { color:var(--cp-muted); font-size:13px; }
:is(body.woocommerce-archive,body.single-product) #main .price ins { color:var(--cp-sale); text-decoration:none; }
:is(body.woocommerce-archive,body.single-product) #main ul.products .ct-woo-card-actions { margin-top:0; }
:is(body.woocommerce-archive,body.single-product) #main ul.products .button {
 width:100%; min-height:44px; padding:11px 10px; border-radius:5px;
 font-size:13px; background:var(--cp-green); color:var(--cp-light);
}
:is(body.woocommerce-archive,body.single-product) #main ul.products .button:hover { background:var(--cp-deep); }
:is(body.woocommerce-archive,body.single-product) #main .onsale { background:var(--cp-sale); color:var(--cp-light); font-size:11px; border-radius:4px; padding:5px 9px; }
:is(body.woocommerce-archive,body.single-product) #main .out-of-stock { color:var(--cp-muted); }
body.woocommerce-archive .ct-pagination { margin-top:32px; padding-top:24px; border-top:1px solid var(--cp-line); --theme-pagination-accent:var(--cp-green); }
body.woocommerce-archive .ct-pagination .page-numbers { min-width:44px; min-height:44px; border-radius:5px; font-size:13px; }
body.woocommerce-archive .ct-pagination a.page-numbers { background:var(--cp-light); color:var(--cp-green); border:1px solid var(--cp-line); }
body.woocommerce-archive .ct-pagination a.page-numbers:hover { border-color:var(--cp-bronze); }
body.woocommerce-archive .ct-pagination .current { background:var(--cp-green); color:var(--cp-light); }
/* Product detail: maintain the established 55/45 layout. */
body.single-product #main > .ct-container { padding-top:28px; }
body.single-product #main .product-entry-wrapper { margin-top:24px; }
body.single-product .woocommerce-product-gallery .flexy-view { border:1px solid var(--cp-line); border-radius:8px; background:var(--cp-light); }
body.single-product .woocommerce-product-gallery .flexy-items .ct-media-container img { object-fit:contain; max-height:660px; }
body.single-product .woocommerce-product-gallery .flexy-pills { margin-top:14px; }
body.single-product .woocommerce-product-gallery .flexy-pills .ct-media-container { border:1px solid var(--cp-line); border-radius:5px; background:var(--cp-light); }
body.single-product .woocommerce-product-gallery .flexy-pills li.active .ct-media-container { border-color:var(--cp-green); box-shadow:inset 0 0 0 1px var(--cp-green); }
body.single-product .woocommerce-product-gallery .flexy-pills img { object-fit:contain; }
body.single-product .summary .product_title { font-family:'Cormorant Garamond',serif; font-weight:600; font-size:42px; line-height:1.12; letter-spacing:-.015em; color:var(--cp-ink); margin-bottom:18px; }
body.single-product .summary .price { font-family:'Manrope',sans-serif; color:var(--cp-green); font-size:28px; font-weight:700; line-height:1.4; }
body.single-product .summary .price del { font-size:17px; color:var(--cp-muted); font-weight:400; }
body.single-product .summary .stock { font-size:13px; margin-bottom:14px; }
body.single-product .summary .stock.in-stock { color:var(--cp-green); }
body.single-product .ct-cart-actions .quantity { background:var(--cp-light); border-radius:5px; --quantity-initial-color:var(--cp-line); --quantity-hover-color:var(--cp-green); }
body.single-product .ct-cart-actions .quantity input { color:var(--cp-ink); border-color:var(--cp-line); border-radius:5px; }
body.single-product .ct-cart-actions .single_add_to_cart_button { min-height:50px; border-radius:5px; background:var(--cp-green); color:var(--cp-light); font-weight:600; }
body.single-product .ct-cart-actions .single_add_to_cart_button:hover { background:var(--cp-deep); }
body.single-product .summary .product_meta { margin-top:24px; padding-top:20px; border-color:var(--cp-line); font-size:12px; line-height:1.8; color:var(--cp-muted); text-transform:none; }
body.single-product .summary .product_meta a { color:var(--cp-muted); }
body.single-product .summary .product_meta a:hover { color:var(--cp-green); }
body.single-product .cp-product-trust { background:var(--cp-light); border:1px solid var(--cp-line); border-radius:7px; padding:12px 18px; font-size:13px; line-height:1.6; color:var(--cp-green); }
body.single-product .cp-product-trust__item { padding:9px 0; }
body.single-product .cp-product-trust__item + .cp-product-trust__item { border-top:1px solid var(--cp-line); }
body.single-product .woocommerce-tabs { margin-top:48px; }
body.single-product .woocommerce-tabs .wc-tabs { gap:24px; justify-content:flex-start; border-color:var(--cp-line); }
body.single-product .woocommerce-tabs .wc-tabs li a { padding-block:16px; font-size:14px; letter-spacing:0; text-transform:none; color:var(--cp-muted); }
body.single-product .woocommerce-tabs .wc-tabs li.active a { color:var(--cp-green); }
body.single-product .woocommerce-tabs .panel { padding:28px; background:var(--cp-light); border:1px solid var(--cp-line); border-radius:7px; font-size:15px; line-height:1.85; overflow-wrap:anywhere; }
body.single-product .woocommerce-tabs .panel h2 { font-family:'Cormorant Garamond',serif; font-size:32px; color:var(--cp-ink); }
body.single-product .woocommerce-tabs .shop_attributes { font-size:14px; border-color:var(--cp-line); }
body.single-product .related, body.single-product .up-sells { margin-top:48px; }
body.single-product .related > h2, body.single-product .up-sells > h2 { font-family:'Cormorant Garamond',serif; font-size:34px; line-height:1.15; color:var(--cp-ink); text-align:left; margin-bottom:24px; }
/* State styling retains native disabled/loading behavior. */
:is(body.woocommerce-archive,body.single-product) #main :is(a,button,select,input,[tabindex]):focus-visible { outline:2px solid var(--cp-bronze); outline-offset:3px; }
:is(body.woocommerce-archive,body.single-product) #main .button.loading { background:var(--cp-deep); }
:is(body.woocommerce-archive,body.single-product) #main .button:disabled { background:#6C665E; }
:is(body.woocommerce-archive,body.single-product) #main :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) { background:var(--cp-light); color:var(--cp-ink); border:1px solid var(--cp-line); border-inline-start:3px solid var(--cp-green); border-radius:6px; line-height:1.6; }
:is(body.woocommerce-archive,body.single-product) #main .woocommerce-error { border-inline-start-color:var(--cp-sale); }
@media (max-width:999px) {
 body.woocommerce-archive .page-title { font-size:42px; }
 body.single-product .summary .product_title { font-size:36px; }
 body.single-product .woocommerce-product-gallery .flexy-items .ct-media-container img { max-height:540px; }
 body.single-product .summary { margin-top:28px; }
}
@media (max-width:689.98px) {
 body.woocommerce-archive .hero-section { padding:22px 0; }
 body.woocommerce-archive .page-title { font-size:36px; }
 body.woocommerce-archive #main > .ct-container, body.single-product #main > .ct-container { padding-top:20px; }
 body.woocommerce-archive .woo-listing-top { gap:12px; padding-bottom:16px; margin-bottom:18px; }
 body.woocommerce-archive .woocommerce-ordering { max-width:100%; }
 body.woocommerce-archive .woocommerce-ordering select { font-size:12px; }
 /* The existing CP-CATEGORY gap uses !important. Columns stay untouched. */
 :is(body.woocommerce-archive,body.single-product) #main ul.products { gap:12px !important; }
 :is(body.woocommerce-archive,body.single-product) #main ul.products li.product { padding:9px; }
 :is(body.woocommerce-archive,body.single-product) #main ul.products li.product figure { margin-bottom:10px; }
 :is(body.woocommerce-archive,body.single-product) #main ul.products .woocommerce-loop-product__title { font-size:12px; line-height:1.5; margin-bottom:10px; }
 :is(body.woocommerce-archive,body.single-product) #main ul.products .price { font-size:16px; }
 :is(body.woocommerce-archive,body.single-product) #main ul.products .button { font-size:12px; padding:10px 5px; }
 body.single-product #main .ct-breadcrumbs { font-size:11px; line-height:1.7; }
 body.single-product .woocommerce-product-gallery .flexy-items .ct-media-container img { max-height:440px; }
 body.single-product .summary .product_title { font-size:32px; }
 body.single-product .summary .price { font-size:25px; }
 body.single-product .cp-product-trust { padding:10px 14px; font-size:12px; }
 body.single-product .woocommerce-tabs { margin-top:32px; }
 body.single-product .woocommerce-tabs .wc-tabs { gap:12px; flex-wrap:wrap; }
 body.single-product .woocommerce-tabs .wc-tabs li a { font-size:12px; min-height:44px; }
 body.single-product .woocommerce-tabs .panel { padding:20px 16px; font-size:14px; line-height:1.75; }
 body.single-product .related > h2, body.single-product .up-sells > h2 { font-size:29px; }
}

/* Price slider geometry: use the existing jQuery UI positions and values. */
body.woocommerce-archive #sidebar .price_slider { position:relative; border-radius:2px; }
body.woocommerce-archive #sidebar .ui-slider-range { position:absolute; top:0; height:100%; border-radius:2px; }
body.woocommerce-archive #sidebar .ui-slider-handle { position:absolute; display:block; margin-left:-9px; border-radius:50%; cursor:ew-resize; }

/* Keep long product descriptions readable without truncating content. */
body.single-product .woocommerce-tabs .panel p { max-width:78ch; margin-inline:auto; }
/* Blocksy marks these existing sections ct-hidden-sm/md with !important.
   Restore their visibility for Phase 2; retain existing DOM order and grids. */
@media (max-width:999px) {
 body.single-product #main .related.ct-hidden-sm.ct-hidden-md { display:block !important; }
 body.woocommerce-archive #main #sidebar.ct-hidden-sm.ct-hidden-md { display:block !important; margin-top:32px; }
 body.woocommerce-archive #sidebar .ct-sidebar { width:auto; }
}

/* Full-width mobile sorting: preserve the native select and sort icon. */
@media (max-width:689.98px) {
 body.woocommerce-archive .woocommerce-ordering { width:100%; }
 body.woocommerce-archive .woocommerce-ordering select { width:100%; padding:10px 40px 10px 12px; }
 body.woocommerce-archive .woocommerce-ordering .ct-sort-icon { inset-inline-end:14px; }
}

/* CP DESIGN PHASE 3 - Cart, checkout and account. Presentation only. */
:is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account) {
 --theme-form-font-family:'Manrope',sans-serif;
 --theme-form-font-size:16px;
 --theme-form-field-height:50px;
 --theme-form-field-border-radius:5px;
 --theme-form-field-border-initial-color:#B8ADA0;
 --theme-form-field-border-focus-color:var(--cp-green);
 --theme-form-field-background-initial-color:var(--cp-light);
 --theme-form-field-background-focus-color:#FFFDF9;
 --theme-form-text-initial-color:var(--cp-ink);
 --theme-form-text-focus-color:var(--cp-ink);
 --theme-form-selection-field-initial-color:#897D6E;
 --theme-form-selection-field-active-color:var(--cp-green);
}
:is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account) #main .page-title {
 font-family:'Cormorant Garamond',Georgia,serif;font-size:46px;line-height:1.1;font-weight:600;color:var(--cp-green);letter-spacing:-.02em;
}
:is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account) #main .hero-section {margin-bottom:30px;}
:is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account) #main :is(.button,.wc-block-components-button) {
 min-height:48px;border-radius:6px;background:var(--cp-green);color:var(--cp-light);font-family:'Manrope',sans-serif;font-size:14px;font-weight:600;box-shadow:none;
}
:is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account) #main :is(.button,.wc-block-components-button):hover {background:var(--cp-deep);color:var(--cp-light);}
:is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account) #main :is(a,button,input,select,textarea):focus-visible {outline:2px solid var(--cp-bronze)!important;outline-offset:3px;}
:is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account) #main :is(button,input,select,textarea):disabled {opacity:.58;}
:is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account) #main :is(input,textarea)::placeholder {color:var(--cp-muted);opacity:1;}
:is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account) #main :is(.required,.wc-block-components-validation-error) {color:var(--cp-sale);}
:is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account) #main :is(.has-error,.woocommerce-invalid) {--theme-form-field-border-initial-color:var(--cp-sale);}
:is(body.woocommerce-cart,body.woocommerce-checkout) #main .wc-block-components-sidebar {
 background:var(--cp-light);border:1px solid var(--cp-line);border-radius:8px;padding:24px;box-shadow:none;
}
body.woocommerce-cart #main .wp-block-woocommerce-cart-order-summary-block {background:transparent;border:0;border-radius:0;padding:0;}
:is(body.woocommerce-cart,body.woocommerce-checkout) #main :is(.wc-block-cart__totals-title,.wc-block-components-checkout-order-summary__title-text) {
 color:var(--cp-green);font-family:'Manrope',sans-serif;font-size:17px;font-weight:700;line-height:1.4;text-transform:none;
}
:is(body.woocommerce-cart,body.woocommerce-checkout) #main .wc-block-components-totals-item {font-size:14px;line-height:1.65;}
:is(body.woocommerce-cart,body.woocommerce-checkout) #main .wc-block-components-totals-item__label {color:var(--cp-muted);}
:is(body.woocommerce-cart,body.woocommerce-checkout) #main .wc-block-components-totals-item__value {color:var(--cp-ink);font-weight:600;}
:is(body.woocommerce-cart,body.woocommerce-checkout) #main .wc-block-components-totals-footer-item {padding-top:20px;padding-bottom:16px;}
:is(body.woocommerce-cart,body.woocommerce-checkout) #main .wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__label,.wc-block-components-totals-item__value) {color:var(--cp-green);}
:is(body.woocommerce-cart,body.woocommerce-checkout) #main .wc-block-components-panel__button {min-height:44px;color:var(--cp-green);font-weight:600;}
:is(body.woocommerce-cart,body.woocommerce-checkout) #main .wc-block-components-totals-coupon__button {background:var(--cp-light);color:var(--cp-green);border:1px solid var(--cp-green);}
:is(body.woocommerce-cart,body.woocommerce-checkout) #main .wc-block-components-totals-coupon__button:hover {background:var(--cp-cream);color:var(--cp-deep);}
body.woocommerce-cart #main .wc-block-cart-items {border-color:var(--cp-line);}
body.woocommerce-cart #main .wc-block-cart-items__header th {color:var(--cp-muted);font-size:12px;letter-spacing:.08em;text-transform:uppercase;}
body.woocommerce-cart #main .wc-block-cart-items__row td {border-color:var(--cp-line);padding-top:24px;padding-bottom:24px;}
body.woocommerce-cart #main .wc-block-cart-item__image img {border:1px solid var(--cp-line);border-radius:6px;background:var(--cp-light);}
:is(body.woocommerce-cart,body.woocommerce-checkout) #main .wc-block-components-product-name {color:var(--cp-ink);font-family:'Manrope',sans-serif;font-size:14px;font-weight:600;line-height:1.65;text-decoration:none;}
body.woocommerce-cart #main .wc-block-components-product-name:hover {color:var(--cp-green);text-decoration:underline;text-underline-offset:3px;}
body.woocommerce-cart #main .wc-block-cart-item__prices {margin-top:8px;color:var(--cp-green);}
body.woocommerce-cart #main .wc-block-components-product-price {font-size:16px;font-weight:600;color:var(--cp-green);}
body.woocommerce-cart #main .wc-block-components-product-metadata__description {font-size:13px;line-height:1.65;color:var(--cp-muted);}
body.woocommerce-cart #main .wc-block-components-quantity-selector {min-height:44px;border-radius:5px;background:var(--cp-light);}
body.woocommerce-cart #main .wc-block-components-quantity-selector::after {border-color:#B8ADA0;border-radius:5px;}
body.woocommerce-cart #main .wc-block-components-quantity-selector__button {min-height:44px;color:var(--cp-green);}
body.woocommerce-cart #main .wc-block-cart-item__remove-link {min-width:44px;min-height:44px;margin-inline-start:12px;color:var(--cp-muted);border-radius:5px;}
body.woocommerce-cart #main .wc-block-cart-item__remove-link:hover {color:var(--cp-sale);background:#F8EBE7;}
body.woocommerce-cart #main .wc-block-cart__submit-button {min-height:52px;}
body.woocommerce-checkout #main .wc-block-components-checkout-step__heading .wc-block-components-title {font-family:'Cormorant Garamond',Georgia,serif;font-size:28px;line-height:1.2;font-weight:600;color:var(--cp-green);}
body.woocommerce-checkout #main .wc-block-components-checkout-step {margin-bottom:28px;}
body.woocommerce-checkout #main .wc-block-components-checkout-step__description {font-size:14px;line-height:1.7;color:var(--cp-muted);}
body.woocommerce-checkout #main .wc-block-components-checkout-order-summary__content {border-color:var(--cp-line);}
body.woocommerce-checkout #main .wc-block-components-order-summary-item {padding-top:18px;padding-bottom:18px;}
body.woocommerce-checkout #main .wc-block-components-order-summary-item__image img {border-radius:5px;}
body.woocommerce-checkout #main .wp-block-woocommerce-checkout-payment-block {border:1px solid var(--cp-line);border-radius:8px;background:var(--cp-light);padding:20px;}
body.woocommerce-checkout #main .wc-block-components-radio-control__label {color:var(--cp-ink);font-size:14px;line-height:1.55;}
body.woocommerce-checkout #main .wc-block-components-radio-control-accordion-content {color:var(--cp-muted);font-size:14px;line-height:1.7;}
body.woocommerce-checkout #main #order-fields {background:var(--cp-light);border:1px solid var(--cp-line);border-radius:8px;padding:20px;}
body.woocommerce-checkout #main #order-fields .wc-block-components-checkbox {margin-top:16px;}
body.woocommerce-checkout #main #order-fields .wc-block-components-checkbox label {min-height:44px;}
body.woocommerce-checkout #main .wc-block-components-checkbox__label {font-size:14px;line-height:1.65;color:var(--cp-ink);}
body.woocommerce-checkout #main .wc-block-checkout__terms {font-size:13px;line-height:1.8;color:var(--cp-muted);border-color:var(--cp-line);padding-top:20px;}
body.woocommerce-checkout #main :is(.wc-block-checkout__terms,#order-fields) a {color:var(--cp-green);font-weight:600;text-decoration:underline;text-underline-offset:3px;}
body.woocommerce-checkout #main .wc-block-components-checkout-place-order-button {min-height:54px;}
body.woocommerce-account #main :is(.woocommerce-form-login,.woocommerce-ResetPassword,.woocommerce-form-register) {background:var(--cp-light);border:1px solid var(--cp-line);border-radius:8px;padding:30px;box-shadow:none;}
body.woocommerce-account #main .woocommerce-LostPassword a {color:var(--cp-green);text-decoration:underline;text-underline-offset:3px;}
body.woocommerce-account #main .woocommerce-form-login__rememberme {min-height:44px;align-items:center;}
body.woocommerce-account #main .woocommerce-MyAccount-navigation {--account-nav-text-initial-color:var(--cp-ink);--account-nav-text-active-color:var(--cp-light);--account-nav-background-active-color:var(--cp-green);--account-nav-divider-color:var(--cp-line);border:1px solid var(--cp-line);border-radius:6px;background:var(--cp-light);}
body.woocommerce-account #main .woocommerce-MyAccount-navigation a {font-size:14px;font-weight:600;}
body.woocommerce-account #main .woocommerce-MyAccount-content {color:var(--cp-ink);font-size:14px;line-height:1.8;}
body.woocommerce-account #main .woocommerce-MyAccount-content :is(h2,h3) {font-family:'Cormorant Garamond',Georgia,serif;color:var(--cp-green);font-size:28px;}
body.woocommerce-account #main .woocommerce-Addresses > * {border:1px solid var(--cp-line);border-radius:8px;background:var(--cp-light);}
body.woocommerce-account #main :is(.woocommerce-orders-table,.woocommerce-table--order-details) {border-color:var(--cp-line);font-size:14px;}
body.woocommerce-account #main :is(.woocommerce-orders-table,.woocommerce-table--order-details) :is(th,td) {border-color:var(--cp-line);padding:14px 12px;}
:is(body.woocommerce-page,body.woocommerce-account) #main :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) {background:var(--cp-light);color:var(--cp-ink);border:1px solid var(--cp-line);border-left:3px solid var(--cp-bronze);border-radius:6px;box-shadow:none;font-size:14px;line-height:1.7;}
:is(body.woocommerce-page,body.woocommerce-account) #main :is(.woocommerce-message,.wc-block-components-notice-banner.is-success) {border-left-color:var(--cp-green);}
:is(body.woocommerce-page,body.woocommerce-account) #main :is(.woocommerce-error,.wc-block-components-notice-banner.is-error) {border-left-color:var(--cp-sale);}
:is(body.woocommerce-page,body.woocommerce-account) #main .wc-block-components-notice-banner.is-error > svg {background:var(--cp-sale);}
:is(body.woocommerce-page,body.woocommerce-account) #main .wc-block-components-notice-banner.is-success > svg {background:var(--cp-green);}
:is(body.woocommerce-page,body.woocommerce-account) #main .wc-block-components-notice-banner.is-info > svg {background:var(--cp-bronze);}
@media (max-width:999.98px) {
 :is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account) #main .page-title {font-size:38px;}
 :is(body.woocommerce-cart,body.woocommerce-checkout) #main .wc-block-components-sidebar {padding:20px;}
}
@media (max-width:479.98px) {
 :is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account) #main .page-title {font-size:34px;}
 :is(body.woocommerce-cart,body.woocommerce-checkout,body.woocommerce-account) #main .hero-section {margin-bottom:24px;}
 :is(body.woocommerce-cart,body.woocommerce-checkout) #main .wc-block-components-sidebar {padding:16px;}
 body.woocommerce-cart #main .wc-block-cart-items__row td {padding-top:18px;padding-bottom:18px;}
 body.woocommerce-cart #main .wc-block-components-product-name {font-size:13px;line-height:1.6;}
 body.woocommerce-checkout #main :is(.wp-block-woocommerce-checkout-payment-block,#order-fields) {padding:16px;}
 body.woocommerce-checkout #main .wc-block-components-checkout-step__heading .wc-block-components-title {font-size:25px;}
 body.woocommerce-account #main :is(.woocommerce-form-login,.woocommerce-ResetPassword,.woocommerce-form-register) {padding:22px 18px;}
}
/* End CP DESIGN PHASE 3. */
/* Keep a single quiet frame around the checkout summary. */
body.woocommerce-checkout #main .wp-block-woocommerce-checkout-order-summary-block {border:0;}
/* Give the line total its own row on narrow screens; keep quantity controls intact. */
@media (max-width:479.98px) {
 body.woocommerce-cart #main .wc-block-cart-items__row {grid-template-columns:64px minmax(0,1fr);column-gap:16px;}
 body.woocommerce-cart #main .wc-block-cart-item__image {grid-column:1;grid-row:1 / 3;}
 body.woocommerce-cart #main .wc-block-cart-item__product {grid-column:2;grid-row:1;min-width:0;}
 body.woocommerce-cart #main .wc-block-cart-item__total {grid-column:2;grid-row:2;padding-top:0;justify-content:flex-end;}
}
