/* ====================================================
   UNBLEND NATURALS — Responsive & Mobile Fixes
   Clean single-source-of-truth version
   Breakpoints: 380 | 480 | 768 | 1024 | 1400
   ==================================================== */

/* ── GLOBAL RESETS ──────────────────────────────────── */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
html, body { max-width: 100%; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
*, *::before, *::after { box-sizing: border-box; }

a, button, [role="button"],
input[type="submit"], input[type="button"] {
  touch-action: manipulation;
}

/* ── CONTAINER ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}
@media (max-width: 480px) { .container { padding: 0 .85rem; } }
@media (max-width: 360px) { .container { padding: 0 .75rem; } }
@media (min-width: 1400px) { .container { max-width: 1280px; } }

/* ── ANNOUNCEMENT BAR ───────────────────────────────── */
@media (max-width: 480px) {
  .announcement-bar { white-space: normal; line-height: 1.5; font-size: .7rem; padding: .4rem 1rem; }
}

/* ═══════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .header-inner { gap: .5rem; }
  .logo { margin-right: auto; }
  .hamburger { display: flex !important; width: 40px; height: 40px; min-width: 40px; min-height: 40px; border-radius: 50%; border: 1.5px solid var(--border); align-items: center; justify-content: center; padding: 0; flex-shrink: 0; }
  .hamburger span { width: 18px; }
  .main-nav { display: none !important; }
  .header-search { display: none !important; }
  .mobile-search-trigger { display: flex !important; }
  .header-icon-btn { width: 40px; height: 40px; min-width: 40px; min-height: 40px; flex-shrink: 0; }
}
@media (min-width: 769px) {
  .hamburger { display: none !important; }
  .main-nav { display: flex !important; }
  .mobile-search-bar { display: none !important; }
  .mobile-search-trigger { display: none !important; }
}
@media (max-width: 360px) {
  .header-actions { gap: .2rem; }
  .header-icon-btn { width: 36px; height: 36px; min-width: 36px; font-size: .8rem; }
}

/* Mobile search trigger icon (mobile only) */
.mobile-search-trigger { display: none; }

/* ── MOBILE SEARCH BAR ──────────────────────────────── */
.mobile-search-bar {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .55rem .85rem;
  overflow: hidden;
  max-height: 0;
  transition: max-height .25s ease, padding .25s ease;
}
.mobile-search-bar.open {
  display: block;
  max-height: 80px;
}
@media (max-width: 768px) {
  /* mobile-search-bar shown only when .open — toggled by JS */
}
.mobile-search-bar form {
  display: flex !important;
  align-items: center;
  width: 100%;
  gap: .5rem;
}
.mobile-search-bar .msb-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.mobile-search-bar .msb-input-wrap i {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: .82rem;
  pointer-events: none;
}
.mobile-search-bar input {
  width: 100%;
  padding: .7rem 1rem .7rem 2.4rem;
  border-radius: 50px;
  border: 1.5px solid var(--border-dk);
  background: var(--white);
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.mobile-search-bar button[type="button"] {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .7rem 1.2rem;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-appearance: none;
  touch-action: manipulation;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── MOBILE NAV ─────────────────────────────────────── */
.mobile-nav {
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav-links a {
  min-height: 52px;
  display: flex;
  align-items: center;
}
.mobile-nav-links a:active { background: var(--green-xlt); color: var(--green); }

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */
/* Tablet */
@media (max-width: 1024px) {
  .hero-inner { gap: 2rem; min-height: 520px; }
  .hero-content { padding: 2.5rem 0; }
  .hero-orb { width: 260px !important; height: 260px !important; }
  .hero-orb-bird { width: 155px !important; }
}
/* Mobile */
@media (max-width: 768px) {
  .hero { overflow: hidden !important; background: var(--green-xlt) !important; }
  .hero::before { display: none !important; }
  .hero-bg, .hero-pattern { display: none !important; }
  .hero-inner { grid-template-columns: 1fr !important; min-height: auto !important; gap: 0 !important; padding: 1.25rem 0 1.5rem !important; }
  .hero-content { order: 1; padding: .75rem 0 0; min-width: 0; width: 100%; box-sizing: border-box; }
  .hero-visual { display: none !important; }
  .hero-floating-card { display: none !important; }
  .hero h1 { font-size: clamp(1.55rem, 6.5vw, 2rem) !important; line-height: 1.2; margin-bottom: .75rem; }
  .hero-eyebrow { font-size: .6rem; margin-bottom: .85rem; max-width: 100%; padding: .28rem .75rem; }
  .hero-desc { font-size: .85rem; line-height: 1.65; margin-bottom: 1.1rem; max-width: 100%; color: var(--text-mid); }
  .hero-ctas { flex-direction: row !important; gap: .55rem; flex-wrap: nowrap !important; margin-bottom: 1rem; }
  .hero-ctas .btn { flex: 1; min-width: 0 !important; justify-content: center; text-align: center; padding: .75rem .6rem; font-size: .8rem; white-space: nowrap; }
  .hero-trust { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: .35rem; padding-bottom: .25rem; }
  .hero-trust::-webkit-scrollbar { display: none; }
  .trust-pill { flex-shrink: 0; white-space: nowrap; font-size: .62rem; padding: .22rem .58rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.45rem, 6vw, 1.75rem) !important; }
  .hero-ctas .btn { font-size: .76rem; padding: .72rem .55rem; }
  .hero-desc { font-size: .82rem; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 1.4rem !important; }
  .hero-ctas { gap: .4rem; }
  .hero-ctas .btn { font-size: .72rem; padding: .65rem .45rem; }
}

/* ═══════════════════════════════════════════════════
   PRODUCT GRID
   ═══════════════════════════════════════════════════ */
.products-grid, .shop-products-grid { align-items: stretch; }
.product-card { display: flex !important; flex-direction: column !important; height: 100% !important; }
.product-info { display: flex !important; flex-direction: column !important; flex: 1 !important; }
.product-name { flex: 1 !important; min-height: 2.4em; }
.product-price { margin-top: auto !important; margin-bottom: .55rem !important; }
.product-image { aspect-ratio: 1/1; background: var(--surface); overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-info .btn-gold.w-100,
.product-info .add-to-cart.w-100 {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .45rem !important;
  flex-shrink: 0 !important;
  margin-top: 0 !important;
}
.product-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.12); border-color: var(--gold-lt); }

@media (max-width: 768px) {
  .products-grid, .shop-products-grid { grid-template-columns: repeat(2,1fr) !important; gap: .85rem; }
  .product-info { padding: .8rem .75rem !important; }
  .product-name { font-size: .8rem !important; line-height: 1.3 !important; min-height: 2.2em !important; }
  .price-current { font-size: 1rem !important; }
  .product-info .btn-gold.w-100 { padding: .58rem .65rem !important; font-size: .74rem !important; min-height: 40px !important; }
  .product-actions { flex-direction: column; gap: .4rem; }
  .product-actions .btn { width: 100%; justify-content: center; font-size: .72rem; padding: .5rem; }
  .product-wishlist { opacity: 1 !important; visibility: visible !important; }
}
@media (max-width: 380px) {
  .products-grid, .shop-products-grid { gap: .5rem !important; }
  .product-info { padding: .7rem .6rem !important; }
  .product-name { font-size: .75rem !important; }
  .price-current { font-size: .92rem !important; }
  .product-info .btn-gold.w-100 { font-size: .7rem !important; padding: .52rem .5rem !important; }
}

/* ═══════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ═══════════════════════════════════════════════════ */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2.5rem 0 5rem; align-items: start; }
.product-gallery { position: sticky; top: 90px; }
.product-gallery-main { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; margin-bottom: .75rem; display: flex; align-items: center; justify-content: center; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; background: var(--surface); }

@media (max-width: 1024px) {
  .product-detail { gap: 2rem; padding: 1.5rem 0 4rem; }
  .product-gallery { position: static; }
}
@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr !important; gap: 1rem !important; padding: 1rem 0 100px !important; }
  .product-gallery { position: static !important; }
  .product-gallery-main { max-height: 320px; }
  .product-gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .4rem 0; }
  .product-gallery-thumbs::-webkit-scrollbar { display: none; }
  .gallery-thumb { width: 60px; height: 60px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); }
  .gallery-thumb.active { border-color: var(--gold); }
  .product-info-detail h1 { font-size: 1.4rem !important; line-height: 1.25; }
  .product-price-detail .current { font-size: 1.5rem !important; }
  .product-actions-wrap { display: flex; flex-direction: row; gap: .55rem; }
  .product-actions-wrap .btn.w-100 { flex: 1; padding: .82rem 1rem; font-size: .85rem; justify-content: center; min-height: 48px; }
  .tabs-header { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .tabs-header::-webkit-scrollbar { display: none; }
  .tab-btn { flex-shrink: 0; font-size: .72rem; padding: .55rem .85rem; }
  .product-detail-page { padding-bottom: 90px !important; }
  .mobile-sticky-cta { display: flex !important; position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: .65rem 1rem; padding-bottom: calc(.65rem + env(safe-area-inset-bottom, 0px)); gap: .55rem; z-index: 90; box-shadow: 0 -4px 20px rgba(0,0,0,.1); align-items: center; }
  .mobile-sticky-cta .btn { flex: 1; justify-content: center; min-height: 46px; font-size: .82rem; }
}
.mobile-sticky-cta { display: none; }

