/*
Theme Name: Wearqo - Minimal Apparel & Affiliate Theme
Theme URI: https://wearqo.com
Author: Wearqo Studio
Author URI: https://wearqo.com
Description: A high-performance, mobile-first minimalist WordPress & WooCommerce affiliate theme inspired by Ugmonk. Built for Print-on-Demand (POD) T-shirts, Hoodies, and modern apparel stores. Features 2-column mobile product cards, direct external store redirects, rich single product showcase, and an editorial blog.
Version: 1.2.7
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wearqo
Tags: e-commerce, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, blog
*/

/* -------------------------------------------------------------
   1. WEARQO DESIGN TOKENS (LIGHT PREMIUM PALETTE)
------------------------------------------------------------- */
:root {
  /* Brand colors derived from Wearqo Logo */
  --wq-navy: #162544;
  --wq-navy-dark: #0e172a;
  --wq-red: #e62637;
  --wq-red-hover: #cf1c2c;
  --wq-black: #111827;
  
  /* Neutral surfaces & typography */
  --wq-bg: #ffffff;
  --wq-bg-alt: #f8f9fa;
  --wq-bg-card: #f5f6f8;
  --wq-card-hover: #eceff3;
  --wq-text: #1f2937;
  --wq-text-muted: #6b7280;
  --wq-text-subtle: #9ca3af;
  --wq-border: #e5e7eb;
  --wq-border-subtle: #f0f1f4;
  
  /* Ugmonk warm camel / studio banner tone */
  --wq-banner-bg: #dfba9d;
  --wq-banner-dark: #372a22;
  
  /* Layout & Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-price: 'Plus Jakarta Sans', var(--font-sans);
  --font-serif: "Newsreader", Georgia, Cambria, "Times New Roman", Times, serif;
  --container-max: 1240px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows & Fluid Transitions (Apple / Ugmonk Precision) */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 14px 28px rgba(22, 37, 68, 0.09);
  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --wq-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wq-ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --wq-shadow-lift: 0 16px 36px rgba(14, 23, 42, 0.08), 0 4px 12px rgba(14, 23, 42, 0.04);
}

/* -------------------------------------------------------------
   2. MOBILE-FIRST BASE & RESET
------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: var(--font-sans);
  background-color: var(--wq-bg);
  color: var(--wq-text);
  line-height: 1.5;
  overflow-x: hidden;
}

img, picture, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 28px;
    padding-right: 28px;
  }
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--wq-navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* -------------------------------------------------------------
   3. ANNOUNCEMENT BAR
------------------------------------------------------------- */
.announcement-bar {
  background: var(--wq-navy);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  text-align: center;
  position: relative;
  z-index: 60;
}

.announcement-bar span.highlight {
  color: #ffd166;
  font-weight: 700;
}

/* -------------------------------------------------------------
   4. SOLID LIGHT PREMIUM HEADER
------------------------------------------------------------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--wq-border);
  position: sticky;
  top: 0;
  z-index: 990;
  box-shadow: var(--shadow-subtle);
  width: 100%;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.header-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.06);
}

/* Ensure sticky header is never covered by WordPress Admin Bar */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

@media (min-width: 768px) {
  .header-inner {
    height: 84px;
    gap: 24px;
  }
}

.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 52px;
}

.site-branding a,
.site-branding .custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.site-branding img,
.site-branding img.custom-logo,
.site-branding .theme-logo {
  max-height: 52px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .site-branding img,
  .site-branding img.custom-logo,
  .site-branding .theme-logo {
    max-height: 62px;
    max-width: 220px;
  }
}

.site-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--wq-navy);
  letter-spacing: -0.03em;
}

/* Desktop Navigation */
.site-nav {
  display: flex;
  align-items: center;
  flex-shrink: 1;
}

.nav-desktop {
  display: none;
  list-style: none;
  gap: 22px;
  align-items: center;
  margin: 0;
  padding: 0;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
  }
}

@media (min-width: 1200px) {
  .nav-desktop {
    gap: 30px;
  }
}

.nav-desktop li {
  position: relative;
}

.nav-desktop a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--wq-navy);
  padding: 8px 0;
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--wq-red);
  transition: width var(--transition);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after,
