/* ========================================
   Beauty Outlet — Main Stylesheet
   ======================================== */

/* === Design Tokens === */
:root {
    --color-primary: #0F172A;
    --color-primary-dark: #020617;
    --color-primary-light: #1E293B;
    --color-secondary: #C9A24D;
    --color-secondary-dark: #A8842E;
    --color-secondary-light: #DFC070;
    --color-bg: #FFFFFF;
    --color-fg: #0F172A;
    --color-muted: #F8F6F3;
    --color-muted-fg: #6B7280;
    --color-border: #E5E2DD;
    --color-sale: #DC2626;
    --color-success: #16A34A;
    --color-warning: #F59E0B;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --max-width: 1200px;
    --section-py: 80px;
    --section-py-mobile: 48px;
    --radius: 8px;
    --radius-sm: 4px;
    --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
    --shadow-lg: 0 4px 20px rgba(0,0,0,.12);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--color-fg); background: var(--color-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; }

/* === Layout === */
.bo-container { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .bo-container { padding: 0 1.5rem; } }

/* === Buttons === */
.bo-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .625rem 1.5rem; border-radius: var(--radius); font-weight: 600; font-size: .875rem; transition: all .2s; white-space: nowrap; }
.bo-btn--primary { background: var(--color-primary); color: #fff; }
.bo-btn--primary:hover { background: var(--color-primary-dark); }
.bo-btn--outline { border: 1.5px solid rgba(255,255,255,.4); color: #fff; background: transparent; }
.bo-btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.bo-btn--lg { padding: .875rem 2rem; font-size: 1rem; }
.bo-btn--full { width: 100%; }
.bo-page-content .bo-btn--outline { border-color: var(--color-border); color: var(--color-fg); }
.bo-page-content .bo-btn--outline:hover { background: var(--color-muted); }

/* ========================================
   ANNOUNCEMENT BAR
   ======================================== */
.bo-announcement { background: var(--color-primary); color: #fff; text-align: center; padding: .5rem 1rem; font-size: .8125rem; font-weight: 500; }
.bo-announcement strong { color: var(--color-secondary); }

/* ========================================
   HEADER
   ======================================== */
.bo-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--color-border); }
.bo-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.bo-logo { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700; letter-spacing: -.025em; }
.bo-nav-desktop { display: none; align-items: center; gap: .25rem; }
@media (min-width: 1024px) { .bo-nav-desktop { display: flex; } }
.bo-nav__link { padding: .5rem .75rem; font-size: .875rem; font-weight: 500; transition: color .2s; }
.bo-nav__link:hover { color: var(--color-secondary); }
.bo-nav__link--sale { color: var(--color-sale); font-weight: 700; }
.bo-nav__link--sale:hover { color: var(--color-sale); opacity: .8; }
.bo-header__actions { display: flex; align-items: center; gap: .25rem; }
.bo-header__action { padding: .5rem; transition: color .2s; position: relative; }
.bo-header__action:hover { color: var(--color-secondary); }
.bo-header__action--desktop { display: none; }
@media (min-width: 640px) { .bo-header__action--desktop { display: block; } }
.bo-mobile-toggle { padding: .5rem; display: block; }
@media (min-width: 1024px) { .bo-mobile-toggle { display: none; } }

/* Cart Count */
.bo-cart-count { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; border-radius: 9999px; background: var(--color-primary); color: #fff; font-size: .625rem; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.bo-cart-count:empty { display: none; }

/* Search Overlay */
.bo-search-overlay { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 0; box-shadow: var(--shadow-lg); z-index: 50; }
.bo-search-overlay.is-open { display: block; }
.bo-search-form { display: flex; align-items: center; gap: .75rem; }
.bo-search-form input[type="search"] { flex: 1; background: transparent; border: none; outline: none; font-size: 1.125rem; }
.bo-search-close { padding: .5rem; }

/* ========================================
   MOBILE NAV
   ======================================== */
.bo-mobile-nav { position: fixed; inset: 0; z-index: 50; display: none; }
.bo-mobile-nav.is-open { display: block; }
.bo-mobile-nav__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.bo-mobile-nav__panel { position: absolute; top: 0; left: 0; bottom: 0; width: 300px; max-width: 80vw; background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.bo-mobile-nav__header { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 1px solid var(--color-border); }
.bo-mobile-nav__title { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; }
.bo-mobile-nav__links { flex: 1; overflow-y: auto; padding: .5rem 0; }
.bo-mobile-nav__link { display: block; padding: .75rem 1rem; font-weight: 500; border-bottom: 1px solid rgba(0,0,0,.05); transition: color .2s; }
.bo-mobile-nav__link:hover { color: var(--color-secondary); }
.bo-mobile-nav__link--sale { color: var(--color-sale); font-weight: 700; }

/* ========================================
   HERO BANNER
   ======================================== */
.bo-hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: 70vh; background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%); overflow: hidden; text-align: center; }
.bo-hero__overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(201,162,77,.1) 0%, transparent 60%); }
.bo-hero__content { position: relative; padding: 4rem 1rem; max-width: 700px; }
.bo-hero__title { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.bo-hero__subtitle { font-size: 1.125rem; color: rgba(255,255,255,.75); margin-bottom: 2rem; line-height: 1.6; }
.bo-hero__subtitle strong { color: var(--color-secondary); }
.bo-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (min-width: 768px) {
    .bo-hero__title { font-size: 3.5rem; }
    .bo-hero { min-height: 75vh; }
}

/* ========================================
   SOCIAL PROOF BAR
   ======================================== */
.bo-social-proof { background: var(--color-primary); color: #fff; padding: 2.5rem 0; }
.bo-social-proof__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .bo-social-proof__grid { grid-template-columns: repeat(4, 1fr); } }
.bo-social-proof__item { text-align: center; }
.bo-social-proof__icon { color: var(--color-secondary); margin-bottom: .5rem; display: flex; justify-content: center; }
.bo-social-proof__value { display: block; font-size: 1.5rem; font-weight: 700; }
.bo-social-proof__label { font-size: .8125rem; color: rgba(255,255,255,.6); }

/* ========================================
   SECTIONS
   ======================================== */
.bo-section { padding: var(--section-py-mobile) 0; }
@media (min-width: 768px) { .bo-section { padding: var(--section-py) 0; } }
.bo-section--muted { background: var(--color-muted); }
.bo-section__title { font-size: 1.75rem; font-weight: 700; margin-bottom: 2rem; }
@media (min-width: 768px) { .bo-section__title { font-size: 2.25rem; } }
.bo-section__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.bo-section__link { font-size: .875rem; font-weight: 600; color: var(--color-secondary); transition: opacity .2s; }
.bo-section__link:hover { opacity: .7; }

/* ========================================
   CATEGORY TILES
   ======================================== */
.bo-category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .bo-category-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.bo-category-tile { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/5; background: var(--color-primary-light); display: flex; align-items: flex-end; }
.bo-category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bo-category-tile:hover img { transform: scale(1.05); }
.bo-category-tile__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); }
.bo-category-tile__content { position: relative; padding: 1.25rem; color: #fff; }
.bo-category-tile__content h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; }
.bo-category-tile__content p { font-size: .8125rem; color: rgba(255,255,255,.7); margin-top: .25rem; }

