/*
Theme Name: Veliso
Theme URI: https://veliso.co.uk/
Author: Kode Creatives
Author URI: https://kodecreatives.com/
Description: Custom WooCommerce theme for Veliso, built from an HTML/CSS design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: veliso
*/

/* ==========================================
   1. VARIABLES & GLOBAL RESET
   ========================================== */
:root {
  --canvas: #FBF7F2;
  --surface: #FFFFFF;
  --ink: #1C1B19;
  --muted: #6E6A63;
  --line: #E8E1D8;
  --line-strong: #D6CEC2;
  --tomato: #FF5A36;
  --butter: #F5D547;
  --sage: #A8C3A0;
  --sky: #8FC7E8;
  --lilac: #C9B8E8;
  --clay: #E8A87C;
  --mint: #9FE0C8;
  --cobalt: #3D5AFE;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 40px;
  --pad: clamp(18px, 4vw, 56px);
  --max: 1360px;
  --shadow: 0 14px 34px -22px rgba(28,27,25,.28);
  --shadow-lg: 0 24px 60px -32px rgba(28,27,25,.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
  background-color: var(--canvas); 
  color: var(--ink); 
  font-family: "Instrument Sans", system-ui, sans-serif; 
  font-size: 16px; 
  line-height: 1.5; 
  -webkit-font-smoothing: antialiased; 
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

h1, h2, h3, h4, .logo { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -.022em; line-height: 1.05; }
h1 { font-size: clamp(32px, 4.4vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; font-family: "Instrument Sans", sans-serif; }
.eyebrow { font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* ==========================================
   2. BUTTONS & UI ELEMENTS
   ========================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 100px; font-weight: 600; font-size: 14.5px; transition: .2s; border: none; cursor: pointer; }
.btn--dark { background: var(--ink); color: var(--canvas); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(28,27,25,.5); }
.btn--ghost { border: 1.5px solid var(--ink); padding: 12.5px 24px; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--canvas); }
.btn--full { width: 100%; }
.btn svg { width: 15px; height: 15px; }

/* ==========================================
   3. HEADER & NAVIGATION
   ========================================== */
.header { position: sticky; top: 0; z-index: 60; background: rgba(251,247,242,.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 14px 0; min-height: 72px; }
.logo { font-size: 27px; letter-spacing: -.045em; display: inline-block; }
.logo::after { content: "."; color: var(--tomato); }

/* WordPress Menu Overrides */
.nav { display: flex; justify-content: center; flex: 1; }
.nav > div { width: auto; }
.nav ul { display: flex; flex-direction: row; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav ul li { margin: 0; padding: 0; }
.nav ul li a { font-family: "Instrument Sans", sans-serif; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; transition: color 0.2s; }
.nav ul li a:hover { color: var(--tomato); }
.nav ul li.current-menu-item a { color: var(--tomato); }

.actions { display: flex; align-items: center; gap: 15px; }
.icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 100px; position: relative; transition: .18s; }
.icon:hover { background: rgba(28,27,25,.06); }
.icon svg { width: 19px; height: 19px; }
.dot { position: absolute; top: 9px; right: 9px; min-width: 18px; height: 18px; border-radius: 100px; background: var(--tomato); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }

/* Category Rail */
.rail { border-bottom: 1px solid var(--line); background: var(--canvas); position: sticky; top: 72px; z-index: 55; }
.rail__in { display: flex; gap: 8px; overflow-x: auto; padding-block: 11px; scrollbar-width: none;align-items: center;justify-content: center; }
.rail__in::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 100px; font-size: 13.5px; font-weight: 500; white-space: nowrap; border: 1px solid var(--line); background: var(--surface); transition: .18s; flex: none; }
.chip:hover { transform: translateY(-1px); border-color: transparent; background: var(--c); color: var(--ink); }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 100px; background: var(--c, var(--ink)); }
.chip.is-active { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.chip.is-active::before { background: var(--canvas); }

/* ==========================================
   4. HOMEPAGE: TICKER & HERO
   ========================================== */
.ticker { background: var(--ink); color: var(--canvas); overflow: hidden; padding: 9px 0; }
.ticker__track { display: flex; gap: 56px; width: max-content; animation: scroll 40s linear infinite; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; font-weight: 500; }
.ticker__track span::after { content: "◆"; margin-left: 56px; font-size: 8px; opacity: .5; vertical-align: middle; }
@keyframes scroll { to { transform: translateX(-50%); } }

.hero { padding-block: clamp(30px, 4vw, 56px); }
.hero__in { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-block: 16px 20px; font-size: clamp(38px, 5.6vw, 72px); line-height: 1.03; }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; z-index: 1; }
.hero h1 em::after { content: ""; position: absolute; left: -3%; right: -3%; bottom: 5%; height: 36%; background: var(--butter); z-index: -1; border-radius: 4px; transform: rotate(-.7deg); }
.hero p { font-size: 16.5px; color: var(--muted); max-width: 46ch; margin-bottom: 28px; line-height: 1.55; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero__meta { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero__meta div { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__meta b { color: var(--ink); font-weight: 600; font-size: 14px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--ink); opacity: .8; }
.hero__art { position: relative; }
.hero__img { aspect-ratio: 1/1.05; border-radius: var(--r-2xl); overflow: hidden; background: #EDE7DF; position: relative; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.9,.3,1); }
.hero__img:hover img { transform: scale(1.04); }
.hero__badge { position: absolute; background: var(--canvas); border-radius: 100px; padding: 10px 18px; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 9px; box-shadow: var(--shadow); z-index: 2; }
.hero__badge--tl { top: 22px; left: 22px; }
.hero__badge--br { bottom: 22px; right: 22px; }
.hero__badge::before { content: ""; width: 7px; height: 7px; border-radius: 100px; background: var(--tomato); }
.hero__badge--ok::before { background: #3FB27F; }

/* ==========================================
   5. HOMEPAGE: SECTIONS & GRIDS
   ========================================== */
.trust { border-block: 1px solid var(--line); padding-block: 20px; background: var(--surface); }
.trust__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__ico { width: 38px; height: 38px; border-radius: 100px; background: var(--canvas); display: grid; place-items: center; flex: none; }
.trust__ico svg { width: 17px; height: 17px; }
.trust__item b { display: block; font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.trust__item span { color: var(--muted); font-size: 12.5px; }

.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.shead h2 { max-width: 22ch; }
.shead p { color: var(--muted); font-size: 14.5px; margin-top: 8px; max-width: 48ch; line-height: 1.55; }
.slink { font-size: 14px; font-weight: 600; border-bottom: 2px solid var(--ink); padding-bottom: 2px; white-space: nowrap; transition: .15s; display: inline-flex; align-items: center; gap: 6px; }
.slink:hover { border-color: var(--tomato); color: var(--tomato); }

/* Deal Bar */
.dealbar { padding-block: clamp(30px, 4vw, 48px); }
.dealbar__in { background: var(--ink); color: var(--canvas); border-radius: var(--r-2xl); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.dealbar h2 { color: var(--canvas); font-size: clamp(24px, 3.2vw, 38px); }
.dealbar p { opacity: .72; margin-top: 12px; font-size: 15px; max-width: 44ch; }
.dealbar__cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.dealbar__cta .btn { background: var(--canvas); color: var(--ink); }
.dealbar__cta .btn:hover { background: var(--tomato); color: #fff; transform: translateY(-2px); }
.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.count div { background: rgba(251,247,242,.08); border: 1px solid rgba(251,247,242,.14); border-radius: var(--r-md); padding: 14px 8px; text-align: center; }
.count b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.count span { font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; opacity: .55; margin-top: 6px; display: block; }

/* Bento Grid */
.bento__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.tile { position: relative; border-radius: var(--r-lg); padding: 22px; background: var(--c); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: .25s; min-height: 180px; text-decoration: none; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile--lg { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile__bg { position: absolute; inset: 0; z-index: 1; }
.tile__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: .5s; }
.tile--dark .tile__bg img { opacity: .8; }
.tile:hover .tile__bg img { transform: scale(1.06); opacity: .7; }
.tile__name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -.022em; position: relative; z-index: 2; line-height: 1.1; margin-bottom: 4px; }
.tile__count { font-size: 12px; font-weight: 500; opacity: .72; position: relative; z-index: 2; }
.tile--dark .tile__name, .tile--dark .tile__count { color: var(--canvas); }

/* ==========================================
   6. HOMEPAGE WOOCOMMERCE SHORTCODE GRID
   ========================================== */
.veliso-products-shortcode ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 24px !important; list-style: none !important; padding: 0 !important; margin: 0 !important; width: 100% !important; }
.veliso-products-shortcode ul.products::before, .veliso-products-shortcode ul.products::after { display: none !important; }
.veliso-products-shortcode ul.products li.product { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; float: none !important; display: flex !important; flex-direction: column !important; text-align: left !important; }
.veliso-products-shortcode ul.products li.product a img { width: 100% !important; aspect-ratio: 1 / 1.1 !important; object-fit: cover !important; border-radius: 16px !important; margin-bottom: 12px !important; }
.veliso-products-shortcode ul.products li.product .woocommerce-loop-product__title { font-family: 'Instrument Sans', sans-serif !important; font-size: 15px !important; font-weight: 600 !important; color: #1C1B19 !important; padding: 0 !important; margin: 0 0 6px 0 !important; line-height: 1.3 !important; }
.veliso-products-shortcode ul.products li.product .price { font-family: 'Instrument Sans', sans-serif !important; font-size: 15px !important; font-weight: 600 !important; color: #1C1B19 !important; margin-bottom: 12px !important; display: block !important; }
.veliso-products-shortcode ul.products li.product .button { display: inline-block !important; width: 50% !important; background-color: #1C1B19 !important; color: #FBF7F2 !important; border-radius: 30px !important; padding: 10px 20px !important; font-family: 'Instrument Sans', sans-serif !important; font-size: 13px !important; font-weight: 600 !important; text-decoration: none !important; margin-top: auto !important; transition: background 0.2s ease !important; border: none !important; }
.veliso-products-shortcode ul.products li.product .button:hover { background-color: #FF5A36 !important; color: #fff !important; }

/* ==========================================
   7. PROMOS & EDITORIAL
   ========================================== */
.promos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo { border-radius: var(--r-2xl); padding: clamp(26px, 3.5vw, 44px); min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: .25s; text-decoration: none; }
.promo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.promo__inner { position: relative; z-index: 2; max-width: 60%; }
.promo h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(24px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; margin-bottom: 12px; }
.promo p { font-size: 14.5px; opacity: .78; margin-bottom: 22px; line-height: 1.5; }
.promo .btn--dark { background: var(--ink); color: var(--canvas); padding: 12px 22px; font-size: 14px; }
.promo__img { position: absolute; right: 0; bottom: 0; width: 50%; height: 100%; z-index: 1; border-radius: 0 32px 32px 0; overflow: hidden; }
.promo__img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.promo:hover .promo__img img { transform: scale(1.05); }

.editorial__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.editorial__art { border-radius: var(--r-2xl); overflow: hidden; aspect-ratio: 1/.9; position: relative; background: var(--sage); }
.editorial__art img { width: 100%; height: 100%; object-fit: cover; }
.editorial__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(28,27,25,.4)); pointer-events: none; }
.editorial__pill { position: absolute; bottom: 22px; left: 22px; background: var(--canvas); border-radius: 100px; padding: 10px 18px; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 9px; z-index: 2; }
.editorial h2 { margin-block: 14px 18px; }
.editorial p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; max-width: 46ch; line-height: 1.6; }
.stats { display: flex; gap: 36px; margin-top: 30px; flex-wrap: wrap; }
.stat b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat span { font-size: 12.5px; color: var(--muted); margin-top: 4px; display: block; }

/* ==========================================
   8. TESTIMONIALS & JOURNAL
   ========================================== */
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--canvas); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: .2s; }
.review:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stars { display: flex; gap: 2px; }
.stars svg { width: 14px; height: 14px; fill: var(--ink); }
.review p { font-size: 15px; line-height: 1.55; flex: 1; }
.review__by { display: flex; align-items: center; gap: 11px; margin-top: 6px; }
.review__av { width: 34px; height: 34px; border-radius: 100px; overflow: hidden; flex: none; background: var(--line); }
.review__av img { width: 100%; height: 100%; object-fit: cover; }
.review__by b { font-size: 13.5px; font-weight: 600; display: block; }
.review__by span { font-size: 12px; color: var(--muted); }

.jgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.jcard { display: flex; flex-direction: column; gap: 12px; transition: .2s; }
.jcard:hover { transform: translateY(-2px); }
.jcard__img { aspect-ratio: 1.3/1; border-radius: var(--r-lg); overflow: hidden; background: var(--canvas); }
.jcard__img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.jcard:hover .jcard__img img { transform: scale(1.04); }
.jcard__cat { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.jcard h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.jcard p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.jcard time { font-size: 12.5px; color: var(--muted); }

/* ==========================================
   9. FOOTER & NEWSLETTER
   ========================================== */
.news { background: var(--cobalt); color: #fff; border-radius: var(--r-2xl); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-block: clamp(40px, 5vw, 72px); }
.news h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); }
.news p { opacity: .85; margin-top: 12px; font-size: 15px; max-width: 42ch; line-height: 1.55; }
.news form { display: flex; gap: 10px; flex-wrap: wrap; }
.news input { flex: 1; min-width: 200px; padding: 15px 20px; border-radius: 100px; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: 14.5px; outline: none; }
.news input::placeholder { color: rgba(255,255,255,.6); }
.news input:focus { border-color: #fff; background: rgba(255,255,255,.16); }
.news button { background: #fff; color: var(--ink); padding: 15px 28px; border-radius: 100px; font-weight: 600; font-size: 14.5px; transition: .2s; border: none; cursor: pointer; }
.news button:hover { transform: translateY(-2px); }

.footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 56px 28px; margin-top: 40px; }
.footer__top { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 36px; margin-bottom: 52px; }
.footer h4 { font-family: "Instrument Sans", sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; display: grid; gap: 11px; font-size: 14px; }
.footer li a { opacity: .78; transition: .15s; }
.footer li a:hover { opacity: 1; color: var(--tomato); }
.footer__about p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 32ch; line-height: 1.55; }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { width: 38px; height: 38px; border-radius: 100px; border: 1px solid var(--line); display: grid; place-items: center; transition: .18s; }
.social a:hover { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.social svg { width: 15px; height: 15px; }
.pay { display: flex; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.pay span { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--canvas); }
.footer__base { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); align-items: center; }
.footer__base nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__base a:hover { color: var(--ink); }

/* ==========================================
   10. CONTENT PAGES (About, FAQ, Policy etc.)
   ========================================== */
.crumb { padding-block: 18px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumb a:hover { color: var(--ink); }
.crumb b { color: var(--ink); font-weight: 500; }

.chero { padding-block: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.chero__in { max-width: 820px; }
.chero h1 { margin-block: 16px 20px; font-size: clamp(38px, 5vw, 62px); line-height: 1.03; }
.chero p { font-size: 16.5px; color: var(--muted); line-height: 1.6; max-width: 56ch; }

.section { padding-block: clamp(56px, 7vw, 96px); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { max-width: 680px; margin-bottom: 44px; }

/* ==========================================
   11. SHOP PAGE (ARCHIVE) SPECIFIC
   ========================================== */
.shop-head { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.shop-head h1 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 10px; }
.shop-head p { color: var(--muted); font-size: 15px; max-width: 52ch; }

/* Main Layout */
.shop-body {
    display: grid !important;
    grid-template-columns: 260px 1fr !important;
    gap: 40px !important;
    align-items: start !important;
    width: 100% !important;
}
.shop-body .products-area {
    width: 100% !important;
    min-width: 0 !important; /* Crucial for grid to not overflow */
}

/* Sidebar */
.shop-body .filters { position: sticky !important; top: 100px !important; width: 100% !important; }
.shop-body .fgroup { border-bottom: 1px solid var(--line) !important; padding-bottom: 20px !important; margin-bottom: 20px !important; }
.shop-body .fgroup h3 { font-size: 12px !important; letter-spacing: .13em !important; text-transform: uppercase !important; color: var(--muted) !important; font-weight: 600 !important; margin-bottom: 15px !important; }
.shop-body .fgroup ul { list-style: none !important; padding: 0 !important; margin: 0 !important; display: grid !important; gap: 10px !important; }
.shop-body .fgroup ul li a { font-size: 14px !important; color: var(--ink) !important; text-decoration: none !important; transition: color 0.2s !important; }
.shop-body .fgroup ul li a:hover { color: var(--tomato) !important; }

/* Sort Bar */
.shop-body .sortbar { display: flex !important; justify-content: space-between !important; align-items: center !important; margin-bottom: 30px !important; padding-bottom: 20px !important; border-bottom: 1px solid var(--line) !important; width: 100% !important; }
.shop-body .sortbar__count { font-size: 14px !important; color: var(--muted) !important; }
.shop-body .woocommerce-ordering select { padding: 10px 34px 10px 14px !important; border: 1.5px solid var(--line) !important; border-radius: 100px !important; background: var(--surface) !important; font-size: 13.5px !important; font-weight: 500 !important; outline: none !important; }

/* WooCommerce Grid Override */
.shop-body ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    list-style: none !important;
}
.shop-body ul.products::before, .shop-body ul.products::after { display: none !important; }

.shop-body ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: transparent !important;
    text-align: left !important;
}

.shop-body ul.products li.product a img { width: 100% !important; aspect-ratio: 1 / 1.1 !important; object-fit: cover !important; border-radius: 16px !important; margin-bottom: 12px !important; }
.shop-body ul.products li.product .woocommerce-loop-product__title { font-family: 'Instrument Sans', sans-serif !important; font-size: 15px !important; font-weight: 600 !important; color: #1C1B19 !important; padding: 0 !important; margin: 0 0 6px 0 !important; line-height: 1.3 !important; }
.shop-body ul.products li.product .price { font-family: 'Instrument Sans', sans-serif !important; font-size: 15px !important; font-weight: 600 !important; color: #1C1B19 !important; margin-bottom: 16px !important; display: block !important; }

/* The Button Fix */
.shop-body ul.products li.product .button {
    display: inline-block !important;
    width: max-content !important;
    max-width: 100% !important;
    background-color: #1C1B19 !important;
    color: #FBF7F2 !important;
    border-radius: 30px !important;
    padding: 10px 24px !important;
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-top: auto !important;
    transition: background 0.2s ease !important;
    border: none !important;
    white-space: nowrap !important;
}
.shop-body ul.products li.product .button:hover { background-color: #FF5A36 !important; color: #fff !important; }

/* Pagination */
.pager { margin-top: 40px !important; display: flex !important; justify-content: center !important; }
.pager .woocommerce-pagination ul { display: flex !important; gap: 8px !important; list-style: none !important; padding: 0 !important; }
.pager .woocommerce-pagination ul li a, .pager .woocommerce-pagination ul li span { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 40px !important; height: 40px !important; padding: 0 14px !important; border-radius: 100px !important; border: 1.5px solid var(--line) !important; font-weight: 500 !important; font-size: 14px !important; text-decoration: none !important; }
.pager .woocommerce-pagination ul li span.current { background: var(--ink) !important; color: var(--canvas) !important; border-color: var(--ink) !important; }

/* ==========================================
   12. MOBILE RESPONSIVENESS (Consolidated)
   ========================================== */
@media(max-width: 1100px) {
  .nav { display: none; }
  .related__grid { grid-template-columns: repeat(3, 1fr); }
  .cart__grid, .checkout__grid { grid-template-columns: 1fr 340px; gap: 24px; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__about { grid-column: 1/-1; }
}

@media(max-width: 900px) {
  .hero__in, .editorial__in, .news, .dealbar__in { grid-template-columns: 1fr; }
  .hero__img { aspect-ratio: 1/.85; }
  .trust__in { grid-template-columns: repeat(2, 1fr); }
  .promos__grid { grid-template-columns: 1fr; }
  .testi__grid, .jgrid { grid-template-columns: 1fr; }
  .veliso-products-shortcode ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .bento__grid { grid-template-columns: repeat(2, 1fr); }
  .tile--lg { grid-column: span 2; grid-row: span 1; min-height: 240px; }
  .cart__grid, .checkout__grid { grid-template-columns: 1fr; }
  .csummary, .checkout-summary { position: static; }
  .rail { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  
  /* Shop Page Mobile */
  .shop-body { grid-template-columns: 1fr !important; }
  .shop-body .filters { position: static !important; border-bottom: 1px solid var(--line) !important; padding-bottom: 20px !important; margin-bottom: 20px !important; }
  .shop-body ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media(max-width: 560px) {
  .trust__in { grid-template-columns: 1fr; }
  .card h3 { font-size: 14px; }
  .stats { gap: 24px; }
  .promo__inner { max-width: 100%; }
  .promo__img { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 22px; aspect-ratio: 1.4/1; border-radius: 16px; }
  .veliso-products-shortcode ul.products { grid-template-columns: 1fr !important; }
  .bento__grid { grid-template-columns: 1fr; }
  .tile--lg, .tile--wide { grid-column: span 1; }
  .footer__top { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  
  /* Shop Page Mobile */
  .shop-body ul.products { grid-template-columns: 1fr !important; }
}

/* ==========================================
   SINGLE PRODUCT PAGE (WooCommerce Overrides)
   ========================================== */

/* 1. Force the 2-column layout */
.pdp__grid {
    display: grid !important;
    grid-template-columns: 1.05fr .95fr !important;
    gap: clamp(28px, 4vw, 56px) !important;
    align-items: start !important;
}

/* 2. Gallery styling */
.woocommerce-product-gallery img {
    border-radius: var(--r-lg) !important;
    width: 100% !important;
    height: auto !important;
}
.woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}

/* 3. Price styling */
.pdp__price .price {
    font-family: "Bricolage Grotesque", sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--ink) !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 12px !important;
}
.pdp__price .price del {
    color: var(--muted) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}
.pdp__price .price ins {
    text-decoration: none !important;
}

/* 4. Add to Cart Form layout (Qty + Button) */
.pdp__cart form.cart {
    display: flex !important;
    gap: 12px !important;
    align-items: stretch !important;
    margin-bottom: 26px !important;
}

/* Quantity Input */
.pdp__cart .quantity {
    display: flex !important;
    border: 1.5px solid var(--line) !important;
    border-radius: 100px !important;
    overflow: hidden !important;
    background: var(--surface) !important;
}
.pdp__cart .quantity input.qty {
    width: 60px !important;
    height: 50px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    outline: none !important;
}

/* Add to Cart Button */
.pdp__cart button.single_add_to_cart_button {
    flex: 1 !important;
    height: 50px !important;
    background-color: var(--ink) !important;
    color: var(--canvas) !important;
    border-radius: 100px !important;
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: .2s !important;
}
.pdp__cart button.single_add_to_cart_button:hover {
    background-color: var(--tomato) !important;
    transform: translateY(-2px) !important;
}

/* 5. Accordion (Description / Reviews Tabs) */
.woocommerce-tabs {
    border-top: 1px solid var(--line) !important;
    padding-top: 20px !important;
}
.woocommerce-tabs ul.tabs {
    display: flex !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}
.woocommerce-tabs ul.tabs li a {
    font-weight: 600 !important;
    font-size: 14.5px !important;
    color: var(--muted) !important;
    text-decoration: none !important;
}
.woocommerce-tabs ul.tabs li.active a {
    color: var(--ink) !important;
    border-bottom: 2px solid var(--ink) !important;
    padding-bottom: 4px !important;
}

/* Mobile */
@media(max-width: 900px) {
    .pdp__grid { grid-template-columns: 1fr !important; }
}
/* ==========================================
   PRODUCT PAGE (PDP) FINAL POLISH
   ========================================== */

/* 1. Constrain the SVGs */
.pdp__extra svg {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
}
.pdp__extra {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
    margin-bottom: 12px !important;
}

/* 2. Fix the Gallery Slider */
.woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
}
.woocommerce-product-gallery__wrapper {
    border-radius: 24px !important;
    overflow: hidden !important;
    margin-bottom: 15px !important;
}
.woocommerce-product-gallery__image img {
    border-radius: 24px !important;
	top: 0 !important;
    left: 0 !important;
    opacity: 1 !important;
}
.flex-control-thumbs {
    display: flex !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
    margin-top: 20px !important;
}
.flex-control-thumbs li {
    width: 20% !important;
    margin: 0 !important;
}
.flex-control-thumbs img {
    border-radius: 12px !important;
    cursor: pointer !important;
}

/* 3. Fix the Tabs (Description / Reviews) */
.woocommerce-tabs {
    margin-top: 30px !important;
    border-top: 1px solid var(--line) !important;
}
.woocommerce-tabs ul.tabs {
    display: flex !important;
    gap: 24px !important;
    padding: 20px 0 10px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    border-bottom: 1px solid var(--line) !important;
}
.woocommerce-tabs ul.tabs li a {
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--muted) !important;
    text-decoration: none !important;
    padding-bottom: 10px !important;
}
.woocommerce-tabs ul.tabs li.active a {
    color: var(--ink) !important;
    border-bottom: 2px solid var(--ink) !important;
}
.woocommerce-Tabs-panel {
    padding: 20px 0 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: var(--muted) !important;
}

/* 4. Fix Related Products Grid & Buttons */
.related.products {
    padding-top: 60px !important;
    margin-top: 60px !important;
    border-top: 1px solid var(--line) !important;
}
.related.products h2 {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    margin-bottom: 30px !important;
}
.related ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    list-style: none !important;
    padding: 0 !important;
}
.related ul.products li.product img {
    border-radius: 16px !important;
    margin-bottom: 12px !important;
}
.related ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 0 !important;
}
.related ul.products li.product .price {
    color: var(--ink) !important;
    font-weight: 600 !important;
}

/* Fix the purple button */
.related ul.products li.product .button,
.related ul.products li.product .add_to_cart_button {
    background-color: var(--ink) !important;
    color: var(--canvas) !important;
    border-radius: 30px !important;
    padding: 10px 20px !important;
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-top: 10px !important;
    display: inline-block !important;
}
.related ul.products li.product .button:hover {
    background-color: var(--tomato) !important;
    color: #fff !important;
}

@media(max-width: 900px) {
    .related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ==========================================
   PRODUCT PAGE (PDP) FINAL POLISH
   ========================================== */

/* 1. Fix the Giant Zoom Icon */
.woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 40px !important;
    height: 40px !important;
    background: #fff !important;
    border-radius: 50% !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-indent: -9999px; /* Hides any text */
}
/* Replace the giant icon with our own custom SVG */
.woocommerce-product-gallery__trigger::before {
    content: "" !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231C1B19' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    position: absolute !important;
}
/* Kill any default SVG or image inside the trigger */
.woocommerce-product-gallery__trigger img,
.woocommerce-product-gallery__trigger svg {
    display: none !important;
}

/* 2. Fix the Related Products Grid */
.related.products {
    padding-top: 60px !important;
    margin-top: 60px !important;
    border-top: 1px solid var(--line) !important;
}
.related.products h2 {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    margin-bottom: 30px !important;
}
.related ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.related ul.products::before, .related ul.products::after {
    display: none !important;
}
.related ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}
.related ul.products li.product img {
    border-radius: 16px !important;
    aspect-ratio: 1 / 1.1 !important;
    object-fit: cover !important;
    margin-bottom: 12px !important;
}
.related ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin-bottom: 6px !important;
}
.related ul.products li.product .price {
    color: var(--ink) !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
}
.related ul.products li.product .button {
    display: inline-block !important;
    width: max-content !important;
    white-space: nowrap !important;
    background-color: var(--ink) !important;
    color: var(--canvas) !important;
    border-radius: 30px !important;
    padding: 10px 20px !important;
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-top: auto !important; /* Pushes button to bottom */
}
.related ul.products li.product .button:hover {
    background-color: var(--tomato) !important;
    color: #fff !important;
}

/* 3. Fix the Reviews Form */
#reviews #review_form_wrapper {
    padding: 20px 0 !important;
}
#reviews .comment-form label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    margin-bottom: 8px !important;
    display: block !important;
}
#reviews .comment-form input[type="text"],
#reviews .comment-form input[type="email"],
#reviews .comment-form textarea {
    width: 100% !important;
    padding: 13px 16px !important;
    border: 1.5px solid var(--line) !important;
    border-radius: var(--r-sm) !important;
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 14.5px !important;
    margin-bottom: 20px !important;
    background: var(--surface) !important;
    outline: none !important;
}
#reviews .comment-form input[type="text"]:focus,
#reviews .comment-form input[type="email"]:focus,
#reviews .comment-form textarea:focus {
    border-color: var(--ink) !important;
}
#reviews .comment-form input[type="submit"] {
    background: var(--ink) !important;
    color: var(--canvas) !important;
    padding: 14px 28px !important;
    border-radius: 100px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: .2s !important;
}
#reviews .comment-form input[type="submit"]:hover {
    background: var(--tomato) !important;
    transform: translateY(-2px) !important;
}