.nav-desktop .current-menu-item > a::after {
  width: 100%;
}

.nav-desktop a:hover {
  color: var(--wq-red);
}

/* Dropdown Sub-menu */
.nav-desktop ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid var(--wq-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  list-style: none;
  display: none;
  z-index: 1000;
}

.nav-desktop li:hover > ul.sub-menu,
.nav-desktop li:focus-within > ul.sub-menu {
  display: block;
}

.nav-desktop ul.sub-menu li a {
  display: block;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wq-navy);
  white-space: nowrap;
}

.nav-desktop ul.sub-menu li a::after {
  display: none;
}

.nav-desktop ul.sub-menu li a:hover {
  background: var(--wq-bg-alt);
  color: var(--wq-red);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--wq-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Navigation Drawer - Full Scroll & Never Cut Off */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 99999;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--wq-navy);
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 20px;
  padding: 4px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.mobile-nav-links a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wq-navy);
  display: block;
  padding: 4px 0;
}

.mobile-nav-links a:hover {
  color: var(--wq-red);
}

.mobile-nav-links ul.sub-menu {
  list-style: none;
  padding-left: 16px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-links ul.sub-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--wq-text-muted);
}

.mobile-drawer-cta {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--wq-border);
}

.mobile-drawer-cta .btn-primary {
  width: 100%;
  text-align: center;
}

/* -------------------------------------------------------------
   5. OFFICIAL HERO BANNER (PURE GRAPHIC DISPLAY - NO TEXT / NO BUTTONS)
------------------------------------------------------------- */
.hero-banner-section {
  width: 100%;
  background: #ffffff;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  border-bottom: 1px solid var(--wq-border-subtle);
}

.hero-banner-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  line-height: 0;
}

.hero-banner-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

/* -------------------------------------------------------------
   6. CATEGORY FILTER TABS (UGMONK STYLE)
------------------------------------------------------------- */
.catalog-tabs-bar {
  padding: 30px 0 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--wq-border-subtle);
  position: sticky;
  top: 68px;
  z-index: 30;
}

@media (min-width: 768px) {
  .catalog-tabs-bar {
    top: 78px;
    padding: 36px 0 24px;
  }
}

.catalog-tabs-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 12px 6px;
  scrollbar-width: none;
}

.catalog-tabs-list::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wq-text-muted);
  cursor: pointer;
  padding: 6px 4px 10px;
  position: relative;
  transition: color var(--transition), transform 0.2s var(--wq-ease-out);
}

.tab-btn:hover {
  color: var(--wq-navy);
}

.tab-btn:active {
  transform: scale(0.95);
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: var(--wq-red);
  border-radius: var(--radius-full);
  transition: width 0.25s var(--wq-ease-out), opacity 0.25s ease;
  opacity: 0;
}

.tab-btn.active {
  color: var(--wq-navy);
  font-weight: 800;
}

.tab-btn.active::after {
  width: 24px;
  opacity: 1;
}

/* -------------------------------------------------------------
   7. PRODUCT GRID: MOBILE 2-CARD VIEW & DESKTOP 4-CARD VIEW
------------------------------------------------------------- */
.catalog-section {
  padding: 30px 0 60px;
  background: #ffffff;
}

@media (min-width: 768px) {
  .catalog-section {
    padding: 40px 0 80px;
  }
}

/* =============================================================
   7. PRODUCT GRID: MOBILE 2-CARD VIEW & DESKTOP 4-CARD VIEW
   (Strict Left Alignment Across All Shop & Archive Pages)
   ============================================================= */

/* CRITICAL FIX: Eliminate WooCommerce clearfix pseudo-elements that steal Column 1 */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
ul.products::before,
ul.products::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  visibility: hidden !important;
}

