/*
Theme Name: Aorest Flower v1.0.98
Theme URI: https://aorest.com/
Author: Aorest
Description: Custom theme for aorest.com — lightweight, mobile-first, no Elementor. Built on Cmosa base architecture with Aorest brand identity (gold/champagne palette). v1.0.1 adds Hero + Trust strip + 3-col service homepage sections.
Version: 1.0.98
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: aorest
*/

/* ==========================================================================
   1. CSS VARIABLES (Aorest Brand)
   ========================================================================== */
:root {
  /* Brand Colors */
  --aorest-primary: #dd9933;
  --aorest-primary-dark: #b87a1f;
  --aorest-secondary-1: #cab79a;
  --aorest-secondary-2: #e1caa7;
  --aorest-gradient: linear-gradient(145deg, #cab79a, #e1caa7);
  --aorest-gold-shadow: rgba(42, 67, 113, 0.15);

  /* Neutrals */
  --aorest-text: #222222;
  --aorest-text-muted: #666666;
  --aorest-text-light: #999999;
  --aorest-bg: #ffffff;
  --aorest-bg-alt: #f8f6f2;
  --aorest-border: #e8e4dc;

  /* Status */
  --aorest-success: #28a745;
  --aorest-line: #06c755;
  --aorest-messenger: #0084ff;
  --aorest-phone: #dd9933;

  /* Layout */
  --aorest-container: 1200px;
  --aorest-radius: 8px;
  --aorest-radius-lg: 16px;

  /* Typography */
  --aorest-font: 'Kanit', system-ui, -apple-system, sans-serif;
  --aorest-font-display: 'Kanit', sans-serif;

  /* Spacing */
  --aorest-section-pad: 60px;
  --aorest-section-pad-mobile: 40px;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--aorest-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--aorest-text);
  background: var(--aorest-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--aorest-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--aorest-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--aorest-font-display);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 .5em;
  color: var(--aorest-text);
}

h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { margin: 0 0 1em; }

button { font-family: inherit; cursor: pointer; }

/* ==========================================================================
   3. LAYOUT HELPERS
   ========================================================================== */
.aorest-container {
  max-width: var(--aorest-container);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .aorest-container { padding: 0 24px; }
}

.aorest-section {
  padding: var(--aorest-section-pad-mobile) 0;
}

@media (min-width: 768px) {
  .aorest-section { padding: var(--aorest-section-pad) 0; }
}

.aorest-section-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.aorest-section-title .aorest-section-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--aorest-primary);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .aorest-section-title { font-size: 22px; margin-bottom: 24px; }
  .aorest-section-title .aorest-section-link { font-size: 14px; }
}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.aorest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--aorest-radius);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  line-height: 1;
}
.aorest-btn:hover { transform: translateY(-1px); }
.aorest-btn-primary { background: var(--aorest-primary); color: #fff; }
.aorest-btn-primary:hover { background: var(--aorest-primary-dark); color: #fff; }
.aorest-btn-line { background: var(--aorest-line); color: #fff; }
.aorest-btn-line:hover { background: #05a847; color: #fff; }
.aorest-btn-outline {
  background: transparent;
  color: var(--aorest-primary);
  border: 1.5px solid var(--aorest-primary);
}
.aorest-btn-outline:hover { background: var(--aorest-primary); color: #fff; }

/* ==========================================================================
   5. HEADER  (will be detailed in v1.0.1+)
   ========================================================================== */
.aorest-header {
  background: #fff;
  border-bottom: 1px solid var(--aorest-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.aorest-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 16px;
}
.aorest-logo img { height: 40px; width: auto; }

@media (min-width: 768px) {
  .aorest-header-inner { padding: 16px 24px; max-width: var(--aorest-container); margin: 0 auto; }
  .aorest-logo img { height: 50px; }
}

/* ==========================================================================
   6. STICKY BOTTOM NAV (Mobile only, <768px)
   Design: 3 circular icons that overflow above the bar + vertical dividers
   ========================================================================== */
.aorest-sticky-bottom {
  display: none;
}

@media (max-width: 767px) {
  .aorest-sticky-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #e8e9eb;
    border-top: 1px solid #d4d6d9;
    z-index: 999;
    /* Extra top padding to leave room for the icon overflow */
    padding: 18px 0 calc(8px + env(safe-area-inset-bottom));
  }

  .aorest-sticky-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    padding: 0 4px;
  }
  .aorest-sticky-btn:active { opacity: 0.7; }

  /* Vertical divider between buttons (using ::before on 2nd & 3rd) */
  .aorest-sticky-btn + .aorest-sticky-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: #c8cacd;
  }

  /* Icon circle - overflows above the bar */
  .aorest-sticky-btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -28px;       /* lift above the bar */
    margin-bottom: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    border: 2px solid #fff;
  }
  .aorest-sticky-btn-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
  }

  /* Per-button colors */
  .aorest-sticky-btn-line .aorest-sticky-btn-icon  { background: #06c755; }
  .aorest-sticky-btn-msg  .aorest-sticky-btn-icon  { background: #0084ff; }
  .aorest-sticky-btn-phone .aorest-sticky-btn-icon { background: #2c4a3a; }

  /* Label below icon */
  .aorest-sticky-btn-label {
    font-size: 12px;
    line-height: 1.2;
    color: #333;
    font-weight: 600;
    text-align: center;
  }

  /* Push body content so it's not covered (account for icon overflow) */
  body { padding-bottom: 90px; }
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.aorest-footer {
  background: var(--aorest-bg-alt);
  padding: 40px 0 24px;
  margin-top: 60px;
  border-top: 1px solid var(--aorest-border);
}
.aorest-footer-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--aorest-text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--aorest-border);
  margin-top: 24px;
}

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

.aorest-hide-mobile { display: block; }
.aorest-hide-desktop { display: none; }
@media (max-width: 767px) {
  .aorest-hide-mobile { display: none; }
  .aorest-hide-desktop { display: block; }
}

/* ==========================================================================
   9. HERO SECTION (Homepage)
   2 columns:
   - Col Left: BG image (phone+leaves) + AOREST/stars/CTA/checks overlay (right half)
   - Col Right: ขายพวงหรีด + intro + 3 trust icons
   ========================================================================== */
.aorest-hero {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.aorest-hero-inner {
  position: relative;
  max-width: var(--aorest-container);
  margin: 0 auto;
  /* padding: 24px 16px; */
  display: grid;
  grid-template-columns: 1fr;
  /* gap: 32px; */
  align-items: center;
}

@media (min-width: 768px) {
  .aorest-hero-inner {
    grid-template-columns: 1fr 1fr;
    /* padding: 40px 24px; */
    gap: 40px;
    /* border-bottom: 1px solid #e7e7e7; */
  }
}

/* COL LEFT — visual + text overlay */
.aorest-hero-left {
  position: relative;
  min-height: 360px;

  /* Phone+leaves image is the background of THIS COLUMN */
  background-image: url('https://aorest.com/wp-content/uploads/2021/06/ad-%E0%B8%94%E0%B8%AD%E0%B8%81%E0%B9%84%E0%B8%A1%E0%B9%89%E0%B8%AB%E0%B8%99%E0%B9%89%E0%B8%B2%E0%B8%A8%E0%B8%9E.jpg');
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;

  /* Inner 2-col: visual on left half, text on right half */
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
}

@media (min-width: 768px) {
  .aorest-hero-left { min-height: 460px; }
}

.aorest-hero-visual { /* empty placeholder, bg shows through */ }

.aorest-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-left: 31px;
}

@media (min-width: 768px) {
  .aorest-hero-content { gap: 8px; padding-left: 42px; }
}

.aorest-hero-logo {
  font-family: var(--aorest-font-display);
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--aorest-text);
  line-height: 1;
  margin: 0 0 4px;
}

.aorest-hero-stars {
  color: var(--aorest-primary);
  font-size: 12px;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .aorest-hero-stars { font-size: 14px; letter-spacing: 3px; }
}

.aorest-hero-tagline {
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  font-weight: 600;
  color: var(--aorest-text);
  margin: 4px 0;
  line-height: 1.4;
}

.aorest-hero-line-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--aorest-line);
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin: 2px 0;
  transition: background .2s, transform .15s;
}
.aorest-hero-line-btn:hover { background: #05a847; color: #fff; transform: translateY(-1px); }

@media (min-width: 768px) {
  .aorest-hero-line-btn { padding: 10px 32px; font-size: 15px; gap: 8px; }
}

.aorest-hero-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aorest-hero-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--aorest-text);
}
.aorest-hero-check-icon {
  width: 18px;
  height: 18px;
  background: var(--aorest-success);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aorest-hero-check-icon svg { width: 11px; height: 11px; fill: #fff; }

@media (min-width: 768px) {
  .aorest-hero-checks li { font-size: 14px; gap: 10px; }
  .aorest-hero-check-icon { width: 20px; height: 20px; }
  .aorest-hero-check-icon svg { width: 12px; height: 12px; }
}

/* COL RIGHT — Service area */
.aorest-hero-right {
  text-align: center;
  padding: 0 8px;
}

.aorest-hero-right-header {
  margin-bottom: 24px;
}

.aorest-hero-right-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--aorest-text);
}

.aorest-hero-right-header p {
  font-size: 13px;
  color: var(--aorest-text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (min-width: 768px) {
  .aorest-hero-right-header p { font-size: 14px; }
  .aorest-hero-right-header { margin-bottom: 32px; }
}

.aorest-hero-right-header .aorest-highlight {
  color: var(--aorest-primary);
  font-weight: 600;
}

.aorest-hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .aorest-hero-trust-grid { gap: 20px; }
}

.aorest-hero-trust-item {
  text-align: center;
}

.aorest-hero-trust-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}

.aorest-hero-trust-icon svg {
  width: 32px;
  height: 32px;
  transition: transform .25s;
  position: relative;
  z-index: 1;
}

.aorest-hero-trust-item:hover .aorest-hero-trust-icon {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.aorest-hero-trust-item:hover .aorest-hero-trust-icon svg {
  transform: scale(1.05);
}

/* Per-icon color variants */
.aorest-hero-trust-icon.is-wreath {
  background: #fff5e6;
  border: 1.5px solid #f0c97e;
  color: #c87f1e;
}
.aorest-hero-trust-icon.is-wreath svg { fill: #c87f1e; }

.aorest-hero-trust-icon.is-flower {
  background: #f0f5ec;
  border: 1.5px solid #b8d4a3;
  color: #5a8a3f;
}
.aorest-hero-trust-icon.is-flower svg { fill: #5a8a3f; }

.aorest-hero-trust-icon.is-arrange {
  background: #fdeef0;
  border: 1.5px solid #f3b9c2;
  color: #c25a6e;
}
.aorest-hero-trust-icon.is-arrange svg { fill: #c25a6e; }

@media (min-width: 768px) {
  .aorest-hero-trust-icon { width: 100px; height: 100px; border-width: 2px; }
  .aorest-hero-trust-icon svg { width: 44px; height: 44px; }
}

.aorest-hero-trust-item h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--aorest-text);
}

.aorest-hero-trust-item p {
  font-size: 11px;
  color: var(--aorest-text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (min-width: 768px) {
  .aorest-hero-trust-item h3 { font-size: 17px; margin-bottom: 8px; }
  .aorest-hero-trust-item p { font-size: 13px; line-height: 1.6; }
}

/* ==========================================================================
   11. PROCESS — 3-col how-to (เลือก / จัดส่ง / ราคาถูก)
   Layout: icon กลม + text เรียงข้างกัน (ตามเว็บเดิม)
   ========================================================================== */
.aorest-process {
  padding-top: 30px;
  background: #f9f6ee;
  border-bottom: 1px solid var(--aorest-border);
  padding-bottom: 25px;
  border-top: 1px solid var(--aorest-border);
  margin-top: 19px;
}

.aorest-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .aorest-process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.aorest-process-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.aorest-process-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--aorest-secondary-1);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aorest-secondary-1);
}
.aorest-process-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--aorest-secondary-1);
}

.aorest-process-text { flex: 1; min-width: 0; }

.aorest-process-text h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--aorest-text);
}

