/* ============================================================
   1.9.0 — CRAFT GICLÉE WOO JOURNEY DESIGN SYSTEM
   One shared Arizona canvas, spacing, depth, motion and controls.
   ============================================================ */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-order-received,
body.woocommerce-account,
body:has(.wd-wishlist-content){
  --cg-ink:#302D2A;
  --cg-text:#4B4641;
  --cg-muted:#716B64;
  --cg-red:#68000A;
  --cg-red-dark:#500007;
  --cg-red-soft:#8A3A40;
  --cg-slate:#596A73;
  --cg-slate-dark:#485860;
  --cg-slate-soft:#EEF2F3;
  --cg-sage:#697869;
  --cg-ochre:#AE8447;
  --cg-sienna:#A4664D;
  --cg-parchment:#F7F1E9;
  --cg-parchment-deep:#EEE5DA;
  --cg-cream:#FFFDF9;
  --cg-line:#D8CCC0;
  --cg-line-soft:#E9E1D9;
  --cg-danger:#8A3A40;
  --cg-radius:4px;
  --cg-radius-sm:3px;
  --cg-shadow-1:0 5px 16px rgba(55,46,40,.065),0 1px 2px rgba(55,46,40,.035);
  --cg-shadow-2:0 9px 24px rgba(55,46,40,.085),0 2px 5px rgba(55,46,40,.045);
  --cg-shadow-hover:0 12px 28px rgba(55,46,40,.11),0 3px 7px rgba(55,46,40,.05);
  --cg-motion:180ms cubic-bezier(.2,.7,.2,1);
  --cg-space-1:6px;
  --cg-space-2:10px;
  --cg-space-3:14px;
  --cg-space-4:18px;
  --cg-space-5:24px;
  color:var(--cg-text);
}
body.woocommerce-cart .main-page-wrapper,
body.woocommerce-checkout .main-page-wrapper,
body.woocommerce-order-received .main-page-wrapper,
body.woocommerce-account .main-page-wrapper,
body:has(.wd-wishlist-content) .main-page-wrapper{
  background:
    radial-gradient(circle at 7% 12%,rgba(164,102,77,.075) 0 72px,transparent 73px),
    radial-gradient(circle at 92% 8%,rgba(174,132,71,.065) 0 105px,transparent 106px),
    radial-gradient(circle at 88% 64%,rgba(105,120,105,.045) 0 88px,transparent 89px),
    linear-gradient(180deg,#F6F0E8 0,#FBF8F4 250px,#FFFDF9 620px,#FFFFFF 100%) !important;
}
body.woocommerce-cart .wd-content-area.site-content,
body.woocommerce-checkout .wd-content-area.site-content,
body.woocommerce-order-received .wd-content-area.site-content,
body.woocommerce-account .wd-content-area.site-content,
body:has(.wd-wishlist-content) .wd-content-area.site-content{
  padding-top:26px !important;
  padding-bottom:38px !important;
}
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-order-received .woocommerce,
body.woocommerce-account .woocommerce,
body:has(.wd-wishlist-content) .woocommerce{
  color:var(--cg-text);
  font-size:14px;
  line-height:1.5;
}
body.woocommerce-cart .woocommerce :is(h1,h2,h3),
body.woocommerce-checkout .woocommerce :is(h1,h2,h3),
body.woocommerce-order-received .woocommerce :is(h1,h2,h3),
body.woocommerce-account .woocommerce :is(h1,h2,h3),
body:has(.wd-wishlist-content) .woocommerce :is(h1,h2,h3){
  color:var(--cg-ink);
  font-family:var(--e-global-typography-primary-font-family,"Poppins",Arial,sans-serif);
  letter-spacing:-.015em;
  line-height:1.2;
}
body.woocommerce-cart .woocommerce a:not(.button),
body.woocommerce-checkout .woocommerce a:not(.button),
body.woocommerce-order-received .woocommerce a:not(.button),
body.woocommerce-account .woocommerce a:not(.button),
body:has(.wd-wishlist-content) .woocommerce a:not(.button){
  color:var(--cg-red);
  text-underline-offset:3px;
}
/* One control language. */
body.woocommerce-cart .woocommerce .button,
body.woocommerce-checkout .woocommerce .button,
body.woocommerce-order-received .woocommerce .button,
body.woocommerce-account .woocommerce .button,
body:has(.wd-wishlist-content) .button{
  min-height:40px;
  padding:8px 15px;
  border-radius:var(--cg-radius-sm) !important;
  font-family:var(--e-global-typography-primary-font-family,"Poppins",Arial,sans-serif);
  font-size:12px;
  font-weight:700;
  letter-spacing:.025em;
  line-height:1.2;
  box-shadow:none !important;
  transition:background-color var(--cg-motion),border-color var(--cg-motion),color var(--cg-motion),transform var(--cg-motion),box-shadow var(--cg-motion);
}
body.woocommerce-cart .woocommerce .button:not(.checkout-button),
body.woocommerce-checkout .woocommerce .button:not(#place_order),
body.woocommerce-order-received .woocommerce .button,
body.woocommerce-account .woocommerce .button,
body:has(.wd-wishlist-content) .button{
  background:var(--cg-slate) !important;
  border:1px solid var(--cg-slate) !important;
  color:#FFFFFF !important;
}
body.woocommerce-cart .woocommerce .checkout-button,
body.woocommerce-checkout .woocommerce #place_order,
body.woocommerce-account .woocommerce button[name="save_account_details"],
body.woocommerce-account .woocommerce button[name="save_address"],
body.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"],
body.woocommerce-account:not(.logged-in) .woocommerce-form-register button[type="submit"],
body:has(.wd-wishlist-content) .button.alt{
  background:var(--cg-red) !important;
  border:1px solid var(--cg-red) !important;
  color:#FFFFFF !important;
}
body.woocommerce-cart .woocommerce .checkout-button:hover,
body.woocommerce-checkout .woocommerce #place_order:hover,
body.woocommerce-account .woocommerce button[name="save_account_details"]:hover,
body.woocommerce-account .woocommerce button[name="save_address"]:hover,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"]:hover,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register button[type="submit"]:hover,
body:has(.wd-wishlist-content) .button.alt:hover{
  background:var(--cg-red-dark) !important;
  border-color:var(--cg-red-dark) !important;
}
body.woocommerce-cart .woocommerce :is(input[type="text"],input[type="email"],input[type="tel"],input[type="password"],input[type="number"],select,textarea),
body.woocommerce-checkout .woocommerce :is(input[type="text"],input[type="email"],input[type="tel"],input[type="password"],input[type="number"],select,textarea),
body.woocommerce-account .woocommerce :is(input[type="text"],input[type="email"],input[type="tel"],input[type="password"],input[type="number"],select,textarea){
  min-height:41px;
  padding-left:11px;
  padding-right:11px;
  border:1px solid #CFC4B9 !important;
  border-radius:var(--cg-radius-sm) !important;
  background:#FFFFFF !important;
  color:var(--cg-ink) !important;
  box-shadow:none !important;
  transition:border-color var(--cg-motion),box-shadow var(--cg-motion),background-color var(--cg-motion);
}
body.woocommerce-cart .woocommerce :is(input,select,textarea):focus,
body.woocommerce-checkout .woocommerce :is(input,select,textarea):focus,
body.woocommerce-account .woocommerce :is(input,select,textarea):focus{
  border-color:var(--cg-slate) !important;
  box-shadow:0 0 0 3px rgba(89,106,115,.10) !important;
  outline:none !important;
}
/* Shared dimensional card language. */
body.woocommerce-cart :is(.shop_table.cart,.cart_totals .cart-totals-inner),
body.woocommerce-checkout :is(.checkout-order-review,.customer-details .woocommerce-billing-fields,.customer-details .woocommerce-shipping-fields,.woocommerce-additional-fields,#payment),
body.woocommerce-order-received :is(.woocommerce-thankyou-order-received,.woocommerce-order-overview,.woocommerce-order-details .shop_table,.woocommerce-customer-details address),
body.woocommerce-account :is(.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content,.woocommerce-Addresses .woocommerce-Address,.woocommerce-form-login,.woocommerce-form-register,.lost_reset_password),
body:has(.wd-wishlist-content) :is(.wd-wishlist-content,.woocommerce-MyAccount-navigation){
  border-radius:var(--cg-radius) !important;
  box-shadow:var(--cg-shadow-1) !important;
  transition:transform var(--cg-motion),box-shadow var(--cg-motion),border-color var(--cg-motion);
}
@media (hover:hover) and (pointer:fine){
  body.woocommerce-cart :is(.shop_table.cart,.cart_totals .cart-totals-inner):hover,
  body.woocommerce-checkout :is(.checkout-order-review,.customer-details .woocommerce-billing-fields,.customer-details .woocommerce-shipping-fields,.woocommerce-additional-fields):hover,
  body.woocommerce-order-received :is(.woocommerce-order-overview,.woocommerce-order-details .shop_table,.woocommerce-customer-details address):hover,
  body.woocommerce-account :is(.woocommerce-MyAccount-content,.woocommerce-Addresses .woocommerce-Address):hover,
  body:has(.wd-wishlist-content) .wd-wishlist-content:hover{
    transform:translateY(-2px);
    box-shadow:var(--cg-shadow-hover) !important;
  }
}
@media (max-width:1024px){
  body.woocommerce-cart .wd-content-area.site-content,
  body.woocommerce-checkout .wd-content-area.site-content,
  body.woocommerce-order-received .wd-content-area.site-content,
  body.woocommerce-account .wd-content-area.site-content,
  body:has(.wd-wishlist-content) .wd-content-area.site-content{
    padding-top:20px !important;
    padding-bottom:28px !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }
}
@media (max-width:600px){
  body.woocommerce-cart .wd-content-area.site-content,
  body.woocommerce-checkout .wd-content-area.site-content,
  body.woocommerce-order-received .wd-content-area.site-content,
  body.woocommerce-account .wd-content-area.site-content,
  body:has(.wd-wishlist-content) .wd-content-area.site-content{
    padding-top:14px !important;
    padding-bottom:22px !important;
    padding-left:10px !important;
    padding-right:10px !important;
  }
  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce,
  body.woocommerce-order-received .woocommerce,
  body.woocommerce-account .woocommerce,
  body:has(.wd-wishlist-content) .woocommerce{font-size:13.5px;}
  body.woocommerce-cart .woocommerce .button,
  body.woocommerce-checkout .woocommerce .button,
  body.woocommerce-order-received .woocommerce .button,
  body.woocommerce-account .woocommerce .button,
  body:has(.wd-wishlist-content) .button{min-height:40px;padding:8px 12px;}
}
@media (max-height:520px) and (orientation:landscape){
  body.woocommerce-cart .wd-content-area.site-content,
  body.woocommerce-checkout .wd-content-area.site-content,
  body.woocommerce-order-received .wd-content-area.site-content,
  body.woocommerce-account .wd-content-area.site-content,
  body:has(.wd-wishlist-content) .wd-content-area.site-content{
    padding-top:10px !important;
    padding-bottom:16px !important;
  }
}
@media (prefers-reduced-motion:reduce){
  body.woocommerce-cart *,body.woocommerce-checkout *,body.woocommerce-order-received *,body.woocommerce-account *,body:has(.wd-wishlist-content) *{
    scroll-behavior:auto !important;
    transition-duration:.01ms !important;
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
  }
}
/* Global WoodMart account dropdown. */
body .wd-header-my-account .wd-dropdown-my-account,body .wd-header-my-account > .wd-dropdown,body .wd-header-my-account .wd-dropdown{
  width:min(360px,calc(100dvw - 24px)) !important;
  min-width:320px !important;
  padding:15px !important;
  border:1px solid #D8CCC0 !important;
  border-radius:4px !important;
  background:#FFFDF9 !important;
  color:#4B4641 !important;
  box-shadow:0 13px 32px rgba(55,46,40,.14) !important;
}
body .wd-header-my-account .wd-dropdown-my-account *{box-sizing:border-box;}
body .wd-header-my-account .wd-dropdown-my-account :is(h3,.title,.login-form-side h3){margin:0 0 9px !important;color:#302D2A !important;font-family:var(--e-global-typography-primary-font-family,"Poppins",Arial,sans-serif) !important;font-size:14px !important;font-weight:700 !important;}
body .wd-header-my-account .wd-dropdown-my-account .form-row{margin-bottom:9px !important;}
body .wd-header-my-account .wd-dropdown-my-account :is(input[type="text"],input[type="email"],input[type="password"]){min-height:40px !important;border:1px solid #CFC4B9 !important;border-radius:3px !important;background:#FFFFFF !important;}
body .wd-header-my-account .wd-dropdown-my-account button[type="submit"]{width:100% !important;min-height:40px !important;border:1px solid #68000A !important;border-radius:3px !important;background:#68000A !important;color:#FFFFFF !important;font-weight:700 !important;}
body .wd-header-my-account .wd-dropdown-my-account .login-form-footer{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:8px !important;margin-top:8px !important;font-size:12px !important;}
body .wd-header-my-account .wd-dropdown-my-account .create-account-question{margin:12px -15px -15px !important;padding:12px 15px !important;border-top:1px solid #E9E1D9 !important;background:#F7F1EA !important;}
body .wd-header-my-account .wd-dropdown-my-account :is(.woocommerce-MyAccount-navigation ul,.wd-sub-menu,ul){margin:0 !important;padding:0 !important;list-style:none !important;}
body .wd-header-my-account .wd-dropdown-my-account :is(.woocommerce-MyAccount-navigation li,.wd-sub-menu > li){margin:0 !important;padding:0 !important;border-bottom:1px solid #ECE5DE !important;}
body .wd-header-my-account .wd-dropdown-my-account :is(.woocommerce-MyAccount-navigation a,.wd-sub-menu > li > a){display:flex !important;align-items:center !important;min-height:38px !important;padding:8px 9px !important;border-left:3px solid transparent !important;border-radius:2px !important;color:#4B4641 !important;font-size:12.5px !important;font-weight:700 !important;text-decoration:none !important;}
body .wd-header-my-account .wd-dropdown-my-account :is(.woocommerce-MyAccount-navigation a,.wd-sub-menu > li > a):hover{border-left-color:#81919A !important;background:#F4F7F7 !important;color:#302D2A !important;}
body .wd-header-my-account .wd-dropdown-my-account a[href*="customer-logout"]{margin-top:5px !important;border-top:1px solid #D8CCC0 !important;color:#68000A !important;}
@media (max-width:480px){
  body .wd-header-my-account .wd-dropdown-my-account,body .wd-header-my-account > .wd-dropdown,body .wd-header-my-account .wd-dropdown{width:calc(100dvw - 18px) !important;min-width:0 !important;padding:12px !important;}
  body .wd-header-my-account .wd-dropdown-my-account .create-account-question{margin:10px -12px -12px !important;padding:11px 12px !important;}
  body .wd-header-my-account .wd-dropdown-my-account .login-form-footer{align-items:flex-start !important;flex-direction:column !important;gap:6px !important;}
}

/* ALPHA.17 — SHARED COMMERCE MICRO-POLISH; structure unchanged. */
body.cgss-v2-core :is(.button,button,input,select,textarea){transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,color .16s ease,transform .16s ease!important}
@media(prefers-reduced-motion:reduce){body.cgss-v2-core *{transition-duration:.01ms!important}}

/* ======================================================================
   ALPHA.18 — CRAFT GICLEE STUDIO JOY SYSTEM
   Stronger visual cohesion derived from the current HTML-block palette.
   Presentation only: no commerce, payment, account, or order logic changes.
   ====================================================================== */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-order-received,
body.woocommerce-account,
body:has(.wd-wishlist-content){
  --cg18-ink:#292725;
  --cg18-text:#403D3A;
  --cg18-muted:#6B625C;
  --cg18-red:#68000A;
  --cg18-red-dark:#4D0007;
  --cg18-rose:#A94E5D;
  --cg18-rose-soft:#F3E0E2;
  --cg18-gold:#B7793E;
  --cg18-gold-soft:#F3E5CE;
  --cg18-sage:#65785F;
  --cg18-sage-soft:#E2EBDD;
  --cg18-slate:#52666C;
  --cg18-slate-soft:#E1EAEB;
  --cg18-paper:#FFFDF9;
  --cg18-cream:#F8F6F2;
  --cg18-warm:#F3EFEB;
  --cg18-line:#D8D0C8;
  --cg18-shadow:0 8px 24px rgba(61,46,39,.075),0 2px 6px rgba(61,46,39,.035);
  --cg18-shadow-hover:0 13px 30px rgba(61,46,39,.11),0 4px 9px rgba(61,46,39,.045);
  --cg18-radius:6px;
}
body.woocommerce-cart .main-page-wrapper,
body.woocommerce-checkout .main-page-wrapper,
body.woocommerce-order-received .main-page-wrapper,
body.woocommerce-account .main-page-wrapper,
body:has(.wd-wishlist-content) .main-page-wrapper{
  background-color:#FFFDF9!important;
  background-image:
    radial-gradient(circle at 6% 18%,rgba(169,78,93,.105) 0 34px,transparent 35px),
    radial-gradient(circle at 94% 13%,rgba(183,121,62,.13) 0 56px,transparent 57px),
    radial-gradient(circle at 91% 74%,rgba(101,120,95,.105) 0 42px,transparent 43px),
    radial-gradient(circle at 12% 86%,rgba(82,102,108,.075) 0 24px,transparent 25px),
    linear-gradient(180deg,#F8F4EF 0%,#FFFDF9 510px,#FFFFFF 100%)!important;
  background-repeat:no-repeat!important;
  animation:cgss18StudioDrift 34s ease-in-out infinite alternate!important;
}
@keyframes cgss18StudioDrift{
  from{background-position:0 0,0 0,0 0,0 0,0 0}
  to{background-position:12px 8px,-10px 14px,8px -10px,-7px 9px,0 0}
}
body.woocommerce-cart .woocommerce :is(h1,h2,h3,h4),
body.woocommerce-checkout .woocommerce :is(h1,h2,h3,h4),
body.woocommerce-order-received .woocommerce :is(h1,h2,h3,h4),
body.woocommerce-account .woocommerce :is(h1,h2,h3,h4),
body:has(.wd-wishlist-content) .woocommerce :is(h1,h2,h3,h4){
  color:var(--cg18-ink)!important;
  font-family:var(--e-global-typography-primary-font-family,"Poppins",Arial,sans-serif)!important;
  font-weight:700!important;
  letter-spacing:-.018em!important;
}
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-order-received .woocommerce,
body.woocommerce-account .woocommerce,
body:has(.wd-wishlist-content) .woocommerce{color:var(--cg18-text)!important}
body.woocommerce-cart :is(.shop_table.cart,.cart_totals .cart-totals-inner),
body.woocommerce-checkout :is(.checkout-order-review,.customer-details .woocommerce-billing-fields,.customer-details .woocommerce-shipping-fields,.woocommerce-additional-fields,#payment),
body.woocommerce-order-received :is(.woocommerce-thankyou-order-received,.woocommerce-order-overview,.woocommerce-order-details .shop_table,.woocommerce-customer-details address),
body.woocommerce-account :is(.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content,.woocommerce-Addresses .woocommerce-Address,.woocommerce-form-login,.woocommerce-form-register,.lost_reset_password),
body:has(.wd-wishlist-content) :is(.wd-wishlist-content,.woocommerce-MyAccount-navigation){
  border-color:var(--cg18-line)!important;
  border-radius:var(--cg18-radius)!important;
  background-color:var(--cg18-paper)!important;
  box-shadow:var(--cg18-shadow)!important;
}
body.woocommerce-cart .woocommerce .button,
body.woocommerce-checkout .woocommerce .button,
body.woocommerce-order-received .woocommerce .button,
body.woocommerce-account .woocommerce .button,
body:has(.wd-wishlist-content) .button{
  border-radius:4px!important;
  font-family:var(--e-global-typography-primary-font-family,"Poppins",Arial,sans-serif)!important;
  font-weight:700!important;
  letter-spacing:.025em!important;
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease!important;
}
body.woocommerce-cart .woocommerce .checkout-button,
body.woocommerce-checkout .woocommerce #place_order,
body.woocommerce-account .woocommerce button[name="save_account_details"],
body.woocommerce-account .woocommerce button[name="save_address"],
body.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"],
body.woocommerce-account:not(.logged-in) .woocommerce-form-register button[type="submit"]{
  background:linear-gradient(135deg,var(--cg18-red) 0%,#7D1B25 100%)!important;
  border-color:var(--cg18-red)!important;
  box-shadow:0 5px 14px rgba(104,0,10,.14)!important;
}
@media(hover:hover) and (pointer:fine){
  body.woocommerce-cart .woocommerce .button:hover,
  body.woocommerce-checkout .woocommerce .button:hover,
  body.woocommerce-order-received .woocommerce .button:hover,
  body.woocommerce-account .woocommerce .button:hover,
  body:has(.wd-wishlist-content) .button:hover{transform:translateY(-1px)!important;box-shadow:0 8px 18px rgba(55,46,40,.11)!important}
}
@media(prefers-reduced-motion:reduce){
  body.woocommerce-cart .main-page-wrapper,
  body.woocommerce-checkout .main-page-wrapper,
  body.woocommerce-order-received .main-page-wrapper,
  body.woocommerce-account .main-page-wrapper,
  body:has(.wd-wishlist-content) .main-page-wrapper{animation:none!important}
}