/* Strict 2 columns on mobile, 3 columns on tablet/desktop, 4 columns on large screens */
.product-grid,
ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products[class*="columns-"],
.woocommerce-page ul.products[class*="columns-"] {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 32px 0 !important;
  justify-content: start !important;
  justify-items: stretch !important;
  align-items: stretch !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

@media (min-width: 640px) {
  .product-grid,
  ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products[class*="columns-"],
  .woocommerce-page ul.products[class*="columns-"] {
    gap: 20px !important;
  }
}

@media (min-width: 860px) {
  .product-grid,
  ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products[class*="columns-"],
  .woocommerce-page ul.products[class*="columns-"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }
}

@media (min-width: 1100px) {
  .product-grid,
  ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products[class*="columns-"],
  .woocommerce-page ul.products[class*="columns-"] {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 28px !important;
  }
}

/* Reset all WooCommerce float and width overrides on product cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product,
ul.products article.product-card,
ul.products .product-card,
.product-grid .product-card,
.product-card {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;
  grid-column: auto !important;
  list-style: none !important;
  text-align: left !important;
}

/* Ensure the first product card strictly starts at Column 1, Left Aligned */
.woocommerce ul.products li.product:first-child,
.woocommerce-page ul.products li.product:first-child,
.woocommerce ul.products > *:first-child,
.woocommerce-page ul.products > *:first-child,
.product-grid > *:first-child,
ul.products > *:first-child {
  grid-column-start: 1 !important;
}

/* WooCommerce Archive Page Headers, Result Count & Ordering Dropdown */
.woocommerce-products-header {
  margin-bottom: 20px;
  text-align: left !important;
}

.woocommerce-products-header__title.page-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--wq-navy);
  margin: 0 0 8px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: left !important;
}

.woocommerce-archive-description p {
  color: var(--wq-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-align: left !important;
}

.woocommerce-result-count {
  float: left;
  font-size: 0.88rem;
  color: var(--wq-text-muted);
  margin: 0 0 20px 0 !important;
  line-height: 38px;
}

.woocommerce-ordering {
  float: right;
  margin: 0 0 20px 0 !important;
}

.woocommerce-ordering select {
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--wq-navy);
  background-color: var(--wq-bg);
  border: 1px solid var(--wq-border);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.woocommerce-ordering select:focus {
  border-color: var(--wq-navy);
}

@media (max-width: 639px) {
  .woocommerce-result-count,
  .woocommerce-ordering {
    float: none !important;
    width: 100% !important;
    text-align: left !important;
    margin-bottom: 12px !important;
  }
}

/* Minimal Product Card (Clean Ugmonk Style) */
.product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--wq-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.32s var(--wq-ease-out), box-shadow 0.32s var(--wq-ease-out), border-color 0.25s ease;
  will-change: transform, box-shadow;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--wq-shadow-lift);
  border-color: #cbd5e1;
}

.product-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  background: var(--wq-bg-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--wq-ease-out);
  will-change: transform;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.045);
}

.product-badge-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(22, 37, 68, 0.92);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  z-index: 2;
}

.product-badge-pill.sale {
  background: var(--wq-red);
}

/* Card Content Details */
.product-card-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .product-card-body {
    padding: 14px 14px 16px;
  }
}

.product-cat-name {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--wq-text-subtle);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.product-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--wq-navy);
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.2em;
}

@media (min-width: 768px) {
  .product-name {
    font-size: 0.95rem;
  }
}

.product-price-box {
  display: flex;
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  margin-top: auto;
  margin-bottom: 10px;
  flex-wrap: wrap !important;
  line-height: 1 !important;
}

/* Current Sale Price: Luxury Navy, Heavyweight, Clean (ALWAYS FIRST) */
ins,
.product-current-price,
.single-current-price,
.price-now,
.mobile-sticky-price .now {
  order: 1 !important;
  margin-right: 6px !important;
  font-family: var(--font-price) !important;
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  color: var(--wq-navy) !important;
  letter-spacing: -0.02em !important;
  font-feature-settings: 'tnum' 1, 'cv11' 1 !important;
  text-decoration: none !important;
  border: none !important;
  display: inline-block !important;
  line-height: 1.1 !important;
}

ins *,
ins .woocommerce-Price-amount,
ins .woocommerce-Price-currencySymbol,
ins bdi {
  color: var(--wq-navy) !important;
  text-decoration: none !important;
  border: none !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
}

@media (min-width: 768px) {
  ins,
  .product-current-price,
  .single-current-price {
    font-size: 1.22rem !important;
  }
}