/* Mobile */
@media(max-width: 900px) {
    .related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ==========================================
   PRODUCT PAGE (PDP) LAYOUT & BUTTON FIXES
   ========================================== */

/* 1. Make the right column sticky so it follows the user */
.pdp__info {
    position: sticky !important;
    top: 100px !important;
}

/* 2. Fix the Qty + Add to Cart Flexbox Layout */
.pdp__cart form.cart {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-bottom: 26px !important;
}

/* Quantity Box */
.pdp__cart .quantity {
    display: flex !important;
    border: 1.5px solid var(--line) !important;
    border-radius: 100px !important;
    overflow: hidden !important;
    background: var(--surface) !important;
    height: 50px !important;
    flex-shrink: 0 !important;
}
.pdp__cart .quantity input.qty {
    width: 60px !important;
    height: 100% !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    outline: none !important;
}

/* Add to Cart Button */
.pdp__cart button.single_add_to_cart_button {
    flex: 1 !important; /* Stretches to fill the rest of the row */
    height: 50px !important;
    background-color: var(--ink) !important;
    color: var(--canvas) !important;
    border-radius: 100px !important;
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: .2s !important;
    white-space: nowrap !important;
    padding: 0 !important;
}
.pdp__cart button.single_add_to_cart_button:hover {
    background-color: var(--tomato) !important;
    transform: translateY(-2px) !important;
}

/* 3. Accordion Styling */
.accordion {
    border-top: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
    padding-block: 18px !important;
}
.acc__head {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    color: var(--ink) !important;
    cursor: pointer !important;
}
.acc__head svg {
    transition: transform 0.3s ease !important;
}
.acc__body {
    display: none !important;
}
/* When accordion is open */
.accordion.is-open .acc__body {
    display: block !important;
}
.accordion.is-open .acc__head svg {
    transform: rotate(45deg) !important; /* Turns + into an X */
}

/* ==========================================
   PDP SPACING & ACCORDION TYPOGRAPHY
   ========================================== */

/* 1. Add vertical breathing room */
.pdp__info h1 {
    margin-bottom: 10px !important;
}
.pdp__price {
    margin-bottom: 24px !important;
	font-size: 30px;
}
.pdp__desc {
    margin-bottom: 30px !important;
    font-size: 15.5px !important;
    line-height: 1.6 !important;
}
.pdp__cart {
    margin-bottom: 30px !important;
}
.pdp__extras {
    margin-bottom: 30px !important;
    gap: 16px !important;
}

/* 2. Style the Accordion Body (The long description) */
.acc__body {
    padding-top: 20px !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #000 !important;
}
.acc__body p {
    margin-bottom: 18px !important;
}
.acc__body p:last-child {
    margin-bottom: 0 !important;
}
.acc__body ul, .acc__body ol {
    padding-left: 20px !important;
    margin-bottom: 18px !important;
    display: grid !important;
    gap: 8px !important;
}
.acc__body em {
    font-style: italic !important;
    color: var(--ink) !important;
    font-weight: 500 !important;
}
.acc__body strong {
    color: var(--ink) !important;
    font-weight: 600 !important;
}

/* 3. Add a bit more padding to the accordion header */
.acc__head {
    padding-block: 6px !important;
}

/* ==========================================
   CART & CHECKOUT PAGES (WooCommerce Overrides)
   ========================================== */

/* --- GLOBAL WOOCOMMERCE BUTTONS --- */
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--ink) !important;
    color: var(--canvas) !important;
    border-radius: 100px !important;
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    text-transform: none !important;
    transition: all 0.2s ease !important;
    border: none !important;
    line-height: 1.2 !important;
}
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover {
    background-color: var(--tomato) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
}

