:root {
  --ua-orange: #ff5a1f;
  --ua-orange-dark: #e9430a;
  --ua-orange-soft: #fff0e9;
  --ua-navy: #111827;
  --ua-text: #1f2937;
  --ua-muted: #667085;
  --ua-border: #e8ebf0;
  --ua-bg: #f7f8fa;
  --ua-card: #ffffff;
  --ua-green: #12b76a;
  --ua-green-soft: #e9fbf1;
  --ua-purple: #7c3aed;
  --ua-blue: #2f80ed;
  --ua-gold: #f5a623;
  --ua-red: #ef4444;
  --ua-radius: 22px;
  --ua-shadow: 0 12px 35px rgba(17, 24, 39, .08);
  --ua-width: 1480px;
}

html { scroll-behavior: smooth; }
body.ua-app-shell {
  background: var(--ua-bg);
  color: var(--ua-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}
body.ua-app-shell .ct-header,
body.ua-app-shell #header,
body.ua-app-shell .ct-footer,
body.ua-app-shell footer#footer { display: none !important; }
body.ua-app-shell a { text-decoration: none; }
body.ua-modal-open { overflow: hidden; }
.ua-icon { display: block; flex: 0 0 auto; }
.ua-page-width,
.ua-header-inner,
.ua-footer-grid,
.ua-footer-bottom { width: min(calc(100% - 32px), var(--ua-width)); margin-inline: auto; }

/* App header */
.ua-site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(232,235,240,.9);
  backdrop-filter: blur(18px);
}
.admin-bar .ua-site-header { top: 32px; }
.ua-header-inner { padding: 16px 0 14px; }
.ua-header-top { display: flex; align-items: center; gap: 28px; min-height: 48px; }
.ua-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ua-navy); font-size: 22px; font-weight: 800; white-space: nowrap; }
.ua-brand img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 5px 10px rgba(255,90,31,.2)); }
.ua-brand strong { color: var(--ua-orange); }
.ua-desktop-nav { display: flex; align-items: center; gap: 26px; margin-left: 14px; }
.ua-desktop-nav a { color: var(--ua-text); font-weight: 700; font-size: 14px; }
.ua-desktop-nav a:hover { color: var(--ua-orange); }
.ua-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ua-header-actions > a,
.ua-mobile-heart,
.ua-currency-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ua-border);
  border-radius: 15px;
  background: #fff;
  color: var(--ua-navy);
  transition: .2s ease;
}
.ua-header-actions > a:hover,
.ua-mobile-heart:hover,
.ua-currency-button:hover { color: var(--ua-orange); border-color: rgba(255,90,31,.35); transform: translateY(-1px); }
.ua-currency-button { gap: 7px; cursor: pointer; font-size: 13px; }
.ua-cart-count {
  position: absolute;
  top: -7px;
  right: -6px;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--ua-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.ua-cart-count.has-items { display: inline-flex; }
.ua-header-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin-top: 12px; }
.ua-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1.5px solid #c9ced8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(17,24,39,.03);
}
.ua-search-form input { flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; font-size: 15px; color: var(--ua-text); padding: 0 !important; }
.ua-search-form button { border: 0; background: transparent; color: var(--ua-muted); padding: 6px; cursor: pointer; }
.ua-mobile-heart { display: none; }

