/*
Theme Name: Veliso
Theme URI: https://stagingveliso.kodecreatives.com/
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; }
.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: .6; transition: .5s; }
.tile--dark .tile__bg img { opacity: .4; }
.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: auto !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; }
}