.aorest-process-text p {
  font-size: 13px;
  color: var(--aorest-text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (min-width: 768px) {
  .aorest-process-icon { width: 64px; height: 64px; }
  .aorest-process-icon svg { width: 30px; height: 30px; }
}

/* ==========================================================================
   12. PRODUCT CARD + GRID
   Match aorest.com original styling
   ========================================================================== */

/* Grid: 3-col mobile, 5-col desktop */
.aorest-products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

@media (min-width: 768px) {
  .aorest-products,
  ul.products {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }

  /* Homepage flower section: 10 items desktop (5-col × 2 rows). Mobile shows 12. */
  body.home .aorest-flower-section ul.products li.product:nth-child(n+11) {
    display: none;
  }

  /* Homepage wreath section: 20 items desktop (5-col × 4 rows). Mobile shows 18. */
  body.home .aorest-wreath-section ul.products li.product:nth-child(n+21) {
    display: none;
  }
}

/* Homepage wreath section on mobile: cap at 18 items (3-col × 6 rows) */
@media (max-width: 767px) {
  body.home .aorest-wreath-section ul.products li.product:nth-child(n+19) {
    display: none;
  }
}

ul.products li.product,
ul.products[class*="columns-"] li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
}

.aorest-product-card {
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow .2s, transform .15s;
}

.aorest-product-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.aorest-product-card a {
  text-decoration: none;
  color: var(--aorest-text);
}

.aorest-product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--aorest-bg-alt);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.aorest-product-thumb img,
.aorest-product-thumb .aorest-product-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.aorest-product-card:hover .aorest-product-thumb img {
  transform: scale(1.05);
}

/* Sale percentage badge - top left, ORANGE (matches original) */
.aorest-product-sale-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ff6b35;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  z-index: 2;
  border-radius: 4px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .aorest-product-sale-badge { font-size: 12px; padding: 5px 10px; }
}

/* View count badge - bottom right (overlay on image) */
.aorest-product-view-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  line-height: 1;
  backdrop-filter: blur(4px);
}

.aorest-product-view-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

@media (min-width: 768px) {
  .aorest-product-view-badge { font-size: 12px; padding: 5px 10px; }
  .aorest-product-view-badge svg { width: 13px; height: 13px; }
}

.aorest-product-info {
  padding: 12px 8px 14px;
}

.aorest-product-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--aorest-text);
  margin: 0 0 6px;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.6em;
}

@media (min-width: 768px) {
  .aorest-product-title { font-size: 14px; }
  .aorest-product-info { padding: 14px 10px 16px; }
}

.aorest-product-price {
  font-size: 13px;
  line-height: 1.4;
}

.aorest-product-price del {
  color: var(--aorest-text-light);
  font-size: 11px;
  display: block;
  text-decoration: line-through;
  margin-bottom: 2px;
}

.aorest-product-price ins,
.aorest-product-price .aorest-price-current {
  color: var(--aorest-text);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

@media (min-width: 768px) {
  .aorest-product-price del { font-size: 12px; }
  .aorest-product-price ins,
  .aorest-product-price .aorest-price-current { font-size: 15px; }
}

/* Hide WooCommerce default add-to-cart, ratings, etc on listings */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist,
ul.products li.product .add_to_cart_button { display: none !important; }

/* ==========================================================================
   13. PRODUCT SECTION (homepage)
   With pre-heading (•sub• + main title), centered intro
   ========================================================================== */
.aorest-product-section {
  padding: 23px 0;
}

@media (min-width: 768px) {
  .aorest-product-section { /* padding: 60px 0; */ }
}

.aorest-product-section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .aorest-product-section-intro { margin-bottom: 36px; }
}

/* Pre-heading: • พวงหรีด • */
.aorest-section-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--aorest-primary);
  letter-spacing: 1px;
  margin: 0 0 12px;
}
.aorest-section-pretitle::before,
.aorest-section-pretitle::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aorest-primary);
}

.aorest-product-section-intro h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--aorest-text);
}

.aorest-product-section-intro p {
  font-size: 14px;
  color: var(--aorest-text-muted);
  margin: 0;
  line-height: 1.75;
}

.aorest-product-section-intro p a {
  color: var(--aorest-primary);
  text-decoration: none;
}

.aorest-product-section-footer {
  text-align: center;
  margin-top: 24px;
}

/* ==========================================================================
   14. SINGLE PRODUCT (LINE-only, no cart)
   ========================================================================== */
.aorest-single-product {
  padding: 24px 0;
}

.aorest-single-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .aorest-single-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.aorest-single-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--aorest-bg-alt);
  border-radius: var(--aorest-radius);
  overflow: hidden;
}
.aorest-single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aorest-single-meta h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 12px;
}

.aorest-single-price-discount {
  background: #d93025;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.aorest-single-sku {
  font-size: 13px;
  color: var(--aorest-text-muted);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--aorest-border);
}

/* Order box (info above CTAs) */
.aorest-order-info {
  background: var(--aorest-bg-alt);
  border-radius: var(--aorest-radius);
  padding: 16px;
  margin: 0 0 16px;
  font-size: 14px;
}
.aorest-order-info-title {
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--aorest-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.aorest-order-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.aorest-order-info li {
  padding: 4px 0;
  display: flex;
  gap: 8px;
}
.aorest-order-info li::before {
  content: "✓";
  color: var(--aorest-success);
  font-weight: bold;
  flex-shrink: 0;
}

/* Related products on single */
.aorest-related-products {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--aorest-border);
}

/* ==========================================================================
   15. CATEGORY / ARCHIVE
   ========================================================================== */
.aorest-archive-header {
  padding: 24px 0 16px;
  text-align: center;
}
.aorest-archive-header h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 8px;
}
.aorest-archive-header p {
  font-size: 14px;
  color: var(--aorest-text-muted);
  margin: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.aorest-breadcrumb {
  font-size: 12px;
  color: var(--aorest-text-muted);
  padding: 12px 0;
}
.aorest-breadcrumb a { color: var(--aorest-text-muted); }
.aorest-breadcrumb a:hover { color: var(--aorest-primary); }
.aorest-breadcrumb-sep { margin: 0 6px; opacity: .5; }

/* WooCommerce notices/messages — minimal style */
.woocommerce-result-count,
.woocommerce-ordering {
  font-size: 13px;
  color: var(--aorest-text-muted);
  margin: 0 0 12px;
}

/* Pagination */
.aorest-pagination,
.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 4px;
  list-style: none;
  padding: 32px 0;
  margin: 0;
}
.aorest-pagination a,
.aorest-pagination span,
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 14px;
  background: var(--aorest-bg-alt);
  color: var(--aorest-text);
  text-decoration: none;
  transition: background .15s;
}
.aorest-pagination a:hover,
.woocommerce-pagination ul li a:hover {
  background: var(--aorest-primary);
  color: #fff;
}
.aorest-pagination .current,
.woocommerce-pagination ul li .current {
  background: var(--aorest-primary);
  color: #fff;
}

/* ==========================================================================
   16. HEADER + NAVIGATION
   Desktop: Logo | Nav center | Phone + LINE pill + Search
   Mobile:  [FB icon]  [AOREST logo center]  [☰ hamburger]
   ========================================================================== */
.aorest-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.aorest-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.aorest-logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--aorest-text);
}

/* Custom logo (admin uploaded) */
.aorest-logo .custom-logo {
  height: 40px;
  width: auto;
  max-width: 200px;
}

@media (min-width: 1024px) {
  .aorest-logo .custom-logo { height: 50px; max-width: 220px; }
}

/* Default logo image (theme fallback) - aspect 768x189 = ~4:1 landscape */
.aorest-logo-img {
  height: auto;
  width: 160px;
  max-width: 100%;
  display: block;
}

@media (min-width: 1024px) {
  .aorest-logo-img { width: 220px; }
}

/* Mobile FB icon (left side) */
.aorest-header-fb {
  display: none;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #1877f2;
  color: #fff;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0 !important;
  overflow: hidden;
  transition: background .15s, transform .15s;
}
.aorest-header-fb:hover { background: #0d65d9; color: #fff; transform: translateY(-1px); }
.aorest-header-fb svg { width: 20px; height: 20px; fill: #fff; display: block; border-radius: 10px; }

/* Primary nav (desktop) */
.aorest-nav { flex: 1; }

.aorest-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.aorest-menu li { position: relative; }

.aorest-menu a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: var(--aorest-text);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background .15s, color .15s;
}
.aorest-menu a:hover {
  background: var(--aorest-bg-alt);
  color: var(--aorest-primary);
}

.aorest-menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
  margin-top: -3px;
  opacity: .7;
}

.aorest-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--aorest-border);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  padding: 6px;
  list-style: none;
  margin: 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 100;
}

.aorest-menu li:hover > .sub-menu,
.aorest-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.aorest-menu .sub-menu a { white-space: nowrap; padding: 8px 12px; }

/* Header right side actions */
.aorest-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.aorest-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--aorest-primary);
  white-space: nowrap;
  text-decoration: none;
}

.aorest-header-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--aorest-primary);
}

.aorest-header-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--aorest-line);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.aorest-header-line:hover { background: #05a847; color: #fff; }
.aorest-header-line svg { width: 14px; height: 14px; fill: #fff; }

.aorest-header-search {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--aorest-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.aorest-header-search:hover { background: var(--aorest-bg-alt); color: var(--aorest-primary); }
.aorest-header-search svg { width: 18px; height: 18px; fill: currentColor; }

/* Inline search panel */
.aorest-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--aorest-border);
  padding: 16px;
  display: none;
  z-index: 95;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.aorest-search-panel.is-open { display: block; }
.aorest-search-panel form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
}
.aorest-search-panel input[type="search"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--aorest-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
}
.aorest-search-panel button {
  background: var(--aorest-primary);
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

/* Mobile hamburger */
.aorest-hamburger {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--aorest-text);
  flex-shrink: 0;
}

.aorest-hamburger span {
  position: relative;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s, opacity .15s;
}
.aorest-hamburger span::before,
.aorest-hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s;
}
.aorest-hamburger span::before { top: -7px; }
.aorest-hamburger span::after  { top:  7px; }

.aorest-hamburger.is-open span { background: transparent; }
.aorest-hamburger.is-open span::before { top: 0; transform: rotate(45deg); }
.aorest-hamburger.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* Mobile layout switch */
@media (max-width: 1023px) {
  .aorest-header-inner {
    justify-content: space-between;
    gap: 8px;
  }

  /* Show FB icon + hamburger, hide nav + phone + LINE pill + search */
  .aorest-header-fb { display: inline-flex; }
  .aorest-hamburger { display: inline-flex; }
  .aorest-nav { display: none; }
  .aorest-header-phone,
  .aorest-header-line,
  .aorest-header-search { display: none; }

  /* Logo absolutely centered between FB and hamburger */
  .aorest-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
  }

  /* Header positioning for absolute logo */
  .aorest-header-inner { position: relative; min-height: 56px; }
  .aorest-header-actions { gap: 4px; }
}

/* Mobile drawer */
.aorest-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 86%;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,.1);
  z-index: 1000;
  transition: right .3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.aorest-drawer.is-open { right: 0; }

.aorest-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 999;
}
.aorest-drawer-overlay.is-open { opacity: 1; visibility: visible; }

.aorest-drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--aorest-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.aorest-drawer-close {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 24px;
  color: var(--aorest-text);
  cursor: pointer;
  line-height: 1;
}

/* Drawer logo */
.aorest-drawer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.aorest-drawer-logo img {
  height: 36px;
  width: auto;
  max-width: 160px;
  display: block;
}

.aorest-drawer-menu {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  flex: 1;
}
.aorest-drawer-menu li { border-bottom: 1px solid var(--aorest-border); }

.aorest-drawer-menu a {
  display: block;
  padding: 14px 20px;
  color: var(--aorest-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.aorest-drawer-menu a:hover { background: var(--aorest-bg-alt); color: var(--aorest-primary); }

/* Parent menu items with submenu - flex layout for caret */
.aorest-drawer-menu .menu-item-has-children {
  position: relative;
}

.aorest-drawer-menu .menu-item-has-children > a {
  padding-right: 56px; /* room for caret button */
}

.aorest-drawer-menu .aorest-drawer-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aorest-text);
  -webkit-tap-highlight-color: transparent;
}

.aorest-drawer-menu .aorest-drawer-toggle::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s;
  margin-top: -3px;
}

