/* HANADESSE shop layer: category tabs, product page, cart, checkout, account. Loaded on WooCommerce pages only. */

/* ---------- page frame ---------- */
.woocommerce-page .site-content > .ast-container, .woocommerce .site-content > .ast-container { padding-top: 34px; }
.woocommerce-page .ast-woocommerce-container { padding-bottom: 70px; }
.woocommerce-products-header__title.page-title, .woocommerce-page h1.entry-title { font-family: var(--hd-serif); font-weight: 500; font-size: clamp(38px, 5vw, 58px); color: var(--hd-burgundy); letter-spacing: .005em; }
.hd-kicker { color: var(--hd-gold); letter-spacing: .34em; text-transform: uppercase; font-family: var(--hd-sans); font-size: 12px; font-weight: 500; margin: 0 0 8px; }

/* ---------- shop: category tabs, grid ---------- */
.hd-pills { display: flex; flex-wrap: wrap; gap: 6px 30px; border-bottom: 1px solid var(--hd-line); margin: 8px 0 34px; }
.hd-pills a { padding: 13px 2px; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 500; color: var(--hd-muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .25s var(--hd-ease), border-color .25s var(--hd-ease); }
.hd-pills a:hover, .hd-pills a.on { color: var(--hd-burgundy); border-bottom-color: var(--hd-gold); }
.woocommerce .woocommerce-result-count { font-family: var(--hd-sans); font-size: 13px; color: var(--hd-muted); letter-spacing: .06em; }
.woocommerce .woocommerce-ordering select { border: 1px solid var(--hd-line); border-radius: 999px; padding: 10px 18px; font-family: var(--hd-sans); font-size: 13px; background: #fff; color: var(--hd-ink); }
/* product tiles: see style.css (v1.6, YOZO structure) */
.woocommerce ul.products { gap: 34px 26px; }

/* ---------- product page ---------- */
.woocommerce div.product div.images .woocommerce-product-gallery__image img, .woocommerce div.product div.images img { border-radius: var(--hd-radius); }
.woocommerce div.product .woocommerce-product-gallery__trigger { top: 14px; right: 14px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 26px; margin: 8px 0 14px; }
.woocommerce div.product .woocommerce-product-details__short-description { font-family: var(--hd-sans); color: var(--hd-muted); line-height: 1.85; font-size: 16px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; margin: 26px 0 8px; }
.woocommerce div.product form.cart .quantity .qty { border: 1px solid var(--hd-line); border-radius: 999px; height: 100%; min-height: 52px; width: 86px; text-align: center; font-family: var(--hd-sans); }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1 1 220px; min-height: 52px; }
.hd-trust { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.hd-trust li { display: flex; gap: 12px; align-items: center; font-family: var(--hd-sans); font-size: 14.5px; color: var(--hd-ink); margin: 0; }
.hd-trust li::before { content: "\2713"; width: 22px; height: 22px; border-radius: 50%; background: var(--hd-sand); color: var(--hd-gold); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.hd-low { color: var(--hd-burgundy); font-size: 13.5px; font-weight: 500; margin: 6px 0 0; }
.hd-acc { margin-top: 28px; border-top: 1px solid var(--hd-line); }
.hd-acc details { border-bottom: 1px solid var(--hd-line); }
.hd-acc summary { cursor: pointer; list-style: none; padding: 18px 2px; font-family: var(--hd-serif); font-size: 23px; color: var(--hd-burgundy); display: flex; justify-content: space-between; align-items: center; }
.hd-acc summary::-webkit-details-marker { display: none; }
.hd-acc summary::after { content: "+"; font-family: var(--hd-sans); font-size: 22px; color: var(--hd-gold); transition: transform .3s var(--hd-ease); }
.hd-acc details[open] summary::after { transform: rotate(45deg); }
.hd-acc-b { padding: 0 2px 22px; font-family: var(--hd-sans); color: var(--hd-muted); line-height: 1.85; }
.hd-acc-b table.woocommerce-product-attributes { border: 0; margin: 0; }
.hd-acc-b table.woocommerce-product-attributes th, .hd-acc-b table.woocommerce-product-attributes td { border: 0; border-bottom: 1px solid var(--hd-line); padding: 9px 0; background: none; font-style: normal; }
.hd-acc-b table.woocommerce-product-attributes th { width: 38%; color: var(--hd-ink); font-weight: 500; }
.related.products > h2, .upsells.products > h2 { font-family: var(--hd-serif); font-weight: 500; color: var(--hd-burgundy); font-size: clamp(32px, 4vw, 44px); text-align: center; margin: 70px 0 30px; }
.hd-sticky { display: none; }
@media (max-width: 767px) {
  .hd-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: #fff; border-top: 1px solid var(--hd-line); padding: 10px 14px; display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .35s var(--hd-ease); box-shadow: 0 -10px 30px rgba(81,34,56,.08); }
  .hd-sticky.show { transform: none; }
  .hd-sticky div { flex: 1; min-width: 0; }
  .hd-sticky b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--hd-serif); font-weight: 600; color: var(--hd-burgundy); }
  .hd-sticky span { font-size: 13px; color: var(--hd-gold); font-weight: 600; }
  .hd-sticky button { background: var(--hd-burgundy); color: #fff; border: 0; padding: 14px 20px; text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; font-weight: 500; border-radius: 999px; }
}

/* ---------- delivery progress ---------- */
.hd-ship { padding: 16px 22px; background: var(--hd-sand); border-radius: var(--hd-radius); margin: 0 0 22px; }
.hd-ship p { margin: 0 0 10px; font-family: var(--hd-sans); font-size: 14px; color: var(--hd-ink); }
.hd-ship .bar { height: 4px; background: rgba(107,35,56,.12); border-radius: 4px; overflow: hidden; }
.hd-ship .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--hd-gold), var(--hd-gold-soft)); transition: width .6s var(--hd-ease); }
.elementor-menu-cart__main .hd-ship, .widget_shopping_cart .hd-ship { margin: 0 0 14px; border-radius: 10px; }