/* ========================================
   PRODUCT GRID
   ======================================== */
.bo-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .bo-product-grid { gap: 1.5rem; } }
.bo-product-grid--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .bo-product-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.bo-product-grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .bo-product-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .bo-product-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ========================================
   PRODUCT CARD
   ======================================== */
.bo-product-card { position: relative; }
.bo-product-card__link { display: block; }
.bo-product-card__image { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); background: var(--color-muted); margin-bottom: .75rem; }
.bo-product-card__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.bo-product-card__img--hover { position: absolute; inset: 0; opacity: 0; }
.bo-product-card:hover .bo-product-card__img--main { opacity: 0; }
.bo-product-card:hover .bo-product-card__img--hover { opacity: 1; }
.bo-product-card__info { display: flex; flex-direction: column; gap: .25rem; }
.bo-product-card__category { font-size: .6875rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted-fg); }
.bo-product-card__name { font-size: .875rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.bo-product-card:hover .bo-product-card__name { color: var(--color-secondary); }

/* Rating */
.bo-product-card__rating { display: flex; align-items: center; gap: .25rem; }
.bo-star { fill: var(--color-muted); stroke: none; }
.bo-star--filled { fill: var(--color-secondary); }
.bo-product-card__rating-count { font-size: .75rem; color: var(--color-muted-fg); }

/* Prices */
.bo-product-card__price { display: flex; align-items: center; gap: .5rem; margin-top: .25rem; }
.bo-price-sale { font-weight: 700; color: var(--color-sale); }
.bo-price-regular { font-size: .8125rem; color: var(--color-muted-fg); text-decoration: line-through; }
.bo-price-current { font-weight: 700; }
.bo-price-sale--lg { font-size: 1.5rem; }
.bo-price-regular--lg { font-size: 1rem; }

/* Quick Add */
.bo-product-card__add-to-cart { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .625rem; border-radius: var(--radius); background: rgba(255,255,255,.95); backdrop-filter: blur(4px); font-size: .8125rem; font-weight: 600; box-shadow: var(--shadow-lg); position: absolute; bottom: 0; left: 0; right: 0; transform: translateY(.5rem); opacity: 0; transition: all .2s; margin-bottom: calc(3/4 * 100% + .75rem); z-index: 2; }
/* Position above image bottom */
.bo-product-card:hover .bo-product-card__add-to-cart { transform: translateY(0); opacity: 1; }
.bo-product-card__add-to-cart:hover { background: var(--color-primary); color: #fff; }

/* Reposition add-to-cart inside image */
.bo-product-card { position: relative; }
.bo-product-card__add-to-cart { position: absolute; bottom: auto; left: 0; right: 0; margin-bottom: 0; }
.bo-product-card__image { position: relative; }
.bo-product-card__add-to-cart { position: static; margin-top: .5rem; transform: none; opacity: 1; background: var(--color-muted); box-shadow: none; }
.bo-product-card__add-to-cart:hover { background: var(--color-primary); color: #fff; }

/* Discount Badge */
.bo-discount-badge { position: absolute; top: .5rem; left: .5rem; z-index: 3; padding: .25rem .5rem; border-radius: var(--radius-sm); color: #fff; font-size: .75rem; font-weight: 700; }
.badge--sale { background: var(--color-warning); }
.badge--super { background: var(--color-sale); }
.badge--mega { background: #991B1B; }
.bo-discount-badge--large { font-size: .875rem; padding: .375rem .75rem; }

/* ========================================
   BRAND STORY
   ======================================== */
.bo-brand-story { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .bo-brand-story { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.bo-brand-story__image { aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary)); }
.bo-brand-story__content p { color: var(--color-muted-fg); line-height: 1.7; margin-bottom: 1rem; }
.bo-brand-story__content .bo-btn--outline { border-color: var(--color-border); color: var(--color-fg); margin-top: .5rem; }
.bo-brand-story__content .bo-btn--outline:hover { background: var(--color-muted); }

/* ========================================
   DEAL OF THE DAY
   ======================================== */
.bo-deal { display: grid; gap: 2rem; align-items: center; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .bo-deal { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.bo-deal__image { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: #fff; display: block; }
.bo-deal__image img { width: 100%; height: 100%; object-fit: cover; }
.bo-deal__category { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted-fg); margin-bottom: .5rem; }
.bo-deal__name { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.bo-deal__price { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.bo-savings { font-size: .875rem; color: var(--color-success); font-weight: 500; margin-bottom: 1.5rem; }

/* Countdown */
.bo-countdown { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .bo-countdown { justify-content: flex-start; } }
.bo-countdown__block { display: flex; flex-direction: column; align-items: center; }
.bo-countdown__value { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--color-fg); color: #fff; font-size: 1.5rem; font-weight: 700; border-radius: var(--radius); font-variant-numeric: tabular-nums; }
.bo-countdown__label { font-size: .6875rem; color: var(--color-muted-fg); margin-top: .25rem; }
.bo-countdown__sep { font-size: 1.5rem; font-weight: 700; color: var(--color-muted-fg); margin-top: -1rem; }

/* ========================================
   BRAND LOGO GRID
   ======================================== */
.bo-brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
@media (min-width: 640px) { .bo-brands-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.bo-brand-tile { display: flex; align-items: center; justify-content: center; height: 3.5rem; border-radius: var(--radius); border: 1px solid var(--color-border); background: #fff; font-size: .75rem; font-weight: 500; color: var(--color-muted-fg); letter-spacing: .02em; transition: all .2s; }
@media (min-width: 768px) { .bo-brand-tile { height: 4.5rem; font-size: .8125rem; } }
.bo-brand-tile:hover { border-color: var(--color-secondary); box-shadow: var(--shadow); }

/* ========================================
   TRUST BADGES
   ======================================== */
.bo-trust-badges { background: var(--color-muted); padding: var(--section-py-mobile) 0; }
@media (min-width: 768px) { .bo-trust-badges { padding: var(--section-py) 0; } }
.bo-trust-badges__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .bo-trust-badges__grid { grid-template-columns: repeat(4, 1fr); } }
.bo-trust-badges__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; }
.bo-trust-badges__item svg { color: var(--color-secondary); }
.bo-trust-badges__item span { font-size: .875rem; font-weight: 600; }

/* ========================================
   NEWSLETTER
   ======================================== */
.bo-newsletter { background: var(--color-primary); color: #fff; padding: var(--section-py-mobile) 0; }
@media (min-width: 768px) { .bo-newsletter { padding: var(--section-py) 0; } }
.bo-newsletter__inner { max-width: 560px; margin: 0 auto; text-align: center; }
.bo-newsletter__title { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; margin-bottom: .5rem; }
@media (min-width: 768px) { .bo-newsletter__title { font-size: 2.25rem; } }
.bo-newsletter__text { color: rgba(255,255,255,.65); font-size: .9375rem; margin-bottom: 1.5rem; }
.bo-newsletter__form { display: flex; gap: .5rem; }
.bo-newsletter__form input { flex: 1; padding: .75rem 1rem; border-radius: var(--radius); border: none; background: rgba(255,255,255,.1); color: #fff; font-size: .875rem; outline: none; }
.bo-newsletter__form input::placeholder { color: rgba(255,255,255,.4); }
.bo-newsletter__form input:focus { background: rgba(255,255,255,.15); box-shadow: 0 0 0 2px var(--color-secondary); }
.bo-newsletter__form button { padding: .75rem 1.5rem; border-radius: var(--radius); background: var(--color-secondary); color: var(--color-primary); font-weight: 600; font-size: .875rem; border: none; transition: background .2s; white-space: nowrap; }
.bo-newsletter__form button:hover { background: var(--color-secondary-light); }
.bo-newsletter__fine { font-size: .75rem; color: rgba(255,255,255,.35); margin-top: .75rem; }

/* ========================================
   FOOTER
   ======================================== */
.bo-footer { background: var(--color-fg); color: rgba(255,255,255,.7); }
.bo-footer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding: var(--section-py-mobile) 0; }
@media (min-width: 768px) { .bo-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; padding: var(--section-py) 0; } }
.bo-footer__brand { grid-column: span 2; }
@media (min-width: 768px) { .bo-footer__brand { grid-column: span 1; } }
.bo-footer__logo { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: #fff; }
.bo-footer__tagline { font-size: .8125rem; color: rgba(255,255,255,.4); margin-top: .5rem; }
.bo-footer__social { display: flex; gap: .75rem; margin-top: 1rem; }
.bo-footer__social a { transition: color .2s; }
.bo-footer__social a:hover { color: #fff; }
.bo-footer__heading { font-family: var(--font-heading); font-weight: 600; color: #fff; margin-bottom: .75rem; }
.bo-footer__col ul { display: flex; flex-direction: column; gap: .5rem; }
.bo-footer__col a { font-size: .8125rem; transition: color .2s; }
.bo-footer__col a:hover { color: #fff; }
.bo-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.bo-footer__bottom-inner { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1rem 0; font-size: .75rem; color: rgba(255,255,255,.3); }
@media (min-width: 640px) { .bo-footer__bottom-inner { flex-direction: row; justify-content: space-between; } }
.bo-footer__bottom-links { display: flex; gap: 1rem; }
.bo-footer__bottom-links a { transition: color .2s; }
.bo-footer__bottom-links a:hover { color: #fff; }

/* ========================================
   PAGE CONTENT
   ======================================== */
.bo-page-content { padding: var(--section-py-mobile) 0; }
@media (min-width: 768px) { .bo-page-content { padding: var(--section-py) 0; } }
.bo-page-title { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; margin-bottom: 2rem; }
@media (min-width: 768px) { .bo-page-title { font-size: 2.25rem; } }
.bo-page-header { margin-bottom: 2rem; }

/* Prose / Content */
.bo-prose { max-width: 768px; }
.bo-prose p { color: var(--color-muted-fg); line-height: 1.7; margin-bottom: 1rem; }
.bo-prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--color-fg); }
.bo-prose ul { margin: 1rem 0; display: flex; flex-direction: column; gap: .5rem; }
.bo-prose li { color: var(--color-muted-fg); padding-left: 1.5rem; position: relative; }
.bo-prose li::before { content: '✓'; position: absolute; left: 0; color: var(--color-success); font-weight: 700; }
.bo-prose strong { color: var(--color-fg); }

/* 404 */
.bo-404 { text-align: center; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bo-404__code { font-family: var(--font-heading); font-size: 6rem; font-weight: 800; color: var(--color-secondary); line-height: 1; }
.bo-404__title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin: .5rem 0; }
.bo-404__text { color: var(--color-muted-fg); margin-bottom: 2rem; }
.bo-404__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.bo-404__actions .bo-btn--outline { border-color: var(--color-border); color: var(--color-fg); }

/* Search */
.bo-search-count { color: var(--color-muted-fg); margin-bottom: 2rem; }
.bo-empty-state { text-align: center; padding: 4rem 0; }
.bo-empty-state__title { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
.bo-empty-state__text { color: var(--color-muted-fg); }

/* ========================================
   WOOCOMMERCE OVERRIDES
   ======================================== */
.woocommerce-page .woocommerce { max-width: 100%; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
@media (min-width: 640px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; gap: 1.5rem !important; } }
@media (min-width: 1024px) { .woocommerce ul.products { grid-template-columns: repeat(4, 1fr) !important; } }
.woocommerce ul.products li.product { width: 100% !important; margin: 0 !important; float: none !important; }

/* WC Product Card Override */
.woocommerce ul.products li.product a img { border-radius: var(--radius); aspect-ratio: 3/4; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .875rem !important; font-weight: 500; padding: .5rem 0 .25rem !important; }
.woocommerce ul.products li.product .price { color: var(--color-fg); font-size: .875rem !important; }
.woocommerce ul.products li.product .price del { color: var(--color-muted-fg); font-size: .8125rem; }
.woocommerce ul.products li.product .price ins { color: var(--color-sale); font-weight: 700; text-decoration: none; }
.woocommerce ul.products li.product .button { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: .5rem !important; padding: .625rem !important; background: var(--color-muted) !important; color: var(--color-fg) !important; border-radius: var(--radius) !important; font-size: .8125rem !important; font-weight: 600 !important; transition: all .2s !important; }
.woocommerce ul.products li.product .button:hover { background: var(--color-primary) !important; color: #fff !important; }
.woocommerce ul.products li.product .onsale { display: none; }

/* WC Single Product */
.woocommerce div.product { margin-bottom: 2rem; }
.woocommerce div.product div.images { border-radius: var(--radius); overflow: hidden; }
.woocommerce div.product .product_title { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; }
.woocommerce div.product p.price { font-size: 1.25rem !important; }
.woocommerce div.product p.price del { color: var(--color-muted-fg); }
.woocommerce div.product p.price ins { color: var(--color-sale); font-weight: 700; text-decoration: none; }
.woocommerce div.product .single_add_to_cart_button { background: var(--color-primary) !important; color: #fff !important; border-radius: var(--radius) !important; padding: .875rem 2rem !important; font-weight: 600 !important; font-size: 1rem !important; transition: background .2s !important; }
.woocommerce div.product .single_add_to_cart_button:hover { background: var(--color-primary-dark) !important; }
.woocommerce div.product .woocommerce-tabs { margin-top: 2rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--color-border) !important; padding: 0 !important; margin: 0 0 1.5rem !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: none !important; background: none !important; padding: 0 !important; margin: 0 .5rem 0 0 !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-weight: 500; color: var(--color-muted-fg); padding: .75rem 1rem !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--color-primary); border-bottom: 2px solid var(--color-primary); }

/* Product Trust Badges */
.bo-product-trust { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.bo-product-trust__item { display: flex; align-items: center; gap: .375rem; font-size: .8125rem; color: var(--color-muted-fg); }
.bo-product-trust__item .dashicons { font-size: 1rem; width: 1rem; height: 1rem; color: var(--color-secondary); }

/* Savings */
.bo-savings { color: var(--color-success); font-size: .875rem; font-weight: 500; }

/* Stock Alerts */
.bo-stock-alert { font-size: .8125rem; font-weight: 600; margin-top: .5rem; }
.bo-stock-alert--low { color: var(--color-warning); }
.bo-stock-alert--critical { color: var(--color-sale); }
.bo-stock-alert--out { color: var(--color-sale); }

/* Shipping Progress */
.bo-shipping-progress { padding: 1rem; margin-bottom: 1rem; border-radius: var(--radius); background: var(--color-muted); text-align: center; font-size: .875rem; }
.bo-shipping-progress--done { background: rgba(22,163,74,.08); color: var(--color-success); font-weight: 600; }
.bo-shipping-progress strong { color: var(--color-primary); }
.bo-progress-bar { height: .5rem; background: var(--color-border); border-radius: 9999px; overflow: hidden; margin-top: .5rem; }
.bo-progress-bar__fill { height: 100%; background: var(--color-secondary); border-radius: 9999px; transition: width .5s ease-out; }

/* WC Cart & Checkout */
.woocommerce table.shop_table { border: 1px solid var(--color-border) !important; border-radius: var(--radius) !important; }
.woocommerce .checkout .woocommerce-checkout { max-width: 100%; }
.woocommerce #payment #place_order { background: var(--color-primary) !important; color: #fff !important; border-radius: var(--radius) !important; font-weight: 600 !important; font-size: 1rem !important; padding: 1rem !important; }
.woocommerce #payment #place_order:hover { background: var(--color-primary-dark) !important; }

/* ========================================
   PAGINATION (WC + WP)
   ======================================== */
.woocommerce nav.woocommerce-pagination ul { border: none !important; display: flex; gap: .25rem; justify-content: center; margin-top: 2rem; }
.woocommerce nav.woocommerce-pagination ul li { border: none !important; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { display: flex !important; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius) !important; border: 1px solid var(--color-border) !important; font-size: .875rem; font-weight: 500; background: #fff !important; color: var(--color-fg) !important; transition: all .2s; }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--color-muted) !important; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--color-primary) !important; color: #fff !important; border-color: var(--color-primary) !important; }

.nav-links { display: flex; gap: .25rem; justify-content: center; margin-top: 2rem; }
.nav-links a, .nav-links span { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius); border: 1px solid var(--color-border); font-size: .875rem; font-weight: 500; transition: all .2s; }
.nav-links a:hover { background: var(--color-muted); }
.nav-links .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ========================================
   POPUP
   ======================================== */
.bo-popup-overlay { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,.5); }
.bo-popup { position: relative; width: 100%; max-width: 400px; background: #fff; border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center; }
.bo-popup__close { position: absolute; top: .75rem; right: .75rem; font-size: 1.5rem; color: var(--color-muted-fg); line-height: 1; padding: .25rem; }
.bo-popup__close:hover { color: var(--color-fg); }
.bo-popup__icon { font-size: 3rem; margin-bottom: 1rem; }
.bo-popup__title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
.bo-popup__text { color: var(--color-muted-fg); font-size: .875rem; margin-bottom: 1.5rem; line-height: 1.5; }
.bo-popup__form { display: flex; flex-direction: column; gap: .75rem; }
.bo-popup__form input { padding: .75rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: .875rem; outline: none; }
.bo-popup__form input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(15,23,42,.08); }

/* ========================================
   UTILITY
   ======================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Hide old theme footer content / widgets injected after our footer */
.bo-footer ~ *:not(script):not(link):not(style) { display: none !important; }
.beauty-footer { display: none !important; }
.ft-grid, .ft-bottom, .ft-logo, .ft-heading, .ft-links, .ft-pay { display: none !important; }
body > .site-footer,
body > .footer-widgets,
body > #colophon,
body > .storefront-footer,
#starter-starter-footer,
.starter-starter-footer { display: none !important; }