.aorest-drawer-menu .menu-item-has-children.is-open > .aorest-drawer-toggle::before {
  transform: rotate(-135deg);
  margin-top: 3px;
}

/* Submenu collapsed by default */
.aorest-drawer-menu .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--aorest-bg-alt);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.aorest-drawer-menu .menu-item-has-children.is-open > .sub-menu {
  max-height: 1000px;
}

.aorest-drawer-menu .sub-menu li {
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.aorest-drawer-menu .sub-menu li:last-child {
  border-bottom: none;
}

.aorest-drawer-menu .sub-menu a {
  padding: 12px 20px 12px 36px;
  font-size: 14px;
  font-weight: 400;
}

.aorest-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--aorest-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Lock body scroll when drawer open */
body.aorest-drawer-locked { overflow: hidden; }

/* ==========================================================================
   17. LATEST NEWS SECTION
   ========================================================================== */
.aorest-news {
  padding: 40px 0;
  background: #fff;
}

@media (min-width: 768px) {
  .aorest-news { padding: 56px 0; }
}

.aorest-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .aorest-news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Mobile: horizontal scroll slider */
@media (max-width: 767px) {
  .aorest-news-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    /* Negative margin so cards bleed to screen edge */
    margin: 0 -16px;
    padding: 4px 16px 8px;
    scrollbar-width: none;
    margin-left: 0;
    /* padding-left: 22px; */
  }
  .aorest-news-grid::-webkit-scrollbar { display: none; }

  .aorest-news-card {
    flex: 0 0 78%;       /* Each card takes 78% of viewport width */
    max-width: 280px;
    scroll-snap-align: start;
  }
}

.aorest-news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.aorest-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.aorest-news-card a { text-decoration: none; color: inherit; }

.aorest-news-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--aorest-bg-alt);
}

.aorest-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.aorest-news-card:hover .aorest-news-thumb img {
  transform: scale(1.04);
}

.aorest-news-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.aorest-news-date {
  font-size: 12px;
  color: var(--aorest-text-light);
  margin-bottom: 6px;
}

.aorest-news-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--aorest-text);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.aorest-news-card:hover .aorest-news-title {
  color: var(--aorest-primary);
}

.aorest-news-excerpt {
  font-size: 13px;
  color: var(--aorest-text-muted);
  line-height: 1.6;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ==========================================================================
   18. MAP SECTION (2 cols: info left / map right)
   ========================================================================== */
.aorest-map-section {
  padding: 40px 0;
  background: var(--aorest-bg-alt);
}

@media (min-width: 768px) {
  .aorest-map-section { padding: 56px 0; }
}

.aorest-map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 992px) {
  .aorest-map-grid {
    grid-template-columns: minmax(300px, 380px) 1fr;
    gap: 32px;
    align-items: stretch;
  }
}

.aorest-map-info {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
  .aorest-map-info { padding: 28px; }
}

.aorest-map-info h2 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.4;
  color: var(--aorest-text);
}

.aorest-map-info h2 .aorest-brand-name {
  color: var(--aorest-primary);
}

.aorest-map-info-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--aorest-text-muted);
  margin: 0 0 16px;
}

.aorest-map-info-text strong {
  color: var(--aorest-text);
  font-weight: 600;
}

.aorest-map-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
}

.aorest-map-tag {
  background: #fdf3e3;
  color: #b87a1f;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.aorest-map-info-row {
  display: flex;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--aorest-text);
}

.aorest-map-info-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--aorest-bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--aorest-primary);
}
.aorest-map-info-icon svg { width: 14px; height: 14px; fill: currentColor; }

.aorest-map-info-row strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}

.aorest-map-info-row small {
  color: var(--aorest-text-muted);
  font-size: 12px;
}

.aorest-map-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.aorest-map-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s, opacity .2s;
  border: 1px solid var(--aorest-text);
  color: var(--aorest-text);
  background: #fff;
}

.aorest-map-cta-btn:hover {
  transform: translateY(-1px);
  opacity: .9;
  color: var(--aorest-text);
}

.aorest-map-cta-btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--aorest-text);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aorest-map-cta-btn-icon svg { width: 14px; height: 14px; fill: #fff; }

.aorest-map-embed {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  background: #e8e4dc;
}

@media (min-width: 992px) {
  .aorest-map-embed { min-height: 100%; }
}

.aorest-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.aorest-map-open-link {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: var(--aorest-text);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.aorest-map-open-link:hover { color: var(--aorest-primary); }
.aorest-map-open-link svg { width: 12px; height: 12px; fill: currentColor; }

/* ==========================================================================
   17. CTA TRUST SECTION (compact pill design)
   ========================================================================== */
.aorest-cta-trust {
  padding: 16px 16px;
}

@media (min-width: 768px) {
  .aorest-cta-trust { padding: 24px 24px; }
}

.aorest-cta-trust-pill {
  max-width: 720px;
  margin: 0 auto;
  background: #fcfaf3;
  border: 1px solid #e8d9b0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .aorest-cta-trust-pill {
    padding: 16px 20px;
    gap: 16px;
  }
}

/* Owner photo - small circular */
.aorest-cta-trust-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--aorest-bg-alt);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.aorest-cta-trust-photo img,
.aorest-cta-trust-photo div {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .aorest-cta-trust-photo { width: 64px; height: 64px; }
}

/* Content */
.aorest-cta-trust-content {
  flex: 1;
  min-width: 0;
}

.aorest-cta-trust-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 4px;
}

.aorest-cta-trust-title-row strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--aorest-text);
}

.aorest-cta-trust-free-tag {
  font-size: 11px;
  color: var(--aorest-success);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.aorest-cta-trust-free-tag::before {
  content: "•";
  color: var(--aorest-text-light);
  margin-right: 3px;
}

.aorest-cta-trust-message {
  font-size: 13px;
  color: var(--aorest-text);
  line-height: 1.4;
  margin: 0 0 8px;
}

@media (min-width: 768px) {
  .aorest-cta-trust-title-row strong { font-size: 14px; }
  .aorest-cta-trust-message { font-size: 14px; }
}

.aorest-cta-trust-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.aorest-cta-trust-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  color: var(--aorest-text);
  border: 1px solid #ddd;
  transition: border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}

.aorest-cta-trust-pill-btn:hover {
  border-color: var(--aorest-primary);
  color: var(--aorest-primary);
  transform: translateY(-1px);
}

.aorest-cta-trust-pill-btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .aorest-cta-trust-pill-btn { font-size: 13px; padding: 7px 16px; }
}

/* ==========================================================================
   18. FOOTER (light minimal)
   ========================================================================== */
.aorest-footer {
  background: #f7f7f5;
  color: #222;
  padding: 32px 16px 0;
  margin-top: 0;
  border-top: 1px solid #ececec;
}

@media (min-width: 768px) {
  .aorest-footer { padding: 64px 24px 0; }
}

.aorest-footer-inner {
  max-width: var(--aorest-container);
  margin: 0 auto;
}

.aorest-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .aorest-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    margin-bottom: 40px;
  }
}

@media (min-width: 1024px) {
  .aorest-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
  }
}

/* Mobile accordion behavior (<600px) */
@media (max-width: 599px) {
  /* Brand col: always shown, no toggle */
  .aorest-footer-col.is-brand {
    padding: 16px 0;
    border-bottom: 1px solid #ececec;
  }

  /* Other cols become collapsible */
  .aorest-footer-col:not(.is-brand) {
    border-bottom: 1px solid #ececec;
  }

  /* Last col: no bottom border (footer-bottom already has top border) */
  .aorest-footer-col:last-child {
    border-bottom: none;
  }

  .aorest-footer-col:not(.is-brand) > h3 {
    margin: 0;
    padding: 16px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .aorest-footer-col:not(.is-brand) > h3::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #777;
    border-bottom: 1.5px solid #777;
    transform: rotate(45deg);
    transition: transform .25s;
    margin-right: 4px;
  }

  .aorest-footer-col:not(.is-brand).is-open > h3::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }

  /* Hide content by default; show when .is-open */
  .aorest-footer-col:not(.is-brand) .aorest-footer-list,
  .aorest-footer-col:not(.is-brand) .aorest-footer-contact {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0;
  }

  .aorest-footer-col:not(.is-brand).is-open .aorest-footer-list,
  .aorest-footer-col:not(.is-brand).is-open .aorest-footer-contact {
    max-height: 600px;
    padding: 0 0 16px;
  }
}

.aorest-footer-col h3 {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin: 0 0 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 599px) {
  .aorest-footer-col.is-brand h3 { margin-bottom: 12px; }
  .aorest-footer-col.is-brand p { font-size: 12px; line-height: 1.6; margin-bottom: 8px; }
  .aorest-footer-brand-logo img { height: 36px; margin-bottom: 8px; }
  .aorest-footer-social { gap: 8px; margin-top: 12px; }
}

.aorest-footer-col p {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 12px;
}

.aorest-footer-brand-logo img {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
  /* No filter - show original logo */
}

.aorest-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aorest-footer-list li { margin-bottom: 10px; }

.aorest-footer-list a {
  color: #444;
  font-size: 13px;
  text-decoration: none;
  transition: color .15s, padding-left .15s;
  display: inline-block;
}

.aorest-footer-list a:hover {
  color: var(--aorest-primary);
  padding-left: 4px;
}

.aorest-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aorest-footer-contact li {
  font-size: 13px;
  color: #444;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.aorest-footer-contact li svg {
  width: 16px;
  height: 16px;
  fill: var(--aorest-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.aorest-footer-contact a {
  color: #444;
  text-decoration: none;
  transition: color .15s;
}

.aorest-footer-contact a:hover { color: var(--aorest-primary); }

/* Social icons (keep brand colors on light bg) */
.aorest-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.aorest-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  transition: transform .15s, box-shadow .15s;
}

.aorest-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
  color: #fff;
}