/* --- CART PAGE --- */
.woocommerce-cart .woocommerce {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr !important;
    gap: 40px !important;
    align-items: start !important;
    max-width: 1360px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
}

/* Cart Table */
.woocommerce table.shop_table {
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 16px !important;
    background: transparent !important;
    border-radius: 0 !important;
}
.woocommerce table.shop_table th {
    border: none !important;
    padding: 0 0 10px 0 !important;
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--muted) !important;
    font-weight: 600 !important;
}
.woocommerce table.shop_table td {
    border: none !important;
    background: var(--surface) !important;
    padding: 20px !important;
    vertical-align: middle !important;
}
.woocommerce table.shop_table td:first-child {
    border-radius: 16px 0 0 16px !important;
}
.woocommerce table.shop_table td:last-child {
    border-radius: 0 16px 16px 0 !important;
}

/* Cart Product Image */
.woocommerce table.shop_table td.product-thumbnail img {
    width: 80px !important;
    border-radius: 12px !important;
}

/* Cart Quantity Input */
.woocommerce .quantity .qty {
    border: 1.5px solid var(--line) !important;
    border-radius: 100px !important;
    padding: 10px !important;
    text-align: center !important;
    width: 70px !important;
    background: var(--canvas) !important;
    font-weight: 600 !important;
}

