/* HomeGlo commerce experience — cart, checkout, account, order tracking */
.hg-commerce-shell{padding-top:clamp(48px,6vw,86px);padding-bottom:clamp(78px,9vw,130px)}
.hg-commerce-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,430px);gap:48px;align-items:end;padding-bottom:32px;margin-bottom:34px;border-bottom:1px solid #dcd4c8}
.hg-commerce-eyebrow{margin:0 0 12px;color:#65705a;font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.hg-commerce-header h1{margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(52px,6vw,84px);font-weight:500;line-height:.9;letter-spacing:-.045em;color:#191b18}
.hg-commerce-intro{margin:0;color:#6f706b;font-size:13px;line-height:1.75}
.hg-commerce-content{font-size:14px;color:#272923}
.hg-commerce-content a{text-underline-offset:3px}

/* Shared WooCommerce surfaces */
.hg-commerce-content .woocommerce-notices-wrapper:empty{display:none}
.hg-commerce-content .woocommerce-message,.hg-commerce-content .woocommerce-info,.hg-commerce-content .woocommerce-error{margin:0 0 22px!important;padding:15px 18px 15px 48px!important;border:1px solid #ddd5ca!important;border-top:0!important;border-radius:12px;background:#fffdf9!important;color:#343630!important;box-shadow:none!important;font-size:13px;line-height:1.55}
.hg-commerce-content .woocommerce-message:before,.hg-commerce-content .woocommerce-info:before,.hg-commerce-content .woocommerce-error:before{left:18px;top:15px;color:#8a755e!important}
.hg-commerce-content .button,.hg-commerce-content button.button,.hg-commerce-content input.button,.hg-commerce-content a.button{display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;padding:0 22px!important;border:1px solid #191b18!important;border-radius:10px!important;background:#191b18!important;color:#fff!important;font-size:10px!important;font-weight:700!important;line-height:1!important;letter-spacing:.12em;text-transform:uppercase;text-decoration:none!important;transition:transform .22s ease,background .22s ease,border-color .22s ease!important}
.hg-commerce-content .button:hover,.hg-commerce-content button.button:hover,.hg-commerce-content input.button:hover,.hg-commerce-content a.button:hover{background:#65705a!important;border-color:#65705a!important;color:#fff!important;transform:translateY(-1px)}
.hg-commerce-content input.input-text,.hg-commerce-content textarea,.hg-commerce-content select,.hg-commerce-content .select2-selection{width:100%;min-height:52px;border:1px solid #d9d1c6!important;border-radius:10px!important;background:#fffdf9!important;color:#1f211e!important;box-shadow:none!important;padding:12px 14px!important;font-size:14px!important;outline:none;transition:border-color .2s ease,box-shadow .2s ease}
.hg-commerce-content textarea{min-height:118px;resize:vertical}
.hg-commerce-content input.input-text:focus,.hg-commerce-content textarea:focus,.hg-commerce-content select:focus{border-color:#81705d!important;box-shadow:0 0 0 3px rgba(129,112,93,.10)!important}
.hg-commerce-content label{display:block;margin:0 0 8px;color:#4d504a;font-size:11px;font-weight:650;letter-spacing:.02em}
.hg-commerce-content .form-row{margin:0 0 18px!important;padding:0!important}

/* Empty cart */
.hg-commerce-content .cart-empty.woocommerce-info{position:relative;margin:0!important;padding:86px 28px 18px!important;border:1px solid #dfd7cc!important;border-radius:18px 18px 0 0!important;background:#fffdf9!important;text-align:center;font-family:"Cormorant Garamond",Georgia,serif;font-size:30px;line-height:1.1;color:#191b18}
.hg-commerce-content .cart-empty.woocommerce-info:before{content:"";position:absolute;top:30px;left:50%;width:38px;height:44px;transform:translateX(-50%);border:1.5px solid #80715e;border-radius:2px;background:transparent}
.hg-commerce-content .cart-empty.woocommerce-info:after{content:"";position:absolute;top:21px;left:50%;width:18px;height:14px;transform:translateX(-50%);border:1.5px solid #80715e;border-bottom:0;border-radius:12px 12px 0 0}
.hg-commerce-content .return-to-shop{margin:0;padding:0 28px 34px;border:1px solid #dfd7cc;border-top:0;border-radius:0 0 18px 18px;background:#fffdf9;text-align:center}
.hg-commerce-content .return-to-shop .button{min-width:190px}

/* Cart table */
.woocommerce-cart-form,.cart_totals{background:#fffdf9;border:1px solid #dfd7cc;border-radius:16px;overflow:hidden}
.woocommerce-cart-form{padding:8px 24px 22px}
.woocommerce table.shop_table{margin:0!important;border:0!important;border-collapse:separate!important;border-spacing:0!important}
.woocommerce table.shop_table th{padding:18px 10px!important;border-bottom:1px solid #e1d9ce!important;color:#77746e;font-size:9px;text-transform:uppercase;letter-spacing:.13em}
.woocommerce table.shop_table td{padding:20px 10px!important;border-top:0!important;border-bottom:1px solid #ece5dc!important;vertical-align:middle}
.woocommerce-cart-form .product-thumbnail img{width:88px!important;border-radius:10px}
.woocommerce-cart-form .product-name a{font-weight:650;text-decoration:none}
.woocommerce-cart-form .quantity .qty{width:72px!important;height:44px!important;border-radius:8px!important;background:#f8f4ed!important}
.woocommerce-cart-form .actions{padding-top:22px!important;border-bottom:0!important}
.woocommerce-cart-form .coupon{display:flex;gap:10px;align-items:center}
.woocommerce-cart-form .coupon .input-text{min-width:190px!important;margin:0!important}
.cart-collaterals{margin-top:28px}
.cart-collaterals .cart_totals{float:none!important;width:min(100%,520px)!important;margin-left:auto;padding:28px}
.cart_totals h2{margin:0 0 20px!important;font-family:"Cormorant Garamond",Georgia,serif!important;font-size:36px!important;font-weight:600!important}
.cart_totals .wc-proceed-to-checkout{padding:18px 0 0!important}
.cart_totals .checkout-button{width:100%;min-height:54px!important}

/* Guest account */
.hg-account-guest-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);gap:28px;align-items:stretch}
.hg-account-story{position:relative;overflow:hidden;min-height:560px;padding:clamp(34px,4vw,58px);border-radius:20px;background:linear-gradient(145deg,#1d211c 0%,#32372f 58%,#6d705f 140%);color:#fff}
.hg-account-story:before{content:"";position:absolute;width:330px;height:330px;right:-120px;top:-80px;border:1px solid rgba(255,255,255,.16);border-radius:50%}
.hg-account-story:after{content:"";position:absolute;width:230px;height:230px;right:-45px;bottom:-90px;border:1px solid rgba(255,255,255,.12);border-radius:50%}
.hg-account-story>span{position:relative;z-index:1;display:block;margin-bottom:86px;font-size:10px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#d5c8b8}
.hg-account-story h2{position:relative;z-index:1;max-width:540px;margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(44px,4.2vw,64px);font-weight:500;line-height:.91;letter-spacing:-.035em}
.hg-account-story p{position:relative;z-index:1;max-width:440px;margin:24px 0 30px;color:rgba(255,255,255,.68);font-size:13px;line-height:1.75}
.hg-account-story ul{position:relative;z-index:1;list-style:none;margin:0;padding:0;display:grid;gap:12px}
.hg-account-story li{display:flex;align-items:center;gap:10px;color:rgba(255,255,255,.82);font-size:12px}
.hg-account-story li:before{content:"";width:6px;height:6px;border-radius:50%;background:#c0a98d;flex:0 0 auto}
.hg-account-auth{display:flex;align-items:center;justify-content:center;padding:clamp(26px,4vw,54px);border:1px solid #dfd7cc;border-radius:20px;background:#fffdf9}
.hg-account-auth .woocommerce{width:100%;max-width:480px}
.hg-account-auth h2{margin:0 0 26px!important;font-family:"Cormorant Garamond",Georgia,serif!important;font-size:38px!important;font-weight:600!important}
.hg-account-auth .woocommerce-form-login{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.hg-account-auth .woocommerce-form-login__rememberme{display:flex!important;align-items:center;gap:8px;margin:6px 0 18px!important;font-size:12px!important}
.hg-account-auth input[type="checkbox"]{width:16px;height:16px;accent-color:#65705a}
.hg-account-auth .woocommerce-form-login__submit{width:100%;margin:0 0 16px!important}
.hg-account-auth .woocommerce-LostPassword{margin:0;text-align:center;font-size:12px}

/* Logged-in account dashboard */
.woocommerce-account .woocommerce-MyAccount-navigation{float:none!important;width:100%!important;margin:0 0 24px;padding:8px;border:1px solid #dfd7cc;border-radius:14px;background:#fffdf9}
.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:11px 14px;border-radius:9px;text-decoration:none;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:#191b18;color:#fff}
.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:100%!important;padding:30px;border:1px solid #dfd7cc;border-radius:16px;background:#fffdf9;line-height:1.75}

/* Checkout */
.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:28px;align-items:start}
.woocommerce-checkout #customer_details{display:grid;grid-template-columns:1fr;gap:18px}
.woocommerce-checkout #customer_details>div{float:none!important;width:100%!important;padding:28px;border:1px solid #dfd7cc;border-radius:16px;background:#fffdf9}
.woocommerce-checkout #customer_details h3,.woocommerce-checkout #order_review_heading{margin:0 0 24px!important;font-family:"Cormorant Garamond",Georgia,serif!important;font-size:34px!important;font-weight:600!important}
.woocommerce-checkout #order_review_heading{grid-column:2;grid-row:1;margin:28px 28px -6px!important;z-index:2}
.woocommerce-checkout #order_review{grid-column:2;grid-row:1 / span 2;margin:0;padding:82px 28px 28px;border:1px solid #dfd7cc;border-radius:16px;background:#fffdf9}
.woocommerce-checkout #payment{border-radius:12px!important;background:#f3eee6!important}
.woocommerce-checkout #payment ul.payment_methods{padding:18px!important;border-bottom:1px solid #ddd3c6!important}
.woocommerce-checkout #payment div.form-row{padding:18px!important;margin:0!important}
.woocommerce-checkout #place_order{width:100%;min-height:54px!important}

/* Order tracking form */
.track_order{max-width:720px;margin:0 auto;padding:34px;border:1px solid #dfd7cc;border-radius:18px;background:#fffdf9}
.track_order>p:first-child{margin-top:0;color:#6f706b;line-height:1.75}

@media(max-width:960px){
  .hg-commerce-header{grid-template-columns:1fr;gap:18px}
  .hg-account-guest-grid{grid-template-columns:1fr}
  .hg-account-story{min-height:400px}
  .hg-account-story>span{margin-bottom:50px}
  .woocommerce-checkout form.checkout{grid-template-columns:1fr}
  .woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{grid-column:1;grid-row:auto}
  .woocommerce-checkout #order_review_heading{margin:0 0 -58px!important;padding:28px 28px 0}
  .woocommerce-checkout #order_review{padding-top:78px}
}
@media(max-width:680px){
  .hg-commerce-shell{padding-top:38px;padding-bottom:72px}
  .hg-commerce-header{margin-bottom:24px;padding-bottom:22px}
  .hg-commerce-header h1{font-size:52px}
  .hg-account-story{min-height:360px;padding:30px 24px}
  .hg-account-story h2{font-size:43px}
  .hg-account-auth{padding:28px 20px}
  .woocommerce-cart-form{padding:6px 12px 18px;overflow-x:auto}
  .woocommerce-cart-form .coupon{display:grid;width:100%}
  .woocommerce-cart-form .coupon .input-text{min-width:0!important;width:100%!important}
  .cart-collaterals .cart_totals{padding:22px}
  .woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:1fr 1fr}
  .woocommerce-account .woocommerce-MyAccount-content{padding:22px}
  .woocommerce-checkout #customer_details>div,.woocommerce-checkout #order_review{padding-left:20px;padding-right:20px}
  .track_order{padding:26px 20px}
}
@media(prefers-reduced-motion:reduce){.hg-commerce-content .button,.hg-commerce-content button.button,.hg-commerce-content input.button,.hg-commerce-content a.button{transition:none!important;transform:none!important}}