/* ═══════════════════════════════════════════════════
   SHOP PAGE
   ═══════════════════════════════════════════════════ */
.shop-filter-toggle { display: none; }
@media (max-width: 1024px) {
  .shop-filter-toggle { display: flex; width: 100%; margin-bottom: 1rem; gap: .5rem; justify-content: center; }
  .shop-layout { grid-template-columns: 1fr; padding-top: 0; }
  .shop-sidebar {
    position: fixed !important; left: -320px !important; top: 0 !important;
    bottom: 0 !important; width: 280px !important; z-index: 5000 !important;
    overflow-y: auto; background: var(--white) !important;
    box-shadow: 4px 0 24px rgba(0,0,0,.2);
    transition: left .28s ease !important;
    display: block !important; border-radius: 0 !important;
    border: none !important; border-right: 1.5px solid var(--border) !important;
  }
  .shop-sidebar.filter-open { left: 0 !important; }
  .shop-sidebar-close {
    display: flex; padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--off-white);
  }
  .shop-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 4999; }
  .shop-sidebar-overlay.visible { display: block; }
  .sort-select { min-width: 140px; }
  .shop-products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
}

/* ═══════════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .cart-summary { position: static; }
  .cart-item { gap: .85rem; padding: .9rem; }
  .cart-item img { width: 72px; height: 72px; flex-shrink: 0; }
  .cart-item-details { min-width: 0; }
  .cart-item-name { font-size: .85rem; white-space: normal; word-break: break-word; }
}

/* ═══════════════════════════════════════════════════
   CHECKOUT PAGE
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .checkout-block { padding: 1rem; }
}

/* ═══════════════════════════════════════════════════
   ACCOUNT PAGES — Mobile overrides only
   (Desktop layout defined in style.css)
   ═══════════════════════════════════════════════════ */