/* Cart Totals Box */
.cart_totals {
    background: var(--surface) !important;
    border-radius: 24px !important;
    padding: 30px !important;
}
.cart_totals h2 {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-size: 24px !important;
    margin-bottom: 20px !important;
}
.cart_totals table.shop_table {
    border-spacing: 0 !important;
    margin-bottom: 20px !important;
}
.cart_totals table.shop_table td {
    background: transparent !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 !important;
}
.cart_totals table.shop_table td:last-child {
    text-align: right !important;
}

/* Cart Coupon */
.coupon input#coupon_code {
    border: 1.5px solid var(--line) !important;
    border-radius: 100px !important;
    padding: 12px 20px !important;
    background: var(--surface) !important;
    outline: none !important;
}

/* --- CHECKOUT PAGE --- */
.woocommerce-checkout .woocommerce {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    gap: 50px !important;
    align-items: start !important;
    max-width: 1360px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
}

/* Checkout Billing Form */
.woocommerce-checkout .col2-set {
    width: 100% !important;
    float: none !important;
}
.woocommerce-checkout h3 {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-size: 22px !important;
    margin-bottom: 20px !important;
}
.woocommerce form .form-row label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    margin-bottom: 8px !important;
}
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 1.5px solid var(--line) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    background: var(--surface) !important;
    outline: none !important;
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 14.5px !important;
}
.woocommerce form .form-row input.input-text:focus {
    border-color: var(--ink) !important;
}