.aorest-social-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.aorest-social-btn.is-facebook  { background: #1877f2; }
.aorest-social-btn.is-line      { background: #06c755; }
.aorest-social-btn.is-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.aorest-social-btn.is-tiktok    { background: #000; }
.aorest-social-btn.is-youtube   { background: #ff0000; }
.aorest-social-btn.is-twitter   { background: #000; }
.aorest-social-btn.is-phone     { background: var(--aorest-primary); }

/* Footer bottom bar */
.aorest-footer-bottom {
  border-top: 1px solid #e5e5e3;
  padding: 20px 0 24px;
  text-align: center;
  font-size: 12px;
  color: #777;
}

.aorest-footer-bottom p { margin: 0; line-height: 1.7; }
.aorest-footer-bottom a { color: #555; }
.aorest-footer-bottom a:hover { color: var(--aorest-primary); }

/* Add bottom padding when sticky bottom is shown (mobile) */
@media (max-width: 767px) {
  .aorest-footer { padding-bottom: 16px; }
}

/* ==========================================================================
   19. PILLAR PAGE TEMPLATE (Full takeover)
   ========================================================================== */

.aorest-pillar {
  width: 100%;
  background: #fff;
}

.aorest-pillar .aorest-breadcrumb {
  padding: 16px 0 13px;
  font-size: 13px;
  color: var(--aorest-text-muted);
  border-bottom: 1px solid #e9e9e9;
}
.aorest-pillar .aorest-breadcrumb a {
  color: var(--aorest-text-muted);
  text-decoration: none;
}
.aorest-pillar .aorest-breadcrumb a:hover { color: var(--aorest-primary); }
.aorest-pillar .aorest-breadcrumb-sep {
  margin: 0 6px;
  color: var(--aorest-text-light);
}

/* Hero 2 cols (banner left / content right) ----------------------- */
.aorest-pillar-hero2 {
  padding: 0px 16px 32px;
  background: #fff;
}

@media (min-width: 768px) {
  .aorest-pillar-hero2 { padding: 0px 24px 48px; }
}

.aorest-pillar-hero2-inner {
  max-width: var(--aorest-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 1024px) {
  .aorest-pillar-hero2-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
  }
}

/* LEFT - Banner */
.aorest-pillar-hero2-banner {
  position: relative;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 1 / 1;
  /* Mobile: escape parent padding for full-bleed image */
  margin-left: -16px;
  margin-right: -16px;
}

/* Mobile: full-bleed image, no border-radius, no background */
.aorest-pillar-hero2-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .aorest-pillar-hero2-banner {
    margin-left: -24px;
    margin-right: -24px;
  }
}

@media (min-width: 1024px) {
  .aorest-pillar-hero2-banner {
    aspect-ratio: auto;
    min-height: 100%;
    border-radius: 12px;
    background: var(--aorest-bg-alt);
    margin-left: 0;
    margin-right: 0;
  }
  .aorest-pillar-hero2-banner img {
    object-fit: cover;
  }
}

.aorest-pillar-hero2-banner-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f0e8 0%, #ede4d3 100%);
  color: var(--aorest-primary);
}

/* RIGHT - Content */
.aorest-pillar-hero2-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

@media (min-width: 1024px) {
  .aorest-pillar-hero2-content {
    padding: 0 8px;
    gap: 32px;
    /* Match banner height for vertical centering */
    min-height: 100%;
  }
}

.aorest-pillar-hero2-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  margin: 0;
  color: var(--aorest-text);
  line-height: 1.3;
  text-align: center;
}

@media (min-width: 1024px) {
  .aorest-pillar-hero2-title {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  }
}

.aorest-pillar-hero2-intro {
  font-size: 14px;
  line-height: 1.85;
  color: var(--aorest-text-muted);
  text-align: center;
}

.aorest-pillar-hero2-intro p {
  margin: 0 0 .8em;
}
.aorest-pillar-hero2-intro p:last-child { margin-bottom: 0; }

@media (min-width: 1024px) {
  .aorest-pillar-hero2-intro {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* Trust grid INSIDE hero2 col 2 ---------------------------------- */
.aorest-pillar-hero2-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .aorest-pillar-hero2-trust { gap: 28px; }
}

.aorest-pillar-hero2-trust .aorest-pillar-trust-item {
  text-align: center;
  word-break: keep-all;
  overflow-wrap: break-word;
  min-width: 0;
}

.aorest-pillar-hero2-trust .aorest-pillar-trust-item h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0 6px;
  color: var(--aorest-text);
}

.aorest-pillar-hero2-trust .aorest-pillar-trust-item p {
  font-size: 12px;
  color: var(--aorest-text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .aorest-pillar-hero2-trust .aorest-pillar-trust-item h3 { font-size: 16px; margin-top: 14px; margin-bottom: 8px; }
  .aorest-pillar-hero2-trust .aorest-pillar-trust-item p { font-size: 13px; line-height: 1.65; }
}

.aorest-pillar-trust-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1.5px solid;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform .25s, box-shadow .25s;
}
.aorest-pillar-trust-item:hover .aorest-pillar-trust-icon {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}
.aorest-pillar-trust-icon svg { width: 32px; height: 32px; }

@media (min-width: 768px) {
  .aorest-pillar-trust-icon { width: 96px; height: 96px; border-width: 2px; }
  .aorest-pillar-trust-icon svg { width: 40px; height: 40px; }
}

/* Breadcrumb */
.aorest-breadcrumb {
  padding: 16px 0 8px;
  font-size: 13px;
  color: var(--aorest-text-muted);
}
.aorest-breadcrumb a {
  color: var(--aorest-text-muted);
  text-decoration: none;
}
.aorest-breadcrumb a:hover { color: var(--aorest-primary); }
.aorest-breadcrumb-sep {
  margin: 0 6px;
  color: var(--aorest-text-light);
}

/* FAQ ------------------------------------------------------------ */
.aorest-pillar-faq {
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid var(--aorest-border);
}

@media (min-width: 768px) {
  .aorest-pillar-faq { padding: 56px 0; }
}

.aorest-pillar-faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.aorest-pillar-faq-item {
  border-bottom: 1px solid var(--aorest-border);
}
.aorest-pillar-faq-item:first-child {
  border-top: 1px solid var(--aorest-border);
}

.aorest-pillar-faq-item summary {
  padding: 18px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--aorest-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  -webkit-tap-highlight-color: transparent;
}

.aorest-pillar-faq-item summary::-webkit-details-marker { display: none; }

.aorest-pillar-faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--aorest-primary);
  border-bottom: 2px solid var(--aorest-primary);
  transform: rotate(45deg);
  transition: transform .25s;
  flex-shrink: 0;
  margin-top: -3px;
}

.aorest-pillar-faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.aorest-pillar-faq-item:hover summary {
  background: var(--aorest-bg-alt);
}

.aorest-pillar-faq-answer {
  padding: 0 16px 18px;
  font-size: 14px;
  color: var(--aorest-text-muted);
  line-height: 1.75;
}

/* Gallery -------------------------------------------------------- */
.aorest-pillar-gallery {
  padding: 40px 0;
  background: var(--aorest-bg-alt);
  border-top: 1px solid var(--aorest-border);
}

@media (min-width: 768px) {
  .aorest-pillar-gallery { padding: 56px 0; }
}

.aorest-pillar-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 600px) {
  .aorest-pillar-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (min-width: 1024px) {
  .aorest-pillar-gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.aorest-pillar-gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  display: block;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}

.aorest-pillar-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

.aorest-pillar-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.aorest-pillar-gallery-item:hover img {
  transform: scale(1.04);
}

/* Bottom CTA ----------------------------------------------------- */
.aorest-pillar-cta {
  padding: 48px 16px;
  background: linear-gradient(135deg, #fcfaf3 0%, #f7f1e0 100%);
  border-top: 1px solid var(--aorest-border);
}

@media (min-width: 768px) {
  .aorest-pillar-cta { padding: 64px 24px; }
}

.aorest-pillar-cta-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.aorest-pillar-cta-box h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--aorest-text);
}

.aorest-pillar-cta-box p {
  font-size: 14px;
  color: var(--aorest-text-muted);
  margin: 0 0 24px;
  line-height: 1.6;
}

.aorest-pillar-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.aorest-pillar-cta-actions .aorest-btn {
  padding: 12px 24px;
  font-size: 14px;
}

/* SEO content section (from WP Editor) ---------------------------- */
.aorest-pillar-seo-content {
  padding: 40px 16px;
  background: #fff;
  border-top: 1px solid var(--aorest-border);
}

@media (min-width: 768px) {
  .aorest-pillar-seo-content { padding: 56px 24px; }
}

.aorest-pillar-seo-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.85;
  color: var(--aorest-text);
}

.aorest-pillar-seo-inner h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 600;
  margin: 1.6em 0 0.6em;
  color: var(--aorest-text);
}

.aorest-pillar-seo-inner h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  margin: 1.4em 0 0.5em;
  color: var(--aorest-text);
}

.aorest-pillar-seo-inner p { margin: 0 0 1em; }

.aorest-pillar-seo-inner ul,
.aorest-pillar-seo-inner ol {
  padding-left: 1.5em;
  margin: 0 0 1em;
}
.aorest-pillar-seo-inner li { margin-bottom: 0.4em; }

.aorest-pillar-seo-inner a {
  color: var(--aorest-primary);
  text-decoration: underline;
}

.aorest-pillar-seo-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1em 0;
}

/* ==========================================================================
   20. SEO CONTENT COLUMNS (.seo-cols) — for editor-pasted content blocks
   ========================================================================== */
.seo-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 24px 0;
}

@media (min-width: 768px) {
  .seo-cols {
    grid-template-columns: 1fr 1fr;
    gap: 40px 64px;
    margin: 32px 0;
  }
}

.seo-cols > div > h3,
.seo-cols > div > h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--aorest-text);
  margin: 0 0 8px;
  line-height: 1.4;
}

.seo-cols > div > h3:not(:first-child),
.seo-cols > div > h2:not(:first-child) {
  margin-top: 24px;
}

@media (min-width: 768px) {
  .seo-cols > div > h3,
  .seo-cols > div > h2 { font-size: 18px; margin-bottom: 10px; }
  .seo-cols > div > h3:not(:first-child),
  .seo-cols > div > h2:not(:first-child) { margin-top: 28px; }
}

.seo-cols > div > p {
  font-size: 14px;
  color: var(--aorest-text-muted);
  line-height: 1.85;
  margin: 0 0 12px;
}

@media (min-width: 768px) {
  .seo-cols > div > p { font-size: 15px; line-height: 1.9; }
}

.seo-cols > div > p:last-child { margin-bottom: 0; }

/* Inline emphasis */
.seo-cols a {
  color: var(--aorest-primary);
  text-decoration: underline;
}
.seo-cols strong { color: var(--aorest-text); }

/* ==========================================================================
   21. PILLAR SEO CONTENT SECTION
   ========================================================================== */
.aorest-pillar-seo-content {
  padding: 32px 16px;
  background: #fff;
  border-top: 1px solid var(--aorest-border);
}

@media (min-width: 768px) {
  .aorest-pillar-seo-content { padding: 56px 24px; }
}

.aorest-pillar-seo-content > .aorest-container > h2:first-child,
.aorest-pillar-seo-content > .aorest-container > h3:first-child {
  margin-top: 0;
}

.aorest-pillar-seo-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: var(--aorest-text);
  margin: 0 0 16px;
  line-height: 1.4;
}

.aorest-pillar-seo-content > .aorest-container > p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--aorest-text-muted);
  margin: 0 0 16px;
}

@media (min-width: 768px) {
  .aorest-pillar-seo-content > .aorest-container > p {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* ==========================================================================
   22. CONTACT PAGE TEMPLATE
   ========================================================================== */

.aorest-contact { background: #fff; }

.aorest-contact .aorest-breadcrumb {
  padding: 16px 0 13px;
  font-size: 13px;
  color: var(--aorest-text-muted);
  border-bottom: 1px solid #e9e9e9;
}
.aorest-contact .aorest-breadcrumb a { color: var(--aorest-text-muted); text-decoration: none; }
.aorest-contact .aorest-breadcrumb-sep { margin: 0 6px; color: var(--aorest-text-light); }

/* Hero header ----------------------------------------------------- */
.aorest-contact-hero {
  padding: 48px 16px 32px;
  text-align: center;
  background: linear-gradient(180deg, #fcfaf3 0%, #fff 100%);
}

@media (min-width: 768px) {
  .aorest-contact-hero { padding: 72px 24px 48px; }
}

.aorest-contact-pretitle {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--aorest-primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 6px 14px;
  background: rgba(221,153,51,0.1);
  border-radius: 999px;
}

.aorest-contact-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--aorest-text);
  line-height: 1.3;
}

.aorest-contact-h1-accent {
  color: var(--aorest-primary);
  position: relative;
  white-space: nowrap;
}

.aorest-contact-subtitle {
  font-size: 15px;
  line-height: 1.75;
  color: var(--aorest-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .aorest-contact-subtitle { font-size: 16px; }
}

/* Contact cards grid --------------------------------------------- */
.aorest-contact-cards {
  padding: 32px 16px;
  background: #fff;
}

@media (min-width: 768px) {
  .aorest-contact-cards { padding: 48px 24px; }
}

.aorest-contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .aorest-contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .aorest-contact-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.aorest-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  text-decoration: none;
  color: var(--aorest-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

@media (min-width: 768px) {
  .aorest-contact-card { padding: 32px 20px; }
}

.aorest-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  border-color: transparent;
}

.aorest-contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.aorest-contact-card-icon svg { width: 28px; height: 28px; }

@media (min-width: 768px) {
  .aorest-contact-card-icon { width: 64px; height: 64px; margin-bottom: 18px; }
  .aorest-contact-card-icon svg { width: 32px; height: 32px; }
}

.aorest-contact-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--aorest-text-muted);
  margin: 0 0 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.aorest-contact-card-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--aorest-text);
  margin: 0 0 10px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .aorest-contact-card-value { font-size: 18px; margin-bottom: 12px; }
}

.aorest-contact-card-desc {
  font-size: 12px;
  color: var(--aorest-text-muted);
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
}

@media (min-width: 768px) {
  .aorest-contact-card-desc { font-size: 13px; margin-bottom: 18px; }
}

.aorest-contact-card-cta {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(221,153,51,0.08);
  color: var(--aorest-primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background .25s;
}

.aorest-contact-card:hover .aorest-contact-card-cta {
  background: var(--aorest-primary);
  color: #fff;
}

/* Why choose us -------------------------------------------------- */
.aorest-contact-why {
  padding: 48px 16px;
  background: var(--aorest-bg-alt);
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

@media (min-width: 768px) {
  .aorest-contact-why { padding: 72px 24px; }
}

.aorest-contact-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 24px auto 0;
}

@media (min-width: 768px) {
  .aorest-contact-why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
  }
}