/* Desktop defaults */
.acct-sidebar { display: block; position: sticky; top: 90px; }
.acct-mobile-header { display: none; }
.acct-main-content { min-width: 0; padding-top: 0; }

/* Mobile: hide sidebar, show mobile header */
@media (max-width: 768px) {
  .acct-page-wrap { grid-template-columns: 1fr !important; gap: .85rem !important; padding: 1rem .85rem 5rem !important; }
  .acct-sidebar { display: none !important; }
  .acct-mobile-header { display: block !important; }
  .acct-main-content { width: 100%; padding-top: 0 !important; }
}

/* ═══════════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .login-page { padding: 1.25rem .85rem; min-height: calc(100vh - 120px); align-items: flex-start; }
  .login-box { width: 100%; max-width: 100%; padding: 1.5rem 1.25rem; border-radius: 14px; box-shadow: none; border: 1.5px solid var(--border); }
  .login-box h2 { font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .form-control,
  input[type="text"], input[type="email"], input[type="password"],
  input[type="tel"], input[type="number"], input[type="search"],
  select, textarea { font-size: 16px !important; }
  .form-row { grid-template-columns: 1fr !important; gap: .75rem; }
}

/* ═══════════════════════════════════════════════════
   CATEGORIES GRID
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .categories-section .categories-grid { grid-template-columns: repeat(3,1fr); gap: .65rem; }
  .category-card { width: 100%; padding: 1rem .65rem; }
}
@media (max-width: 480px) {
  .categories-section .categories-grid { grid-template-columns: repeat(2,1fr); }
}

/* ═══════════════════════════════════════════════════
   BENEFITS / FEATURES GRID
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) { .benefits-grid { grid-template-columns: repeat(2,1fr); gap: .75rem; } }
@media (max-width: 360px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-col:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .65rem; }
  .footer-bottom-links { flex-wrap: wrap; gap: .65rem; }
  .footer-social-btn { width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:first-child { grid-column: unset; }
  .footer-col-toggle { cursor: pointer; display: flex; align-items: center; justify-content: space-between; width: 100%; }
  .footer-col-toggle::after { content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .75rem; transition: transform .2s; }
  .footer-col.collapsed .footer-col-toggle::after { transform: rotate(-90deg); }
  .footer-col.collapsed .footer-col-links { display: none; }
}

/* ═══════════════════════════════════════════════════
   MISC PAGE LAYOUTS
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Page hero */
  .page-hero { padding: 2rem 0 1.5rem; }
  .page-hero h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; gap: .85rem; }
  .testimonial-card { padding: 1.25rem; }

  /* Story / Blog */
  .story-grid, .blog-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* About */
  .about-grid, .team-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Certifications */
  .cert-cards-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; gap: .65rem; }
  .newsletter-form input { width: 100%; min-width: unset; font-size: 16px !important; }
  .newsletter-form .btn { width: 100%; justify-content: center; }

  /* Orders table */
  .orders-table-wrap, .admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); border: 1.5px solid var(--border); }
  .orders-table, .admin-table { min-width: 560px; }

  /* Buttons */
  .btn { min-height: 44px; }

  /* Sections */
  .section { padding: 2.5rem 0; }
}

}