/* Checkout Order Review Box */
.woocommerce-checkout #order_review {
    background: var(--surface) !important;
    border-radius: 24px !important;
    padding: 30px !important;
    position: sticky !important;
    top: 100px !important;
}
.woocommerce-checkout #order_review_heading {
    margin-bottom: 20px !important;
}
.woocommerce-checkout #order_review table.shop_table {
    border-spacing: 0 12px !important;
}
.woocommerce-checkout #order_review table.shop_table td {
    background: transparent !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 !important;
}
.woocommerce-checkout #payment {
    background: transparent !important;
    border-radius: 0 !important;
}
.woocommerce-checkout #payment div.payment_box {
    background: var(--canvas) !important;
    border-radius: 12px !important;
}
.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: none !important;
    padding: 20px 0 !important;
}

/* Mobile Responsive */
@media(max-width: 900px) {
    .woocommerce-cart .woocommerce,
    .woocommerce-checkout .woocommerce {
        grid-template-columns: 1fr !important;
    }
}
.header .icon .cart-count {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: var(--tomato);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 100px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    pointer-events: none; /* So it doesn't block clicks */
}

/* Hide the badge if the count is 0 */
.header .icon .cart-count:empty,
.header .icon .cart-count[data-count="0"] {
    display: none;
}

/* ==========================================
   JOURNAL PAGE BULLETPROOF GRID
   ========================================== */

/* 1. Force the Featured Post into a 2-Column Grid */
article.featured {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important; /* Image is slightly wider */
    gap: 60px !important;
    align-items: center !important;
    padding-bottom: 60px !important;
    margin-bottom: 60px !important;
    border-bottom: 1px solid var(--line) !important;
}

/* Fix the Featured Image container */
article.featured .featured__art {
    width: 100% !important;
    height: 500px !important; /* Fixed height for consistency */
    border-radius: 32px !important;
    overflow: hidden !important;
    position: relative !important;
}
article.featured .featured__art img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
article.featured .featured__badge {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    background: var(--canvas) !important;
    border-radius: 100px !important;
    padding: 8px 16px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.11em !important;
    z-index: 2 !important;
}