.aorest-contact-why-item {
  text-align: center;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

@media (min-width: 768px) {
  .aorest-contact-why-item { padding: 32px 24px; }
}

.aorest-contact-why-num {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--aorest-primary);
  line-height: 1;
  margin-bottom: 12px;
  font-family: var(--aorest-font-display, var(--aorest-font));
}

.aorest-contact-why-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--aorest-text);
  margin: 0 0 8px;
}

.aorest-contact-why-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--aorest-text-muted);
  margin: 0;
}

/* Info strip (address/hours/delivery) ---------------------------- */
.aorest-contact-info {
  padding: 40px 16px;
  background: #fff;
}

@media (min-width: 768px) {
  .aorest-contact-info { padding: 56px 24px; }
}

.aorest-contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .aorest-contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.aorest-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: #fcfaf3;
  border-radius: 12px;
}

.aorest-contact-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(221,153,51,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.aorest-contact-info-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--aorest-primary);
}

.aorest-contact-info-item strong {
  display: block;
  font-size: 13px;
  color: var(--aorest-primary);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.aorest-contact-info-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--aorest-text);
  margin: 0;
}

/* ==========================================================================
   23. HOMEPAGE FAQ
   ========================================================================== */
.aorest-home-faq {
  padding: 48px 16px;
  background: #fff;
  border-top: 1px solid var(--aorest-border);
}

@media (min-width: 768px) {
  .aorest-home-faq { padding: 72px 24px; }
}

.aorest-home-faq-list {
  max-width: 820px;
  margin: 32px auto 0;
}

@media (min-width: 768px) {
  .aorest-home-faq-list { margin-top: 40px; }
}

.aorest-home-faq-item {
  border-bottom: 1px solid var(--aorest-border);
}
.aorest-home-faq-item:first-child { border-top: 1px solid var(--aorest-border); }

.aorest-home-faq-item summary {
  padding: 20px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--aorest-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s;
}

.aorest-home-faq-item summary::-webkit-details-marker { display: none; }

.aorest-home-faq-item summary::after {
  content: '';
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--aorest-primary);
  border-bottom: 2px solid var(--aorest-primary);
  transform: rotate(45deg);
  transition: transform .25s;
  flex-shrink: 0;
  margin-top: -3px;
}

.aorest-home-faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.aorest-home-faq-item:hover summary {
  background: var(--aorest-bg-alt);
}

@media (min-width: 768px) {
  .aorest-home-faq-item summary {
    padding: 22px 20px;
    font-size: 17px;
  }
}

.aorest-home-faq-answer {
  padding: 0 16px 22px;
  font-size: 14px;
  color: var(--aorest-text-muted);
  line-height: 1.85;
}

.aorest-home-faq-answer p {
  margin: 0;
}

@media (min-width: 768px) {
  .aorest-home-faq-answer {
    padding: 0 20px 26px;
    font-size: 15px;
    line-height: 1.9;
  }
}

/* CTA after FAQ */
.aorest-home-faq-cta {
  max-width: 820px;
  margin: 32px auto 0;
  text-align: center;
  padding: 28px 20px;
  background: linear-gradient(135deg, #fcfaf3 0%, #f7f1e0 100%);
  border-radius: 16px;
}

@media (min-width: 768px) {
  .aorest-home-faq-cta { padding: 36px 24px; margin-top: 40px; }
}

.aorest-home-faq-cta p {
  font-size: 14px;
  color: var(--aorest-text-muted);
  margin: 0 0 16px;
}

@media (min-width: 768px) {
  .aorest-home-faq-cta p { font-size: 15px; margin-bottom: 20px; }
}

.aorest-home-faq-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.aorest-home-faq-actions .aorest-btn {
  padding: 12px 24px;
  font-size: 14px;
}

/* ==========================================================================
   24. PILLAR WP EDITOR CONTENT SECTION
   (Long-form content from main WP editor — shown after products, before gallery)
   ========================================================================== */
.aorest-pillar-editor-content {
  padding: 40px 16px;
  background: #fff;
  border-top: 1px solid var(--aorest-border);
}

@media (min-width: 768px) {
  .aorest-pillar-editor-content { padding: 56px 24px; }
}

.aorest-pillar-editor-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.85;
  color: var(--aorest-text);
}

@media (min-width: 768px) {
  .aorest-pillar-editor-inner {
    font-size: 16px;
    line-height: 1.9;
  }
}

/* Better gap when content is in 2-col layout (.seo-cols) inside editor */
.aorest-pillar-editor-inner .seo-cols {
  gap: 24px;
}

@media (min-width: 768px) {
  .aorest-pillar-editor-inner .seo-cols {
    gap: 40px 64px;
  }
}

.aorest-pillar-editor-inner > *:first-child { margin-top: 0; }
.aorest-pillar-editor-inner > *:last-child { margin-bottom: 0; }

.aorest-pillar-editor-inner h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: var(--aorest-text);
  margin: 1.6em 0 0.6em;
  line-height: 1.4;
}

.aorest-pillar-editor-inner h3 {
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--aorest-text);
  margin: 1.4em 0 0.5em;
  line-height: 1.4;
}

.aorest-pillar-editor-inner p {
  margin: 0 0 1.1em;
  color: var(--aorest-text-muted);
}

.aorest-pillar-editor-inner a {
  color: var(--aorest-primary);
  text-decoration: underline;
}

.aorest-pillar-editor-inner ul,
.aorest-pillar-editor-inner ol {
  margin: 0 0 1.1em;
  padding-left: 1.5em;
  color: var(--aorest-text-muted);
}

.aorest-pillar-editor-inner li { margin-bottom: 0.4em; }

.aorest-pillar-editor-inner blockquote {
  border-left: 3px solid var(--aorest-primary);
  padding: 0.5em 1em;
  margin: 1.5em 0;
  background: var(--aorest-bg-alt);
  font-style: italic;
}

.aorest-pillar-editor-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1em 0;
}

/* ==========================================================================
   25. PILLAR INTRO SECTION (moved here from hero — appears after products)
   ========================================================================== */
.aorest-pillar-intro-section {
  padding: 32px 16px;
  background: #fff;
  border-top: 1px solid var(--aorest-border);
  border-bottom: 1px solid var(--aorest-border);
}

@media (min-width: 768px) {
  .aorest-pillar-intro-section { padding: 48px 24px; }
}

.aorest-pillar-intro-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
  line-height: 1.85;
  color: var(--aorest-text-muted);
}

@media (min-width: 768px) {
  .aorest-pillar-intro-inner {
    font-size: 17px;
    line-height: 1.9;
  }
}

.aorest-pillar-intro-inner p {
  margin: 0 0 1em;
}
.aorest-pillar-intro-inner p:last-child { margin-bottom: 0; }

/* When intro is removed from hero, vertically center hero content */
.aorest-pillar-hero2-content {
  justify-content: center;
}

/* ==========================================================================
   26. PRODUCT ARCHIVE — REDESIGN v1.0.57
   ========================================================================== */

/* Hide old archive header styling — replaced below */
.aorest-archive { background: #fff; }

/* Breadcrumb (compact) ---------------------------------------------------- */
.aorest-archive-breadcrumb {
  padding: 14px 0 10px;
  font-size: 13px;
  color: var(--aorest-text-muted);
  border-bottom: 1px solid #f0ebe0;
}
.aorest-archive-breadcrumb a {
  color: var(--aorest-text-muted);
  text-decoration: none;
}
.aorest-archive-breadcrumb a:hover { color: var(--aorest-primary); }
.aorest-archive-breadcrumb .aorest-breadcrumb-sep {
  margin: 0 6px;
  color: #c9c2af;
}

/* Archive header --------------------------------------------------------- */
.aorest-archive-header {
  text-align: center;
  padding: 28px 0 8px;
}

@media (min-width: 768px) {
  .aorest-archive-header { padding: 40px 0 12px; }
}

.aorest-archive-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--aorest-text);
  line-height: 1.3;
}

.aorest-archive-desc {
  font-size: 14px;
  color: var(--aorest-text-muted);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .aorest-archive-desc { font-size: 15px; }
}

/* Category Pills (horizontal scroll) ------------------------------------- */
.aorest-archive-cats {
  position: relative;
  margin: 16px 0 0;
  padding: 0;
}

@media (min-width: 768px) {
  .aorest-archive-cats { margin: 24px 0 0; }
}

/* Fade edges to hint at scroll */
.aorest-archive-cats::before,
.aorest-archive-cats::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 14px;
  width: 24px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .2s;
}

.aorest-archive-cats::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, transparent 100%);
}

.aorest-archive-cats::after {
  right: 0;
  background: linear-gradient(-90deg, #fff 0%, transparent 100%);
}

.aorest-archive-cats.has-overflow::before,
.aorest-archive-cats.has-overflow::after {
  opacity: 1;
}

.aorest-archive-cats-scroller {
  display: flex;
  gap: 8px;
  padding: 4px 16px 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  max-width: 1200px;
  margin: 0 auto;
  /* always slide — same behavior on mobile + desktop */
}

.aorest-archive-cats-scroller::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .aorest-archive-cats-scroller {
    gap: 10px;
    padding: 4px 24px 16px;
    /* Stay as horizontal slide on desktop too — no wrap */
  }
}

.aorest-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 11px;
  background: #fff;
  border: 1px solid #e6dfc8;
  border-radius: 999px;
  text-decoration: none;
  color: var(--aorest-text);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: all .2s;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
  .aorest-cat-pill {
    padding: 10px 16px 10px 13px;
    font-size: 14px;
  }
}

.aorest-cat-pill:hover {
  border-color: var(--aorest-primary);
  color: var(--aorest-primary);
  transform: translateY(-1px);
}

.aorest-cat-pill.is-active {
  background: var(--aorest-primary);
  border-color: var(--aorest-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(221,153,51,0.25);
}

.aorest-cat-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.aorest-cat-pill-icon svg {
  width: 20px;
  height: 20px;
}

.aorest-cat-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 6px;
  margin-left: 4px;
  background: rgba(0,0,0,0.06);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  color: inherit;
}

.aorest-cat-pill.is-active .aorest-cat-pill-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* Toolbar: count + sort on one line ------------------------------------- */
.aorest-archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 14px;
  border-bottom: 1px solid #f0ebe0;
  margin-bottom: 20px;
  flex-wrap: nowrap;
}

@media (min-width: 768px) {
  .aorest-archive-toolbar {
    padding: 18px 0 16px;
    margin-bottom: 24px;
  }
}

/* Reset WooCommerce default block + float */
.aorest-archive-toolbar .woocommerce-result-count,
.aorest-archive-toolbar .woocommerce-ordering {
  margin: 0 !important;
  float: none !important;
  display: block;
}

.aorest-archive-count {
  flex: 1;
  min-width: 0;
}

.aorest-archive-count .woocommerce-result-count {
  font-size: 13px;
  color: var(--aorest-text-muted);
  margin: 0;
}

@media (min-width: 768px) {
  .aorest-archive-count .woocommerce-result-count { font-size: 14px; }
}

.aorest-archive-sort {
  flex-shrink: 0;
}

.aorest-archive-sort .orderby {
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid #e6dfc8;
  border-radius: 999px;
  padding: 7px 30px 7px 14px;
  font-size: 13px;
  font-family: inherit;
  color: var(--aorest-text);
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color .2s;
  max-width: 180px;
}

@media (min-width: 768px) {
  .aorest-archive-sort .orderby {
    padding: 9px 36px 9px 16px;
    font-size: 14px;
    max-width: none;
  }
}

.aorest-archive-sort .orderby:hover,
.aorest-archive-sort .orderby:focus {
  border-color: var(--aorest-primary);
  outline: none;
}

/* No products fallback -------------------------------------------------- */
.aorest-no-products {
  text-align: center;
  padding: 40px 16px;
  color: var(--aorest-text-muted);
  font-size: 15px;
}

/* Hide old WooCommerce notices on archive (toolbar already shows count) */
.aorest-archive .woocommerce-notices-wrapper:empty { display: none; }

/* ==========================================================================
   27. SINGLE PRODUCT — REDESIGN v1.0.60
   ========================================================================== */