/* Comparative Regular Price: Elegant, Slim Strikethrough in Crisp Crimson Red (ALWAYS SECOND) */
del,
.product-old-price,
.single-old-price,
.price-was,
.mobile-sticky-price .old {
  order: 2 !important;
  font-family: var(--font-price) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important; /* Clean weight so the struck numbers are 100% legible */
  color: var(--wq-red) !important; /* Crisp Crimson Red */
  text-decoration: line-through !important;
  text-decoration-color: var(--wq-red) !important;
  text-decoration-thickness: 1.2px !important; /* Single crisp hairline, never blurry or blocky */
  text-decoration-style: solid !important;
  font-feature-settings: 'tnum' 1 !important;
  border: none !important;
  border-bottom: none !important;
  opacity: 0.9 !important;
  display: inline-block !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

/* CRITICAL: Children of del MUST NOT draw duplicate overlapping strikethrough lines */
del * {
  text-decoration: none !important;
  color: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  border: none !important;
  background: none !important;
}

.single-product-price-row ins {
  font-size: 1.65rem !important;
  font-weight: 900 !important;
}

.single-product-price-row del {
  font-size: 1.05rem !important;
  text-decoration-thickness: 1.4px !important;
}

/* VIEW PRODUCT BUTTON */
.btn-view-product {
  width: 100%;
  background: var(--wq-bg-alt);
  color: var(--wq-navy);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--wq-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s var(--wq-ease-out);
  cursor: pointer;
}

@media (min-width: 768px) {
  .btn-view-product {
    font-size: 0.84rem;
    padding: 9px 12px;
  }
}

.btn-view-product:hover {
  background: var(--wq-navy);
  color: #ffffff;
  border-color: var(--wq-navy);
  transform: translateY(-1px);
}

.btn-view-product:active {
  transform: scale(0.96);
}

.btn-view-product svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* -------------------------------------------------------------
   8. TRUST & POD SPECS BAR
------------------------------------------------------------- */
.trust-strip {
  background: var(--wq-bg-alt);
  border-top: 1px solid var(--wq-border);
  border-bottom: 1px solid var(--wq-border);
  padding: 28px 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 860px) {
  .trust-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.trust-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-box svg {
  width: 28px;
  height: 28px;
  stroke: var(--wq-navy);
  flex-shrink: 0;
}

.trust-box h4 {
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.trust-box p {
  font-size: 0.75rem;
  color: var(--wq-text-muted);
}

/* -------------------------------------------------------------
   9. SINGLE PRODUCT PAGE (SUPERIOR HIGH-CONVERTING LAYOUT)
------------------------------------------------------------- */
.single-product-container,
.single-wrap {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 32px 20px 80px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .single-product-container,
  .single-wrap {
    padding: 40px 28px 80px;
  }
}

.product-breadcrumbs {
  font-size: 0.82rem;
  color: var(--wq-text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-breadcrumbs a:hover {
  color: var(--wq-navy);
  text-decoration: underline;
}

.single-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 860px) {
  .single-product-grid {
    grid-template-columns: 440px 1fr;
    gap: 44px;
    align-items: start;
  }
}

/* Gallery / Image view & Interactive Auto-Zoom Lens */
.single-product-media {
  position: relative;
  background: var(--wq-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--wq-border);
  overflow: hidden;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  cursor: zoom-in;
  user-select: none;
}

@media (min-width: 860px) {
  .single-product-media {
    margin: 0;
  }
}

.single-product-media img {
  width: 100%;
  max-height: 440px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, transform-origin;
  pointer-events: none;
}

.single-product-media .product-badge-pill {
  pointer-events: none;
  z-index: 2;
}

/* Single Product Details */
.single-product-details {
  display: flex;
  flex-direction: column;
}

.single-product-cat {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wq-red);
  margin-bottom: 8px;
}

.single-product-title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 900;
  color: var(--wq-navy);
  line-height: 1.15;
  margin-bottom: 12px;
}

.single-product-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.single-current-price {
  font-family: var(--font-price);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--wq-navy);
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum';
}

.single-old-price {
  font-family: var(--font-price);
  font-size: 1.15rem;
  font-weight: 700;
  color: #e62637 !important;
  text-decoration: line-through !important;
  text-decoration-color: #e62637 !important;
  text-decoration-thickness: 2px !important;
  letter-spacing: -0.01em;
}

.single-discount-badge {
  background: #fef2f2;
  color: var(--wq-red);
  border: 1px solid #fecaca;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.single-product-desc {
  font-size: 0.95rem;
  color: var(--wq-text);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Mobile Sticky Buy Now Bar */
.mobile-sticky-price {
  display: none;
}

.single-action-box {
  width: 100%;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .single-product-container,
  .single-wrap {
    padding: 18px 20px 92px;
    box-sizing: border-box;
  }
  .single-action-box {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--wq-border);
    box-shadow: 0 -3px 16px rgba(0, 0, 0, 0.08);
    padding: 8px 16px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
  }
  .mobile-sticky-price {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    line-height: 1.1;
  }
  .mobile-sticky-price .now {
    font-family: var(--font-price);
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--wq-navy);
    letter-spacing: -0.02em;
  }
  .mobile-sticky-price .old {
    font-family: var(--font-price);
    font-size: 0.78rem;
    font-weight: 700;
    color: #e62637 !important;
    text-decoration: line-through !important;
    text-decoration-color: #e62637 !important;
    text-decoration-thickness: 1.5px !important;
  }
  .single-action-box .btn-affiliate-primary {
    margin: 0;
    padding: 9px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    height: 40px;
    border-radius: var(--radius-full);
    flex-grow: 1;
    max-width: 200px;
    box-shadow: 0 2px 10px rgba(22, 37, 68, 0.16);
  }
  .affiliate-guarantee-note {
    display: none;
  }
}