/* Fix the text side */
article.featured .featured__body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
article.featured h2 {
    font-size: clamp(32px, 3.5vw, 48px) !important;
    margin-block: 14px 16px !important;
    line-height: 1.1 !important;
}

/* 2. Force the Remaining Posts into a 3-Column Grid */
.jgrid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 40px 24px !important;
    width: 100% !important;
}

article.jcard {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

article.jcard .jcard__img {
    width: 100% !important;
    aspect-ratio: 1.35 / 1 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    margin-bottom: 16px !important;
}
article.jcard .jcard__img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Mobile adjustments */
@media(max-width: 1000px) {
    article.featured {
        grid-template-columns: 1fr !important; /* Stack on smaller screens */
    }
    article.featured .featured__art {
        height: 350px !important;
    }
    .jgrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media(max-width: 700px) {
    .jgrid {
        grid-template-columns: 1fr !important;
    }
}
/* ==========================================
   SEARCH RESULTS PAGE GRID
   ========================================== */

/* 1. Create the 3-column grid */
.search-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 40px 24px !important;
    width: 100% !important;
}

/* 2. Ensure WordPress doesn't break the cards */
.search-grid article {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 3. Style the Product Cards in search */
.search-grid .card .thumb {
    aspect-ratio: 1 / 1.1 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin-bottom: 14px !important;
    background: var(--canvas) !important;
}
.search-grid .card .thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.search-grid .card h3 {
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    color: var(--ink) !important;
}
.search-grid .card .price {
    font-family: 'Instrument Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
}

/* 4. Style the Journal Cards in search */
.search-grid .jcard {
    text-decoration: none !important;
}
.search-grid .jcard .jcard__img {
    aspect-ratio: 1.35 / 1 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    margin-bottom: 16px !important;
}
.search-grid .jcard .jcard__img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.search-grid .jcard h3 {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--ink) !important;
    line-height: 1.22 !important;
    margin-bottom: 8px !important;
}

/* 5. Style the Pagination */
.pager ul.page-numbers {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.pager ul.page-numbers li a, 
.pager ul.page-numbers li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 14px !important;
    border-radius: 100px !important;
    border: 1.5px solid var(--line) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    color: var(--ink) !important;
    transition: 0.2s !important;
}
.pager ul.page-numbers li a:hover {
    border-color: var(--ink) !important;
}
.pager ul.page-numbers li span.current {
    background: var(--ink) !important;
    color: var(--canvas) !important;
    border-color: var(--ink) !important;
}

/* 6. Mobile responsiveness */
@media(max-width: 900px) {
    .search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media(max-width: 560px) {
    .search-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================
   SLIDE-DOWN SEARCH BAR
   ========================================== */
.search-popup {
    position: absolute;
    top: 9%;
    right: 0;
    width: 40%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding-block: 20px;
    z-index: 99;
    display: none; /* Hidden by default */
}

.search-popup.is-active {
    display: block;
    animation: slideDown 0.2s ease forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-form {
    display: flex;
    gap: 12px;
    max-width: 800px;
    margin-inline: auto;
}

.search-field {
    flex: 1;
    padding: 16px 24px;
    border: 1.5px solid var(--line);
    border-radius: 100px;
    background: var(--canvas);
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    outline: none;
    transition: 0.2s;
}

.search-field:focus {
    border-color: var(--ink);
    background: #fff;
}

.search-submit {
    padding: 16px 32px;
    background: var(--ink);
    color: var(--canvas);
    border: none;
    border-radius: 100px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.search-submit:hover {
    background: var(--tomato);
    transform: translateY(-2px);
}

@media(max-width: 600px) {
    .search-form { flex-direction: column; }
    .search-submit { width: 100%; }
}

/* ==========================================
   HOMEPAGE MOBILE RESPONSIVENESS OVERRIDES
   ========================================== */

@media(max-width: 900px) {
    /* 1. Hero Section - Stack text and image */
    .hero__in { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 40px !important; 
    }
    .hero h1 { font-size: 42px !important; line-height: 1.1 !important; }
    .hero__art { order: -1; width: 100% !important; } /* Image on top */
    .hero__img { aspect-ratio: 1 / 1 !important; }

    /* 2. Trust Strip - 2x2 grid */
    .trust__in { 
        display: grid !important; 
        grid-template-columns: 1fr 1fr !important; 
        gap: 20px !important; 
    }

    /* 3. Deal Bar - Stack content and timer */
    .dealbar__in { 
        display: flex !important; 
        flex-direction: column !important; 
        text-align: center !important; 
        gap: 30px !important; 
    }
    .dealbar__cta { justify-content: center !important; }
    .count { width: 100% !important; max-width: 400px !important; margin: 0 auto !important; }

    /* 4. Bento Grid - Break the complex grid into single column */
    .bento__grid { 
        display: grid !important; 
        grid-template-columns: 1fr !important; 
        grid-auto-rows: 300px !important; 
    }
    .tile--lg, .tile--wide { 
        grid-column: span 1 !important; 
        grid-row: span 1 !important; 
    }

    /* 5. Products - 2 columns */
    .veliso-products-shortcode ul.products { 
        grid-template-columns: repeat(2, 1fr) !important; 
    }

    /* 6. Promos - Stack cards and reset image */
    .promos__grid { 
        display: flex !important; 
        flex-direction: column !important; 
    }
    .promo { min-height: auto !important; padding-bottom: 0 !important; }
    .promo__inner { max-width: 100% !important; margin-bottom: 20px !important; }
    .promo__img { 
        position: relative !important; 
        right: auto !important; 
        bottom: auto !important; 
        width: 100% !important; 
        height: 250px !important; 
        border-radius: 0 0 32px 32px !important; 
    }

    /* 7. Editorial - Stack */
    .editorial__in { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 30px !important; 
    }
    .editorial__art { order: -1; width: 100% !important; aspect-ratio: 1.2/1 !important; }

    /* 8. Testimonials & Journal - 1 column */
    .testi__grid, .jgrid { 
        grid-template-columns: 1fr !important; 
    }
    
    /* 9. Newsletter - Stack */
    .news { 
        grid-template-columns: 1fr !important; 
        text-align: center !important; 
    }
    .news form { justify-content: center !important; }
}

@media(max-width: 560px) {
    .trust__in { grid-template-columns: 1fr !important; }
    .hero h1 { font-size: 36px !important; }
}

/* ==========================================
   MOBILE HEADER & LAYOUT FIXES
   ========================================== */

/* 1. Stop horizontal scrolling on mobile */
body {
    overflow-x: hidden !important;
}

/* 2. Style the Hamburger Button */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    color: var(--ink);
    padding: 5px;
}
.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

@media(max-width: 1100px) {
    /* Show hamburger on mobile */
    .mobile-menu-toggle { 
        display: block !important; 
        order: -1; /* Pushes it to the far left */
        margin-right: 10px;
    }

    /* Fix the header layout so the logo doesn't clip */
    .header__in { 
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-inline: 15px !important; /* Give it some breathing room */
        gap: 10px !important;
    }
    .logo { font-size: 22px !important; }
    .actions { margin-left: auto; } /* Pushes icons to the right */

    /* Hide the horizontal desktop menu by default */
    .nav { 
        display: none !important; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: var(--surface); 
        border-bottom: 1px solid var(--line); 
        padding: 20px; 
        box-shadow: var(--shadow-lg);
        z-index: 100;
    }
    
    /* Show it when the JS adds the 'is-open' class */
    .nav.is-open { 
        display: block !important; 
    }
    
    /* Stack the links vertically inside the mobile menu */
    .nav ul {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: flex-start !important;
    }
    
    .nav ul li a {
        font-size: 18px !important;
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
    }

    /* 3. Fix the Hero Title Overflow */
    .hero h1 { 
        font-size: 42px !important; 
        line-height: 1.1 !important; 
        letter-spacing: -1px !important;
    }
    .hero h1 em { 
        white-space: normal !important; /* Allows 'properly' to wrap if needed */
    }
}

/* ==========================================
   CONTENT PAGES MOBILE RESPONSIVENESS (ABOUT, CONTACT, FAQ, POLICY)
   ========================================== */

@media(max-width: 900px) {
    
    /* 1. ABOUT PAGE: The Story Section */
    .story {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    .story__art {
        order: -1 !important; /* Moves the tiny image to the top */
        width: 100% !important;
        aspect-ratio: 1.3/1 !important;
        border-radius: 24px !important;
    }
    
    /* 2. ABOUT PAGE: The 3-Column Values Grid */
    .section--surface .wrap > div[style*="display: grid"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
    }
    .section--surface .wrap > div[style*="display: grid"] > div {
        width: 100% !important;
    }

    /* 3. CONTACT PAGE: The 2-Column Grid */
    .contact__grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        width: 100% !important;
    }
    .contact__form, .contact__side {
        width: 100% !important;
    }

    /* 4. FAQ & POLICY PAGES: The Sidebar Layouts */
    /* Targets the grid containers for FAQ and Policy */
    .wrap > div[style*="grid-template-columns: 240px"],
    .wrap > div[style*="grid-template-columns: 260px"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        width: 100% !important;
    }
    
    /* Un-stick the sidebars so they scroll normally on mobile */
    aside[style*="position: sticky"] {
        position: static !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }
}

@media(max-width: 560px) {
    /* Extra tweaks for very small phones */
    .story__body h2, 
    .section__head h2 {
        font-size: 32px !important;
    }
    .chero h1 {
        font-size: 40px !important;
    }
}

/* ==========================================
   HOMEPAGE PROMOS MOBILE FIX (Targeting new class)
   ========================================== */

@media(max-width: 900px) {
    /* 1. Override the inline grid layout */
    .promos-wrap-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 40px 20px !important; /* Slightly reduced padding for mobile */
    }

    /* 2. Fix the promo cards inside */
    .promos-wrap-section .promo {
        display: flex !important;
        flex-direction: column !important;
        padding: 20px !important;
        min-height: auto !important;
        height: auto !important;
        width: 100% !important;
    }

    /* 3. Fix the text container */
    .promos-wrap-section .promo__inner {
        max-width: 100% !important;
        padding: 30px !important;
        padding-bottom: 20px !important;
    }

    /* 4. Move the image to the bottom as a banner */
    .promos-wrap-section .promo__img {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: 200px !important; 
        border-radius: 0 0 32px 32px !important;
        margin-top: 0 !important;
    }

    /* 5. Ensure the button doesn't overlap */
    .promos-wrap-section .promo .btn {
        position: relative !important;
        z-index: 10 !important;
        margin-top: 10px !important;
        display: inline-block !important;
    }
}

/* ==========================================
   HOMEPAGE JOURNAL MOBILE FIX
   ========================================== */

@media(max-width: 900px) {
    /* 1. Override the inline 3-column grid */
    .journal-wrap-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        width: 100% !important;
    }

    /* 2. Ensure each article card takes full width */
    .journal-wrap-section > a,
    .journal-wrap-section > article,
    .journal-wrap-section .jcard {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* 3. Fix the images so they aren't squished */
    .journal-wrap-section .jcard__img {
        width: 100% !important;
        aspect-ratio: 1.3 / 1 !important;
        height: auto !important;
        margin-bottom: 16px !important;
    }

    .journal-wrap-section .jcard__img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* 4. Fix the typography spacing for mobile */
    .journal-wrap-section h3 {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    .journal-wrap-section p {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }
}

/* ==========================================
   IMAGE LOGO STYLES
   ========================================== */

/* Remove the text-based red dot pseudo-element */
.logo::after {
    display: none !important;
}

/* Style the image */
.site-logo {
    height: 50px !important; /* Adjust this if you want it bigger or smaller */
    width: auto;
    max-width: 150px !important;
    object-fit: contain;
    
    /* MAGIC TRICK: This makes the white JPEG background invisible on the cream header */
    mix-blend-mode: multiply; 
}

/* Mobile adjustments */
@media(max-width: 900px) {
    .site-logo {
        height: 26px !important; /* Slightly smaller on mobile */
    }
}

/* ==========================================
   OUR STORY PAGE RESPONSIVENESS
   ========================================== */

@media(max-width: 900px) {
    .story-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    .story-grid > div:first-child {
        position: static !important; /* Un-stick the heading on mobile */
    }
}

/* ==========================================
   PREMIUM DARK FOOTER (Custom)
   ========================================== */
.footer {
    background-color: #1C1B19; /* Veliso Dark Ink */
    padding-block: 80px 30px;
    color: #FFFFFF;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Brand Column */
.footer-logo-link {
    display: block;
    margin-bottom: 24px;
}
.footer-logo-img {
    height: 36px !important;
    width: auto;
    /* This filter turns your dark JPEG logo pure white for the dark background */
    filter: brightness(0) invert(1); 
    opacity: 0.9;
    transition: opacity 0.2s;
}
.footer-logo-link:hover .footer-logo-img {
    opacity: 1;
}

.footer__company-info {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13.5px;
    color: #6E6A63;
    line-height: 1.7;
}

/* Link Columns */
.footer h4 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 11.5px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6E6A63;
    font-weight: 600;
    margin-bottom: 24px;
}
.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer__links li a {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer__links li a:hover {
    color: #FF5A36; /* Veliso Tomato */
    padding-left: 4px; /* Subtle slide effect on hover */
}

/* Bottom Bar */
.footer__base {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 13px;
    color: #6E6A63;
}
.footer__base-nav {
    display: flex;
    gap: 24px;
}
.footer__base-nav a {
    color: #6E6A63;
    text-decoration: none;
    transition: color 0.2s;
}
.footer__base-nav a:hover {
    color: #FFFFFF;
}

/* Responsive */
@media(max-width: 1000px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    .footer__brand {
        grid-column: 1 / -1;
    }
}
@media(max-width: 600px) {
    .footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer__base {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================
   CONTACT PAGE RESPONSIVENESS
   ========================================== */

@media(max-width: 900px) {
    /* Stack the form and business details */
    .contact__grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        width: 100% !important;
    }
    
    /* Ensure the form card doesn't overflow */
    .contact__form {
        padding: 30px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ensure the business details card doesn't overflow */
    .contact__side {
        width: 100% !important;
    }
}

@media(max-width: 560px) {
    .chero h1 {
        font-size: 40px !important;
    }
    .contact__form {
        padding: 24px !important;
    }
}

/* ==========================================
   HELP CENTER PAGE
   ========================================== */

/* Hover effect for the Quick Topic cards */
.help-topic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--ink) !important;
}

/* Style the + icon in the FAQ accordions */
.help-faq summary::-webkit-details-marker {
    display: none; /* Hide default arrow */
}
.help-faq summary span {
    font-size: 20px;
    color: var(--muted);
    transition: transform 0.3s ease;
}
.help-faq[open] summary span {
    transform: rotate(45deg); /* Turns + into an X */
    color: var(--ink);
}

/* Mobile Responsiveness */
@media(max-width: 900px) {
    .help-topics-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    .help-search-form {
        flex-direction: column !important;
    }
    .help-search-form .search-field {
        width: 100% !important;
    }
    .help-search-form .btn {
        width: 100% !important;
        padding: 16px 0 !important;
    }
	.veliso-products-shortcode ul.products li.product .button {
		width: 100% !important;
	}
}

/* ==========================================
   POLICY PAGES TYPOGRAPHY DE-CLUTTER (V3)
   ========================================== */

/* 1. The main content container */
.policy-content {
    font-size: 16.5px; /* Slightly larger text for readability */
    line-height: 1.85; /* More breathing room between lines */
    color: #4A4744; /* Softer than pure black, reduces eye strain */
    letter-spacing: 0.01em;
}

/* 2. Paragraph spacing */
.policy-content p {
    margin-bottom: 28px; /* Bigger gap between paragraphs */
}

/* Hide double line breaks that WordPress sometimes injects when pasting */
.policy-content br + br {
    display: none;
}

/* 3. Headings */
.policy-content h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-block: 64px 24px; /* Huge space above to separate sections */
    color: var(--ink);
    scroll-margin-top: 120px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

/* Remove top margin from the very first heading */
.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content h3 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-block: 40px 16px;
    color: var(--ink);
}

/* 4. Lists (Bullet points) */
.policy-content ul, 
.policy-content ol {
    margin-bottom: 32px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px; /* Space between bullet points */
}

.policy-content li {
    line-height: 1.75;
    padding-left: 8px; /* Slight indent for the text */
}

/* 5. Highlight Bold Text */
.policy-content strong {
    color: var(--ink);
    font-weight: 600;
}
.heading-section-home {
    background: #000000;
    width: fit-content;
    padding: 10px;
    border-radius: 5px;
}

/* ==========================================
   MAXFLOW EDITORIAL FEATURE
   ========================================== */
.maxflow-editorial {
    background-color: #0A0A0A;
    /* Much smaller, standard section padding */
    padding-block: clamp(0px, 8vw, 0px); 
    overflow: hidden;
    position: relative;
}

.mf-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

/* ─── Left Side: Content ─── */
.mf-content {
    max-width: 500px;
}

.mf-eyebrow {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #FF5A36;
    margin-bottom: 16px;
    display: inline-block;
}

.mf-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    /* Proportional, professional sizing */
    font-size: clamp(36px, 4vw, 56px); 
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin: 0 0 20px 0;
}

.mf-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #FF5A36;
}

.mf-desc {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
}

.mf-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 36px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.mf-perks li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.mf-perks svg {
    width: 16px;
    height: 16px;
    color: #FF5A36;
}

/* ─── The CTA Button ─── */
.mf-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #FFFFFF;
    color: #0A0A0A;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mf-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.mf-btn:hover {
    background-color: #FF5A36;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 90, 54, 0.3);
}

.mf-btn:hover svg {
    transform: translateX(4px);
}

/* ─── Right Side: Visual Stage ─── */
.mf-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The gradient orb behind the product */
.mf-orb {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(255,90,54,0.15) 0%, rgba(10,10,10,0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* The Product Image */
.mf-img {
    position: relative;
    width: 90%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    /* Destroys the white JPEG background */
    mix-blend-mode: screen; 
    /* Smooth drop shadow */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mf-visual:hover .mf-img {
    transform: scale(1.05) rotate(-2deg);
}

/* Floating Glassmorphism Tags */
.mf-tag {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 16px;
    border-radius: 100px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: floatTag 6s ease-in-out infinite;
}

.mf-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF5A36;
}

.mf-tag-1 {
    top: 15%;
    right: 5%;
}

.mf-tag-2 {
    bottom: 20%;
    left: 0%;
    animation-delay: -3s; /* Offsets the bobbing animation */
}

@keyframes floatTag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ─── Mobile Responsiveness ─── */
@media(max-width: 900px) {
    .mf-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .mf-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .mf-perks {
        justify-content: center;
    }
    .mf-visual {
        margin-top: 20px;
        aspect-ratio: 1.2;
    }
    .mf-tag-1 { top: 10%; right: 5%; }
    .mf-tag-2 { bottom: 10%; left: 5%; }
	.maxflow-editorial{padding-block: clamp(50px, 8vw, 50px) !important;}
}

/* ==========================================
   HOMEPAGE CATEGORY RAIL
   ========================================== */
.rail {
    border-bottom: 1px solid var(--line);
    background: var(--canvas);
    width: 100%;
}

.rail__in {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-block: 16px;
    scrollbar-width: none;
    align-items: center;
}

.rail__in::-webkit-scrollbar {
    display: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--ink);
    flex: none;
}

.chip:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* The colored dot before the text */
.chip::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 100px;
    background: var(--c, var(--ink));
}

/* Active state (All Products) */
.chip.is-active {
    background: var(--ink);
    color: var(--canvas);
    border-color: var(--ink);
}

.chip.is-active::before {
    background: var(--canvas);
}

/* ==========================================
   AMAZON SECONDARY BUTTON
   ========================================== */

/* Wrapper to give it some breathing room */
.amazon-btn-wrapper {
    margin-top: 12px;
    margin-bottom: 24px;
}

/* The Amazon Button Styling */
.amazon-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FF9900; /* Amazon Orange */
    color: #111111 !important;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 0 24px;
    height: 50px;
    width: 100%; /* Takes full width like Add to Cart */
    border-radius: 100px;
    text-decoration: none !important;
    transition: all 0.2s ease;
	font-weight: bold;
}