.aorest-single { background: #fff; }

/* Breadcrumb (compact, no extra spacing) */
.aorest-single-breadcrumb {
  padding: 14px 0 12px;
  font-size: 13px;
  color: var(--aorest-text-muted);
  border-bottom: 1px solid #f0ebe0;
}
.aorest-single-breadcrumb a {
  color: var(--aorest-text-muted);
  text-decoration: none;
  transition: color .2s;
}
.aorest-single-breadcrumb a:hover { color: var(--aorest-primary); }
.aorest-single-breadcrumb .aorest-breadcrumb-sep {
  margin: 0 6px;
  color: #c9c2af;
}

/* Hero: gallery + buy box ----------------------------------------------- */
.aorest-single-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 20px 0 0px;
}

@media (min-width: 768px) {
  .aorest-single-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    padding: 32px 0 48px;
  }
}

@media (min-width: 1024px) {
  .aorest-single-hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 48px;
  }
}

/* Gallery */
.aorest-single-gallery {
  position: relative;
}

.aorest-single-gallery-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--aorest-bg-alt);
}

@media (min-width: 768px) {
  .aorest-single-gallery-img { border-radius: 16px; }
}

.aorest-single-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.aorest-single-gallery-thumbs::-webkit-scrollbar { display: none; }

.aorest-single-gallery-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--aorest-bg-alt);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s;
}
.aorest-single-gallery-thumb:hover { border-color: var(--aorest-primary); }
.aorest-single-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .aorest-single-gallery-thumb { width: 80px; height: 80px; }
}

/* Buy box --------------------------------------------------------------- */
.aorest-single-buybox {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .aorest-single-buybox { gap: 14px; }
}

.aorest-single-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  margin: 0;
  color: var(--aorest-text);
  line-height: 1.35;
}

/* Price + Category inline row */
.aorest-single-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #f0ebe0;
  border-bottom: 1px solid #f0ebe0;
  flex-wrap: wrap;
}

.aorest-single-price {
  margin: 0;
  flex-shrink: 0;
}

.aorest-single-price-current {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--aorest-primary);
  line-height: 1;
}

.aorest-single-price-original {
  font-size: 14px;
  color: #999;
}

.aorest-single-price-discount {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: #fff0e5;
  color: #d4671a;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .aorest-single-price-discount { padding: 4px 10px; font-size: 12px; }
}

/* Meta inline (next to price) */
.aorest-single-meta-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--aorest-text);
  text-align: right;
  margin-left: auto;
}

.aorest-single-meta-label {
  color: var(--aorest-text-muted);
  font-size: 12px;
}

.aorest-single-meta-inline a {
  color: var(--aorest-primary);
  text-decoration: none;
  font-weight: 500;
}
.aorest-single-meta-inline a:hover { text-decoration: underline; }

/* CTA Buttons (big, prominent) */
.aorest-single-cta {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-top: 4px;
}

@media (min-width: 600px) {
  .aorest-single-cta { gap: 12px; }
}

.aorest-single-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .aorest-single-cta-btn {
    padding: 16px 24px;
    font-size: 16px;
    gap: 10px;
  }
}

.aorest-single-cta-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .aorest-single-cta-btn svg { width: 22px; height: 22px; }
}

.aorest-single-cta-line {
  background: #06c755;
  color: #fff;
  box-shadow: 0 4px 14px rgba(6,199,85,0.25);
}
.aorest-single-cta-line:hover {
  background: #05a847;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(6,199,85,0.35);
}

.aorest-single-cta-phone {
  background: #1a1a1a;
  color: #fff;
}
.aorest-single-cta-phone:hover {
  background: #000;
  transform: translateY(-2px);
}

/* Share buttons ---------------------------------------------------------- */
.aorest-single-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 4px;
  flex-wrap: wrap;
}

.aorest-single-share-label {
  font-size: 13px;
  color: var(--aorest-text-muted);
}

.aorest-single-share-icons {
  display: flex;
  gap: 8px;
}

.aorest-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: transform .2s;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.aorest-share-btn:hover { transform: translateY(-2px); }
.aorest-share-btn svg { width: 18px; height: 18px; fill: #fff; }

.aorest-share-line { background: #06c755; }
.aorest-share-fb { background: #1877f2; }
.aorest-share-link {
  background: #f0e9d5;
}
.aorest-share-link svg { fill: #c87f1e; }

/* Owner trust card (replaces old quickinfo) ----------------------------- */
.aorest-single-trust {
  margin-top: 8px;
  padding: 14px;
  background: linear-gradient(135deg, #fffaf0 0%, #fff5e6 100%);
  border: 1px solid #f0c97e;
  border-radius: 14px;
}

@media (min-width: 768px) {
  .aorest-single-trust { padding: 16px 18px; }
}

.aorest-single-trust-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.aorest-single-trust-avatar {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff5e6;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.aorest-single-trust-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Online dot indicator */
.aorest-single-trust-online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #06c755;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(6,199,85,0.3);
}

.aorest-single-trust-content {
  flex: 1;
  min-width: 0;
}

.aorest-single-trust-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.aorest-single-trust-header strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--aorest-text);
}

@media (min-width: 768px) {
  .aorest-single-trust-header strong { font-size: 15px; }
}

.aorest-single-trust-free {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  background: #06c755;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.aorest-single-trust-msg {
  font-size: 13px;
  line-height: 1.5;
  color: var(--aorest-text-muted);
  margin: 0;
  font-style: italic;
}

@media (min-width: 768px) {
  .aorest-single-trust-msg { font-size: 14px; }
}

/* Trust badges row */
.aorest-single-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(221,153,51,0.3);
}

.aorest-single-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid #e6dfc8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--aorest-text);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .aorest-single-trust-badge {
    padding: 6px 12px;
    font-size: 12.5px;
  }
}

.aorest-single-trust-badge svg {
  width: 13px;
  height: 13px;
  fill: var(--aorest-primary);
  flex-shrink: 0;
}

/* Short description (in buy box) */
.aorest-single-short-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--aorest-text-muted);
  padding-top: 4px;
}
.aorest-single-short-desc p { margin: 0 0 0.8em; }

/* Related products section ---------------------------------------------- */
.aorest-single-related {
  padding: 29px 0px;
  margin-top: 16px;
  border-top: 1px solid var(--aorest-border);
}

@media (min-width: 768px) {
  .aorest-single-related { padding: 56px 24px; }
}

.aorest-product-section-footer {
  text-align: center;
  margin-top: 24px;
}

/* Description section --------------------------------------------------- */
.aorest-single-description-section {
  padding: 32px 5px 48px;
  background: #fff;
  border-top: 1px solid var(--aorest-border);
}

@media (min-width: 768px) {
  .aorest-single-description-section { padding: 48px 24px 64px; }
}

.aorest-single-description-title {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--aorest-text);
}

.aorest-single-description-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--aorest-text-muted);
  max-width: 900px;
}

@media (min-width: 768px) {
  .aorest-single-description-body { font-size: 15px; line-height: 1.9; }
}

.aorest-single-description-body p {
  margin: 0 0 1em;
}

.aorest-single-description-body h2,
.aorest-single-description-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--aorest-text);
  margin: 1.4em 0 0.5em;
}

/* ==========================================================================
   28. BLOG SINGLE POST
   ========================================================================== */

.aorest-blog-single { background: #fff; }

.aorest-blog-breadcrumb {
  padding: 14px 0 12px;
  font-size: 13px;
  color: var(--aorest-text-muted);
  border-bottom: 1px solid #f0ebe0;
}
.aorest-blog-breadcrumb a {
  color: var(--aorest-text-muted);
  text-decoration: none;
}
.aorest-blog-breadcrumb a:hover { color: var(--aorest-primary); }

/* Article header */
.aorest-blog-header {
  text-align: center;
  padding: 28px 0 20px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .aorest-blog-header { padding: 40px 0 24px; }
}

.aorest-blog-cat-pill {
  display: inline-block;
  padding: 5px 14px;
  background: #fff5e6;
  color: var(--aorest-primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.aorest-blog-cat-pill:hover {
  background: var(--aorest-primary);
  color: #fff;
}

.aorest-blog-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 14px;
  color: var(--aorest-text);
}

.aorest-blog-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--aorest-text-muted);
}

.aorest-blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.aorest-blog-meta-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Featured image */
.aorest-blog-featured {
  margin: 0 auto 28px;
  max-width: 1000px;
}

.aorest-blog-featured-img,
.aorest-blog-featured img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

@media (min-width: 768px) {
  .aorest-blog-featured-img,
  .aorest-blog-featured img { border-radius: 16px; }
  .aorest-blog-featured { margin-bottom: 40px; }
}

/* Body */
.aorest-blog-body {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.85;
  color: var(--aorest-text);
}

@media (min-width: 768px) {
  .aorest-blog-body {
    font-size: 17px;
    line-height: 1.9;
  }
}

.aorest-blog-body p {
  margin: 0 0 1.2em;
}

.aorest-blog-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 600;
  margin: 1.8em 0 0.6em;
  color: var(--aorest-text);
}

.aorest-blog-body h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  margin: 1.5em 0 0.5em;
  color: var(--aorest-text);
}

.aorest-blog-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.2em 0;
}

.aorest-blog-body a:not(.aorest-ds-link):not(.aorest-blog-product-card):not(.aorest-blog-products-inject-viewall):not(.aorest-btn) {
  color: var(--aorest-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aorest-blog-body ul,
.aorest-blog-body ol {
  padding-left: 1.5em;
  margin: 0 0 1.2em;
}

.aorest-blog-body blockquote {
  border-left: 3px solid var(--aorest-primary);
  padding: 0.5em 1em;
  margin: 1.5em 0;
  background: var(--aorest-bg-alt);
  font-style: italic;
}

/* Article footer (tags + share) */
.aorest-blog-footer {
  max-width: 1000px;
  margin: 32px auto 0;
  padding: 20px 0;
  border-top: 1px solid #f0ebe0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 600px) {
  .aorest-blog-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

.aorest-blog-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.aorest-blog-tags-label {
  font-size: 13px;
  color: var(--aorest-text-muted);
}

.aorest-blog-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #fff5e6;
  color: var(--aorest-primary);
  font-size: 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: all .2s;
}

.aorest-blog-tag:hover {
  background: var(--aorest-primary);
  color: #fff;
}

.aorest-blog-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aorest-blog-share-label {
  font-size: 13px;
  color: var(--aorest-text-muted);
}

/* ==========================================================================
   29. BLOG ARCHIVE / POST LIST
   ========================================================================== */

.aorest-blog-archive { background: #fff; }

.aorest-blog-archive-header {
  text-align: center;
  padding: 28px 0 8px;
}

@media (min-width: 768px) {
  .aorest-blog-archive-header { padding: 40px 0 12px; }
}

.aorest-blog-archive-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--aorest-text);
}

.aorest-blog-archive-desc {
  font-size: 14px;
  color: var(--aorest-text-muted);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .aorest-blog-archive-desc { font-size: 15px; }
}

/* Posts grid */
.aorest-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 0;
}

@media (min-width: 600px) {
  .aorest-blog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 0;
  }
}

@media (min-width: 1024px) {
  .aorest-blog-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
  }
}

/* Featured (first) post — span full width on mobile/tablet */
.aorest-blog-grid .aorest-blog-card.is-featured {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .aorest-blog-grid .aorest-blog-card.is-featured {
    grid-column: 1 / span 3;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: center;
  }
  .aorest-blog-grid .aorest-blog-card.is-featured .aorest-blog-card-thumb { aspect-ratio: 16/10; }
  .aorest-blog-grid .aorest-blog-card.is-featured .aorest-blog-card-title {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  }
}

.aorest-blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--aorest-text);
  background: #fff;
  border: 1px solid #e8e0c8;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.aorest-blog-card:hover {
  transform: translateY(-4px);
  border-color: #dd9933;
  box-shadow: 0 10px 30px rgba(221,153,51,0.12);
}

.aorest-blog-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--aorest-bg-alt);
}

.aorest-blog-card-thumb img,
.aorest-blog-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

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

.aorest-blog-card-placeholder {
  background: linear-gradient(135deg, #fff5e6 0%, #fdeac9 100%);
}

.aorest-blog-card-cat-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.95);
  color: var(--aorest-primary);
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.aorest-blog-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .aorest-blog-card-body { padding: 18px; }
}