/* ═══════════════════════════════════════════════════
   TOUCH / HOVER STATES
   ═══════════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
  .btn:active { opacity: .82; transform: translateY(1px); }
  .product-card:hover { transform: none; box-shadow: none; border-color: var(--border); }
  .product-card:active { border-color: var(--sage); box-shadow: var(--shadow); }
  .category-card:hover { transform: none; box-shadow: none; }
}

/* ═══════════════════════════════════════════════════
   SAFE AREA (iPhone notch / Dynamic Island)
   ═══════════════════════════════════════════════════ */
@supports (padding: max(0px)) {
  .site-header {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  body { padding-bottom: env(safe-area-inset-bottom); }
  .mobile-nav {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
}

/* ═══════════════════════════════════════════════════
   TABLES — scrollable on mobile
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
}

/* ═══════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .pagination { flex-wrap: wrap; justify-content: center; gap: .3rem; }
  .pagination a, .pagination .current { width: 36px; height: 36px; font-size: .8rem; }
}

/* ═══════════════════════════════════════════════════
   SWIPE HINTS
   ═══════════════════════════════════════════════════ */
.cs-track-outer, .hero-slides-outer { touch-action: pan-y; cursor: grab; }
.cs-track-outer:active, .hero-slides-outer:active { cursor: grabbing; }

/* ═══════════════════════════════════════════════════
   LARGE DESKTOP
   ═══════════════════════════════════════════════════ */
@media (min-width: 1400px) {
  .hero-orb { width: 360px; height: 360px; }
  .hero-orb-bird { width: 210px; }
}

/* ═══════════════════════════════════════════════════
   LANDSCAPE PHONE
   ═══════════════════════════════════════════════════ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-inner { min-height: auto !important; }
  .announcement-bar { display: none; }
}


/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE OVERHAUL — Mobile / Tablet / Laptop / Desktop
   ═══════════════════════════════════════════════════════════════════ */
html, body { max-width:100%; overflow-x:hidden; }
img { max-width:100%; height:auto; }

/* Admin stat cards */
@media (max-width:900px)  { .admin-stats-grid,.stat-grid { grid-template-columns:repeat(2,1fr) !important; } }
@media (max-width:480px)  { .admin-stats-grid,.stat-grid { grid-template-columns:1fr !important; }
  .admin-main { padding:.75rem !important; }
  .admin-topbar { flex-direction:column; align-items:flex-start; gap:.5rem; }
  .admin-topbar h1 { font-size:1.1rem; } }

/* Admin tables scrollable */
.admin-table { overflow-x:auto; -webkit-overflow-scrolling:touch; }
@media (max-width:768px) { .admin-table table { min-width:560px; }
  .admin-table th,.admin-table td { white-space:nowrap; font-size:.78rem; padding:.6rem .75rem; } }

/* Admin form grids collapse */
@media (max-width:600px) {
  .admin-card { padding:1rem; }
  .checkout-grid[style*="grid-template-columns:1fr 1fr"] { grid-template-columns:1fr !important; } }

/* Admin hamburger always visible on mobile */
@media (max-width:768px) {
  .admin-hamburger-wrap { display:flex !important; align-items:center; gap:.75rem; margin-bottom:1.25rem; }
  .admin-sidebar { position:fixed !important; left:0; top:0; bottom:0; width:260px; height:100%; z-index:300; transform:translateX(-100%); transition:transform .3s ease; }
  .admin-sidebar.open { transform:translateX(0) !important; }
  .admin-overlay.visible { display:block !important; } }
@media (min-width:769px) { .admin-hamburger-wrap { display:none !important; } }

/* Checkout */
@media (max-width:768px) {
  .checkout-grid { grid-template-columns:1fr !important; }
  .checkout-block, .account-main, .acct-main { padding:1rem !important; } }
@media (max-width:400px) { .form-row { grid-template-columns:1fr !important; } }

/* Cart qty controls */
@media (max-width:380px) {
  .cart-item { flex-wrap:wrap; gap:.5rem; }
  .cqc-btn { width:30px; height:30px; font-size:1rem; } }

/* Product page */
@media (max-width:860px) {
  .product-detail { grid-template-columns:1fr !important; }
  .product-gallery { max-width:420px; margin:0 auto; } }

/* Shop grid */
@media (max-width:1100px) { .products-grid,.shop-products-grid { grid-template-columns:repeat(3,1fr) !important; } }
@media (max-width:760px)  { .products-grid,.shop-products-grid { grid-template-columns:repeat(2,1fr) !important; } }
@media (max-width:420px)  { .products-grid,.shop-products-grid { grid-template-columns:1fr !important; } }


/* Account sidebar — desktop show, mobile handled above */
@media (min-width:769px) {
  .acct-mobile-header { display:none !important; }
  .acct-sidebar { display:block !important; } }


/* Orders */
@media (max-width:768px) {
  .checkout-grid[style*="320px"] { grid-template-columns:1fr !important; } }
@media (max-width:600px) {
  .order-progress { overflow-x:auto; padding-bottom:.5rem; }
  .order-progress > div { min-width:460px; } }

/* Login */
@media (max-width:480px) {
  .login-box { padding:1.5rem 1rem !important; border-radius:12px !important; }
  .login-page { padding:1rem .5rem !important; } }

/* Contact */
@media (max-width:700px) {
  .contact-grid { grid-template-columns:1fr !important; }
  .contact-wrap { padding:1.5rem .75rem 3rem; } }

/* Footer */
@media (max-width:768px) { .footer-grid { grid-template-columns:1fr 1fr !important; gap:1.5rem !important; } }
@media (max-width:420px) {
  .footer-grid { grid-template-columns:1fr !important; }
  .footer-bottom { flex-direction:column; text-align:center; gap:.5rem; } }

/* Blog grid */
@media (max-width:500px) { div[style*="repeat(auto-fill,minmax(300px"] { grid-template-columns:1fr !important; } }

/* Certifications */
@media (max-width:600px) { div[style*="repeat(auto-fill,minmax(280px"] { grid-template-columns:1fr !important; } }

/* Announcement bar */
@media (max-width:380px) { .announcement-bar { font-size:.58rem; letter-spacing:.04em; } }