.amazon-buy-btn:hover {
    background-color: #f3a847; /* Lighter orange on hover */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(255, 153, 0, 0.4);
}

/* ==========================================
   WOOCOMMERCE MY ACCOUNT - ULTIMATE FIX
   ========================================== */

/* 1. Main Layout Grid (Forces Sidebar Left, Content Right) */
.woocommerce-account .woocommerce {
    display: grid !important;
    
    gap: 40px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Hide the default page title if it's duplicating */
.woocommerce-account .entry-title {
    display: none !important;
}

/* 2. Navigation Sidebar */
.woocommerce-MyAccount-navigation {
    width: 100% !important;
    float: none !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 14px 20px !important;
    border-radius: var(--r-sm) !important;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    color: var(--muted) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--ink) !important;
    color: var(--canvas) !important;
    border-color: var(--ink) !important;
    transform: translateX(4px);
}

/* 3. Content Area */
.woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
    padding: 40px !important;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--r-lg) !important;
    box-shadow: var(--shadow) !important;
    box-sizing: border-box !important;
    min-width: 0 !important; /* Prevents grid overflow */
}

.woocommerce-MyAccount-content h2, 
.woocommerce-MyAccount-content h3 {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-weight: 800 !important;
    font-size: 24px !important;
    margin-bottom: 20px !important;
    color: var(--ink) !important;
}

/* 4. Addresses Page (Billing & Shipping Side-by-Side) */
.woocommerce-Addresses {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    margin-top: 20px !important;
    width: 100% !important;
}

.woocommerce-Address {
    flex: 1 1 calc(50% - 12px) !important; /* Forces them to be 50% width */
    min-width: 280px !important;
    float: none !important;
    background: var(--canvas) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--r-lg) !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

.woocommerce-Address-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid var(--line) !important;
    padding-bottom: 12px !important;
}

.woocommerce-Address-title h3 {
    margin: 0 !important;
    font-size: 18px !important;
}

.woocommerce-Address-title a {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    background: var(--surface) !important;
    padding: 6px 14px !important;
    border-radius: 100px !important;
    border: 1px solid var(--line) !important;
    text-decoration: none !important;
}

.woocommerce-Address address {
    font-style: normal !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: var(--muted) !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
}

/* 5. Mobile Responsiveness */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr !important;
    }
    .woocommerce-MyAccount-content {
        padding: 20px !important;
    }
    .woocommerce-Address {
        flex: 1 1 100% !important;
    }
}