.aorest-blog-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 8px;
  color: var(--aorest-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .aorest-blog-card-title { font-size: 17px; }
}

.aorest-blog-card-excerpt {
  font-size: 14px;
  color: var(--aorest-text-muted);
  line-height: 1.7;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aorest-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #f0ebe0;
  font-size: 12px;
  color: var(--aorest-text-muted);
}

.aorest-blog-card-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.aorest-blog-card-date svg {
  width: 12px;
  height: 12px;
  fill: var(--aorest-text-muted);
}

/* View count badge */
.aorest-blog-card-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: #fcfaf3;
  border: 1px solid #f0ebe0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--aorest-text-muted);
  flex-shrink: 0;
}

.aorest-blog-card-views svg {
  width: 12px;
  height: 12px;
  fill: var(--aorest-primary);
  flex-shrink: 0;
}

.aorest-blog-card-readmore {
  color: var(--aorest-primary);
  font-weight: 500;
  margin-left: auto;
  flex-shrink: 0;
}

/* Pagination */
.aorest-blog-pagination {
  text-align: center;
  padding: 24px 0 48px;
}

.aorest-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  margin: 0 3px;
  background: #fff;
  border: 1px solid var(--aorest-border);
  border-radius: 8px;
  color: var(--aorest-text);
  text-decoration: none;
  font-size: 14px;
  transition: all .2s;
}

.aorest-blog-pagination .page-numbers:hover {
  border-color: var(--aorest-primary);
  color: var(--aorest-primary);
}

.aorest-blog-pagination .page-numbers.current {
  background: var(--aorest-primary);
  border-color: var(--aorest-primary);
  color: #fff;
}

.aorest-no-posts {
  text-align: center;
  padding: 60px 16px;
  color: var(--aorest-text-muted);
  font-size: 15px;
}

/* ==========================================================================
   30. RELATED POSTS (single)
   ========================================================================== */

.aorest-blog-related {
  padding: 32px 16px 48px;
  background: var(--aorest-bg-alt);
  margin-top: 32px;
  border-top: 1px solid var(--aorest-border);
}

@media (min-width: 768px) {
  .aorest-blog-related { padding: 56px 24px 72px; margin-top: 48px; }
}

.aorest-blog-related-title {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 24px;
  color: var(--aorest-text);
}

.aorest-blog-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .aorest-blog-related-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }
}

.aorest-blog-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--aorest-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ==========================================================================
   31. AUTO-INSERT WREATH PRODUCTS (after 1st paragraph in blog posts)
   ========================================================================== */

.aorest-blog-products-inject {
  margin: 28px 0;
  padding: 20px 0 24px;
  background: linear-gradient(135deg, #fffaf0 0%, #fff5e6 100%);
  border: 1px solid #f0c97e;
  border-radius: 14px;
  position: relative;
  /* Stay within body width on all viewports — feels balanced with paragraphs */
}

@media (min-width: 768px) {
  .aorest-blog-products-inject {
    margin: 32px 0;
    padding: 24px 0 28px;
  }
}

@media (min-width: 1024px) {
  .aorest-blog-products-inject {
    margin: 36px 0;
  }
}

.aorest-blog-products-inject-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 16px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .aorest-blog-products-inject-header { padding: 0 28px 18px; }
}

.aorest-blog-products-inject-pretitle {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--aorest-primary);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.aorest-blog-products-inject-title {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  margin: 0;
  color: var(--aorest-text);
}

.aorest-blog-products-inject-viewall {
  font-size: 13px;
  color: var(--aorest-primary);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.aorest-blog-products-inject-viewall:hover {
  text-decoration: underline;
}

/* Horizontal scroll on mobile, grid on desktop */
.aorest-blog-products-inject-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 20px 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.aorest-blog-products-inject-scroller::-webkit-scrollbar { height: 4px; }
.aorest-blog-products-inject-scroller::-webkit-scrollbar-thumb {
  background: rgba(221,153,51,0.3);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .aorest-blog-products-inject-scroller {
    padding: 0 28px 8px;
  }
}

/* Product card (mini) */
.aorest-blog-product-card {
  flex-shrink: 0;
  width: 140px;
  text-decoration: none;
  color: var(--aorest-text);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #f0e9d5;
  transition: transform .2s, box-shadow .2s;
}

@media (min-width: 600px) {
  .aorest-blog-product-card { width: 160px; }
}

@media (min-width: 1024px) {
  .aorest-blog-product-card { width: 180px; }
}

.aorest-blog-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.aorest-blog-product-thumb {
  position: relative;
  aspect-ratio: 1;
  background: var(--aorest-bg-alt);
  overflow: hidden;
}

.aorest-blog-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aorest-blog-product-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 7px;
  background: #d4671a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
}

.aorest-blog-product-sku {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.aorest-blog-product-body {
  padding: 8px 10px 10px;
}

.aorest-blog-product-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 4px;
  color: var(--aorest-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

@media (min-width: 768px) {
  .aorest-blog-product-title { font-size: 13px; }
}

.aorest-blog-product-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
}

.aorest-blog-product-price-current {
  font-size: 13px;
  font-weight: 700;
  color: var(--aorest-primary);
}

.aorest-blog-product-price del {
  font-size: 11px;
  color: #999;
}

.aorest-blog-products-inject-footer {
  text-align: center;
  margin-top: 14px;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .aorest-blog-products-inject-footer { margin-top: 18px; }
}

/* ==========================================================================
   28. DEPOSIT BADGE — overlays main product image (sales-focused)
   ========================================================================== */
.aorest-single-gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .aorest-single-gallery-main { border-radius: 16px; }
}

.aorest-single-gallery-main .aorest-single-gallery-img {
  border-radius: 0; /* now handled by parent .gallery-main */
}

.aorest-single-deposit-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 9px 14px;
  background: linear-gradient(135deg, #1d7a3a 0%, #2a9d4a 100%);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(29, 122, 58, 0.4);
  pointer-events: none;
  text-align: center;
  line-height: 1.15;
  overflow: hidden;
  /* Subtle pulse to draw attention */
  animation: aorest-deposit-pulse 2.4s ease-in-out infinite;
}

/* Shine sweep — diagonal light pass that runs every few seconds */
.aorest-single-deposit-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 80%
  );
  animation: aorest-deposit-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}

/* Soft glow ring behind badge */
.aorest-single-deposit-badge::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: rgba(42, 157, 74, 0.35);
  z-index: -1;
  animation: aorest-deposit-glow 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes aorest-deposit-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

@keyframes aorest-deposit-shine {
  0%   { left: -100%; }
  60%  { left: 150%; }
  100% { left: 150%; }
}

@keyframes aorest-deposit-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(42, 157, 74, 0);
    opacity: 0.7;
  }
  50% {
    box-shadow: 0 0 24px 6px rgba(42, 157, 74, 0.45);
    opacity: 1;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .aorest-single-deposit-badge,
  .aorest-single-deposit-badge::before,
  .aorest-single-deposit-badge::after {
    animation: none !important;
  }
}

@media (min-width: 768px) {
  .aorest-single-deposit-badge {
    bottom: 16px;
    right: 16px;
    padding: 11px 18px;
    border-radius: 12px;
  }
}

.aorest-single-deposit-badge-label {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.92;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .aorest-single-deposit-badge-label { font-size: 11px; }
}

.aorest-single-deposit-badge-amount {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 1px 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .aorest-single-deposit-badge-amount { font-size: 22px; }
}

.aorest-single-deposit-badge-pct {
  font-size: 10px;
  font-weight: 600;
  background: rgba(255,255,255,0.22);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .aorest-single-deposit-badge-pct { font-size: 11px; padding: 2px 9px; }
}

/* ==========================================================================
   29. ARCHIVE PILL CATS — apply user's scoped tweak
   ========================================================================== */
.aorest-archive-cats {
  margin-left: 14px;
}

@media (min-width: 768px) {
  .aorest-archive-cats { margin-left: 0; }
}

/* ==========================================================================
   30. 404 PAGE — sales-oriented redirect (search + cats + bestsellers)
   ========================================================================== */
.aorest-404 {
  background: #fff;
}

/* HERO ----------------------------------------------------------------- */
.aorest-404-hero {
  padding: 32px 16px 48px;
  background: linear-gradient(180deg, #fdfaf3 0%, #fff 100%);
  text-align: center;
}

@media (min-width: 768px) {
  .aorest-404-hero { padding: 56px 24px 72px; }
}

.aorest-404-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.aorest-404-illustration {
  width: 180px;
  height: 150px;
  margin: 0 auto 8px;
}

@media (min-width: 768px) {
  .aorest-404-illustration {
    width: 220px;
    height: 180px;
    margin-bottom: 12px;
  }
}

.aorest-404-illustration svg {
  width: 100%;
  height: 100%;
}

.aorest-404-number {
  font-size: clamp(4.5rem, 12vw, 7rem);
  font-weight: 700;
  color: var(--aorest-primary);
  line-height: 1;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #dd9933 0%, #b87a1f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.aorest-404-title {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 600;
  color: var(--aorest-text);
  margin: 0 0 8px;
  line-height: 1.4;
}

.aorest-404-subtitle {
  font-size: 14px;
  color: var(--aorest-text-muted);
  margin: 0 0 24px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .aorest-404-subtitle {
    font-size: 15px;
    margin-bottom: 32px;
  }
}

/* Search box */
.aorest-404-search {
  display: flex;
  max-width: 480px;
  margin: 0 auto 20px;
  background: #fff;
  border: 2px solid #e6dfc8;
  border-radius: 999px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.aorest-404-search:focus-within {
  border-color: var(--aorest-primary);
  box-shadow: 0 4px 16px rgba(221, 153, 51, 0.15);
}

.aorest-404-search-input {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  color: var(--aorest-text);
  outline: none;
}

@media (min-width: 768px) {
  .aorest-404-search-input { padding: 14px 22px; font-size: 15px; }
}

.aorest-404-search-input::placeholder {
  color: #aaa;
}

.aorest-404-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  flex-shrink: 0;
  background: var(--aorest-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.aorest-404-search-btn:hover { background: #b87a1f; }
.aorest-404-search-btn svg { width: 20px; height: 20px; }

/* Action buttons */
.aorest-404-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .aorest-404-actions { flex-direction: row; gap: 12px; }
}

.aorest-404-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .aorest-404-btn { padding: 14px 24px; font-size: 15px; }
}

.aorest-404-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.aorest-404-btn-primary {
  background: var(--aorest-text);
  color: #fff;
}
.aorest-404-btn-primary:hover {
  background: #000;
  transform: translateY(-2px);
}

.aorest-404-btn-line {
  background: #06c755;
  color: #fff;
  box-shadow: 0 4px 12px rgba(6,199,85,0.2);
}
.aorest-404-btn-line:hover {
  background: #05a847;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6,199,85,0.3);
}

/* Section titles ------------------------------------------------------- */
.aorest-404-section-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--aorest-text);
  text-align: center;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .aorest-404-section-title { margin-bottom: 32px; }
}

.aorest-404-section-emoji {
  font-size: 1.4em;
  line-height: 1;
}

/* POPULAR CATEGORIES --------------------------------------------------- */
.aorest-404-cats {
  padding: 32px 16px;
  background: var(--aorest-bg-alt);
  border-top: 1px solid var(--aorest-border);
  border-bottom: 1px solid var(--aorest-border);
}

@media (min-width: 768px) {
  .aorest-404-cats { padding: 56px 24px; }
}

.aorest-404-cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .aorest-404-cats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 900px) {
  .aorest-404-cats-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.aorest-404-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 10px;
  background: #fff;
  border: 1px solid #e6dfc8;
  border-radius: 14px;
  text-decoration: none;
  color: var(--aorest-text);
  text-align: center;
  transition: all .2s;
}

.aorest-404-cat-card:hover {
  border-color: var(--aorest-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(221, 153, 51, 0.15);
}

.aorest-404-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff5e6;
  color: var(--aorest-primary);
}

.aorest-404-cat-icon svg {
  width: 24px;
  height: 24px;
}

.aorest-404-cat-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .aorest-404-cat-name { font-size: 14px; }
}