/* Homepage */
.ua-home-main { padding: 22px 0 78px; }
.ua-hero-slider {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(115deg, #ff4e0b 0%, #ff6b2f 58%, #ffd4c4 100%);
  box-shadow: 0 20px 50px rgba(255,90,31,.22);
}
.ua-hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 24px;
  padding: 44px 52px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition: opacity .55s ease, transform .55s ease, visibility .55s;
}
.ua-hero-slide.is-active { opacity: 1; visibility: visible; transform: translateX(0); }
.ua-hero-slide:nth-child(2) { background: linear-gradient(115deg, #111827 0%, #25314a 52%, #ff7a45 100%); }
.ua-hero-slide:nth-child(3) { background: linear-gradient(115deg, #6c3cf0 0%, #9c68ff 50%, #ffc8b5 100%); }
.ua-hero-eyebrow { display: inline-flex; padding: 7px 11px; border-radius: 9px; background: rgba(255,255,255,.19); font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.ua-hero-copy h1 { margin: 14px 0 10px; color: #fff; font-size: clamp(42px, 5vw, 78px); line-height: .94; letter-spacing: -.045em; font-weight: 900; }
.ua-hero-copy h1 em { color: #ffe06b; font-style: normal; }
.ua-hero-copy p { max-width: 540px; margin: 0 0 23px; color: rgba(255,255,255,.92); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.45; }
.ua-hero-button { display: inline-flex; align-items: center; gap: 12px; padding: 14px 19px; border-radius: 13px; background: #fff; color: var(--ua-orange); font-weight: 900; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.ua-hero-products { position: relative; height: 330px; }
.ua-hero-offer { position: absolute; z-index: 5; top: 12px; right: 8px; max-width: 112px; padding: 13px 14px; border-radius: 18px; background: #7651dc; color: #fff; font-size: 15px; line-height: 1.05; text-align: center; font-weight: 900; box-shadow: 0 12px 28px rgba(49,29,102,.25); }
.ua-hero-product { position: absolute; display: block; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 24px 48px rgba(48,23,12,.25); transition: .25s ease; }
.ua-hero-product:hover { transform: translateY(-6px) rotate(0) !important; }
.ua-hero-product img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.ua-hero-product-1 { left: 5%; bottom: 5%; width: 42%; height: 70%; transform: rotate(-5deg); }
.ua-hero-product-2 { left: 38%; top: 3%; width: 36%; height: 62%; transform: rotate(4deg); }
.ua-hero-product-3 { right: 1%; bottom: 0; width: 33%; height: 55%; transform: rotate(-2deg); }
.ua-slider-dots { position: absolute; z-index: 10; left: 50%; bottom: 16px; display: flex; gap: 8px; transform: translateX(-50%); }
.ua-slider-dots button { width: 9px; height: 9px; border: 0; border-radius: 999px; padding: 0; background: rgba(255,255,255,.43); cursor: pointer; transition: .2s; }
.ua-slider-dots button.is-active { width: 26px; background: #fff; }
.ua-trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; padding: 14px; border: 1px solid var(--ua-border); border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(17,24,39,.04); }
.ua-trust-strip > div { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
.ua-trust-strip strong, .ua-trust-strip small { display: block; }
.ua-trust-strip strong { color: var(--ua-navy); font-size: 14px; }
.ua-trust-strip small { margin-top: 2px; color: var(--ua-muted); font-size: 12px; }
.ua-trust-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; }
.ua-green { color: #118b50; background: #e8f9ef; }
.ua-purple { color: #7c3aed; background: #f1eaff; }
.ua-blue { color: #2f80ed; background: #e9f3ff; }
.ua-gold { color: #e8950b; background: #fff5d9; }
.ua-red { color: #e23838; background: #ffeded; }
.ua-orange { color: var(--ua-orange); background: var(--ua-orange-soft); }
.ua-category-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 15px; margin: 24px 0; }
.ua-category-strip > a { display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 0; color: var(--ua-text); text-align: center; font-size: 13px; }
.ua-category-image { display: block; width: 82px; height: 82px; overflow: hidden; border-radius: 50%; background: linear-gradient(145deg,#fff0eb,#f2f5ff); box-shadow: inset 0 0 0 1px rgba(17,24,39,.04), 0 9px 20px rgba(17,24,39,.05); }
.ua-category-image img { width: 100%; height: 100%; object-fit: cover; transition: .25s ease; }
.ua-category-strip > a:hover img { transform: scale(1.08); }
.ua-category-image.ua-more { display: flex; align-items: center; justify-content: center; color: var(--ua-muted); }
.ua-quick-links { display: grid; grid-template-columns: repeat(6, 1fr); overflow: hidden; margin: 20px 0 28px; border: 1px solid var(--ua-border); border-radius: 20px; background: #fff; }
.ua-quick-links a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 105px; padding: 13px; color: var(--ua-text); border-right: 1px solid var(--ua-border); text-align: center; }
.ua-quick-links a:last-child { border-right: 0; }
.ua-quick-links a:hover { background: #fffaf8; color: var(--ua-orange); }
.ua-quick-icon { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 14px; }
.ua-quick-links strong { font-size: 13px; }
.ua-deal-heading, .ua-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 30px 0 13px; }
.ua-deal-heading h2, .ua-section-heading h2 { margin: 0; color: var(--ua-navy); font-size: 25px; letter-spacing: -.025em; }
.ua-deal-heading > span { padding: 8px 12px; border-radius: 10px; background: var(--ua-orange-soft); color: var(--ua-orange-dark); font-size: 13px; }
.ua-section-heading > a { display: inline-flex; align-items: center; gap: 4px; color: var(--ua-orange); font-weight: 800; font-size: 13px; }
.ua-product-section { margin: 0 0 34px; }
.ua-product-section.ua-section-deals .ua-section-heading { display: none; }
.ua-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.ua-product-card { min-width: 0; overflow: hidden; border: 1px solid var(--ua-border); border-radius: 18px; background: var(--ua-card); box-shadow: 0 7px 22px rgba(17,24,39,.035); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.ua-product-card:hover { transform: translateY(-4px); border-color: rgba(255,90,31,.24); box-shadow: 0 18px 36px rgba(17,24,39,.09); }
.ua-product-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: linear-gradient(145deg,#fafafa,#f0f2f5); }
.ua-product-media > a:not(.ua-product-heart) { display: block; width: 100%; height: 100%; }
.ua-product-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .3s ease; }
.ua-product-card:hover .ua-product-media img { transform: scale(1.035); }
.ua-product-badge { position: absolute; z-index: 3; top: 10px; left: 10px; max-width: calc(100% - 60px); padding: 5px 8px; border-radius: 7px; background: #ffc83d; color: #4b3700; font-size: 11px; font-weight: 900; }
.ua-product-badge-sale { background: #ef4444; color: #fff; }
.ua-product-heart { position: absolute; z-index: 4; top: 9px; right: 9px; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ua-navy); box-shadow: 0 5px 14px rgba(17,24,39,.09); }
.ua-product-heart:hover { color: var(--ua-orange); }
.ua-product-body { padding: 12px 13px 13px; }
.ua-product-title { display: -webkit-box; min-height: 40px; overflow: hidden; color: var(--ua-navy); font-size: 14px; line-height: 1.35; font-weight: 800; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ua-product-subtitle { overflow: hidden; margin-top: 3px; color: var(--ua-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ua-product-price { margin-top: 8px; color: var(--ua-orange); font-size: 18px; line-height: 1.1; font-weight: 900; }
.ua-product-price del { color: #9aa2af; font-size: 12px; font-weight: 500; }
.ua-product-price ins { text-decoration: none; }
.ua-product-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-height: 20px; margin-top: 7px; color: #858d99; font-size: 11px; }
.ua-product-rating { color: #f59e0b; font-weight: 800; }
.ua-product-footer { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 10px; }
.ua-free-shipping { display: inline-flex; align-items: center; gap: 4px; min-width: 0; color: var(--ua-green); font-size: 11px; font-weight: 800; }
.ua-add-cart.button { display: inline-flex !important; align-items: center; justify-content: center; width: 48px; min-width: 48px; height: 34px; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 11px !important; background: var(--ua-orange) !important; color: #fff !important; box-shadow: none !important; }
.ua-add-cart.button:hover { background: var(--ua-orange-dark) !important; }

/* Site footer */
.ua-site-footer { position: relative; z-index: 3; padding: 58px 0 24px; background: var(--ua-navy); color: #fff; }
.ua-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; }
.ua-site-footer .ua-brand { color: #fff; }
.ua-footer-brand p { max-width: 480px; color: #aeb8c8; line-height: 1.7; }
.ua-site-footer h3 { margin: 5px 0 15px; color: #fff; font-size: 15px; }
.ua-site-footer a:not(.ua-brand) { display: block; margin: 9px 0; color: #aeb8c8; font-size: 14px; }
.ua-site-footer a:hover { color: #fff; }
.ua-footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.11); color: #8490a3; font-size: 12px; }

/* Currency modal & toast */
.ua-modal { position: fixed; z-index: 9998; inset: 0; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; visibility: hidden; }
.ua-modal.is-open { pointer-events: auto; visibility: visible; }
.ua-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(9,14,24,.54); opacity: 0; transition: .25s; }
.ua-modal.is-open .ua-modal-backdrop { opacity: 1; }
.ua-modal-card { position: relative; width: min(650px, calc(100% - 24px)); max-height: min(760px, calc(100vh - 40px)); overflow: hidden; padding: 18px; border-radius: 28px 28px 0 0; background: #fff; transform: translateY(105%); transition: .3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -20px 60px rgba(0,0,0,.18); }
.ua-modal.is-open .ua-modal-card { transform: translateY(0); }
.ua-modal-handle { width: 48px; height: 5px; margin: 0 auto 14px; border-radius: 99px; background: #d6d9df; }
.ua-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ua-modal-header h2 { margin: 4px 0 0; color: var(--ua-navy); font-size: 24px; }
.ua-eyebrow { color: var(--ua-orange); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.ua-modal-header > button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--ua-border); border-radius: 13px; background: #fff; color: var(--ua-navy); cursor: pointer; }
.ua-currency-search { display: flex; align-items: center; gap: 9px; margin: 16px 0 10px; padding: 0 13px; border: 1px solid var(--ua-border); border-radius: 14px; background: var(--ua-bg); }
.ua-currency-search input { flex: 1; height: 45px; border: 0 !important; box-shadow: none !important; outline: 0 !important; background: transparent !important; padding: 0 !important; }
.ua-currency-list { max-height: 520px; overflow: auto; padding-right: 3px; }
.ua-currency-option { display: grid; grid-template-columns: 48px 1fr 34px; align-items: center; gap: 11px; width: 100%; padding: 10px 8px; border: 0; border-bottom: 1px solid var(--ua-border); background: #fff; color: var(--ua-text); text-align: left; cursor: pointer; }
.ua-currency-option:hover { background: #fffaf8; }
.ua-currency-flag { font-size: 28px; }
.ua-currency-option strong, .ua-currency-option small { display: block; }
.ua-currency-option strong { font-size: 14px; }
.ua-currency-option small { margin-top: 2px; color: var(--ua-muted); font-size: 12px; }
.ua-currency-check { display: none; align-items: center; justify-content: center; width: 29px; height: 29px; border-radius: 50%; background: var(--ua-green); color: #fff; }
.ua-currency-option.is-selected .ua-currency-check { display: flex; }
.ua-currency-option.is-selected { background: var(--ua-green-soft); }
.ua-currency-option.is-loading { opacity: .58; pointer-events: none; }
.ua-toast { position: fixed; z-index: 10000; left: 50%; bottom: 28px; display: flex; align-items: center; gap: 9px; max-width: min(430px, calc(100% - 30px)); padding: 13px 16px; border-radius: 15px; background: #0e9f5b; color: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 16px 35px rgba(18,183,106,.3); opacity: 0; visibility: hidden; transform: translate(-50%, 16px); transition: .25s; }
.ua-toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ua-toast.is-success { background: #0e9f5b; box-shadow: 0 16px 35px rgba(18,183,106,.3); }
.ua-toast.is-error { background: #d92d20; box-shadow: 0 16px 35px rgba(217,45,32,.28); }
.ua-toast.is-error .ua-toast-icon { background: rgba(255,255,255,.22); }
.ua-toast-icon { display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 50%; background: rgba(255,255,255,.2); }

/* WooCommerce shared */
.ua-app-shell .site-main,
.ua-app-shell .ct-container-full,
.ua-app-shell .ct-container { max-width: var(--ua-width); }
.ua-app-shell .entry-content > .woocommerce,
.ua-app-shell .woocommerce-notices-wrapper,
.ua-app-shell .ct-woo-card-actions { font-family: inherit; }
.ua-app-shell .woocommerce-message,
.ua-app-shell .woocommerce-info,
.ua-app-shell .woocommerce-error { border: 0; border-radius: 15px; background: #fff; box-shadow: var(--ua-shadow); }
.ua-app-shell .button,
.ua-app-shell button[type="submit"],
.ua-app-shell .checkout-button { border-radius: 14px !important; background: var(--ua-orange) !important; color: #fff !important; font-weight: 900 !important; }
.ua-app-shell .button:hover,
.ua-app-shell button[type="submit"]:hover,
.ua-app-shell .checkout-button:hover { background: var(--ua-orange-dark) !important; }
.ua-app-shell input,
.ua-app-shell select,
.ua-app-shell textarea { border-color: var(--ua-border); border-radius: 12px; }
.ua-checkout-assurance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 18px; padding: 12px; border: 1px solid var(--ua-border); border-radius: 18px; background: #fff; }
.ua-checkout-assurance > div { display: flex; align-items: center; gap: 9px; color: var(--ua-green); }
.ua-checkout-assurance strong, .ua-checkout-assurance small { display: block; }
.ua-checkout-assurance strong { color: var(--ua-navy); font-size: 13px; }
.ua-checkout-assurance small { margin-top: 2px; color: var(--ua-muted); font-size: 11px; }

/* Product archive */
.ua-app-shell.post-type-archive-product ul.products,
.ua-app-shell.tax-product_cat ul.products,
.ua-app-shell.search-results ul.products { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.ua-app-shell ul.products li.product { overflow: hidden; margin: 0 !important; border: 1px solid var(--ua-border); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(17,24,39,.04); }
.ua-app-shell ul.products li.product .ct-image-container { background: linear-gradient(145deg,#fafafa,#f0f2f5); }
.ua-app-shell ul.products li.product .woocommerce-loop-product__title { padding-inline: 12px; font-size: 14px; }
.ua-app-shell ul.products li.product .price { padding-inline: 12px; color: var(--ua-orange); font-weight: 900; }
.ua-app-shell ul.products li.product .button { margin: 0 12px 12px !important; }

/* Product page */
.ua-app-shell.single-product div.product { padding: 18px; border: 1px solid var(--ua-border); border-radius: 24px; background: #fff; box-shadow: 0 10px 34px rgba(17,24,39,.05); }
.ua-app-shell.single-product .woocommerce-product-gallery { overflow: hidden; border-radius: 20px; background: var(--ua-bg); }
.ua-app-shell.single-product .summary .price { color: var(--ua-orange); font-size: 28px; font-weight: 900; }
.ua-app-shell.single-product .product_title { color: var(--ua-navy); font-size: clamp(26px,3vw,42px); line-height: 1.08; }
.ua-app-shell.single-product form.cart { padding: 15px; border-radius: 17px; background: var(--ua-bg); }
.ua-product-promises { display: grid; gap: 8px; margin-top: 15px; }
.ua-product-promises > div { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--ua-border); border-radius: 13px; color: var(--ua-orange); }
.ua-product-promises strong, .ua-product-promises small { display: block; }
.ua-product-promises strong { color: var(--ua-navy); font-size: 13px; }
.ua-product-promises small { color: var(--ua-muted); font-size: 11px; }

/* Cart */
.ua-app-shell.woocommerce-cart .woocommerce { width: min(calc(100% - 32px), 1180px); margin: 28px auto 70px; }
.ua-app-shell.woocommerce-cart .woocommerce-cart-form,
.ua-app-shell.woocommerce-cart .cart-collaterals { padding: 18px; border: 1px solid var(--ua-border); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(17,24,39,.05); }
.ua-app-shell.woocommerce-cart table.shop_table { border: 0; }
.ua-app-shell.woocommerce-cart table.shop_table th { color: var(--ua-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.ua-app-shell.woocommerce-cart table.shop_table td { border-top: 1px solid var(--ua-border); }
.ua-app-shell.woocommerce-cart .product-thumbnail img { width: 110px; border-radius: 16px; background: var(--ua-bg); }
.ua-app-shell.woocommerce-cart .product-name a { color: var(--ua-navy); font-weight: 850; }
.ua-app-shell.woocommerce-cart .cart_totals h2 { color: var(--ua-navy); }
.ua-app-shell.woocommerce-cart .wc-proceed-to-checkout .checkout-button { display: flex; align-items: center; justify-content: center; min-height: 56px; font-size: 17px !important; }

/* Checkout */
.ua-app-shell.woocommerce-checkout .woocommerce { width: min(calc(100% - 32px), 1180px); margin: 28px auto 70px; }
.ua-app-shell.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr); gap: 20px; }
.ua-app-shell.woocommerce-checkout #customer_details,
.ua-app-shell.woocommerce-checkout #order_review { padding: 20px; border: 1px solid var(--ua-border); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(17,24,39,.05); }
.ua-app-shell.woocommerce-checkout #order_review_heading { display: none; }
.ua-app-shell.woocommerce-checkout #place_order { width: 100%; min-height: 56px; font-size: 17px; }

/* Account */
.ua-app-shell.woocommerce-account .woocommerce { width: min(calc(100% - 32px), 1180px); margin: 28px auto 80px; }
.ua-account-intro { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 280px; overflow: hidden; margin-bottom: 20px; padding: 34px; border-radius: 26px; background: linear-gradient(120deg,#fff3ed,#ffe3d6 60%,#f4e6ff); }
.ua-account-copy h2 { margin: 7px 0 10px; color: var(--ua-navy); font-size: clamp(32px,4vw,52px); line-height: 1.05; }
.ua-account-copy p { max-width: 540px; color: var(--ua-muted); font-size: 16px; line-height: 1.55; }
.ua-account-visual { position: relative; min-height: 240px; }
.ua-account-visual img { position: absolute; z-index: 2; right: 14%; top: 50%; width: 190px; transform: translateY(-50%) rotate(-6deg); filter: drop-shadow(0 22px 28px rgba(255,90,31,.2)); }
.ua-orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.ua-orb-one { width: 210px; height: 210px; right: 7%; top: 12%; background: rgba(255,255,255,.7); }
.ua-orb-two { width: 90px; height: 90px; left: 13%; bottom: 4%; background: rgba(255,144,99,.22); }
.ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation { width: 26%; padding: 12px; border: 1px solid var(--ua-border); border-radius: 20px; background: #fff; }
.ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 13px; border-radius: 12px; color: var(--ua-text); font-weight: 750; }
.ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--ua-orange-soft); color: var(--ua-orange); }
.ua-app-shell.woocommerce-account .woocommerce-MyAccount-content { width: 71%; padding: 20px; border: 1px solid var(--ua-border); border-radius: 22px; background: #fff; }
.ua-account-shortcuts { display: grid; gap: 0; margin-top: 18px; border: 1px solid var(--ua-border); border-radius: 18px; overflow: hidden; }
.ua-account-shortcuts a { display: grid; grid-template-columns: 46px 1fr 20px; align-items: center; gap: 11px; padding: 12px; border-bottom: 1px solid var(--ua-border); color: var(--ua-text); }
.ua-account-shortcuts a:last-child { border-bottom: 0; }
.ua-account-shortcuts a:hover { background: #fffaf8; }
.ua-account-shortcut-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; background: var(--ua-orange-soft); color: var(--ua-orange); }
.ua-account-shortcuts strong, .ua-account-shortcuts small { display: block; }
.ua-account-shortcuts strong { color: var(--ua-navy); font-size: 14px; }
.ua-account-shortcuts small { margin-top: 2px; color: var(--ua-muted); font-size: 12px; }

.ua-mobile-nav { display: none; }

@media (min-width: 1200px) {
  .ua-product-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
}

@media (max-width: 1024px) {
  .ua-desktop-nav { display: none; }
  .ua-hero-slider { min-height: 390px; }
  .ua-hero-slide { padding: 36px; }
  .ua-category-strip { grid-template-columns: repeat(4,1fr); }
  .ua-quick-links { grid-template-columns: repeat(3,1fr); }
  .ua-quick-links a:nth-child(3n) { border-right: 0; }
  .ua-quick-links a:nth-child(-n+3) { border-bottom: 1px solid var(--ua-border); }
  .ua-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ua-app-shell.post-type-archive-product ul.products,
  .ua-app-shell.tax-product_cat ul.products,
  .ua-app-shell.search-results ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ua-checkout-assurance { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 782px) {
  .admin-bar .ua-site-header { top: 46px; }
}

@media (max-width: 767px) {
  body.ua-app-shell { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  .ua-page-width,
  .ua-header-inner,
  .ua-footer-grid,
  .ua-footer-bottom { width: min(calc(100% - 24px), var(--ua-width)); }
  .ua-site-header { position: relative; }
  .ua-header-inner { padding: 12px 0; }
  .ua-header-top { min-height: 44px; }
  .ua-brand { font-size: 19px; gap: 8px; }
  .ua-brand img { width: 34px; height: 34px; }
  .ua-header-actions > a:not(.ua-header-cart),
  .ua-currency-button strong,
  .ua-header-account { display: none; }
  .ua-currency-button { min-width: 41px; width: 41px; padding: 0; border: 0; font-size: 19px; }
  .ua-header-cart { border: 0 !important; padding: 0 !important; min-width: 40px !important; }
  .ua-header-search-row { margin-top: 10px; }
  .ua-search-form { height: 48px; border-radius: 16px; }
  .ua-mobile-heart { display: inline-flex; width: 48px; height: 48px; border-radius: 16px; padding: 0; }
  .ua-home-main { padding: 12px 0 96px; }
  .ua-hero-slider { min-height: 290px; border-radius: 22px; }
  .ua-hero-slide { grid-template-columns: 1.05fr .95fr; gap: 6px; padding: 24px 20px 34px; }
  .ua-hero-copy h1 { margin: 10px 0 8px; font-size: clamp(34px,10vw,53px); }
  .ua-hero-copy p { max-width: 330px; margin-bottom: 16px; font-size: 13px; }
  .ua-hero-button { padding: 11px 14px; border-radius: 11px; font-size: 13px; }
  .ua-hero-products { height: 230px; }
  .ua-hero-offer { top: 0; right: 0; max-width: 84px; padding: 9px; border-radius: 13px; font-size: 11px; }
  .ua-hero-product { border-radius: 16px; }
  .ua-hero-product img { padding: 6px; font-size: 0; color: transparent; }
  .ua-hero-product-1 { left: 0; bottom: 6%; width: 58%; height: 62%; }
  .ua-hero-product-2 { left: 40%; top: 19%; width: 47%; height: 50%; }
  .ua-hero-product-3 { right: -8%; bottom: 2%; width: 47%; height: 43%; }
  .ua-trust-strip { grid-template-columns: repeat(4, minmax(120px,1fr)); overflow-x: auto; justify-content: start; padding: 11px; border-radius: 17px; scrollbar-width: none; }
  .ua-trust-strip::-webkit-scrollbar { display: none; }
  .ua-trust-strip > div { justify-content: flex-start; }
  .ua-trust-icon { width: 34px; height: 34px; }
  .ua-trust-strip strong { font-size: 11px; }
  .ua-trust-strip small { font-size: 9px; }
  .ua-category-strip { display: flex; gap: 13px; overflow-x: auto; margin: 19px 0; padding-bottom: 4px; scrollbar-width: none; }
  .ua-category-strip::-webkit-scrollbar { display: none; }
  .ua-category-strip > a { flex: 0 0 67px; font-size: 11px; }
  .ua-category-image { width: 62px; height: 62px; }
  .ua-quick-links { grid-template-columns: repeat(6, minmax(85px,1fr)); overflow-x: auto; border-radius: 16px; scrollbar-width: none; }
  .ua-quick-links::-webkit-scrollbar { display: none; }
  .ua-quick-links a { min-height: 88px; border-bottom: 0 !important; }
  .ua-quick-icon { width: 38px; height: 38px; border-radius: 12px; }
  .ua-quick-links strong { font-size: 10px; }
  .ua-deal-heading, .ua-section-heading { margin: 23px 0 10px; }
  .ua-deal-heading h2, .ua-section-heading h2 { font-size: 19px; }
  .ua-deal-heading > span { padding: 6px 8px; font-size: 10px; }
  .ua-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .ua-product-card { border-radius: 14px; }
  .ua-product-body { padding: 9px 9px 10px; }
  .ua-product-title { min-height: 35px; font-size: 12px; }
  .ua-product-subtitle { font-size: 10px; }
  .ua-product-price { font-size: 16px; }
  .ua-product-meta { font-size: 9px; }
  .ua-free-shipping { font-size: 9px; }
  .ua-add-cart.button { width: 45px; min-width: 45px; height: 31px; }
  .ua-site-footer { padding: 38px 0 95px; }
  .ua-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .ua-footer-brand { grid-column: 1 / -1; }
  .ua-footer-bottom { flex-direction: column; margin-top: 27px; }
  .ua-mobile-nav { position: fixed; z-index: 9990; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5,1fr); min-height: 67px; padding: 7px 8px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ua-border); background: rgba(255,255,255,.97); box-shadow: 0 -8px 28px rgba(17,24,39,.08); backdrop-filter: blur(16px); }
  .ua-mobile-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #5f6773; font-size: 9px; font-weight: 800; }
  .ua-mobile-nav a.is-active { color: var(--ua-orange); }
  .ua-mobile-nav .ua-cart-count { top: 0; right: 25%; }
  .ua-toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
  .ua-modal-card { width: 100%; max-height: 86vh; border-radius: 24px 24px 0 0; }
  .ua-currency-list { max-height: 62vh; }
  .ua-app-shell.post-type-archive-product ul.products,
  .ua-app-shell.tax-product_cat ul.products,
  .ua-app-shell.search-results ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .ua-checkout-assurance { display: flex; overflow-x: auto; padding: 10px; scrollbar-width: none; }
  .ua-checkout-assurance::-webkit-scrollbar { display: none; }
  .ua-checkout-assurance > div { flex: 0 0 155px; }
  .ua-app-shell.woocommerce-cart .woocommerce-cart-form,
  .ua-app-shell.woocommerce-cart .cart-collaterals { padding: 12px; border-radius: 18px; }
  .ua-app-shell.woocommerce-cart table.shop_table,
  .ua-app-shell.woocommerce-cart table.shop_table tbody,
  .ua-app-shell.woocommerce-cart table.shop_table tr,
  .ua-app-shell.woocommerce-cart table.shop_table td { display: block; width: 100%; }
  .ua-app-shell.woocommerce-cart table.shop_table thead { display: none; }
  .ua-app-shell.woocommerce-cart table.shop_table tr.cart_item { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--ua-border); }
  .ua-app-shell.woocommerce-cart table.shop_table td { padding: 3px 0; border: 0; }
  .ua-app-shell.woocommerce-cart table.shop_table td.product-remove { position: absolute; top: 11px; right: 0; z-index: 2; width: auto; }
  .ua-app-shell.woocommerce-cart table.shop_table td.product-thumbnail { grid-row: 1 / span 5; }
  .ua-app-shell.woocommerce-cart table.shop_table td.product-thumbnail img { width: 100%; }
  .ua-app-shell.woocommerce-cart table.shop_table td.product-price:before,
  .ua-app-shell.woocommerce-cart table.shop_table td.product-subtotal:before { display: none; }
  .ua-app-shell.woocommerce-checkout form.checkout { display: block; }
  .ua-app-shell.woocommerce-checkout #customer_details,
  .ua-app-shell.woocommerce-checkout #order_review { margin-bottom: 14px; padding: 14px; border-radius: 18px; }
  .ua-account-intro { grid-template-columns: 1fr; min-height: 250px; padding: 24px 20px; }
  .ua-account-visual { display: none; }
  .ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation,
  .ua-app-shell.woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
  .ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 13px; overflow-x: auto; }
  .ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; gap: 5px; }
  .ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
  .ua-app-shell.woocommerce-account .woocommerce-MyAccount-content { padding: 14px; }
}

@media (max-width: 480px) {
  .ua-hero-slider { min-height: 270px; }
  .ua-hero-slide { padding: 20px 15px 32px; }
  .ua-hero-copy h1 { font-size: 34px; }
  .ua-hero-copy p { max-width: 220px; font-size: 11px; }
  .ua-hero-products { height: 205px; }
  .ua-product-price { font-size: 15px; }
  .ua-footer-grid { grid-template-columns: 1fr; }
  .ua-footer-brand { grid-column: auto; }
}

/* v1.1 live-site corrections */
.ua-app-shell main, .ua-app-shell .site-main { min-height: 40vh; }
.ua-app-shell img { max-width: 100%; }
.ua-product-media img, .ua-hero-product img { color: transparent; font-size: 0; }
@media (max-width: 767px) {
  .ua-mobile-nav { min-height: 74px; }
  .ua-app-shell .site-main, .ua-app-shell .ct-container, .ua-app-shell .ct-container-full { padding-bottom: 96px; }
  .ua-app-shell.post-type-archive-product .site-main, .ua-app-shell.tax-product_cat .site-main { padding-bottom: 116px; }
}


/* v1.3 storefront refresh */
.ua-promo-marquee {
  display:flex;
  gap:14px;
  align-items:center;
  overflow:hidden;
  margin: 4px 0 16px;
  padding: 12px 14px;
  border:1px solid var(--ua-border);
  border-radius: 18px;
  background: linear-gradient(90deg,#fff7f2,#fff,#fff9f1);
  white-space: nowrap;
}
.ua-promo-marquee span {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding-right:14px;
  font-size:12px;
  font-weight:800;
  color:var(--ua-navy);
  animation: ua-marquee 24s linear infinite;
}
.ua-promo-marquee span:before {
  content:'✦';
  color:var(--ua-orange);
}
@keyframes ua-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

.ua-promo-panels {
  display:grid;
  grid-template-columns: 1.3fr .85fr .85fr;
  gap:16px;
  margin: 0 0 20px;
}
.ua-promo-panel {
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:138px;
  padding:20px;
  border-radius:22px;
  background:linear-gradient(135deg,#fff3ed,#fff);
  border:1px solid var(--ua-border);
  box-shadow:0 10px 30px rgba(17,24,39,.05);
  transition:transform .2s ease, box-shadow .2s ease;
}
.ua-promo-panel:hover { transform: translateY(-3px); box-shadow:0 18px 34px rgba(17,24,39,.08); }
.ua-promo-panel small { color:var(--ua-orange); font-weight:900; letter-spacing:.08em; }
.ua-promo-panel strong { color:var(--ua-navy); font-size:26px; line-height:1.05; }
.ua-promo-panel span { color:var(--ua-muted); font-size:14px; }
.ua-promo-panel-main { background:linear-gradient(135deg,#ff6f35,#ff8858 52%,#ffd3c1); }
.ua-promo-panel-main small, .ua-promo-panel-main strong, .ua-promo-panel-main span { color:#fff; }

.ua-section-deals .ua-section-heading { display:none; }
.ua-category-strip > a strong { color:var(--ua-navy); }
.ua-category-image img { width:100%; height:100%; object-fit:cover; }
.ua-category-image.ua-more { display:flex; align-items:center; justify-content:center; background:var(--ua-orange-soft); color:var(--ua-orange); }

.ua-catalog-main { padding: 8px 0 54px; }
.ua-catalog-shell {
  display:grid;
  grid-template-columns: 240px minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.ua-catalog-sidebar {
  position:sticky;
  top:104px;
  padding:16px 12px;
  border:1px solid var(--ua-border);
  border-radius:24px;
  background:#fff;
  box-shadow:0 10px 28px rgba(17,24,39,.05);
}
.ua-catalog-sidebar-head { margin-bottom:12px; }
.ua-catalog-sidebar-head strong { display:block; color:var(--ua-navy); font-size:18px; }
.ua-catalog-sidebar-head small { color:var(--ua-muted); }
.ua-catalog-nav { display:grid; gap:6px; }
.ua-catalog-nav a {
  display:grid;
  grid-template-columns: 42px 1fr;
  gap:10px;
  align-items:center;
  padding:9px;
  border-radius:16px;
  color:var(--ua-text);
  font-weight:750;
}
.ua-catalog-nav a:hover, .ua-catalog-nav a.is-active { background:#fff6f1; color:var(--ua-orange); }
.ua-catalog-nav-thumb, .ua-catalog-nav-icon {
  display:flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:14px; overflow:hidden; background:#f5f5f6;
}
.ua-catalog-nav-thumb img { width:100%; height:100%; object-fit:cover; }
.ua-catalog-content { display:grid; gap:18px; }
.ua-catalog-hero {
  display:grid; grid-template-columns: 1.15fr .85fr; gap:18px; padding:24px; border-radius:28px; overflow:hidden;
  background:linear-gradient(135deg,#fff2ea,#fff,#f8eeff);
  border:1px solid var(--ua-border);
}
.ua-catalog-hero-copy h1 { margin:10px 0 10px; color:var(--ua-navy); font-size:clamp(32px,4vw,50px); line-height:1.02; }
.ua-catalog-hero-copy p { max-width:620px; color:var(--ua-muted); font-size:15px; line-height:1.6; }
.ua-catalog-hero-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.ua-catalog-hero-tags span, .ua-toolbar-pill {
  display:inline-flex; align-items:center; padding:8px 12px; border-radius:999px; background:#fff; border:1px solid var(--ua-border); color:var(--ua-navy); font-size:12px; font-weight:800;
}
.ua-catalog-hero-card {
  display:flex; flex-direction:column; justify-content:center; gap:10px; min-height:230px; padding:24px; border-radius:24px;
  background:linear-gradient(135deg,#ff6f35,#ff8858 55%,#d6b6ff);
  color:#fff; box-shadow:0 22px 36px rgba(255,90,31,.18);
}
.ua-catalog-hero-card small { font-weight:900; letter-spacing:.1em; color:#fff7ef; }
.ua-catalog-hero-card strong { font-size:clamp(24px,3vw,34px); line-height:1.08; }
.ua-catalog-hero-card p { margin:0; color:rgba(255,255,255,.9); }
.ua-catalog-hero-card a { display:inline-flex; align-items:center; gap:8px; margin-top:6px; color:#fff; font-weight:900; }
.ua-category-board, .ua-catalog-products {
  padding:20px; border-radius:24px; border:1px solid var(--ua-border); background:#fff; box-shadow:0 10px 28px rgba(17,24,39,.05);
}
.ua-category-board-grid {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px;
}
.ua-category-board-card {
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px; padding:16px 12px;
  border-radius:18px; background:#fff; border:1px solid var(--ua-border); transition:transform .2s ease, box-shadow .2s ease;
}
.ua-category-board-card:hover { transform:translateY(-3px); box-shadow:0 16px 28px rgba(17,24,39,.06); }
.ua-category-board-image { width:126px; height:126px; border-radius:26px; overflow:hidden; background:#fafafa; }
.ua-category-board-image img { width:100%; height:100%; object-fit:contain; }
.ua-category-board-card strong { color:var(--ua-navy); font-size:15px; }
.ua-category-board-card small { color:var(--ua-muted); }
.ua-catalog-toolbar {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin-bottom:18px;
}
.ua-catalog-toolbar .woocommerce-result-count { margin:0; color:var(--ua-muted); }
.ua-catalog-toolbar-right { display:flex; align-items:center; gap:12px; }
.ua-catalog-toolbar .orderby { min-height:44px; min-width:180px; }
.ua-catalog-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.ua-catalog-pagination { margin-top:20px; }
.ua-catalog-pagination .page-numbers { display:flex; gap:8px; justify-content:center; list-style:none; padding:0; }
.ua-catalog-pagination .page-numbers a, .ua-catalog-pagination .page-numbers span {
  display:flex; align-items:center; justify-content:center; min-width:42px; height:42px; padding:0 14px; border-radius:13px; border:1px solid var(--ua-border); background:#fff; color:var(--ua-navy); font-weight:800;
}
.ua-catalog-pagination .page-numbers .current { background:var(--ua-orange); color:#fff; border-color:var(--ua-orange); }

.ua-product-banner {
  display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-bottom:14px; padding:12px 14px;
  border:1px solid var(--ua-border); border-radius:16px; background:linear-gradient(135deg,#fff4ef,#fff);
}
.ua-product-banner span, .ua-product-banner strong, .ua-product-banner small { display:block; }
.ua-product-banner span { padding:6px 10px; border-radius:999px; background:#fff; color:var(--ua-orange); font-size:11px; font-weight:900; letter-spacing:.08em; }
.ua-product-banner strong { color:var(--ua-navy); font-size:14px; }
.ua-product-banner small { color:var(--ua-muted); font-size:12px; }
.ua-product-meta-chips { display:flex; flex-wrap:wrap; gap:10px; margin:10px 0 16px; }
.ua-product-meta-chips span {
  display:inline-flex; align-items:center; gap:6px; padding:8px 11px; border-radius:999px; background:#fff7f2; color:var(--ua-navy); font-size:12px; font-weight:800;
}
.ua-app-shell.single-product div.product { display:grid; grid-template-columns:minmax(0,1.03fr) minmax(360px,.97fr); gap:24px; }
.ua-app-shell.single-product .summary { position:sticky; top:104px; align-self:start; }
.ua-app-shell.single-product .woocommerce-product-gallery__wrapper img { border-radius:18px; }
.ua-app-shell.single-product .flex-control-thumbs { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:12px; }
.ua-app-shell.single-product .flex-control-thumbs img { border-radius:14px; background:#fff; }
.ua-app-shell.single-product .summary .product_meta {
  margin-top:14px; padding-top:14px; border-top:1px solid var(--ua-border); color:var(--ua-muted); font-size:13px;
}
.ua-app-shell.single-product form.cart { margin-top:16px; }
.ua-app-shell.single-product .variations { margin-bottom:12px; }
.ua-app-shell.single-product .woocommerce-tabs {
  margin-top:20px; padding:18px; border-radius:24px; border:1px solid var(--ua-border); background:#fff; box-shadow:0 10px 28px rgba(17,24,39,.05);
}
.ua-app-shell.single-product .woocommerce-tabs ul.tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px !important; }
.ua-app-shell.single-product .woocommerce-tabs ul.tabs li { border:0 !important; background:none !important; margin:0 !important; }
.ua-app-shell.single-product .woocommerce-tabs ul.tabs li a {
  display:inline-flex; padding:10px 14px !important; border-radius:12px; background:#f7f8fa; color:var(--ua-navy) !important; font-weight:800 !important;
}
.ua-app-shell.single-product .woocommerce-tabs ul.tabs li.active a { background:var(--ua-orange-soft); color:var(--ua-orange) !important; }
.ua-app-shell.single-product .related.products, .ua-app-shell.single-product .upsells.products {
  margin-top:22px; padding:18px; border-radius:24px; border:1px solid var(--ua-border); background:#fff; box-shadow:0 10px 28px rgba(17,24,39,.05);
}
.ua-app-shell.single-product .related.products > h2, .ua-app-shell.single-product .upsells.products > h2 { color:var(--ua-navy); font-size:28px; }
.ua-app-shell.single-product ul.products { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.ua-app-shell.single-product ul.products li.product { margin:0 !important; }
.ua-cart-anchor { display:block; position:relative; top:-90px; visibility:hidden; }
.ua-mobile-buybar {
  position:fixed; z-index:9991; left:12px; right:12px; bottom:calc(82px + env(safe-area-inset-bottom)); display:none;
  align-items:center; justify-content:space-between; gap:14px; padding:12px 14px; border-radius:18px; background:rgba(17,24,39,.96); color:#fff; box-shadow:0 18px 40px rgba(17,24,39,.2);
}
.ua-mobile-buybar-price small { display:block; color:rgba(255,255,255,.72); font-size:11px; }
.ua-mobile-buybar-price strong { font-size:18px; }
.ua-mobile-buybar-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 16px; border-radius:14px; background:var(--ua-orange); color:#fff; font-weight:900; }

.ua-account-benefits { display:grid; gap:10px; margin-top:16px; }
.ua-account-benefits span {
  display:inline-flex; align-items:center; gap:8px; padding:11px 13px; border-radius:14px; background:#fff; width:fit-content; color:var(--ua-navy); font-weight:800;
}
.ua-account-promo-card {
  position:absolute; z-index:3; inset:auto 4% 8% auto; width:min(280px,100%); padding:22px; border-radius:24px;
  background:linear-gradient(135deg,#ff6f35,#ff8858 58%,#ffba9f); color:#fff; box-shadow:0 24px 36px rgba(255,90,31,.2);
}
.ua-account-promo-card small { color:#fff7ed; font-weight:900; letter-spacing:.08em; }
.ua-account-promo-card strong { display:block; margin:8px 0; font-size:28px; line-height:1.05; }
.ua-account-promo-card p { margin:0; color:rgba(255,255,255,.92); }
.ua-app-shell.woocommerce-account .u-columns { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.ua-app-shell.woocommerce-account .u-column1, .ua-app-shell.woocommerce-account .u-column2 {
  padding:18px; border:1px solid var(--ua-border); border-radius:22px; background:#fff; box-shadow:0 10px 28px rgba(17,24,39,.05);
}
.ua-app-shell.woocommerce-account .u-columns h2 { color:var(--ua-navy); font-size:26px; }
.ua-app-shell.woocommerce-account .woocommerce-form-row input,
.ua-app-shell.woocommerce-account .woocommerce-form-row .input-text { min-height:52px; }
.ua-app-shell.woocommerce-account .show-password-input { top:15px; }

.ua-ai-assistant { position:fixed; right:18px; bottom:calc(98px + env(safe-area-inset-bottom)); z-index:9992; }
.ua-ai-launcher {
  display:inline-flex; align-items:center; gap:10px; min-height:54px; padding:0 16px; border:0; border-radius:999px;
  background:linear-gradient(90deg,#7c4dff,#6133ec); color:#fff; font-size:18px; font-weight:900; box-shadow:0 18px 38px rgba(98,51,236,.28);
}
.ua-ai-launcher-icon { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:999px; background:rgba(255,255,255,.18); }
.ua-ai-panel {
  position:absolute; right:0; bottom:68px; width:min(360px,calc(100vw - 24px)); max-height:min(72vh,620px); overflow:hidden;
  border-radius:22px; border:1px solid rgba(255,255,255,.18); background:#fff; box-shadow:0 28px 48px rgba(17,24,39,.18);
}
.ua-ai-panel-head {
  display:flex; justify-content:space-between; gap:10px; align-items:flex-start; padding:16px; border-bottom:1px solid var(--ua-border); background:linear-gradient(135deg,#f3eeff,#fff);
}
.ua-ai-panel-head strong { display:block; color:var(--ua-navy); }
.ua-ai-panel-head small { color:var(--ua-muted); }
.ua-ai-close { width:34px; height:34px; border:0; border-radius:10px; background:#fff; color:var(--ua-navy); }
.ua-ai-panel-body { padding:16px; max-height:calc(72vh - 78px); overflow:auto; }
.ua-ai-fallback p { margin-top:0; color:var(--ua-muted); line-height:1.6; }
.ua-ai-fallback a { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 14px; border-radius:13px; background:var(--ua-orange); color:#fff; font-weight:900; }

[data-ua-reveal] { opacity:0; transform:translateY(18px); transition:opacity .45s ease, transform .45s ease; }
[data-ua-reveal].is-visible { opacity:1; transform:none; }

@media (max-width: 1200px) {
  .ua-promo-panels { grid-template-columns:1fr; }
  .ua-catalog-product-grid, .ua-app-shell.single-product ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 1024px) {
  .ua-catalog-shell { grid-template-columns:180px minmax(0,1fr); }
  .ua-catalog-hero { grid-template-columns:1fr; }
  .ua-category-board-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ua-app-shell.single-product div.product { grid-template-columns:1fr; }
  .ua-app-shell.single-product .summary { position:static; }
  .ua-app-shell.woocommerce-account .u-columns { grid-template-columns:1fr; }
}
@media (max-width: 767px) {
  .ua-promo-marquee { margin-bottom:12px; padding:10px 12px; border-radius:14px; }
  .ua-promo-marquee span { font-size:11px; }
  .ua-promo-panels { gap:10px; }
  .ua-promo-panel { min-height:auto; padding:16px; border-radius:18px; }
  .ua-promo-panel strong { font-size:20px; }
  .ua-catalog-main { padding-top:0; }
  .ua-catalog-shell { grid-template-columns:92px minmax(0,1fr); gap:10px; }
  .ua-catalog-sidebar {
    top:auto; position:relative; padding:8px 6px; border-radius:20px; overflow:hidden;
  }
  .ua-catalog-sidebar-head { display:none; }
  .ua-catalog-nav a { grid-template-columns:1fr; gap:7px; padding:10px 4px; text-align:center; font-size:11px; }
  .ua-catalog-nav-thumb, .ua-catalog-nav-icon { margin:0 auto; width:52px; height:52px; border-radius:16px; }
  .ua-catalog-hero, .ua-category-board, .ua-catalog-products { padding:14px; border-radius:18px; }
  .ua-catalog-hero-copy h1 { font-size:28px; }
  .ua-catalog-hero-copy p { font-size:13px; }
  .ua-catalog-hero-card { min-height:auto; padding:18px; border-radius:18px; }
  .ua-category-board-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  .ua-category-board-image { width:72px; height:72px; border-radius:18px; }
  .ua-category-board-card strong { font-size:12px; }
  .ua-category-board-card small { font-size:10px; }
  .ua-catalog-toolbar { align-items:flex-start; }
  .ua-catalog-toolbar-right { width:100%; flex-direction:column; align-items:stretch; }
  .ua-catalog-toolbar .orderby { width:100%; min-width:0; }
  .ua-catalog-product-grid, .ua-app-shell.single-product ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .ua-product-meta-chips { gap:7px; }
  .ua-product-banner { padding:10px 12px; }
  .ua-mobile-buybar { display:flex; }
  .ua-ai-assistant { right:12px; bottom:calc(90px + env(safe-area-inset-bottom)); }
  .ua-ai-launcher { min-height:48px; padding:0 14px; font-size:16px; }
  .ua-ai-panel { bottom:58px; width:min(340px,calc(100vw - 24px)); }
}
@media (max-width: 480px) {
  .ua-category-board-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ua-catalog-hero-tags { gap:8px; }
  .ua-catalog-hero-tags span { font-size:10px; padding:7px 10px; }
  .ua-ai-launcher { border-radius:18px; }
}

/* v1.5 navigation, collection, product, account and AI corrections */
.ua-collection-open {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  margin-top:3px;
  color:var(--ua-orange);
  font-size:11px;
  font-weight:900;
}

.ua-collection-promo-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.ua-collection-promo-grid > a {
  display:flex;
  min-height:165px;
  flex-direction:column;
  justify-content:flex-end;
  gap:7px;
  padding:22px;
  border-radius:24px;
  color:#fff;
  background:linear-gradient(135deg,#ff6428,#ff8c5f 58%,#f3b6ff);
  box-shadow:0 20px 36px rgba(255,90,31,.15);
}
.ua-collection-promo-grid > a:nth-child(2) {
  background:linear-gradient(135deg,#171d2a,#344054 58%,#7c4dff);
}
.ua-collection-promo-grid small { font-weight:900; letter-spacing:.09em; color:rgba(255,255,255,.82); }
.ua-collection-promo-grid strong { font-size:24px; line-height:1.1; }
.ua-collection-promo-grid span { color:rgba(255,255,255,.9); }

.ua-collection-breadcrumb {
  display:flex;
  align-items:center;
  gap:7px;
  margin:4px 0 14px;
  overflow:hidden;
  white-space:nowrap;
  color:var(--ua-muted);
  font-size:13px;
}
.ua-collection-breadcrumb a { color:var(--ua-orange); font-weight:800; }
.ua-collection-breadcrumb span { overflow:hidden; text-overflow:ellipsis; }
.ua-collection-hero {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,.72fr);
  align-items:center;
  gap:22px;
  min-height:300px;
  padding:26px;
  border:1px solid var(--ua-border);
  border-radius:28px;
  background:linear-gradient(135deg,#fff3ed,#fff 54%,#f4efff);
  overflow:hidden;
}
.ua-collection-hero-copy h1 {
  margin:8px 0 12px;
  color:var(--ua-navy);
  font-size:clamp(34px,5vw,58px);
  line-height:1;
}
.ua-collection-hero-copy p,
.ua-collection-description { color:var(--ua-muted); line-height:1.65; }
.ua-collection-hero-image {
  min-height:250px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:24px;
  background:#fff;
  overflow:hidden;
}
.ua-collection-hero-image img { width:100%; height:280px; object-fit:contain; }
.ua-collection-products .ua-catalog-toolbar h2 { margin:0 0 4px; color:var(--ua-navy); font-size:25px; }
.ua-collection-offer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:22px;
  border-radius:24px;
  background:linear-gradient(135deg,#171d2a,#3a4354 62%,#7c4dff);
  color:#fff;
}
.ua-collection-offer small { display:block; color:#cfc3ff; font-weight:900; letter-spacing:.08em; }
.ua-collection-offer strong { display:block; margin:6px 0; font-size:25px; }
.ua-collection-offer p { margin:0; color:rgba(255,255,255,.8); }
.ua-collection-offer a {
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  min-height:46px;
  padding:0 16px;
  border-radius:14px;
  background:#fff;
  color:var(--ua-navy);
  font-weight:900;
}
.ua-category-suggestions { padding:18px; border:1px solid var(--ua-border); border-radius:24px; background:#fff; }

/* Keep the complete collection list visible while the right panel scrolls. */
.ua-category-shell .ua-catalog-sidebar,
.ua-collection-shell .ua-catalog-sidebar {
  position:sticky;
  top:18px;
  max-height:calc(100vh - 36px);
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}
.ua-category-shell .ua-catalog-nav,
.ua-collection-shell .ua-catalog-nav { padding-bottom:10px; }

/* Product page rebuilt as one clear gallery + information card. */
.ua-single-product-main { padding:8px 0 68px; }
.ua-product-page-width { max-width:1280px; }
.ua-product-page-width .woocommerce-breadcrumb,
.ua-product-page-width .ct-breadcrumbs {
  margin:0 0 12px;
  padding:0;
  color:var(--ua-muted);
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ua-product-main-card {
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  gap:24px;
  align-items:start;
  padding:22px;
  border:1px solid var(--ua-border);
  border-radius:28px;
  background:#fff;
  box-shadow:0 14px 38px rgba(17,24,39,.06);
}
.ua-product-gallery-column,
.ua-product-summary-column { min-width:0; }
.ua-product-gallery-column .woocommerce-product-gallery {
  float:none !important;
  width:100% !important;
  margin:0 !important;
}
.ua-product-gallery-column .woocommerce-product-gallery__image {
  border-radius:22px;
  overflow:hidden;
  background:#f7f8fa;
}
.ua-product-gallery-column .woocommerce-product-gallery__image img {
  width:100%;
  max-height:680px;
  object-fit:contain;
  background:#fff;
}
.ua-product-gallery-column .flex-control-thumbs {
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin:12px 0 0 !important;
}
.ua-product-gallery-column .flex-control-thumbs li { width:auto !important; margin:0 !important; }
.ua-product-gallery-column .flex-control-thumbs img {
  width:100%;
  aspect-ratio:1;
  object-fit:cover;
  border:2px solid transparent;
  border-radius:14px;
  background:#f7f8fa;
}
.ua-product-gallery-column .flex-control-thumbs img.flex-active { border-color:var(--ua-orange); }
.ua-product-summary-column {
  position:sticky;
  top:18px;
  padding:4px 4px 4px 8px;
}
.ua-product-summary-column .product_title {
  margin:0 0 10px !important;
  color:var(--ua-navy) !important;
  font-size:clamp(27px,3vw,42px) !important;
  line-height:1.12 !important;
  letter-spacing:-.02em;
  text-transform:none !important;
  overflow-wrap:anywhere;
}
.ua-product-summary-column .woocommerce-product-rating { margin:0 0 10px !important; }
.ua-product-summary-column .price {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:9px;
  margin:10px 0 14px !important;
  color:var(--ua-orange) !important;
  font-size:clamp(28px,4vw,42px) !important;
  line-height:1.12;
  font-weight:900;
}
.ua-product-summary-column .price del { color:var(--ua-muted) !important; font-size:18px; opacity:.72; }
.ua-product-summary-column .woocommerce-product-details__short-description {
  margin:0 0 16px;
  color:var(--ua-muted);
  line-height:1.65;
  font-size:14px;
}
.ua-product-meta-chips { margin:0 0 12px; }
.ua-product-offer-strip {
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 0 16px;
  padding:12px 14px;
  border-radius:16px;
  background:linear-gradient(135deg,#fff1eb,#fff9f5);
  border:1px solid #ffd8c7;
  color:var(--ua-orange);
}
.ua-product-offer-strip > span {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 36px;
  height:36px;
  border-radius:12px;
  background:#fff;
}
.ua-product-offer-strip strong { display:block; color:var(--ua-navy); font-size:14px; }
.ua-product-offer-strip small { display:block; color:var(--ua-muted); line-height:1.4; }
.ua-product-summary-column form.cart,
.ua-product-summary-column .variations_form {
  margin:0 !important;
  padding:17px;
  border-radius:20px;
  background:#f7f8fa;
  border:1px solid #edf0f4;
}
.ua-product-summary-column table.variations { margin:0 0 12px !important; }
.ua-product-summary-column table.variations tr { display:grid; grid-template-columns:1fr; gap:6px; margin-bottom:12px; }
.ua-product-summary-column table.variations th,
.ua-product-summary-column table.variations td { display:block; padding:0 !important; text-align:left; }
.ua-product-summary-column table.variations label { color:var(--ua-navy); font-weight:850; }
.ua-product-summary-column table.variations select {
  width:100%;
  min-height:52px;
  border-radius:14px;
  background:#fff;
}
.ua-product-summary-column .single_variation_wrap { margin-top:10px; }
.ua-product-summary-column .woocommerce-variation-add-to-cart {
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  gap:12px;
  align-items:stretch;
}
.ua-product-summary-column .quantity { width:100% !important; }
.ua-product-summary-column .quantity input.qty { width:100% !important; min-height:54px; border-radius:14px; }
.ua-product-summary-column .single_add_to_cart_button {
  min-height:54px !important;
  border-radius:14px !important;
  background:var(--ua-orange) !important;
  color:#fff !important;
  font-size:17px !important;
  font-weight:900 !important;
}
.ua-product-summary-column .single_add_to_cart_button.disabled { opacity:.5; }
.ua-product-summary-column .yith-wcwl-add-to-wishlist,
.ua-product-summary-column .product_meta { margin-top:14px; }
.ua-product-promises {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}
.ua-product-promises > div {
  min-height:82px;
  padding:13px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--ua-border);
}
.ua-product-after-summary { margin-top:22px; }
.ua-product-after-summary .woocommerce-tabs,
.ua-product-after-summary .related.products,
.ua-product-after-summary .upsells.products {
  margin:0 0 20px;
  padding:20px;
  border:1px solid var(--ua-border);
  border-radius:24px;
  background:#fff;
  box-shadow:0 10px 30px rgba(17,24,39,.05);
}
.ua-product-after-summary .woocommerce-tabs ul.tabs {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 16px !important;
  padding:0 !important;
}
.ua-product-after-summary .woocommerce-tabs ul.tabs:before,
.ua-product-after-summary .woocommerce-tabs ul.tabs li:before,
.ua-product-after-summary .woocommerce-tabs ul.tabs li:after { display:none !important; }
.ua-product-after-summary .woocommerce-tabs ul.tabs li {
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:12px !important;
  background:#f5f6f8 !important;
}
.ua-product-after-summary .woocommerce-tabs ul.tabs li a { padding:10px 14px !important; color:var(--ua-navy) !important; font-weight:850 !important; }
.ua-product-after-summary .woocommerce-tabs ul.tabs li.active { background:var(--ua-orange-soft) !important; }
.ua-product-after-summary .woocommerce-tabs ul.tabs li.active a { color:var(--ua-orange) !important; }
.ua-product-after-summary .woocommerce-Tabs-panel h2 { font-size:24px; color:var(--ua-navy); }
.ua-product-after-summary ul.products { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.ua-product-after-summary ul.products li.product { width:auto !important; margin:0 !important; }

.ua-mobile-buybar { display:none !important; opacity:0; transform:translateY(18px); pointer-events:none; }
.ua-mobile-buybar.is-visible { opacity:1; transform:none; pointer-events:auto; }

/* Account/profile page */
.ua-profile-hero {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  margin:0 0 18px;
  padding:22px;
  border-radius:24px;
  color:#fff;
  background:linear-gradient(135deg,#171d2a,#344054 58%,#7c4dff);
  box-shadow:0 18px 34px rgba(17,24,39,.12);
}
.ua-profile-avatar img { width:82px; height:82px; border-radius:24px; border:3px solid rgba(255,255,255,.25); }
.ua-profile-copy h2 { margin:4px 0 6px; color:#fff; font-size:30px; }
.ua-profile-copy p { margin:0; color:rgba(255,255,255,.78); }
.ua-profile-hero .ua-eyebrow { color:#cfc3ff; }
.ua-profile-settings {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:0 14px;
  border-radius:13px;
  color:var(--ua-navy);
  background:#fff;
  font-weight:900;
}
.ua-order-status-cards {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}
.ua-order-status-cards a {
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:"icon title" "icon sub";
  gap:3px 10px;
  align-items:center;
  min-height:86px;
  padding:14px;
  border:1px solid var(--ua-border);
  border-radius:18px;
  background:#fff;
}
.ua-order-status-cards a > span {
  grid-area:icon;
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:14px;
  color:var(--ua-orange);
  background:var(--ua-orange-soft);
}
.ua-order-status-cards strong { grid-area:title; color:var(--ua-navy); }
.ua-order-status-cards small { grid-area:sub; color:var(--ua-muted); }
.ua-app-shell.woocommerce-account .woocommerce {
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation {
  float:none !important;
  width:auto !important;
  position:sticky;
  top:18px;
  padding:12px;
  border:1px solid var(--ua-border);
  border-radius:20px;
  background:#fff;
}
.ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation ul { margin:0; padding:0; list-style:none; }
.ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation li { margin:4px 0; }
.ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation a {
  display:block;
  padding:11px 12px;
  border-radius:12px;
  color:var(--ua-text);
  font-weight:780;
}
.ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background:var(--ua-orange-soft); color:var(--ua-orange); }
.ua-app-shell.woocommerce-account .woocommerce-MyAccount-content {
  float:none !important;
  width:auto !important;
  min-width:0;
  padding:18px;
  border:1px solid var(--ua-border);
  border-radius:22px;
  background:#fff;
}
.ua-app-shell.woocommerce-account .u-columns { grid-column:1 / -1; }
.ua-account-intro { grid-column:1 / -1; }

/* One compact AI launcher, clear of navigation and product actions. */
.ua-ai-assistant {
  right:14px !important;
  bottom:calc(92px + env(safe-area-inset-bottom)) !important;
}
.ua-ai-launcher {
  min-height:46px !important;
  padding:0 13px !important;
  gap:8px !important;
  font-size:15px !important;
  box-shadow:0 14px 28px rgba(98,51,236,.24) !important;
}
.ua-ai-launcher-icon { width:26px !important; height:26px !important; }
.ua-ai-panel { bottom:56px !important; }
.ua-buybar-visible .ua-ai-assistant { bottom:calc(166px + env(safe-area-inset-bottom)) !important; }

@media (max-width: 1024px) {
  .ua-product-main-card { grid-template-columns:1fr; }
  .ua-product-summary-column { position:static; }
  .ua-product-after-summary ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ua-profile-hero { grid-template-columns:auto 1fr; }
  .ua-profile-settings { grid-column:1 / -1; width:fit-content; }
  .ua-order-status-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .ua-category-shell,
  .ua-collection-shell { grid-template-columns:104px minmax(0,1fr) !important; gap:9px !important; }
  .ua-category-shell .ua-catalog-sidebar,
  .ua-collection-shell .ua-catalog-sidebar {
    position:sticky !important;
    top:8px !important;
    max-height:calc(100vh - 96px) !important;
    overflow-y:auto !important;
    padding:8px 5px !important;
    border-radius:18px !important;
  }
  .ua-category-shell .ua-catalog-nav a,
  .ua-collection-shell .ua-catalog-nav a {
    grid-template-columns:1fr !important;
    gap:6px !important;
    padding:9px 3px !important;
    font-size:11px !important;
    line-height:1.22;
    text-align:center;
  }
  .ua-category-shell .ua-catalog-nav-thumb,
  .ua-category-shell .ua-catalog-nav-icon,
  .ua-collection-shell .ua-catalog-nav-thumb,
  .ua-collection-shell .ua-catalog-nav-icon { width:54px !important; height:54px !important; margin:auto; }
  .ua-collection-promo-grid { grid-template-columns:1fr; }
  .ua-collection-promo-grid > a { min-height:135px; padding:18px; border-radius:18px; }
  .ua-collection-promo-grid strong { font-size:20px; }
  .ua-collection-hero { grid-template-columns:1fr; padding:15px; border-radius:20px; min-height:auto; }
  .ua-collection-hero-copy h1 { font-size:31px; }
  .ua-collection-hero-image { min-height:180px; }
  .ua-collection-hero-image img { height:200px; }
  .ua-collection-offer { align-items:flex-start; flex-direction:column; padding:18px; border-radius:19px; }
  .ua-collection-offer strong { font-size:21px; }
  .ua-category-board-card { padding:11px 7px !important; }
  .ua-category-board-image { width:76px !important; height:76px !important; }
  .ua-collection-open { font-size:9px; }

  .ua-single-product-main { padding-top:0; }
  .ua-product-page-width .woocommerce-breadcrumb,
  .ua-product-page-width .ct-breadcrumbs { display:none !important; }
  .ua-product-main-card { padding:12px; gap:14px; border-radius:20px; box-shadow:none; }
  .ua-product-gallery-column .woocommerce-product-gallery__image { border-radius:16px; }
  .ua-product-gallery-column .woocommerce-product-gallery__image img { max-height:520px; }
  .ua-product-gallery-column .flex-control-thumbs { grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
  .ua-product-summary-column { padding:2px; }
  .ua-product-summary-column .product_title { font-size:25px !important; line-height:1.16 !important; }
  .ua-product-summary-column .price { font-size:29px !important; }
  .ua-product-summary-column form.cart,
  .ua-product-summary-column .variations_form { padding:13px; border-radius:17px; }
  .ua-product-summary-column .woocommerce-variation-add-to-cart { grid-template-columns:92px minmax(0,1fr); gap:9px; }
  .ua-product-promises { grid-template-columns:1fr; }
  .ua-product-promises > div { min-height:72px; }
  .ua-product-after-summary .woocommerce-tabs,
  .ua-product-after-summary .related.products,
  .ua-product-after-summary .upsells.products { padding:14px; border-radius:18px; }
  .ua-product-after-summary ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .ua-mobile-buybar.is-visible {
    display:flex !important;
    left:10px !important;
    right:10px !important;
    bottom:calc(82px + env(safe-area-inset-bottom)) !important;
    padding:10px 11px !important;
    border-radius:17px !important;
  }
  .ua-mobile-buybar-price strong { font-size:16px !important; }
  .ua-mobile-buybar-button { min-height:42px !important; font-size:14px; }
  body.ua-buybar-visible { padding-bottom:170px !important; }

  .ua-app-shell.woocommerce-account .woocommerce { grid-template-columns:1fr; gap:12px; }
  .ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation {
    position:static;
    overflow-x:auto;
    padding:7px;
    border-radius:16px;
  }
  .ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation ul { display:flex; gap:6px; min-width:max-content; }
  .ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation li { margin:0; }
  .ua-app-shell.woocommerce-account .woocommerce-MyAccount-navigation a { padding:9px 11px; font-size:12px; }
  .ua-app-shell.woocommerce-account .woocommerce-MyAccount-content { padding:12px; border-radius:18px; }
  .ua-profile-hero { grid-template-columns:60px minmax(0,1fr); gap:12px; padding:16px; border-radius:19px; }
  .ua-profile-avatar img { width:60px; height:60px; border-radius:18px; }
  .ua-profile-copy h2 { font-size:22px; }
  .ua-profile-copy p { font-size:12px; }
  .ua-profile-settings { min-height:40px; font-size:13px; }
  .ua-order-status-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .ua-order-status-cards a { min-height:76px; padding:10px; grid-template-columns:38px 1fr; }
  .ua-order-status-cards a > span { width:38px; height:38px; }
  .ua-account-intro { padding:16px !important; border-radius:20px !important; }
  .ua-account-promo-card { position:relative !important; inset:auto !important; width:100% !important; margin-top:12px; padding:16px !important; border-radius:18px !important; }
  .ua-account-promo-card strong { font-size:22px !important; }
  .ua-app-shell.woocommerce-account .u-columns { grid-template-columns:1fr !important; }

  .ua-ai-assistant { right:10px !important; bottom:calc(88px + env(safe-area-inset-bottom)) !important; }
  .ua-ai-launcher { min-height:43px !important; padding:0 11px !important; font-size:14px !important; border-radius:15px !important; }
  .ua-ai-panel { width:calc(100vw - 20px) !important; right:0 !important; max-height:66vh !important; }
  .ua-buybar-visible .ua-ai-assistant { bottom:calc(154px + env(safe-area-inset-bottom)) !important; }
}

@media (max-width: 430px) {
  .ua-category-shell,
  .ua-collection-shell { grid-template-columns:94px minmax(0,1fr) !important; }
  .ua-category-board-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .ua-catalog-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .ua-product-card .ua-product-title { font-size:12px !important; line-height:1.25; }
  .ua-product-card .ua-product-subtitle { font-size:10px !important; }
  .ua-product-card .ua-product-price { font-size:16px !important; overflow-wrap:anywhere; }
  .ua-free-shipping { font-size:10px !important; }
}

/* ================================================================
   Update Avenue v1.6 — dedicated category flow, product detail and
   native Avenue AI web client.
   ================================================================ */

/* Category explorer (shop/categories page). */
.ua-category-explorer-main {
  padding: 8px 0 56px;
  background: #f7f8fa;
}

.ua-category-explorer {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 680px;
  overflow: visible;
  border: 1px solid var(--ua-border);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(17, 24, 39, .06);
}

.ua-category-explorer-rail {
  position: sticky;
  top: 104px;
  align-self: start;
  max-height: calc(100vh - 126px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px;
  border-right: 1px solid var(--ua-border);
  background: #fafafa;
  scrollbar-width: thin;
}

.ua-category-tab {
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px;
  border: 0;
  border-left: 4px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--ua-navy);
  text-align: left;
  cursor: pointer;
}

.ua-category-tab:hover,
.ua-category-tab.is-active {
  border-left-color: var(--ua-orange);
  background: #fff;
  color: var(--ua-orange);
}

.ua-category-tab strong {
  font-size: 13px;
  line-height: 1.25;
}

.ua-category-tab-image,
.ua-category-tab-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: #f1f2f4;
}

.ua-category-tab-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ua-category-explorer-panels {
  min-width: 0;
  padding: 22px;
}

.ua-category-panel[hidden] {
  display: none !important;
}

.ua-category-panel.is-active {
  display: block;
  animation: ua-panel-enter .24s ease both;
}

@keyframes ua-panel-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.ua-category-panel-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 24px;
}

.ua-category-panel-header > div:first-child {
  padding: 10px 0;
}

.ua-category-panel-header h1,
.ua-category-panel-header h2 {
  margin: 6px 0 10px;
  color: var(--ua-navy);
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.02;
}

.ua-category-panel-header p {
  max-width: 680px;
  margin: 0;
  color: var(--ua-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ua-category-panel-promo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #ff5a1f, #ff7b42 50%, #d3a9ff);
  box-shadow: 0 20px 38px rgba(255, 90, 31, .17);
}

.ua-category-panel-promo small {
  font-weight: 900;
  letter-spacing: .09em;
}

.ua-category-panel-promo strong {
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.05;
}

.ua-category-panel-promo span {
  color: rgba(255, 255, 255, .9);
  line-height: 1.5;
}

.ua-category-panel-header-compact {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ua-border);
}

.ua-view-collection-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--ua-orange);
  color: #fff;
  font-weight: 900;
}

.ua-category-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ua-category-panel-title h2,
.ua-category-panel-title h3 {
  margin: 0;
  color: var(--ua-navy);
  font-size: 26px;
}

.ua-category-circle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 14px;
}

.ua-category-circle-grid > a {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ua-navy);
  text-align: center;
}

.ua-category-circle-grid > a > span:first-child {
  width: 132px;
  max-width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid var(--ua-border);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ua-category-circle-grid > a:hover > span:first-child {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(17, 24, 39, .08);
}

.ua-category-circle-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ua-category-circle-grid strong {
  font-size: 14px;
  line-height: 1.25;
}

.ua-category-view-all-icon {
  color: var(--ua-navy);
}

.ua-empty-subcategory-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--ua-border);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7f2, #fff);
  color: var(--ua-navy);
}

.ua-empty-subcategory-card img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
}

.ua-empty-subcategory-card span strong,
.ua-empty-subcategory-card span small {
  display: block;
}

.ua-empty-subcategory-card span small {
  margin-top: 4px;
  color: var(--ua-muted);
}

.ua-category-discovery {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--ua-border);
  border-radius: 24px;
  background: #fff;
}

.ua-category-discovery-heading h2 {
  margin: 5px 0 8px;
  color: var(--ua-navy);
  font-size: 32px;
}

.ua-category-discovery-heading p {
  margin: 0 0 18px;
  color: var(--ua-muted);
}

/* Dedicated collection archive — no category rail. */
.ua-collection-listing-main {
  padding: 6px 0 58px;
  background: #f7f8fa;
}

.ua-collection-listing-width {
  max-width: 1380px;
}

.ua-collection-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px 0 16px;
}

.ua-collection-topbar > strong {
  color: var(--ua-navy);
  font-size: 20px;
  text-align: center;
}

.ua-collection-back,
.ua-collection-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ua-navy);
  font-weight: 800;
}

.ua-collection-search {
  justify-self: end;
}

.ua-collection-listing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 22px 24px;
  border: 1px solid var(--ua-border);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7f2, #fff, #f9f2ff);
}

.ua-collection-listing-header h1 {
  margin: 4px 0 6px;
  color: var(--ua-navy);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.04;
}

.ua-collection-listing-header p {
  max-width: 760px;
  margin: 0;
  color: var(--ua-muted);
}

.ua-collection-count {
  min-width: 108px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.ua-collection-count strong,
.ua-collection-count small {
  display: block;
}

.ua-collection-count strong {
  color: var(--ua-orange);
  font-size: 28px;
}

.ua-collection-count small {
  color: var(--ua-muted);
}

.ua-subcategory-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(108px, 140px);
  gap: 14px;
  overflow-x: auto;
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid var(--ua-border);
  border-radius: 20px;
  background: #fff;
  scroll-snap-type: x proximity;
}

.ua-subcategory-carousel > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ua-navy);
  text-align: center;
  scroll-snap-align: start;
}

.ua-subcategory-carousel > a > span {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #f1f2f4;
}

.ua-subcategory-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ua-subcategory-all {
  color: var(--ua-navy);
}

.ua-collection-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0;
  white-space: nowrap;
}

.ua-collection-controls > button,
.ua-collection-controls > a,
.ua-collection-controls .orderby {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ua-border);
  border-radius: 999px;
  background: #fff;
  color: var(--ua-navy);
  font-weight: 800;
}

.ua-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ua-filter-toggle.is-active {
  border-color: var(--ua-orange);
  color: var(--ua-orange);
}

.ua-sort-control form,
.ua-sort-control .woocommerce-ordering {
  margin: 0 !important;
}

.ua-filter-drawer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--ua-border);
  border-radius: 18px;
  background: #fff;
}

.ua-filter-drawer[hidden] {
  display: none !important;
}

.ua-filter-drawer label {
  display: block;
  margin-bottom: 6px;
  color: var(--ua-muted);
  font-size: 12px;
  font-weight: 800;
}

.ua-filter-drawer input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--ua-border);
  border-radius: 12px;
}

.ua-filter-drawer button,
.ua-filter-drawer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 900;
}

.ua-filter-drawer button {
  border: 0;
  background: var(--ua-orange);
  color: #fff;
}

.ua-filter-drawer a {
  color: var(--ua-navy);
  background: #f2f3f5;
}

.ua-free-shipping-banner {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  margin-bottom: 14px;
  padding: 10px 16px;
  border-radius: 16px;
  background: #fff0e3;
  color: var(--ua-navy);
}

.ua-free-shipping-banner > span:first-child {
  color: #1c9b3b;
}

.ua-free-shipping-banner small {
  justify-self: end;
  color: var(--ua-muted);
}

.ua-collection-product-results {
  padding: 16px;
  border: 1px solid var(--ua-border);
  border-radius: 22px;
  background: #fff;
}

.ua-collection-result-line .woocommerce-result-count {
  margin: 0 0 14px;
  color: var(--ua-muted);
}

.ua-collection-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Product page. */
.ua-single-product-main {
  background: #f7f8fa;
}

.ua-product-page-width {
  max-width: 1380px;
}

.ua-product-main-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: 22px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--ua-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 24, 39, .05);
}

.ua-product-gallery-column,
.ua-product-summary-column {
  min-width: 0;
}

.ua-product-summary-column {
  position: sticky;
  top: 106px;
  padding: 4px 8px 8px;
}

.ua-product-gallery-column .woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
}

.ua-product-gallery-column .woocommerce-product-gallery__image > a {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #f1f2f4;
  overflow: hidden;
}

.ua-product-gallery-column .woocommerce-product-gallery__image img {
  width: 100% !important;
  max-height: 720px;
  object-fit: contain;
}

.ua-product-gallery-column .flex-control-thumbs {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: 90px;
  gap: 10px;
  overflow-x: auto;
  margin: 12px 0 0 !important;
  padding: 2px 0 4px !important;
}

.ua-product-gallery-column .flex-control-thumbs li {
  width: 90px !important;
  float: none !important;
}

.ua-product-gallery-column .flex-control-thumbs img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #f2f3f5;
}

.ua-product-gallery-column .flex-control-thumbs img.flex-active {
  border-color: var(--ua-orange);
}

.ua-gallery-benefit-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(90deg, #d91515, #ffdb3d 30%, #ffef9c);
  color: #8c1a12;
  overflow-x: auto;
  white-space: nowrap;
}

.ua-gallery-benefit-strip > * {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ua-gallery-sale {
  padding: 7px 11px;
  border-radius: 9px;
  background: #c91414;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}

.ua-product-summary-column .product_title {
  margin: 0 0 8px !important;
  color: var(--ua-navy);
  font-size: clamp(27px, 3vw, 42px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em;
}

.ua-product-summary-column .woocommerce-product-rating {
  margin-bottom: 6px !important;
}

.ua-product-summary-column .price {
  margin: 10px 0 14px !important;
  color: var(--ua-orange) !important;
  font-size: clamp(30px, 4vw, 47px) !important;
  font-weight: 900 !important;
  line-height: 1.04;
}

.ua-product-summary-column .price del {
  color: var(--ua-muted);
  font-size: .52em;
  font-weight: 600;
}

.ua-product-meta-chips {
  margin: 8px 0 12px;
}

.ua-product-meta-chips span {
  background: #fff7f2;
  border: 1px solid #ffe4d7;
}

.ua-rating-chip {
  color: #d78b00 !important;
}

.ua-product-sale-panel {
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid #ff7b32;
  border-radius: 16px;
  background: #fff;
}

.ua-product-sale-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: linear-gradient(90deg, #ef7f2b, #ff943e);
  color: #fff;
}

.ua-product-sale-heading strong {
  font-size: 18px;
  font-style: italic;
}

.ua-product-sale-heading span,
.ua-product-sale-heading small {
  color: #fff;
}

.ua-product-sale-heading span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ua-product-sale-heading small {
  justify-self: end;
}

.ua-product-sale-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
}

.ua-product-sale-badges span {
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid #ff9d65;
  color: #d85a18;
  font-size: 12px;
  font-weight: 900;
}

.ua-option-heading {
  margin: 18px 0 10px;
}

.ua-option-heading strong,
.ua-option-heading small {
  display: block;
}

.ua-option-heading strong {
  color: var(--ua-navy);
  font-size: 22px;
}

.ua-option-heading small {
  margin-top: 3px;
  color: var(--ua-muted);
}

.ua-product-summary-column form.cart,
.ua-product-summary-column form.variations_form {
  margin-top: 8px !important;
  padding: 16px;
  border: 1px solid var(--ua-border);
  border-radius: 18px;
  background: #fbfbfc;
}

.ua-product-summary-column .variations {
  margin: 0 !important;
}

.ua-product-summary-column .variations tr {
  display: block;
  margin-bottom: 18px;
}

.ua-product-summary-column .variations th,
.ua-product-summary-column .variations td {
  display: block;
  width: 100%;
  padding: 0 !important;
  text-align: left;
}

.ua-product-summary-column .variations label {
  display: block;
  margin-bottom: 9px;
  color: var(--ua-navy);
  font-size: 17px;
  font-weight: 900;
}

.ua-native-variation-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.ua-variation-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ua-variation-chip {
  min-width: 64px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid #adb1b8;
  border-radius: 13px;
  background: #fff;
  color: var(--ua-navy);
  font-weight: 800;
  cursor: pointer;
}

.ua-variation-chip img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f2f4;
}

.ua-variation-chip.is-selected {
  border: 2px solid var(--ua-orange);
  color: var(--ua-orange);
  box-shadow: 0 0 0 2px rgba(255, 90, 31, .09);
}

.ua-variation-chip:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.ua-product-summary-column .single_variation_wrap {
  margin-top: 14px;
}

.ua-product-summary-column .quantity {
  min-height: 50px;
  border: 1px solid var(--ua-border);
  border-radius: 12px;
  background: #fff;
}

.ua-product-summary-column .single_add_to_cart_button {
  min-height: 52px !important;
  border-radius: 14px !important;
  background: var(--ua-orange) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

.ua-product-service-card {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid var(--ua-border);
  border-radius: 18px;
  background: #fff;
}

.ua-product-service-card h3 {
  margin: 0 0 6px;
  color: var(--ua-navy);
  font-size: 19px;
}

.ua-product-promises {
  display: block;
}

.ua-product-promises > div {
  grid-template-columns: auto 1fr auto;
  padding: 14px 2px;
  border: 0;
  border-bottom: 1px solid var(--ua-border);
  border-radius: 0;
}

.ua-product-promises > div:last-child {
  border-bottom: 0;
}

.ua-product-after-summary {
  margin-top: 20px;
}

.ua-product-after-summary .woocommerce-tabs,
.ua-product-after-summary .related.products,
.ua-product-after-summary .upsells.products {
  border-radius: 22px;
}

.ua-mobile-buybar {
  z-index: 9990;
  left: 14px;
  right: 14px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  max-width: 760px;
  margin: 0 auto;
}

body.ua-buybar-visible .ua-ai-assistant {
  bottom: calc(166px + env(safe-area-inset-bottom));
}

/* Avenue AI direct REST client. */
.ua-ai-assistant {
  z-index: 9993;
}

.ua-ai-launcher {
  min-height: 48px;
  padding: 0 14px;
  font-size: 15px;
}

.ua-ai-panel {
  width: min(410px, calc(100vw - 24px));
  max-height: min(76vh, 680px);
  display: flex;
  flex-direction: column;
}

.ua-ai-panel[hidden] {
  display: none !important;
}

.ua-ai-panel-head {
  flex: 0 0 auto;
}

.ua-ai-status {
  flex: 0 0 auto;
  padding: 10px 14px;
  background: #fff6d8;
  color: #775b00;
  font-size: 12px;
  font-weight: 800;
}

.ua-ai-status[data-status="human"] {
  background: #e9f8ef;
  color: #14753c;
}

.ua-ai-messages {
  flex: 1 1 auto;
  min-height: 220px;
  overflow-y: auto;
  padding: 14px;
  background: #f7f8fa;
}

.ua-ai-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.ua-ai-message > div:last-child {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  color: var(--ua-navy);
  box-shadow: 0 5px 14px rgba(17, 24, 39, .05);
}

.ua-ai-message p {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.5;
}

.ua-ai-message.is-user {
  justify-content: flex-end;
}

.ua-ai-message.is-user > div:last-child {
  border-radius: 14px 14px 4px 14px;
  background: linear-gradient(135deg, #7042ef, #5e2de0);
  color: #fff;
}

.ua-ai-message.is-system > div:last-child {
  max-width: 100%;
  background: #fff4e9;
  color: #8b4b18;
}

.ua-ai-message-avatar {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #7042ef;
  color: #fff;
}

.ua-ai-products {
  display: grid;
  gap: 8px;
  margin-top: 9px;
}

.ua-ai-product {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 7px;
  border: 1px solid var(--ua-border);
  border-radius: 12px;
  background: #fff;
  color: var(--ua-navy);
}

.ua-ai-product img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 9px;
  background: #f1f2f4;
}

.ua-ai-product strong,
.ua-ai-product small {
  display: block;
}

.ua-ai-product strong {
  font-size: 12px;
  line-height: 1.25;
}

.ua-ai-product small {
  margin-top: 3px;
  color: var(--ua-orange);
  font-weight: 900;
}

.ua-ai-quick-prompts {
  flex: 0 0 auto;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 9px 12px 4px;
  background: #fff;
}

.ua-ai-quick-prompts button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #ded7ff;
  border-radius: 999px;
  background: #f5f1ff;
  color: #5931c9;
  font-size: 11px;
  font-weight: 800;
}

.ua-ai-composer {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: end;
  padding: 10px 12px;
  background: #fff;
}

.ua-ai-composer textarea {
  min-height: 42px;
  max-height: 110px;
  resize: none;
  padding: 10px 12px;
  border: 1px solid var(--ua-border);
  border-radius: 13px;
}

.ua-ai-composer button {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--ua-orange);
  color: #fff;
}

.ua-ai-composer button.is-loading {
  opacity: .65;
}

.ua-ai-handoff {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  margin: 0 12px 12px;
  border: 1px solid var(--ua-border);
  border-radius: 12px;
  background: #fff;
  color: var(--ua-navy);
  font-weight: 800;
}

[id*="hostinger" i][class*="ai" i],
[class*="hostinger" i][class*="ai" i],
[id*="kodee" i],
[class*="kodee" i],
[data-testid*="kodee" i],
iframe[src*="hostinger" i],
iframe[src*="kodee" i] {
  display: none !important;
}

@media (max-width: 1100px) {
  .ua-category-explorer {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .ua-category-circle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ua-collection-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ua-product-main-card {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  }
}

@media (max-width: 900px) {
  .ua-product-main-card {
    grid-template-columns: 1fr;
  }

  .ua-product-summary-column {
    position: static;
  }

  .ua-product-gallery-column .woocommerce-product-gallery__image > a {
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  .ua-category-explorer-main,
  .ua-collection-listing-main {
    padding-top: 0;
  }

  .ua-category-explorer {
    grid-template-columns: 102px minmax(0, 1fr);
    min-height: calc(100vh - 170px);
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .ua-category-explorer-rail {
    top: 0;
    max-height: calc(100vh - 88px - env(safe-area-inset-bottom));
    padding: 5px;
    border-radius: 0;
  }

  .ua-category-tab {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    min-height: 92px;
    padding: 8px 3px;
    border-left-width: 3px;
    text-align: center;
  }

  .ua-category-tab-image,
  .ua-category-tab-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .ua-category-tab strong {
    font-size: 11px;
  }

  .ua-category-explorer-panels {
    padding: 14px 10px 26px;
  }

  .ua-category-panel-header {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }

  .ua-category-panel-header h1,
  .ua-category-panel-header h2 {
    font-size: 30px;
  }

  .ua-category-panel-header p {
    font-size: 13px;
  }

  .ua-category-panel-promo {
    min-height: 190px;
    padding: 18px;
    border-radius: 18px;
  }

  .ua-category-panel-promo strong {
    font-size: 27px;
  }

  .ua-category-panel-header-compact {
    align-items: stretch;
  }

  .ua-view-collection-button {
    width: 100%;
  }

  .ua-category-panel-title h2,
  .ua-category-panel-title h3 {
    font-size: 22px;
  }

  .ua-category-circle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px 8px;
  }

  .ua-category-circle-grid > a > span:first-child {
    width: 84px;
  }

  .ua-category-circle-grid strong {
    font-size: 11px;
  }

  .ua-empty-subcategory-card {
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
  }

  .ua-empty-subcategory-card img {
    width: 70px;
    height: 70px;
  }

  .ua-category-discovery {
    padding: 15px;
    border-radius: 18px;
  }

  .ua-collection-topbar {
    position: sticky;
    top: 0;
    z-index: 12;
    margin: 0 -12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--ua-border);
    backdrop-filter: blur(12px);
  }

  .ua-collection-topbar > strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
  }

  .ua-collection-back span:last-child {
    display: none;
  }

  .ua-collection-listing-header {
    margin: 10px 0 12px;
    padding: 16px;
    border-radius: 18px;
  }

  .ua-collection-listing-header h1 {
    font-size: 30px;
  }

  .ua-collection-listing-header p {
    font-size: 12px;
  }

  .ua-collection-count {
    min-width: 75px;
    padding: 10px;
  }

  .ua-collection-count strong {
    font-size: 23px;
  }

  .ua-subcategory-carousel {
    grid-auto-columns: 94px;
    gap: 10px;
    margin-left: -12px;
    margin-right: -12px;
    padding: 13px 12px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .ua-subcategory-carousel > a > span {
    width: 76px;
    height: 76px;
  }

  .ua-subcategory-carousel strong {
    font-size: 11px;
    line-height: 1.2;
  }

  .ua-collection-controls {
    margin-left: -12px;
    margin-right: -12px;
    padding: 10px 12px;
  }

  .ua-collection-controls > button,
  .ua-collection-controls > a,
  .ua-collection-controls .orderby {
    min-height: 40px;
    font-size: 12px;
  }

  .ua-filter-drawer {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
  }

  .ua-filter-drawer button,
  .ua-filter-drawer a {
    width: 100%;
  }

  .ua-free-shipping-banner {
    grid-template-columns: auto 1fr auto;
    min-height: 52px;
    padding: 9px 12px;
  }

  .ua-free-shipping-banner small {
    display: none;
  }

  .ua-collection-product-results {
    margin-left: -12px;
    margin-right: -12px;
    padding: 8px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .ua-collection-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .ua-product-main-card {
    margin-left: -12px;
    margin-right: -12px;
    padding: 0;
    gap: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .ua-product-gallery-column .woocommerce-product-gallery__image > a {
    min-height: min(72vh, 620px);
    border-radius: 0;
  }

  .ua-product-gallery-column .woocommerce-product-gallery__image img {
    max-height: min(72vh, 620px);
  }

  .ua-product-gallery-column .flex-control-thumbs {
    grid-auto-columns: 78px;
    padding: 4px 12px 8px !important;
  }

  .ua-product-gallery-column .flex-control-thumbs li,
  .ua-product-gallery-column .flex-control-thumbs img {
    width: 78px !important;
    height: 78px;
  }

  .ua-gallery-benefit-strip {
    margin-top: 0;
    border-radius: 0;
  }

  .ua-product-summary-column {
    padding: 16px 15px 24px;
  }

  .ua-product-summary-column .product_title {
    font-size: 25px !important;
  }

  .ua-product-summary-column .price {
    font-size: 34px !important;
  }

  .ua-product-sale-heading {
    grid-template-columns: auto 1fr;
  }

  .ua-product-sale-heading small {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .ua-product-summary-column form.cart,
  .ua-product-summary-column form.variations_form {
    padding: 13px;
    border-radius: 15px;
  }

  .ua-variation-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .ua-variation-chip {
    flex: 0 0 auto;
  }

  .ua-mobile-buybar {
    display: none;
  }

  .ua-mobile-buybar.is-visible {
    display: flex;
  }

  .ua-ai-assistant {
    right: 10px;
    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .ua-ai-launcher {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }

  .ua-ai-panel {
    position: fixed;
    inset: auto 8px calc(82px + env(safe-area-inset-bottom)) 8px;
    width: auto;
    max-height: min(76vh, 650px);
    border-radius: 20px;
  }

  body.ua-buybar-visible .ua-ai-assistant {
    bottom: calc(160px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .ua-category-explorer {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .ua-category-tab-image,
  .ua-category-tab-icon {
    width: 52px;
    height: 52px;
  }

  .ua-category-circle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ua-category-circle-grid > a > span:first-child {
    width: 96px;
  }
}

/* ========================================================================
   Update Avenue v1.7 — immersive product gallery, native wishlist,
   recommendations, text fitting and responsive motion
   ======================================================================== */

/* Native wishlist */
.ua-header-wishlist,
.ua-mobile-heart {
  position: relative;
}

.ua-wishlist-count {
  position: absolute;
  top: -8px;
  right: -8px;
  display: none;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ua-orange);
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  font-weight: 900;
  box-shadow: 0 0 0 2px #fff;
}

.ua-wishlist-count.has-items {
  display: inline-flex;
}

.ua-wishlist-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--ua-navy);
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}

.ua-wishlist-toggle.is-active {
  color: #ef4444;
}

.ua-wishlist-toggle.is-active .ua-icon-heart {
  fill: currentColor;
}

.ua-wishlist-toggle.is-loading {
  pointer-events: none;
  opacity: .55;
}

.ua-product-heart {
  position: absolute;
  z-index: 5;
  top: 9px;
  right: 9px;
  width: 39px;
  height: 39px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 7px 20px rgba(17,24,39,.1);
}

.ua-product-heart:hover {
  transform: scale(1.1) rotate(-6deg);
}

.ua-product-heart.is-active {
  background: #fff1f2;
  animation: ua-heart-pop .38s ease;
}

.ua-single-wishlist-row {
  margin: 14px 0 2px;
}

.ua-single-wishlist-button {
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--ua-border);
  border-radius: 14px;
  background: #fff;
  font-weight: 850;
}

.ua-single-wishlist-button:hover,
.ua-single-wishlist-button.is-active {
  background: #fff3f4;
  border-color: #fecdd3;
}

.ua-wishlist-main {
  min-height: 65vh;
  padding: 18px 0 70px;
  background: #f7f8fa;
}

.ua-wishlist-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid var(--ua-border);
  border-radius: 28px;
  background: linear-gradient(135deg,#fff4ee,#fff,#f6efff);
}

.ua-wishlist-hero h1 {
  margin: 8px 0 7px;
  color: var(--ua-navy);
  font-size: clamp(34px,5vw,60px);
  line-height: .98;
}

.ua-wishlist-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--ua-muted);
}

.ua-wishlist-hero-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 110px;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(17,24,39,.07);
}

.ua-wishlist-hero-count strong {
  color: var(--ua-orange);
  font-size: 36px;
}

.ua-wishlist-hero-count small {
  color: var(--ua-muted);
  font-weight: 800;
}

.ua-wishlist-content {
  min-height: 360px;
  padding: 18px;
  border: 1px solid var(--ua-border);
  border-radius: 26px;
  background: #fff;
}

.ua-wishlist-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.ua-wishlist-empty {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 18px;
  text-align: center;
}

.ua-wishlist-empty > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: var(--ua-orange-soft);
  color: var(--ua-orange);
}

.ua-wishlist-empty h2 {
  margin: 7px 0 0;
  color: var(--ua-navy);
  font-size: clamp(24px,4vw,38px);
}

.ua-wishlist-empty p {
  margin: 0;
  color: var(--ua-muted);
}

.ua-wishlist-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--ua-orange);
  color: #fff;
  font-weight: 900;
}

.ua-product-card.is-removing {
  transform: scale(.92);
  opacity: 0;
}

/* Immersive product gallery */
.ua-product-gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: 21px;
  background: #eff0f2;
}

.ua-product-gallery-stage .woocommerce-product-gallery {
  margin: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
}

.ua-product-gallery-column .woocommerce-product-gallery__image > a {
  min-height: clamp(560px,68vh,860px);
  background: #eff0f2;
}

.ua-product-gallery-column .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: clamp(560px,68vh,860px) !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #eff0f2;
}

.ua-product-share {
  position: absolute;
  z-index: 14;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(17,24,39,.72);
  color: #fff;
  box-shadow: 0 12px 30px rgba(17,24,39,.18);
  backdrop-filter: blur(10px);
  transform: rotate(-45deg);
}

.ua-product-share:hover {
  transform: rotate(-45deg) scale(1.08);
}

.ua-product-image-count {
  position: absolute;
  z-index: 14;
  right: 18px;
  bottom: 18px;
  min-width: 57px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17,24,39,.72);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  backdrop-filter: blur(10px);
}

.ua-product-gallery-discount {
  position: absolute;
  z-index: 14;
  top: 18px;
  left: 18px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #ef4444;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 10px 25px rgba(239,68,68,.24);
}

.ua-product-seller-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #dcfce7;
  border-radius: 13px;
  background: #f0fdf4;
  color: #15803d;
  font-size: 12px;
  font-weight: 850;
}

.ua-product-seller-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ua-product-main-card {
  grid-template-columns: minmax(0,1.18fr) minmax(390px,.82fr);
}

.ua-product-summary-column .product_title {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.ua-product-summary-column .woocommerce-product-details__short-description,
.ua-product-summary-column .woocommerce-product-details__short-description p {
  color: var(--ua-muted);
  line-height: 1.6;
}

.ua-product-sale-badges span,
.ua-product-badge {
  white-space: nowrap;
  word-break: normal;
}

.ua-product-card,
.ua-product-card * {
  min-width: 0;
}

.ua-product-title,
.ua-product-subtitle,
.ua-product-price {
  overflow-wrap: anywhere;
}

.ua-product-title {
  min-height: 2.7em;
}

.ua-product-badge {
  max-width: calc(100% - 58px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.ua-product-review-overview {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--ua-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17,24,39,.05);
}

.ua-review-score {
  display: grid;
  gap: 4px;
}

.ua-review-score > strong {
  color: var(--ua-navy);
  font-size: 38px;
  line-height: 1;
}

.ua-review-score small,
.ua-review-trust small {
  color: var(--ua-muted);
}

.ua-review-trust {
  display: flex;
  gap: 11px;
  align-items: center;
}

.ua-review-trust > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: #eaf8ef;
  color: #16934a;
}

.ua-review-trust strong,
.ua-review-trust small {
  display: block;
}

.ua-product-review-overview > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ua-orange);
  font-weight: 900;
}

.ua-product-category-links,
.ua-product-recommendation-section {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--ua-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17,24,39,.05);
}

.ua-product-category-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 120px;
  gap: 15px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.ua-product-category-carousel a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ua-navy);
  text-align: center;
}

.ua-product-category-carousel a > span {
  display: block;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 999px;
  background: #f4f5f7;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ua-product-category-carousel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ua-product-category-carousel a:hover > span {
  transform: translateY(-4px) rotate(2deg);
  box-shadow: 0 14px 30px rgba(17,24,39,.1);
}

.ua-product-recommendation-section .ua-product-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

/* Product and navigation motion */
@keyframes ua-heart-pop {
  0% { transform: scale(.8); }
  55% { transform: scale(1.24); }
  100% { transform: scale(1); }
}

@keyframes ua-soft-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes ua-soft-rock {
  0%,100% { transform: rotate(0deg); }
  50% { transform: rotate(5deg); }
}

@keyframes ua-soft-pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

@keyframes ua-shine {
  0% { transform: translateX(-130%) skewX(-20deg); }
  100% { transform: translateX(240%) skewX(-20deg); }
}

.ua-quick-links > a:nth-child(3n+1) .ua-quick-icon {
  animation: ua-soft-rock 4.8s ease-in-out infinite;
}
.ua-quick-links > a:nth-child(3n+2) .ua-quick-icon {
  animation: ua-soft-float 4.4s ease-in-out infinite;
}
.ua-quick-links > a:nth-child(3n) .ua-quick-icon {
  animation: ua-soft-pulse 4.2s ease-in-out infinite;
}

.ua-category-strip > a:nth-child(even) .ua-category-image {
  animation: ua-soft-float 5.3s ease-in-out infinite;
}

.ua-category-strip > a:nth-child(odd) .ua-category-image {
  animation: ua-soft-pulse 5.7s ease-in-out infinite;
}

.ua-product-card {
  transition-delay: var(--ua-stagger,0ms);
}

.ua-product-card.ua-motion-1:hover { transform: translateY(-6px) rotate(.3deg); }
.ua-product-card.ua-motion-2:hover { transform: translateY(-5px) rotate(-.35deg); }
.ua-product-card.ua-motion-3:hover { transform: translateY(-7px) scale(1.01); }
.ua-product-card.ua-motion-4:hover { transform: translateY(-4px) rotate(.2deg) scale(1.008); }

.ua-hero-slider,
.ua-category-panel-promo {
  transform: translate(var(--ua-parallax-x,0),var(--ua-parallax-y,0));
  transition: transform .16s ease-out;
}

.ua-hero-button,
.ua-view-collection-button,
.ua-free-shipping-banner {
  position: relative;
  overflow: hidden;
}

.ua-hero-button::after,
.ua-view-collection-button::after,
.ua-free-shipping-banner::after {
  content: '';
  position: absolute;
  inset: -40% auto -40% -45%;
  width: 34%;
  background: rgba(255,255,255,.35);
  transform: skewX(-20deg);
  animation: ua-shine 5.5s ease-in-out infinite;
  pointer-events: none;
}

/* Better fitting collection controls and category names */
.ua-collection-controls {
  scrollbar-width: thin;
}

.ua-collection-controls > a,
.ua-collection-controls > button,
.ua-collection-controls .orderby {
  white-space: nowrap;
}

.ua-category-circle-grid strong,
.ua-subcategory-carousel strong,
.ua-product-category-carousel strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .ua-wishlist-grid,
  .ua-product-recommendation-section .ua-product-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media (max-width: 900px) {
  .ua-product-main-card {
    grid-template-columns: 1fr;
  }

  .ua-product-summary-column {
    position: static;
  }

  .ua-product-gallery-column .woocommerce-product-gallery__image > a,
  .ua-product-gallery-column .woocommerce-product-gallery__image img {
    min-height: min(78svh,760px);
    height: min(78svh,760px) !important;
  }

  .ua-product-review-overview {
    grid-template-columns: auto minmax(0,1fr);
  }

  .ua-product-review-overview > a {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .ua-wishlist-main {
    padding-top: 0;
  }

  .ua-wishlist-hero {
    margin: 0 -12px 12px;
    padding: 20px 16px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .ua-wishlist-hero h1 {
    font-size: 34px;
  }

  .ua-wishlist-hero-count {
    min-width: 78px;
    min-height: 78px;
    border-radius: 20px;
  }

  .ua-wishlist-hero-count strong {
    font-size: 27px;
  }

  .ua-wishlist-content {
    margin: 0 -12px;
    padding: 9px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .ua-wishlist-grid,
  .ua-product-recommendation-section .ua-product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }

  .ua-product-main-card {
    margin-left: -12px;
    margin-right: -12px;
    overflow: visible;
  }

  .ua-product-gallery-stage {
    border-radius: 0;
  }

  .ua-product-gallery-column .woocommerce-product-gallery__image > a,
  .ua-product-gallery-column .woocommerce-product-gallery__image img {
    min-height: min(82svh,850px) !important;
    height: min(82svh,850px) !important;
    border-radius: 0 !important;
  }

  .ua-product-gallery-column .flex-control-thumbs {
    grid-auto-columns: 82px;
    margin-top: 0 !important;
    padding: 8px 12px 10px !important;
    background: #fff;
  }

  .ua-product-gallery-column .flex-control-thumbs li,
  .ua-product-gallery-column .flex-control-thumbs img {
    width: 82px !important;
    height: 82px !important;
  }

  .ua-product-share {
    top: 13px;
    right: 13px;
    width: 44px;
    height: 44px;
  }

  .ua-product-image-count {
    right: 14px;
    bottom: 14px;
  }

  .ua-product-gallery-discount {
    top: 14px;
    left: 14px;
  }

  .ua-gallery-benefit-strip {
    position: sticky;
    top: 0;
    z-index: 11;
    margin: 0;
    padding: 10px 12px;
    border-radius: 0;
  }

  .ua-product-summary-column {
    padding: 15px 14px 24px;
  }

  .ua-product-summary-column .product_title {
    font-size: clamp(23px,6.8vw,30px) !important;
    line-height: 1.14 !important;
  }

  .ua-product-summary-column .price {
    font-size: clamp(30px,9vw,40px) !important;
  }

  .ua-product-sale-heading {
    gap: 7px;
  }

  .ua-product-sale-heading strong {
    font-size: 16px;
  }

  .ua-product-sale-badges {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .ua-product-review-overview,
  .ua-product-category-links,
  .ua-product-recommendation-section {
    margin-left: -12px;
    margin-right: -12px;
    padding: 14px 12px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .ua-product-review-overview {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ua-review-score {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .ua-review-score small {
    grid-column: 1 / -1;
  }

  .ua-product-category-carousel {
    grid-auto-columns: 98px;
  }

  .ua-product-category-carousel a > span {
    width: 82px;
    height: 82px;
  }

  .ua-mobile-buybar {
    left: 8px;
    right: 8px;
    bottom: calc(79px + env(safe-area-inset-bottom));
    padding: 10px 11px;
    border-radius: 17px;
  }

  .ua-mobile-buybar-price {
    min-width: 0;
    overflow: hidden;
  }

  .ua-mobile-buybar-price strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ua-mobile-buybar-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body.ua-buybar-visible .ua-ai-assistant {
    bottom: calc(154px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .ua-wishlist-hero {
    grid-template-columns: minmax(0,1fr) 70px;
    gap: 10px;
  }

  .ua-product-gallery-column .woocommerce-product-gallery__image > a,
  .ua-product-gallery-column .woocommerce-product-gallery__image img {
    min-height: min(76svh,720px) !important;
    height: min(76svh,720px) !important;
  }

  .ua-product-card .ua-product-badge {
    max-width: calc(100% - 52px);
    padding: 5px 7px;
    font-size: 10px;
  }

  .ua-product-card .ua-product-title {
    min-height: 2.55em;
    font-size: 11.5px !important;
  }

  .ua-product-card .ua-product-price {
    font-size: 15px !important;
    line-height: 1.15;
  }

  .ua-product-card .ua-free-shipping {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ua-quick-icon,
  .ua-category-image,
  .ua-hero-button::after,
  .ua-view-collection-button::after,
  .ua-free-shipping-banner::after {
    animation: none !important;
  }

  .ua-hero-slider,
  .ua-category-panel-promo {
    transform: none !important;
  }
}

.ua-home-discovery-copy {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  margin: 28px 0 20px;
  padding: 28px;
  border: 1px solid var(--ua-border);
  border-radius: 28px;
  background: linear-gradient(135deg,#fff7f2,#fff,#f8f3ff);
}

.ua-home-discovery-copy h2 {
  margin: 9px 0 12px;
  color: var(--ua-navy);
  font-size: clamp(30px,4.2vw,52px);
  line-height: 1.04;
}

.ua-home-discovery-copy p {
  color: var(--ua-muted);
  line-height: 1.7;
}

.ua-home-discovery-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.ua-home-discovery-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--ua-border);
  border-radius: 999px;
  background: #fff;
  color: var(--ua-navy);
  font-size: 12px;
  font-weight: 850;
}

.ua-home-faq-list {
  display: grid;
  gap: 10px;
}

.ua-home-faq-list details {
  padding: 14px 15px;
  border: 1px solid var(--ua-border);
  border-radius: 16px;
  background: #fff;
}

.ua-home-faq-list summary {
  color: var(--ua-navy);
  font-weight: 900;
  cursor: pointer;
}

.ua-home-faq-list details p {
  margin: 10px 0 0;
  font-size: 13px;
}

.ua-home-news {
  margin: 20px 0 30px;
  padding: 22px;
  border: 1px solid var(--ua-border);
  border-radius: 26px;
  background: #fff;
}

.ua-home-news-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.ua-home-news-grid article {
  overflow: hidden;
  border: 1px solid var(--ua-border);
  border-radius: 18px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ua-home-news-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17,24,39,.08);
}

.ua-home-news-image {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f4f5f7;
}

.ua-home-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.ua-home-news-grid article:hover img {
  transform: scale(1.04);
}

.ua-home-news-grid article > div {
  padding: 15px;
}

.ua-home-news-grid small {
  color: var(--ua-orange);
  font-weight: 850;
}

.ua-home-news-grid h3 {
  margin: 7px 0;
  font-size: 19px;
  line-height: 1.25;
}

.ua-home-news-grid h3 a {
  color: var(--ua-navy);
}

.ua-home-news-grid p {
  margin: 0;
  color: var(--ua-muted);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .ua-home-discovery-copy {
    grid-template-columns: 1fr;
  }

  .ua-home-news-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 767px) {
  .ua-home-discovery-copy,
  .ua-home-news {
    margin-left: -12px;
    margin-right: -12px;
    padding: 18px 14px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .ua-home-discovery-copy h2 {
    font-size: 30px;
  }

  .ua-home-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.admin-bar #wpadminbar {
    display: none !important;
  }
  html:has(body.admin-bar) {
    margin-top: 0 !important;
  }
}

/* ========================================================================
   v1.8 immersive products, endless collections and mobile fit corrections
   ======================================================================== */

/* Compact product-only header so the gallery receives most of the screen. */
.ua-product-compact-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--ua-border);
  backdrop-filter: blur(16px);
}

.ua-product-header-inner {
  width: min(calc(100% - 24px), 1480px);
  min-height: 64px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 42px auto minmax(180px,1fr) 42px 42px 42px;
  gap: 9px;
  align-items: center;
}

.ua-product-header-inner > a,
.ua-product-header-back {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  background: #fff;
  color: var(--ua-navy);
}

.ua-product-header-back { cursor: pointer; }
.ua-product-header-brand {
  width: auto !important;
  justify-content: flex-start !important;
  gap: 7px;
  padding: 0 7px;
  white-space: nowrap;
}
.ua-product-header-brand img { width: 31px; height: 31px; object-fit: contain; }
.ua-product-header-brand strong { color: var(--ua-orange); font-size: 17px; }
.ua-product-header-search {
  min-width: 0;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--ua-muted);
}
.ua-product-header-search input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  font-size: 14px;
}
.ua-product-header-cart .ua-cart-count { top: -3px; right: -3px; }

/* Moving sale ribbon under the product image. */
.ua-gallery-benefit-strip {
  position: relative !important;
  top: auto !important;
  z-index: 8;
  display: block !important;
  width: 100%;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg,#d90909 0 19%,#ffd94f 19% 100%) !important;
  color: #8c2600;
  box-shadow: 0 8px 20px rgba(17,24,39,.08);
}

.ua-gallery-benefit-track {
  width: max-content;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  animation: ua-benefit-marquee 20s linear infinite;
  will-change: transform;
}

.ua-gallery-benefit-strip:hover .ua-gallery-benefit-track { animation-play-state: paused; }
.ua-gallery-benefit-track > * {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 48px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 900;
}
.ua-gallery-benefit-track .ua-gallery-sale {
  min-width: 108px;
  justify-content: center;
  padding: 0 18px;
  background: #d90909;
  color: #fff;
  font-size: 17px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
@keyframes ua-benefit-marquee {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}

/* Full, immersive gallery. Original high-resolution files are used. */
.ua-product-gallery-column .woocommerce-product-gallery__image > a,
.ua-product-gallery-column .woocommerce-product-gallery__image img {
  image-rendering: auto;
  -webkit-transform: translateZ(0);
}

/* Product variation controls must stay inside the phone viewport. */
.ua-variation-chips {
  width: 100%;
  display: grid !important;
  overflow: visible !important;
  padding: 0 !important;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
}
.ua-variation-chips.is-color { grid-template-columns: repeat(2,minmax(0,1fr)); }
.ua-variation-chips.is-size { grid-template-columns: repeat(4,minmax(0,1fr)); }
.ua-variation-chip {
  width: 100%;
  min-width: 0 !important;
  min-height: 52px;
  padding: 6px 9px;
  overflow: hidden;
  text-align: center;
  line-height: 1.1;
}
.ua-variation-chip img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: cover;
}
.ua-variation-chip span {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}
.ua-product-summary-column .woocommerce-variation-add-to-cart,
.ua-product-summary-column form.cart:not(.variations_form) {
  width: 100%;
}
.ua-product-summary-column .woocommerce-variation-add-to-cart {
  display: grid !important;
  grid-template-columns: 112px minmax(0,1fr);
  align-items: stretch;
  gap: 10px;
}
.ua-product-summary-column .woocommerce-variation-add-to-cart .quantity,
.ua-product-summary-column .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  width: 100% !important;
  margin: 0 !important;
}
.ua-product-summary-column .single_add_to_cart_button.disabled {
  opacity: .48 !important;
  cursor: not-allowed !important;
}

/* Keep only the native Update Avenue wishlist button. */
.single-product .summary .yith-wcwl-add-to-wishlist,
.single-product .summary .tinv-wraper,
.single-product .summary .woosw-btn,
.single-product .summary [class*="ct-wishlist"],
.single-product .summary [data-button-state="wishlist"] {
  display: none !important;
}
.single-product .summary .ua-single-wishlist-row,
.single-product .summary .ua-single-wishlist-row .ua-wishlist-toggle {
  display: flex !important;
}

/* Collection filter/sort row now has proper widths instead of a clipped select. */
.ua-collection-controls {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 9px;
  overflow: visible !important;
}
.ua-collection-controls .ua-filter-toggle,
.ua-collection-controls .ua-sort-control {
  flex: 1 1 210px;
  min-width: 0;
}
.ua-collection-controls .ua-sort-control,
.ua-collection-controls .ua-sort-control form,
.ua-collection-controls .ua-sort-control .orderby {
  width: 100% !important;
  max-width: none !important;
}
.ua-collection-controls > a {
  flex: 1 1 135px;
  min-width: 0;
  justify-content: center;
  text-align: center;
}

/* Automatic endless loading. Pagination remains available when JavaScript is off. */
.ua-infinite-load-status { display: none; }
.ua-infinite-scroll-enabled .ua-catalog-pagination { display: none !important; }
.ua-infinite-scroll-enabled .ua-infinite-load-status {
  min-height: 72px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--ua-border);
  background: #fff;
  color: var(--ua-muted);
  text-align: center;
}
.ua-infinite-load-status strong { font-size: 13px; }
.ua-infinite-spinner {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 3px solid #ffe1d4;
  border-top-color: var(--ua-orange);
  border-radius: 999px;
  animation: ua-spin .75s linear infinite;
}
.ua-infinite-load-status:not(.is-loading) .ua-infinite-spinner { display: none; }
.ua-infinite-load-status.is-complete {
  color: #16884a;
  background: #effcf5;
  border-color: #ccefdc;
}
.ua-infinite-load-status.has-error {
  cursor: pointer;
  color: #b42318;
  background: #fff5f3;
  border-color: #ffd4cc;
}
.ua-infinite-card { animation: ua-card-arrive .42s ease both; animation-delay: var(--ua-stagger,0ms); }
@keyframes ua-spin { to { transform: rotate(360deg); } }
@keyframes ua-card-arrive { from { opacity:0; transform:translateY(18px) scale(.98); } to { opacity:1; transform:none; } }

/* Product card media use a sharper source and a taller, more premium image area. */
.ua-collection-product-grid .ua-product-media,
.ua-product-recommendation-section .ua-product-media {
  aspect-ratio: 1 / 1.16;
  background: #f1f2f4;
}
.ua-collection-product-grid .ua-product-media > a,
.ua-collection-product-grid .ua-product-media img,
.ua-product-recommendation-section .ua-product-media > a,
.ua-product-recommendation-section .ua-product-media img {
  width: 100%;
  height: 100%;
}
.ua-collection-product-grid .ua-product-media img,
.ua-product-recommendation-section .ua-product-media img {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .ua-product-header-inner {
    grid-template-columns: 40px auto minmax(100px,1fr) 40px 40px 40px;
  }
  .ua-product-header-brand strong { display: none; }
}

@media (max-width: 767px) {
  .ua-product-compact-header { top: 0 !important; }
  .admin-bar .ua-product-compact-header { top: 0 !important; }
  .ua-product-header-inner {
    width: calc(100% - 12px);
    min-height: 54px;
    grid-template-columns: 38px 34px minmax(95px,1fr) 38px 38px 38px;
    gap: 4px;
  }
  .ua-product-header-inner > a,
  .ua-product-header-back { width: 38px; height: 38px; border-radius: 11px; }
  .ua-product-header-brand { padding: 0 !important; }
  .ua-product-header-brand img { width: 30px; height: 30px; }
  .ua-product-header-search { height: 38px; padding: 0 10px; }
  .ua-product-header-search input { font-size: 12px; }

  .ua-product-main-card { border-radius: 0 !important; }
  .ua-product-gallery-column .woocommerce-product-gallery__image > a,
  .ua-product-gallery-column .woocommerce-product-gallery__image img {
    min-height: 78svh !important;
    height: 78svh !important;
    max-height: 880px !important;
    object-fit: cover !important;
    object-position: center !important;
    background: #cfcfcf !important;
  }
  .ua-product-gallery-column .flex-control-thumbs {
    grid-auto-columns: 74px !important;
    padding: 8px 10px 9px !important;
  }
  .ua-product-gallery-column .flex-control-thumbs li,
  .ua-product-gallery-column .flex-control-thumbs img {
    width: 74px !important;
    height: 74px !important;
  }
  .ua-gallery-benefit-track { min-height: 44px; gap: 18px; animation-duration: 17s; }
  .ua-gallery-benefit-track > * { min-height: 44px; font-size: 12px; }
  .ua-gallery-benefit-track .ua-gallery-sale { min-width: 92px; font-size: 15px; }

  .ua-variation-chips { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .ua-variation-chips.is-color { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .ua-variation-chips.is-size { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  .ua-variation-chip { min-height: 55px; padding: 6px 7px; font-size: 12px; }
  .ua-variation-chip img { width: 36px; height: 36px; flex-basis: 36px; }
  .ua-product-summary-column .woocommerce-variation-add-to-cart {
    grid-template-columns: 104px minmax(0,1fr);
  }
  .ua-product-summary-column .single_add_to_cart_button { font-size: 16px !important; }

  .ua-collection-controls .ua-filter-toggle,
  .ua-collection-controls .ua-sort-control {
    flex: 1 1 calc(50% - 5px);
  }
  .ua-collection-controls > a {
    flex: 1 1 calc(33.333% - 7px);
    min-height: 44px;
    padding-inline: 7px !important;
    font-size: 11px !important;
  }
  .ua-collection-controls .orderby { min-width: 0 !important; font-size: 12px !important; }

  .ua-collection-product-grid .ua-product-media,
  .ua-product-recommendation-section .ua-product-media { aspect-ratio: 1 / 1.22; }

  .ua-infinite-scroll-enabled .ua-site-footer { margin-top: 0; }
  .ua-infinite-load-status { margin-bottom: 26px; }
}

@media (max-width: 420px) {
  .ua-product-header-inner {
    grid-template-columns: 36px 31px minmax(80px,1fr) 36px 36px 36px;
    gap: 2px;
  }
  .ua-product-header-inner > a,
  .ua-product-header-back { width: 36px; height: 36px; }
  .ua-product-header-search { padding-inline: 8px; }
  .ua-product-gallery-column .woocommerce-product-gallery__image > a,
  .ua-product-gallery-column .woocommerce-product-gallery__image img {
    min-height: 74svh !important;
    height: 74svh !important;
  }
  .ua-variation-chips.is-size { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  .ua-product-summary-column .woocommerce-variation-add-to-cart { grid-template-columns: 92px minmax(0,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .ua-gallery-benefit-track,
  .ua-infinite-spinner,
  .ua-infinite-card { animation: none !important; }
}

/* ========================================================================
   Update Avenue v1.9.0: cart, search, authentication, footer and home feed
   ======================================================================== */

[data-ua-rotating-search] {
  transition: color .18s ease, opacity .18s ease;
}
[data-ua-rotating-search].is-changing-placeholder { opacity: .48; }

/* Dedicated search results */
.ua-search-main { padding: 20px 0 72px; }
.ua-search-hero {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--ua-border);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff4ee, #fff 54%, #f4efff);
  box-shadow: 0 16px 38px rgba(17, 24, 39, .06);
}
.ua-search-hero h1 { margin: 8px 0 10px; color: var(--ua-navy); font-size: clamp(32px, 5vw, 58px); line-height: 1.02; }
.ua-search-hero > p { max-width: 720px; margin: 0; color: var(--ua-muted); font-size: 15px; line-height: 1.65; }
.ua-search-page-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 760px;
  margin-top: 22px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--ua-border);
  border-radius: 18px;
  background: #fff;
}
.ua-search-page-form input { min-width: 0; min-height: 46px; padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.ua-search-page-form button { min-height: 46px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--ua-orange); color: #fff; font-weight: 900; }
.ua-search-category-suggestions { margin-top: 18px; padding: 20px; border: 1px solid var(--ua-border); border-radius: 24px; background: #fff; }
.ua-search-category-suggestions > div:last-child { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.ua-search-category-suggestions > div:last-child::-webkit-scrollbar { display: none; }
.ua-search-category-suggestions a { flex: 0 0 112px; display: grid; gap: 8px; justify-items: center; color: var(--ua-navy); font-size: 13px; font-weight: 850; text-align: center; }
.ua-search-category-suggestions img { width: 90px; height: 90px; border-radius: 50%; object-fit: contain; background: #f7f7f8; }
.ua-search-results-card { margin-top: 18px; padding: 20px; border: 1px solid var(--ua-border); border-radius: 24px; background: #fff; box-shadow: 0 12px 32px rgba(17, 24, 39, .05); }
.ua-search-results-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 18px; }
.ua-search-results-head h2 { margin: 0 0 4px; color: var(--ua-navy); font-size: clamp(24px, 3vw, 34px); }
.ua-search-results-head p { margin: 0; color: var(--ua-muted); }
.ua-search-results-head > a { display: inline-flex; gap: 5px; align-items: center; color: var(--ua-orange); font-weight: 850; }
.ua-search-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ua-search-empty { display: grid; justify-items: center; padding: 64px 20px; text-align: center; }
.ua-search-empty > span { color: var(--ua-orange); }
.ua-search-empty h2 { margin: 14px 0 6px; color: var(--ua-navy); }
.ua-search-empty p { max-width: 520px; color: var(--ua-muted); }
.ua-search-empty a { display: inline-flex; min-height: 46px; align-items: center; margin-top: 12px; padding: 0 18px; border-radius: 14px; background: var(--ua-orange); color: #fff; font-weight: 900; }

/* Homepage endless discovery */
.ua-home-product-feed { margin-top: 22px; padding: 20px; border: 1px solid var(--ua-border); border-radius: 26px; background: linear-gradient(180deg, #fff, #fafbfc); }
.ua-home-product-feed .ua-section-heading p { margin: 6px 0 0; color: var(--ua-muted); font-size: 13px; }
.ua-home-feed-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ua-home-feed-grid .ua-product-card { animation: ua-feed-card-in .4s ease both; animation-delay: var(--ua-stagger, 0ms); }
@keyframes ua-feed-card-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

/* App-style cart */
.ua-app-shell.woocommerce-cart .site-main,
.ua-app-shell.woocommerce-cart .content-area { width: 100%; max-width: none; }
.ua-app-shell.woocommerce-cart .woocommerce { width: min(calc(100% - 28px), 1040px); margin: 18px auto 96px; }
.ua-cart-screen { display: grid; gap: 14px; }
.ua-cart-screen-head { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 8px 4px; }
.ua-cart-screen-head h1 { margin: 0; color: var(--ua-navy); font-size: clamp(28px, 4vw, 38px); line-height: 1.05; }
.ua-cart-screen-head p { margin: 4px 0 0; color: var(--ua-muted); font-size: 13px; }
.ua-cart-back { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--ua-border); border-radius: 50%; background: #fff; color: var(--ua-navy); }
.ua-clear-cart { color: var(--ua-orange); font-weight: 900; }
.ua-cart-benefit-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px 14px; border: 1px solid var(--ua-border); border-radius: 18px; background: #fff; }
.ua-cart-benefit-row span { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--ua-navy); font-size: 12px; font-weight: 850; white-space: nowrap; }
.ua-cart-benefit-row svg { color: var(--ua-green); }
.ua-cart-form { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.ua-cart-items { overflow: hidden; border: 1px solid var(--ua-border); border-radius: 24px; background: #fff; box-shadow: 0 14px 34px rgba(17,24,39,.055); }
.ua-cart-item { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; padding: 20px; border-bottom: 1px solid var(--ua-border); }
.ua-cart-item:last-child { border-bottom: 0; }
.ua-cart-item-media { position: relative; align-self: start; }
.ua-cart-item-media > a { display: block; overflow: hidden; border-radius: 20px; background: #f7f8fa; }
.ua-cart-item-media img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.ua-cart-sale-badge { position: absolute; top: 10px; left: 10px; padding: 7px 10px; border-radius: 9px; background: var(--ua-orange); color: #fff; font-size: 11px; font-weight: 900; }
.ua-cart-item-content { display: grid; align-content: start; gap: 13px; min-width: 0; }
.ua-cart-item-title-row { display: grid; grid-template-columns: minmax(0,1fr) 36px; gap: 12px; }
.ua-cart-item-title { display: -webkit-box; overflow: hidden; color: var(--ua-navy); font-size: 18px; font-weight: 900; line-height: 1.28; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ua-cart-item-variation, .ua-cart-item-variation dl { margin: 5px 0 0; color: var(--ua-muted); font-size: 12px; }
.ua-cart-item-variation dt, .ua-cart-item-variation dd { display: inline; float: none; margin: 0 4px 0 0; }
.ua-cart-remove { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--ua-border); border-radius: 11px; color: var(--ua-muted); }
.ua-cart-item-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ua-cart-item-tags span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border-radius: 9px; background: #eefaf1; color: #159447; font-size: 11px; font-weight: 850; }
.ua-cart-item-tags span:last-child { background: #f4efff; color: #7c3aed; }
.ua-cart-item-price-row { display: flex; justify-content: space-between; gap: 12px; align-items: end; }
.ua-cart-item-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.ua-cart-item-prices strong { color: var(--ua-orange); font-size: 22px; }
.ua-cart-item-prices del { color: #9aa2b1; font-size: 13px; }
.ua-cart-item-prices small { flex-basis: 100%; color: #159447; font-weight: 850; }
.ua-cart-line-total { color: var(--ua-navy); font-size: 19px; font-weight: 900; }
.ua-cart-item-quantity .quantity { display: inline-grid; grid-template-columns: 42px 56px 42px; align-items: center; overflow: hidden; border: 1px solid var(--ua-border); border-radius: 13px; }
.ua-cart-item-quantity .quantity input { min-height: 44px; border: 0 !important; background: #fff !important; text-align: center; box-shadow: none !important; }
.ua-cart-item-quantity .ct-increase, .ua-cart-item-quantity .ct-decrease,
.ua-cart-item-quantity .quantity button { min-height: 44px; border: 0; background: #fff; }
.ua-cart-actions { display: grid; gap: 10px; margin-top: 14px; }
.ua-cart-coupon { display: grid; grid-template-columns: 34px minmax(170px,1fr) minmax(190px,.8fr) auto; gap: 12px; align-items: center; padding: 15px 16px; border: 1px solid #ffe0d1; border-radius: 18px; background: #fff4ed; }
.ua-cart-coupon > span { color: var(--ua-orange); }
.ua-cart-coupon strong, .ua-cart-coupon small { display: block; }
.ua-cart-coupon strong { color: var(--ua-navy); }
.ua-cart-coupon small { color: var(--ua-muted); }
.ua-cart-coupon input { min-height: 45px; border: 1px solid var(--ua-border) !important; border-radius: 12px !important; background: #fff !important; }
.ua-cart-coupon button { display: inline-flex; min-height: 45px; gap: 5px; align-items: center; justify-content: center; padding: 0 16px; border: 0; border-radius: 12px; background: var(--ua-orange); color: #fff; font-weight: 900; }
.ua-update-cart { justify-self: end; min-height: 45px; padding: 0 18px; border: 1px solid var(--ua-border); border-radius: 12px; background: #fff; color: var(--ua-navy); font-weight: 850; }
.ua-cart-collaterals { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.ua-cart-collaterals::before, .ua-cart-collaterals::after { display: none; }
.ua-cart-totals { float: none !important; width: 100% !important; margin-top: 0; padding: 22px; border: 1px solid var(--ua-border); border-radius: 24px; background: #fff; box-shadow: 0 14px 34px rgba(17,24,39,.055); }
.ua-cart-summary-lines { display: grid; gap: 12px; }
.ua-cart-summary-lines > div { display: flex; justify-content: space-between; gap: 16px; color: var(--ua-navy); }
.ua-cart-summary-lines strong { font-weight: 850; }
.ua-cart-summary-lines .ua-cart-discount strong, .ua-free-label { color: #159447; }
.ua-cart-grand-total { display: flex; justify-content: space-between; align-items: end; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--ua-border); color: var(--ua-navy); font-size: 20px; font-weight: 900; }
.ua-cart-grand-total strong { color: var(--ua-orange); font-size: 30px; }
.ua-cart-delivery-estimate { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 14px; border-radius: 15px; background: #f0fbf3; color: #168943; }
.ua-cart-delivery-estimate strong, .ua-cart-delivery-estimate small { display: block; }
.ua-cart-delivery-estimate small { margin-top: 3px; color: var(--ua-muted); }
.ua-cart-security-card { margin-top: 14px; padding: 15px; border: 1px solid var(--ua-border); border-radius: 16px; }
.ua-cart-security-card > div:first-child { display: flex; gap: 11px; align-items: center; color: #168943; }
.ua-cart-security-card strong, .ua-cart-security-card small { display: block; }
.ua-cart-security-card strong { color: var(--ua-navy); }
.ua-cart-security-card small { color: var(--ua-muted); }
.ua-payment-brands { display: flex; gap: 16px; align-items: center; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--ua-border); }
.ua-payment-brands > span:nth-child(2) { width: 1px; height: 22px; background: var(--ua-border); }
.ua-flutterwave-wordmark { color: #23245b; font-weight: 900; }
.ua-stripe-wordmark { color: #635bff; font-size: 20px; font-weight: 900; }
.ua-proceed-checkout { margin-top: 16px; padding: 0 !important; }
.ua-proceed-checkout .checkout-button { display: flex !important; min-height: 58px; align-items: center; justify-content: center; margin: 0 !important; border-radius: 16px !important; background: var(--ua-orange) !important; color: #fff !important; font-size: 18px !important; font-weight: 900 !important; }
.ua-cart-bottom-trust { display: flex; justify-content: center; gap: 28px; margin-top: 12px; color: var(--ua-muted); font-size: 12px; }
.ua-cart-bottom-trust span { display: inline-flex; gap: 6px; align-items: center; }
.ua-cart-page .ua-ai-assistant { bottom: calc(94px + env(safe-area-inset-bottom)); }

/* Authentication */
.ua-app-shell.woocommerce-account:not(.logged-in) .entry-header,
.ua-app-shell.woocommerce-account:not(.logged-in) .hero-section,
.ua-app-shell.woocommerce-account:not(.logged-in) .page-title { display: none !important; }
.ua-app-shell.woocommerce-account:not(.logged-in) .site-main,
.ua-app-shell.woocommerce-account:not(.logged-in) .content-area,
.ua-app-shell.woocommerce-account:not(.logged-in) .woocommerce { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.ua-auth-page { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(480px, 1.1fr); min-height: min(900px, calc(100vh - 80px)); background: #fff; }
.ua-auth-hero { position: relative; overflow: hidden; min-height: 720px; padding: clamp(36px, 5vw, 70px); background: linear-gradient(160deg, #d43a00 0%, #f05a17 70%, #ff8e53 100%); color: #fff; }
.ua-auth-hero::after { position: absolute; right: -15%; bottom: -12%; left: -15%; height: 44%; border-radius: 50% 50% 0 0; background: linear-gradient(180deg, rgba(255,255,255,.92), #fff); content: ''; }
.ua-auth-hero-brand { display: flex; gap: 12px; align-items: center; font-size: 30px; }
.ua-auth-hero-brand img { width: 58px; height: 58px; object-fit: contain; filter: brightness(0) invert(1); }
.ua-auth-hero > p { margin: 48px 0 8px; font-size: 18px; }
.ua-auth-hero h1 { margin: 0; color: #fff; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; }
.ua-auth-scene { position: absolute; z-index: 2; right: 7%; bottom: 18%; left: 7%; height: 300px; }
.ua-auth-globe { position: absolute; left: 33%; bottom: 30px; width: 190px; height: 190px; border: 3px solid rgba(255,255,255,.72); border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fff7f2, #ffd5c4); box-shadow: inset 0 0 0 18px rgba(255,255,255,.18), 0 24px 40px rgba(108,32,0,.18); }
.ua-auth-globe::before, .ua-auth-globe::after { position: absolute; inset: 18px 65px; border: 2px solid rgba(227,75,15,.35); border-radius: 50%; content: ''; }
.ua-auth-globe::after { inset: 65px 18px; }
.ua-auth-truck { position: absolute; left: 11%; bottom: 42px; width: 124px; height: 68px; border-radius: 12px 20px 12px 12px; background: linear-gradient(135deg,#fff5ef,#ffb28c); box-shadow: 0 18px 24px rgba(108,32,0,.16); }
.ua-auth-truck::before { position: absolute; right: -34px; bottom: 0; width: 48px; height: 48px; border-radius: 10px 14px 8px 8px; background: #fff1e9; content: ''; }
.ua-auth-truck::after { position: absolute; right: 3px; bottom: -14px; width: 28px; height: 28px; border: 6px solid #fff; border-radius: 50%; background: #e85820; content: ''; box-shadow: -80px 0 0 -6px #e85820, -80px 0 0 0 #fff; }
.ua-auth-package { position: absolute; right: 9%; bottom: 42px; width: 100px; height: 92px; transform: rotate(4deg); border-radius: 10px; background: linear-gradient(135deg,#ffb489,#f26a2d); box-shadow: 0 18px 25px rgba(108,32,0,.15); }
.ua-auth-pin { position: absolute; top: 14px; left: 48%; width: 44px; height: 60px; transform: rotate(45deg); border-radius: 50% 50% 50% 0; background: #ff6a35; box-shadow: inset 0 0 0 8px rgba(255,255,255,.18); }
.ua-auth-shield { position: absolute; top: 104px; right: 18%; display: flex; width: 58px; height: 64px; align-items: center; justify-content: center; clip-path: polygon(50% 0, 94% 18%, 83% 76%, 50% 100%, 17% 76%, 6% 18%); background: #ffc13c; color: #fff; font-size: 28px; font-weight: 900; }
.ua-auth-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 72px); background: #fff; }
.ua-auth-tabs { display: flex; gap: 8px; margin-bottom: 18px; padding: 5px; border-radius: 14px; background: #f4f5f7; }
.ua-auth-tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 11px; background: transparent; color: var(--ua-muted); font-weight: 900; }
.ua-auth-tabs button.is-active { background: #fff; color: var(--ua-navy); box-shadow: 0 5px 14px rgba(17,24,39,.08); }
.ua-auth-social-buttons { display: grid; gap: 12px; }
.ua-auth-social-buttons a { position: relative; display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; min-height: 58px; padding: 0 18px; border: 1.5px solid var(--ua-navy); border-radius: 999px; color: var(--ua-navy); text-align: center; }
.ua-auth-social-buttons strong { grid-column: 2; }
.ua-google-g { display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: conic-gradient(#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0); color: #fff; font-weight: 900; }
.ua-auth-divider { display: flex; gap: 16px; align-items: center; margin: 18px 0; color: var(--ua-muted); font-size: 12px; }
.ua-auth-divider::before, .ua-auth-divider::after { flex: 1; height: 1px; background: var(--ua-border); content: ''; }
.ua-auth-panel { scroll-margin-top: 90px; }
.ua-auth-panel-heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.ua-auth-panel-heading > span { display: flex; width: 44px; height: 44px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 14px; background: var(--ua-orange-soft); color: var(--ua-orange); }
.ua-auth-panel-heading h2 { margin: 0; color: var(--ua-navy); font-size: 24px; }
.ua-auth-panel-heading p { margin: 4px 0 0; color: var(--ua-muted); font-size: 13px; }
.ua-auth-form { display: grid; gap: 13px; padding: 0 !important; border: 0 !important; }
.ua-auth-form p { margin: 0; }
.ua-auth-form label { color: var(--ua-navy); font-weight: 800; }
.ua-auth-form input.input-text { min-height: 52px; margin-top: 6px; border: 1px solid var(--ua-border) !important; border-radius: 14px !important; background: #fafbfc !important; }
.ua-auth-form-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 13px; }
.ua-auth-form-actions a { color: var(--ua-orange); font-weight: 850; }
.ua-auth-submit { width: 100%; min-height: 54px; border-radius: 999px !important; background: var(--ua-orange) !important; color: #fff !important; font-weight: 900 !important; }
.ua-auth-guest { align-self: center; margin-top: 22px; color: var(--ua-muted); text-decoration: underline; font-weight: 800; }
.ua-auth-legal { margin: 22px auto 0; max-width: 600px; color: var(--ua-muted); font-size: 12px; line-height: 1.55; text-align: center; }
.ua-auth-legal a { color: var(--ua-navy); text-decoration: underline; }

/* Larger, collapsible footer */
.ua-site-footer { margin-top: 40px; background: #f4f4f4; color: #171717; }
.ua-footer-promo { display: flex; gap: 12px; align-items: center; padding: 16px max(22px, calc((100vw - 1180px)/2)); background: #fff0e2; }
.ua-footer-promo > span { color: #169342; }
.ua-footer-promo strong { font-size: 16px; }
.ua-footer-promo a { display: inline-flex; gap: 5px; align-items: center; margin-left: auto; color: #333; }
.ua-footer-shell { width: min(calc(100% - 32px), 1180px); margin: 0 auto; padding: 34px 0 20px; }
.ua-footer-brand { padding-bottom: 24px; border-bottom: 1px solid #ddd; }
.ua-footer-brand p { max-width: 700px; color: #666; line-height: 1.6; }
.ua-footer-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ua-footer-socials a { display: inline-flex; gap: 8px; align-items: center; min-height: 42px; padding: 0 13px; border: 1px solid #d8d8d8; border-radius: 999px; background: #fff; color: #4d4d4d; font-size: 12px; font-weight: 850; }
.ua-footer-socials a:hover { transform: translateY(-2px); color: var(--ua-orange); box-shadow: 0 8px 16px rgba(0,0,0,.06); }
.ua-footer-accordions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 24px; }
.ua-footer-accordions details { border: 0; }
.ua-footer-accordions summary { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 0; color: #111; font-size: 17px; font-weight: 900; cursor: pointer; list-style: none; }
.ua-footer-accordions summary::-webkit-details-marker { display: none; }
.ua-footer-accordions summary svg { transition: transform .2s ease; }
.ua-footer-accordions details[open] summary svg { transform: rotate(90deg); }
.ua-footer-accordions details > div { display: grid; gap: 13px; padding: 5px 0 10px; }
.ua-footer-accordions a { color: #555; font-size: 14px; line-height: 1.4; }
.ua-footer-accordions a:hover { color: var(--ua-orange); }
.ua-footer-bottom { display: flex; justify-content: space-between; gap: 14px; padding: 18px max(22px, calc((100vw - 1180px)/2)); border-top: 1px solid #ddd; color: #777; font-size: 12px; }

@media (max-width: 1024px) {
  .ua-search-product-grid, .ua-home-feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ua-auth-page { grid-template-columns: 1fr; }
  .ua-auth-hero { min-height: 480px; }
  .ua-auth-card { padding: 32px max(24px, 8vw) 52px; }
  .ua-footer-accordions { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .ua-search-main { padding: 10px 0 90px; }
  .ua-search-hero { padding: 19px; border-radius: 20px; }
  .ua-search-hero h1 { font-size: 30px; overflow-wrap: anywhere; }
  .ua-search-page-form { grid-template-columns: auto minmax(0,1fr); padding: 7px 12px; }
  .ua-search-page-form button { grid-column: 1 / -1; width: 100%; }
  .ua-search-category-suggestions, .ua-search-results-card { padding: 14px; border-radius: 19px; }
  .ua-search-category-suggestions a { flex-basis: 88px; font-size: 11px; }
  .ua-search-category-suggestions img { width: 72px; height: 72px; }
  .ua-search-results-head { display: grid; align-items: start; }
  .ua-search-results-head > a { font-size: 12px; }
  .ua-search-product-grid, .ua-home-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ua-home-product-feed { padding: 13px; border-radius: 20px; }

  .ua-app-shell.woocommerce-cart .woocommerce { width: min(calc(100% - 20px), 680px); margin-top: 8px; }
  .ua-cart-screen-head { grid-template-columns: 38px minmax(0,1fr) auto; }
  .ua-cart-screen-head h1 { font-size: 27px; }
  .ua-cart-screen-head p { font-size: 11px; }
  .ua-cart-back { width: 36px; height: 36px; }
  .ua-cart-benefit-row { display: flex; gap: 18px; overflow-x: auto; padding: 11px 13px; scrollbar-width: none; }
  .ua-cart-benefit-row::-webkit-scrollbar { display: none; }
  .ua-cart-benefit-row span { flex: 0 0 auto; font-size: 11px; }
  .ua-cart-item { grid-template-columns: 132px minmax(0,1fr); gap: 12px; padding: 14px 12px; }
  .ua-cart-item-media > a { border-radius: 15px; }
  .ua-cart-sale-badge { top: 6px; left: 6px; padding: 5px 7px; }
  .ua-cart-item-content { gap: 9px; }
  .ua-cart-item-title-row { grid-template-columns: minmax(0,1fr) 30px; gap: 7px; }
  .ua-cart-item-title { font-size: 14px; line-height: 1.25; -webkit-line-clamp: 3; }
  .ua-cart-remove { width: 30px; height: 30px; border: 0; }
  .ua-cart-item-tags { gap: 5px; }
  .ua-cart-item-tags span { padding: 5px 6px; font-size: 9px; }
  .ua-cart-item-price-row { align-items: center; }
  .ua-cart-item-prices strong { font-size: 18px; }
  .ua-cart-item-prices del { display: none; }
  .ua-cart-item-prices small { font-size: 10px; }
  .ua-cart-line-total { font-size: 14px; }
  .ua-cart-item-quantity .quantity { grid-template-columns: 34px 42px 34px; }
  .ua-cart-item-quantity .quantity input, .ua-cart-item-quantity .quantity button, .ua-cart-item-quantity .ct-increase, .ua-cart-item-quantity .ct-decrease { min-height: 38px; }
  .ua-cart-coupon { grid-template-columns: 30px minmax(0,1fr) auto; padding: 12px; }
  .ua-cart-coupon input { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .ua-cart-coupon button { grid-column: 1 / -1; grid-row: 3; width: 100%; }
  .ua-update-cart { width: 100%; justify-self: stretch; }
  .ua-cart-totals { padding: 16px 14px; border-radius: 20px; }
  .ua-cart-grand-total strong { font-size: 26px; }
  .ua-cart-delivery-estimate { align-items: flex-start; font-size: 12px; }
  .ua-proceed-checkout { position: sticky; z-index: 12; bottom: calc(78px + env(safe-area-inset-bottom)); margin-right: -4px; margin-left: -4px; padding: 8px 4px !important; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
  .ua-cart-bottom-trust { gap: 12px; font-size: 10px; }
  .ua-cart-page .ua-ai-launcher { width: 50px; min-width: 50px; padding: 0; justify-content: center; }
  .ua-cart-page .ua-ai-launcher > span:last-child { display: none; }

  .ua-auth-page { display: block; min-height: 0; }
  .ua-auth-hero { min-height: 430px; padding: 28px 24px; }
  .ua-auth-hero-brand { justify-content: center; font-size: 25px; }
  .ua-auth-hero-brand img { width: 50px; height: 50px; }
  .ua-auth-hero > p { margin: 28px 0 6px; text-align: center; }
  .ua-auth-hero h1 { font-size: 38px; text-align: center; }
  .ua-auth-scene { right: 2%; bottom: 10%; left: 2%; transform: scale(.78); transform-origin: center bottom; }
  .ua-auth-card { position: relative; z-index: 4; margin-top: -28px; padding: 24px 18px 104px; border-radius: 28px 28px 0 0; }
  .ua-auth-social-buttons a { min-height: 55px; }
  .ua-auth-panel-heading h2 { font-size: 21px; }

  .ua-site-footer { margin-bottom: 72px; }
  .ua-footer-promo { padding: 13px 18px; }
  .ua-footer-promo strong { font-size: 14px; }
  .ua-footer-promo a { font-size: 11px; }
  .ua-footer-shell { width: 100%; padding: 22px 0 0; }
  .ua-footer-brand { padding: 0 20px 22px; }
  .ua-footer-socials { gap: 8px; }
  .ua-footer-socials a { width: 42px; height: 42px; min-height: 42px; justify-content: center; padding: 0; }
  .ua-footer-socials a span { display: none; }
  .ua-footer-accordions { display: block; padding-top: 0; }
  .ua-footer-accordions details { border-top: 1px solid #ddd; background: #f5f5f5; }
  .ua-footer-accordions summary { min-height: 62px; padding: 0 20px; background: #fff; font-size: 18px; }
  .ua-footer-accordions details > div { gap: 0; padding: 0; }
  .ua-footer-accordions details > div a { display: block; padding: 16px 20px; border-top: 1px solid #e5e5e5; font-size: 15px; }
  .ua-footer-bottom { display: grid; justify-items: center; padding: 22px 20px 28px; text-align: center; }
}

@media (max-width: 390px) {
  .ua-cart-item { grid-template-columns: 112px minmax(0,1fr); }
  .ua-cart-item-title { font-size: 13px; }
  .ua-cart-item-tags span:last-child { display: none; }
  .ua-search-product-grid, .ua-home-feed-grid { gap: 8px; }
}

/* Page-shell refinements */
.ua-cart-page .ua-site-header { display: none !important; }
.ua-cart-page .ua-cart-screen { padding-top: 4px; }
.ua-app-shell.woocommerce-account:not(.logged-in) .ua-site-header,
.ua-app-shell.woocommerce-account:not(.logged-in) .ua-site-footer,
.ua-app-shell.woocommerce-account:not(.logged-in) .ua-mobile-nav,
.ua-app-shell.woocommerce-account:not(.logged-in) .ua-ai-assistant { display: none !important; }
.ua-app-shell.woocommerce-account:not(.logged-in) { padding-bottom: 0 !important; background: #fff; }
.ua-app-shell.woocommerce-account:not(.logged-in) #main-container,
.ua-app-shell.woocommerce-account:not(.logged-in) .site-main { padding: 0 !important; }

@media (max-width: 767px) {
  .ua-cart-page .ua-cart-screen { padding-top: max(5px, env(safe-area-inset-top)); }
}

/* ========================================================================
   Update Avenue v1.9.1: footer, cart-title and search refinements
   ======================================================================== */

/* Keep only the custom shopping-cart heading. */
body.ua-cart-page .hero-section,
body.ua-cart-page .page-title,
body.ua-cart-page .entry-header,
body.ua-cart-page .ct-page-title,
body.ua-cart-page .page-header,
body.ua-cart-page [class*="page-title"]:not(.ua-cart-screen-head) {
  display: none !important;
}
body.ua-cart-page .ua-cart-screen-head,
body.ua-cart-page .ua-cart-screen-head h1 {
  display: grid;
}
body.ua-cart-page .ua-cart-screen-head h1 {
  margin: 0;
}

/* Restore the premium black footer and remove the loose light-theme spacing. */
.ua-site-footer {
  margin-top: 40px;
  background: #0f1728 !important;
  color: #fff !important;
}
.ua-footer-promo {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px max(22px, calc((100vw - 1180px)/2));
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: #111c30 !important;
  color: #fff;
}
.ua-footer-promo > span { color: #45cf78; }
.ua-footer-promo strong { color: #fff; }
.ua-footer-promo a {
  display: inline-flex !important;
  gap: 5px;
  align-items: center;
  margin: 0 0 0 auto !important;
  color: #ff9a72 !important;
}
.ua-footer-shell {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
  padding: 38px 0 24px;
}
.ua-footer-brand {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
}
.ua-site-footer .ua-brand,
.ua-site-footer .ua-brand span { color: #fff !important; }
.ua-site-footer .ua-brand strong { color: var(--ua-orange) !important; }
.ua-footer-brand p {
  max-width: 680px;
  margin: 16px 0 0;
  color: #b5c0d0 !important;
  line-height: 1.7;
}
.ua-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.ua-site-footer .ua-footer-socials a {
  display: inline-flex !important;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  margin: 0 !important;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #dbe3ef !important;
  font-size: 12px;
  font-weight: 850;
}
.ua-site-footer .ua-footer-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(255,90,31,.6);
  background: rgba(255,90,31,.12);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.ua-footer-accordions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
  padding-top: 28px;
}
.ua-footer-accordions details {
  min-width: 0;
  border: 0;
  background: transparent;
}
.ua-footer-accordions summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 0 0 10px;
  color: #fff !important;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.ua-footer-accordions summary svg { color: #91a0b5; }
.ua-footer-accordions details > div {
  display: grid;
  gap: 0;
  padding: 0;
}
.ua-site-footer .ua-footer-accordions a {
  display: block !important;
  margin: 0 !important;
  padding: 8px 0;
  color: #aeb9c9 !important;
  font-size: 13px;
  line-height: 1.45;
}
.ua-site-footer .ua-footer-accordions a:hover { color: #fff !important; }
.ua-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 20px max(22px, calc((100vw - 1180px)/2));
  border-top: 1px solid rgba(255,255,255,.12) !important;
  background: #0b1322;
  color: #8997aa !important;
  font-size: 12px;
}

/* The existing header search is the only search input on results pages. */
.ua-search-page-form { display: none !important; }
.ua-search-hero { gap: 8px; }
.ua-search-hero p { max-width: 720px; }

/* Keep the discovery feed descriptive without exposing implementation details. */
.ua-home-product-feed .ua-section-heading p { max-width: 620px; }

@media (max-width: 1024px) {
  .ua-footer-accordions { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 28px; }
}

@media (max-width: 767px) {
  body.ua-cart-page .hero-section,
  body.ua-cart-page .entry-header,
  body.ua-cart-page .page-header,
  body.ua-cart-page .ct-page-title { display: none !important; }

  .ua-site-footer {
    margin-bottom: 72px;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .ua-footer-promo {
    padding: 13px 18px;
    background: #131f34 !important;
  }
  .ua-footer-promo strong { font-size: 13px; }
  .ua-footer-promo a { font-size: 11px; white-space: nowrap; }
  .ua-footer-shell { width: 100%; padding: 24px 0 0; }
  .ua-footer-brand { padding: 0 20px 24px; }
  .ua-footer-brand p { margin-top: 13px; font-size: 14px; line-height: 1.6; }
  .ua-footer-socials { gap: 9px; }
  .ua-site-footer .ua-footer-socials a {
    width: 44px;
    height: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
    background: rgba(255,255,255,.07);
  }
  .ua-footer-socials a span { display: none; }
  .ua-footer-accordions { display: block; padding-top: 0; }
  .ua-footer-accordions details {
    border-top: 1px solid rgba(255,255,255,.10) !important;
    background: #0f1728 !important;
  }
  .ua-footer-accordions summary {
    min-height: 60px;
    padding: 0 20px;
    background: #111c30 !important;
    color: #fff !important;
    font-size: 17px;
  }
  .ua-footer-accordions details[open] summary {
    background: #14223a !important;
  }
  .ua-footer-accordions details > div {
    gap: 0;
    padding: 0;
    background: #0d1626;
  }
  .ua-site-footer .ua-footer-accordions details > div a {
    display: flex !important;
    min-height: 50px;
    align-items: center;
    margin: 0 !important;
    padding: 13px 20px;
    border-top: 1px solid rgba(255,255,255,.07);
    color: #b8c3d2 !important;
    font-size: 14px;
  }
  .ua-footer-bottom {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 20px 20px 26px;
    text-align: center;
  }
  .ua-search-hero { padding: 18px; }
  .ua-search-hero h1 { margin-bottom: 4px; }
}

@media (max-width: 390px) {
  .ua-footer-promo { gap: 8px; padding-inline: 14px; }
  .ua-footer-promo strong { font-size: 12px; }
  .ua-footer-promo a { font-size: 10px; }
  .ua-footer-brand { padding-inline: 16px; }
  .ua-footer-accordions summary,
  .ua-site-footer .ua-footer-accordions details > div a { padding-inline: 16px; }
}

/* ========================================================================
   Update Avenue v1.9.2: centered footer, brand social icons, animated offers,
   tighter spacing, and refreshed product shelves.
   ======================================================================== */

/* Keep the footer close to the final shopping section without crowding it. */
.ua-site-footer {
  margin-top: 14px !important;
}
.ua-home-main {
  padding-bottom: 0 !important;
}
.ua-home-main .ua-page-width > :last-child {
  margin-bottom: 10px !important;
}
.ua-home-product-feed {
  margin-bottom: 10px !important;
}
.ua-infinite-scroll-enabled .ua-infinite-load-status {
  min-height: 48px;
  margin: 10px 0 4px;
  padding: 10px 14px;
}
.ua-infinite-load-status.is-complete {
  display: none !important;
}

/* Animated, multicolour offer ribbon above the footer. */
.ua-footer-promo {
  position: relative;
  display: block !important;
  min-height: 54px;
  overflow: hidden;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.11);
  background: linear-gradient(90deg, #101c30, #13213a 48%, #101c30) !important;
  color: #fff !important;
  text-decoration: none !important;
}
.ua-footer-promo-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  align-items: stretch;
  animation: ua-footer-offers-scroll 25s linear infinite;
  will-change: transform;
}
.ua-footer-promo-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 54px;
}
.ua-footer-promo-set strong {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  padding: 0 25px;
  border-right: 1px solid rgba(255,255,255,.11);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .01em;
  white-space: nowrap;
}
.ua-footer-promo-set .is-green { color: #51e38d; }
.ua-footer-promo-set .is-orange { color: #ff9a72; }
.ua-footer-promo-set .is-yellow { color: #ffd65a; }
.ua-footer-promo-set .is-purple { color: #c6a6ff; }
.ua-footer-promo-set .is-blue { color: #78c8ff; }
.ua-footer-promo:hover .ua-footer-promo-track {
  animation-play-state: paused;
}
@keyframes ua-footer-offers-scroll {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}

/* Real brand-colour social marks. */
.ua-social-brand-icon {
  display: block;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  overflow: visible;
}
.ua-site-footer .ua-footer-socials a {
  justify-content: center;
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.055) !important;
}
.ua-site-footer .ua-footer-socials a:hover {
  background: rgba(255,255,255,.11) !important;
}

/* Center the final copyright and shopping message on every screen. */
.ua-footer-bottom {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center !important;
  gap: 7px !important;
  text-align: center !important;
}
.ua-footer-bottom > span {
  width: 100%;
  text-align: center;
}

/* Sticky product action disappears before it can overlap the footer. */
.ua-mobile-buybar {
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.ua-mobile-buybar.is-hidden-at-footer {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(24px) !important;
}

/* Fresh products arriving after page load should animate cleanly. */
.ua-home-random-section .ua-product-grid {
  min-height: 220px;
}
.ua-home-random-section .ua-product-card {
  animation: ua-random-shelf-arrive .42s ease both;
  animation-delay: var(--ua-stagger, 0ms);
}
@keyframes ua-random-shelf-arrive {
  from { opacity: 0; transform: translateY(13px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 767px) {
  .ua-site-footer {
    margin-top: 8px !important;
  }
  .ua-footer-promo,
  .ua-footer-promo-set,
  .ua-footer-promo-set strong {
    min-height: 48px;
  }
  .ua-footer-promo-set strong {
    padding-inline: 18px;
    font-size: 11.5px;
  }
  .ua-footer-shell {
    padding-top: 19px !important;
  }
  .ua-footer-brand {
    padding-bottom: 19px !important;
  }
  .ua-footer-brand p {
    margin-top: 10px !important;
  }
  .ua-footer-socials {
    margin-top: 15px !important;
  }
  .ua-footer-bottom {
    padding-top: 17px !important;
    padding-bottom: 22px !important;
  }
  .ua-home-main .ua-page-width > :last-child {
    margin-bottom: 6px !important;
  }
  .ua-infinite-scroll-enabled .ua-infinite-load-status {
    min-height: 42px;
    margin-bottom: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ua-footer-promo-track,
  .ua-home-random-section .ua-product-card {
    animation: none !important;
  }
}