/* POD Specifications Box */
.pod-spec-list {
  background: var(--wq-bg-alt);
  border: 1px solid var(--wq-border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 26px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pod-spec-list li {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wq-text);
}

.pod-spec-list li svg {
  width: 18px;
  height: 18px;
  stroke: var(--wq-red);
  flex-shrink: 0;
}

/* BUY NOW AFFILIATE CTA BUTTON (THE MONEY BUTTON) */
.btn-affiliate-primary {
  width: 100%;
  background: var(--wq-navy);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(22, 37, 68, 0.2);
  transition: transform 0.2s var(--wq-ease-out), background-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-affiliate-primary:hover {
  background: var(--wq-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 38, 55, 0.28);
}

.btn-affiliate-primary:active {
  transform: scale(0.96) !important;
}

.btn-affiliate-primary svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

.affiliate-guarantee-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--wq-text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* -------------------------------------------------------------
   10. BLOG / JOURNAL SECTION & PAGE
------------------------------------------------------------- */
.journal-section {
  padding: 50px 0 80px;
  background: #ffffff;
}

.journal-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.journal-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.journal-header p {
  color: var(--wq-text-muted);
  font-size: 1rem;
}

/* Blog Grid - Strict 2-column mobile layout matching product grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .blog-grid {
    gap: 20px;
  }
}

@media (min-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--wq-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s var(--wq-ease-out), box-shadow 0.32s var(--wq-ease-out);
  will-change: transform, box-shadow;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wq-shadow-lift);
}

.blog-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--wq-bg-card);
  overflow: hidden;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--wq-ease-out);
  will-change: transform;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.045);
}

.blog-card-body {
  padding: 10px 10px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (min-width: 640px) {
  .blog-card-body {
    padding: 18px 20px 22px;
  }
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: var(--wq-text-subtle);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .blog-meta-row {
    gap: 8px;
    font-size: 0.75rem;
    margin-bottom: 8px;
  }
}

.blog-meta-tag {
  color: var(--wq-red);
}

.blog-card-title {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--wq-navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .blog-card-title {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 10px;
    -webkit-line-clamp: 3;
  }
}

.blog-card-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: var(--wq-red);
}

.blog-card-excerpt {
  font-size: 0.72rem;
  color: var(--wq-text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .blog-card-excerpt {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
    -webkit-line-clamp: 3;
  }
}

.blog-read-more {
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--wq-navy);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .blog-read-more {
    font-size: 0.84rem;
    gap: 6px;
  }
}

.blog-read-more:hover {
  color: var(--wq-red);
  transform: translateX(3px);
}

/* Single Blog Post Template */
.single-post-wrapper {
  max-width: 760px;
  margin: 40px auto 80px;
  padding: 0 16px;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--wq-text-muted);
  margin-bottom: 14px;
}

.single-post-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--wq-navy);
  line-height: 1.15;
  margin-bottom: 24px;
}