.aorest-404-cat-count {
  font-size: 11px;
  color: var(--aorest-text-muted);
  font-weight: 500;
}

/* BESTSELLER PRODUCTS -------------------------------------------------- */
.aorest-404-products {
  padding: 32px 16px 48px;
  background: #fff;
}

@media (min-width: 768px) {
  .aorest-404-products { padding: 56px 24px 72px; }
}

/* ==========================================================================
   30. HEADER FB ICON (desktop) — visible only on desktop next to LINE
   ========================================================================== */
.aorest-header-fb-desktop {
  display: none; /* hidden on mobile (mobile uses .aorest-header-fb on left side) */
}

@media (min-width: 1024px) {
  .aorest-header-fb-desktop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    flex-shrink: 0;
  }

  .aorest-header-fb-desktop svg {
    width: 18px;
    height: 18px;
    fill: #fff;
  }

  .aorest-header-fb-desktop:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
  }
}

/* ==========================================================================
   31. SAME-DAY DELIVERY COUNTDOWN BADGE
   (Inline in buybox after trust card — clean white + gold accent)
   ========================================================================== */
.aorest-single-countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid #f0c97e;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  /* Hidden until JS initializes */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}

@media (min-width: 768px) {
  .aorest-single-countdown {
    gap: 14px;
    padding: 14px 18px;
  }
}

.aorest-single-countdown.is-ready {
  opacity: 1;
  transform: translateY(0);
}

/* Soft accent stripe on left edge (urgency cue) */
.aorest-single-countdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #dd9933 0%, #f0c97e 100%);
}

@media (min-width: 768px) {
  .aorest-single-countdown {
    padding: 16px 20px;
    gap: 16px;
  }
}

/* Clock icon — circle bg with brand color */
.aorest-single-countdown-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff5e6 0%, #fde0b3 100%);
  border-radius: 50%;
  animation: aorest-countdown-tick 1.6s ease-in-out infinite;
}

.aorest-single-countdown-icon svg {
  width: 20px;
  height: 20px;
  fill: #dd9933;
}

@media (min-width: 768px) {
  .aorest-single-countdown-icon {
    width: 44px;
    height: 44px;
  }
  .aorest-single-countdown-icon svg {
    width: 24px;
    height: 24px;
  }
}

@keyframes aorest-countdown-tick {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(-6deg); }
  75%      { transform: rotate(6deg); }
}

/* Body: label + time stack */
.aorest-single-countdown-body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
  flex: 0 1 auto;
}

.aorest-single-countdown-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--aorest-text-muted, #666);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .aorest-single-countdown-label { font-size: 13px; }
}

.aorest-single-countdown-time {
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: #dd9933;
  line-height: 1.1;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .aorest-single-countdown-time { font-size: 28px; }
}

/* Trust note (right side of countdown) — show on all viewports */
.aorest-single-countdown-note {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-left: auto;
  padding-left: 8px;
  border-left: 1px dashed #f0c97e;
  font-size: 10px;
  line-height: 1.3;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .aorest-single-countdown-note {
    font-size: 11px;
    padding-left: 10px;
    gap: 4px;
  }
}

@media (min-width: 768px) {
  .aorest-single-countdown-note {
    padding-left: 16px;
    font-size: 12px;
  }
}

.aorest-single-countdown-note-yes,
.aorest-single-countdown-note-no {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .aorest-single-countdown-note-yes,
  .aorest-single-countdown-note-no {
    gap: 5px;
  }
}

.aorest-single-countdown-note-yes {
  color: #1d7a3a;
  font-weight: 600;
}

.aorest-single-countdown-note-no {
  color: #999;
  font-weight: 500;
}

.aorest-single-countdown-note-yes svg {
  width: 12px;
  height: 12px;
  fill: #2a9d4a;
  flex-shrink: 0;
}

.aorest-single-countdown-note-no svg {
  width: 12px;
  height: 12px;
  fill: #999;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .aorest-single-countdown-note-yes svg,
  .aorest-single-countdown-note-no svg {
    width: 14px;
    height: 14px;
  }
}

/* Tomorrow state — switch accent color to muted blue (calmer) */
.aorest-single-countdown[data-state="tomorrow"] {
  border-color: #c5d8e8;
}

.aorest-single-countdown[data-state="tomorrow"]::before {
  background: linear-gradient(180deg, #5a8aab 0%, #a3c4dd 100%);
}

.aorest-single-countdown[data-state="tomorrow"] .aorest-single-countdown-icon {
  background: linear-gradient(135deg, #eef4fa 0%, #d3e1ed 100%);
}

.aorest-single-countdown[data-state="tomorrow"] .aorest-single-countdown-icon svg {
  fill: #5a8aab;
}

.aorest-single-countdown[data-state="tomorrow"] .aorest-single-countdown-time {
  color: #5a8aab;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .aorest-single-countdown-icon {
    animation: none !important;
  }
}

/* ==========================================================================
   32. BLOG SINGLE — Fixes (breadcrumb sep + table responsive)
   ========================================================================== */

/* Breadcrumb separator (was missing visual style for blog) */
.aorest-blog-breadcrumb .aorest-breadcrumb-sep {
  margin: 0 6px;
  color: #c9c2af;
  font-weight: 400;
}

/* Tables in blog body — auto layout + mobile horizontal scroll */
.aorest-blog-body table,
.aorest-pillar-editor-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 14px;
  border: 1px solid #e8e0c8;
  border-radius: 8px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .aorest-blog-body table,
  .aorest-pillar-editor-inner table {
    font-size: 15px;
  }
}

.aorest-blog-body table thead,
.aorest-pillar-editor-inner table thead {
  background: linear-gradient(135deg, #fcfaf3 0%, #fff5e6 100%);
}

.aorest-blog-body table th,
.aorest-pillar-editor-inner table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--aorest-text);
  border-bottom: 1.5px solid #e8e0c8;
  white-space: nowrap;
}

.aorest-blog-body table td,
.aorest-pillar-editor-inner table td {
  padding: 11px 14px;
  border-bottom: 1px solid #f0ebe0;
  vertical-align: top;
  color: var(--aorest-text-muted);
  line-height: 1.6;
}

.aorest-blog-body table tr:last-child td,
.aorest-pillar-editor-inner table tr:last-child td {
  border-bottom: none;
}

.aorest-blog-body table tr:hover td,
.aorest-pillar-editor-inner table tr:hover td {
  background: #fcfaf3;
}

.aorest-blog-body table a,
.aorest-pillar-editor-inner table a {
  color: var(--aorest-primary);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.aorest-blog-body table a:hover,
.aorest-pillar-editor-inner table a:hover {
  color: #b87a1f;
}

/* Mobile: wrap in scrollable container — doesn't escape parent */
@media (max-width: 767px) {
  .aorest-blog-body table,
  .aorest-pillar-editor-inner table {
    /* Force the table itself to not break layout */
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    /* Hint that content is scrollable */
    background:
      linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) left center,
      linear-gradient(to right, rgba(255,255,255,0), #fff 70%) right center,
      radial-gradient(farthest-side at 0 50%, rgba(0,0,0,0.08), rgba(0,0,0,0)) left center,
      radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,0.08), rgba(0,0,0,0)) right center;
    background-size: 30px 100%, 30px 100%, 14px 100%, 14px 100%;
    background-repeat: no-repeat;
    background-attachment: local, local, scroll, scroll;
    border-radius: 8px;
  }

  .aorest-blog-body table th,
  .aorest-blog-body table td,
  .aorest-pillar-editor-inner table th,
  .aorest-pillar-editor-inner table td {
    padding: 10px 12px;
  }
}

/* ==========================================================================
   33. PILLAR PAGE — Mobile product limit (show 12 instead of 20)
   ========================================================================== */

@media (max-width: 767px) {
  /* Hide products 13+ inside pillar product section (3-col mobile = 4 rows = 12 items) */
  .aorest-pillar .aorest-product-section .products li.product:nth-child(n+13) {
    display: none;
  }
}

/* ==========================================================================
   34. SUB-PILLAR PAGE — Compact pillar variant for child pages
   ========================================================================== */

.aorest-subpillar { background: #fff; }

/* Sub-pillar hero — uses pillar-hero2 base + sub-pillar tweaks */
.aorest-subpillar-hero2 {
  /* Inherit all pillar-hero2 base styles */
  /* Same banner/image size as pillar — fill container fully */
}

.aorest-subpillar-trust-pills {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

@media (max-width: 767px) {
  .aorest-subpillar-trust-pills {
    justify-content: center;
  }
}

.aorest-subpillar-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #e8e0c8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--aorest-text);
}

@media (min-width: 768px) {
  .aorest-subpillar-trust-pill {
    padding: 7px 14px;
    font-size: 13px;
  }
}

.aorest-subpillar-trust-pill svg {
  width: 14px;
  height: 14px;
  fill: #1d7a3a;
  flex-shrink: 0;
}

/* Sibling navigation (horizontal scroll) */
.aorest-subpillar-siblings {
  background: #fff;
  border-bottom: 1px solid #f0ebe0;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.95);
}

.aorest-subpillar-siblings-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 4px;
}

.aorest-subpillar-siblings-scroller::-webkit-scrollbar {
  display: none;
}

.aorest-subpillar-sibling {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  background: #fcfaf3;
  border: 1px solid #e8e0c8;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--aorest-text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .2s;
}

.aorest-subpillar-sibling:hover {
  background: #fff5e6;
  border-color: var(--aorest-primary);
  color: var(--aorest-primary);
}

.aorest-subpillar-sibling.is-active {
  background: var(--aorest-primary);
  border-color: var(--aorest-primary);
  color: #fff;
  cursor: default;
}

.aorest-subpillar-sibling svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Up-link card to parent (Deep Silo) */
.aorest-subpillar-uplink {
  padding: 32px 16px 48px;
  background: #fcfaf3;
}

@media (min-width: 768px) {
  .aorest-subpillar-uplink { padding: 48px 24px 64px; }
}

.aorest-subpillar-uplink-card {
  display: block;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 24px;
  background: #fff;
  border: 1px solid #e8e0c8;
  border-radius: 16px;
  text-decoration: none;
  text-align: center;
  transition: all .25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

@media (min-width: 768px) {
  .aorest-subpillar-uplink-card {
    padding: 28px 32px;
  }
}

.aorest-subpillar-uplink-card:hover {
  border-color: var(--aorest-primary);
  box-shadow: 0 8px 24px rgba(221,153,51,0.15);
  transform: translateY(-2px);
}

.aorest-subpillar-uplink-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--aorest-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.aorest-subpillar-uplink-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--aorest-text);
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .aorest-subpillar-uplink-title { font-size: 22px; }
}

.aorest-subpillar-uplink-card:hover .aorest-subpillar-uplink-title {
  color: var(--aorest-primary);
}

.aorest-subpillar-uplink-title svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform .2s;
}

.aorest-subpillar-uplink-card:hover .aorest-subpillar-uplink-title svg {
  transform: translateX(4px);
}

.aorest-subpillar-uplink-desc {
  display: block;
  font-size: 14px;
  color: var(--aorest-text-muted);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

/* Mobile product limit (3-col × 4 rows = 12 — already at 12 limit by query) */


/* ==========================================================================
   36. SUB-PILLAR — No Products Fallback
   ========================================================================== */

.aorest-subpillar-no-products {
  padding: 32px 16px;
  background: #fcfaf3;
}

@media (min-width: 768px) {
  .aorest-subpillar-no-products {
    padding: 48px 24px;
  }
}

.aorest-subpillar-no-products-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid #e8e0c8;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

@media (min-width: 768px) {
  .aorest-subpillar-no-products-card {
    padding: 40px 32px;
  }
}

.aorest-subpillar-no-products-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #fff5e6 0%, #fde0b3 100%);
  border-radius: 50%;
}

.aorest-subpillar-no-products-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--aorest-primary, #dd9933);
}

.aorest-subpillar-no-products-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--aorest-text, #2a2520);
  margin: 0 0 10px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .aorest-subpillar-no-products-title {
    font-size: 24px;
  }
}

.aorest-subpillar-no-products-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--aorest-text-muted, #666);
  margin: 0 0 20px;
}

@media (min-width: 768px) {
  .aorest-subpillar-no-products-desc {
    font-size: 15px;
  }
}