/* ---------- cart + checkout header, steps ---------- */
.hd-cartp-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 0 0 30px; }
.hd-cartp-head h1 { font-family: var(--hd-serif); font-size: clamp(34px, 4vw, 48px); margin: 0; font-weight: 500; color: var(--hd-burgundy); }
.hd-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.hd-steps li { display: flex; align-items: center; gap: 10px; color: #A8999A; font-family: var(--hd-sans); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin: 0; }
.hd-steps li:not(:last-child)::after { content: ""; width: 34px; height: 1px; background: var(--hd-line); margin-left: 6px; }
.hd-steps i { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-style: normal; font-size: 12px; }
.hd-steps li.on { color: var(--hd-burgundy); }
.hd-steps li.on i { background: var(--hd-burgundy); border-color: var(--hd-burgundy); color: #fff; }
.hd-steps li.done { color: var(--hd-gold); }
.hd-steps li.done i { background: var(--hd-gold); border-color: var(--hd-gold); color: #fff; }
@media (max-width: 767px) { .hd-steps span { display: none; } .hd-steps li.on span { display: inline; } }

/* ---------- cart ---------- */
.woocommerce-cart table.shop_table { border: 1px solid var(--hd-line); border-radius: var(--hd-radius); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.woocommerce-cart table.shop_table th { font-family: var(--hd-sans); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--hd-muted); background: var(--hd-cream); padding: 16px; }
.woocommerce-cart table.shop_table td { padding: 20px 16px; border-top: 1px solid var(--hd-line); font-family: var(--hd-sans); }
.woocommerce-cart table.cart img { width: 84px; border-radius: 10px; }
.woocommerce-cart table.cart td.product-name a { font-family: var(--hd-serif); font-size: 22px; color: var(--hd-burgundy); text-decoration: none; }
.woocommerce-cart .cart_totals { background: linear-gradient(160deg, var(--hd-burgundy-dark), var(--hd-burgundy-deep)); color: #EADBD3; border-radius: var(--hd-radius); padding: 30px 28px; }
.woocommerce-cart .cart_totals h2 { font-family: var(--hd-serif); color: var(--hd-gold-soft); font-size: 30px; margin-bottom: 14px; }
.woocommerce-cart .cart_totals table.shop_table { border: 0; background: transparent; }
.woocommerce-cart .cart_totals table.shop_table th, .woocommerce-cart .cart_totals table.shop_table td { background: transparent; color: #EADBD3; border-color: rgba(233,197,138,.22); }
.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button { background: var(--hd-gold); color: var(--hd-burgundy-dark); }
.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button:hover { background: var(--hd-gold-soft); }
.hd-trust-cart { margin-top: 18px; }
.hd-trust-cart li { color: #EADBD3; }
.hd-trust-cart li::before { background: rgba(233,197,138,.18); color: var(--hd-gold-soft); }
.hd-continue { display: inline-block; margin-top: 18px; font-family: var(--hd-sans); font-size: 13px; letter-spacing: .08em; color: var(--hd-gold-soft); text-decoration: none; }
.woocommerce-cart .coupon input#coupon_code { border: 1px solid var(--hd-line); border-radius: 999px; padding: 13px 20px; min-width: 190px; }
.hd-empty { text-align: center; padding: 50px 10px 20px; }
.hd-empty .ic { color: var(--hd-gold); }
.hd-empty h2 { font-family: var(--hd-serif); color: var(--hd-burgundy); font-size: 40px; margin: 10px 0; }
.hd-empty p { color: var(--hd-muted); font-family: var(--hd-sans); }
.hd-empty .cats { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.hd-empty .cats a { border: 1px solid var(--hd-gold); color: var(--hd-burgundy); border-radius: 999px; padding: 12px 26px; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; text-decoration: none; transition: background .25s var(--hd-ease); }
.hd-empty .cats a:hover { background: var(--hd-gold); color: var(--hd-burgundy-dark); }
.hd-reco { margin-top: 70px; text-align: center; }
.hd-reco h2 { font-family: var(--hd-serif); color: var(--hd-burgundy); font-size: clamp(32px, 4vw, 44px); margin: 0 0 28px; }

/* ---------- checkout ---------- */
.woocommerce-checkout h3 { font-family: var(--hd-serif); font-size: 30px; color: var(--hd-burgundy); font-weight: 500; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container--default .select2-selection--single {
  border: 1px solid var(--hd-line); border-radius: 12px; padding: 13px 16px; font-family: var(--hd-sans); background: #fff; min-height: 50px; transition: border-color .25s var(--hd-ease), box-shadow .25s var(--hd-ease);
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: var(--hd-gold); box-shadow: 0 0 0 3px rgba(198,161,91,.2); outline: 0; }
.woocommerce form .form-row label { font-family: var(--hd-sans); font-size: 13px; letter-spacing: .04em; color: var(--hd-ink); }
.woocommerce-checkout #order_review { background: var(--hd-cream); border: 1px solid var(--hd-line); border-radius: var(--hd-radius); padding: 28px; }
.woocommerce-checkout #payment { background: transparent; border-radius: 12px; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--hd-line); }
.woocommerce-checkout #payment div.payment_box { background: #fff; border-radius: 10px; color: var(--hd-muted); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-checkout #payment #place_order { width: 100%; min-height: 56px; background: var(--hd-burgundy); }
.woocommerce-checkout #payment #place_order:hover { background: var(--hd-gold); color: var(--hd-burgundy-dark); }
.hd-ri { display: flex; align-items: center; gap: 14px; }
.hd-ri-img { position: relative; display: block; width: 58px; flex: none; }
.hd-ri-img img { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; border: 1px solid var(--hd-line); }
.hd-ri-img b { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--hd-burgundy); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 5px; font-weight: 500; }
.hd-ri-name { font-family: var(--hd-serif); font-size: 19px; color: var(--hd-burgundy); }
.hd-secure-note { margin: 14px 0 0; text-align: center; font-family: var(--hd-sans); font-size: 12.5px; color: var(--hd-muted); }
.hd-trust-co { margin-top: 18px; }

/* ---------- account ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--hd-line); border-radius: var(--hd-radius); overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 15px 20px; font-family: var(--hd-sans); letter-spacing: .06em; color: var(--hd-ink); border-bottom: 1px solid var(--hd-line); text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--hd-cream); color: var(--hd-burgundy); }

/* ---------- notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 12px; font-family: var(--hd-sans); }