.single-post-hero-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  max-height: 480px;
  object-fit: cover;
}

.single-post-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #374151;
}

.single-post-content p {
  margin-bottom: 22px;
}

.single-post-content h2,
.single-post-content h3 {
  margin: 34px 0 14px;
}

.single-post-content blockquote {
  border-left: 3px solid var(--wq-red);
  padding-left: 18px;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--wq-navy);
  margin: 28px 0;
}

/* -------------------------------------------------------------
   11. MINIMAL FOOTER
------------------------------------------------------------- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--wq-border);
  padding: 50px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    text-align: left;
  }
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--wq-text-muted);
  margin-top: 12px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .footer-brand p {
    margin-left: 0;
    margin-right: 0;
  }
}

.footer-brand .site-branding a {
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-brand .site-branding a {
    justify-content: flex-start;
  }
}

/* Footer Social Media Channels */
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-social-links {
    justify-content: flex-start;
  }
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wq-bg-alt);
  border: 1px solid var(--wq-border);
  color: var(--wq-navy);
  transition: all 0.22s var(--wq-ease-out);
  text-decoration: none !important;
}

.footer-social-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  transition: transform 0.22s ease;
}

.footer-social-icon:hover {
  background: var(--wq-navy);
  color: #ffffff !important;
  border-color: var(--wq-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(17, 24, 39, 0.12);
}

.footer-social-icon:hover svg {
  transform: scale(1.08);
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wq-navy);
  margin-bottom: 16px;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-menu {
    align-items: flex-start;
  }
}

.footer-menu a {
  font-size: 0.88rem;
  color: var(--wq-text-muted);
}

.footer-menu a:hover {
  color: var(--wq-red);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--wq-text-muted);
  margin-top: 10px;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-contact-item {
    justify-content: flex-start;
  }
}

.footer-contact-item a:hover {
  color: var(--wq-red);
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  color: var(--wq-text-subtle);
  gap: 8px;
}

@media (min-width: 768px) {
  .footer-bottom-row {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* -------------------------------------------------------------
   12. ULTRA-SMOOTH PREMIUM ANIMATIONS & TRANSITIONS (APPLE / UGMONK CALIBER)
------------------------------------------------------------- */
/* Scroll-Triggered Reveal Animations */
.wq-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--wq-ease-out), transform 0.65s var(--wq-ease-out);
  will-change: opacity, transform;
}

.wq-reveal.wq-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Luxury Stagger Delays for Fluid Cascade */
.wq-delay-1 { transition-delay: 0.06s; }
.wq-delay-2 { transition-delay: 0.12s; }
.wq-delay-3 { transition-delay: 0.18s; }
.wq-delay-4 { transition-delay: 0.24s; }

/* Micro-Tactile Press Interactions on Clickable Controls */
.mobile-nav-cta,
.btn-secondary,
.single-buy-btn,
.blog-read-more,
.product-badge-pill {
  transition: transform 0.2s var(--wq-ease-out), background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-nav-cta:active,
.btn-secondary:active,
.single-buy-btn:active {
  transform: scale(0.96) !important;
}

.trust-box {
  transition: transform 0.3s var(--wq-ease-out);
}

.trust-box:hover {
  transform: translateY(-2px);
}

/* Product Mockup Gallery Switcher Animation */
#mainProductImg {
  transition: opacity 0.2s ease, transform 0.2s ease;
  will-change: opacity, transform;
}

.single-thumbs img {
  transition: transform 0.2s var(--wq-ease-out), border-color 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.single-thumbs img:hover {
  transform: translateY(-2px);
}

.single-thumbs img.active {
  border-color: var(--wq-navy) !important;
  box-shadow: 0 0 0 1px var(--wq-navy);
}

/* Accessibility: Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .wq-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

