/*
Theme Name:   Akash Marketing (Best Shop Child)
Theme URI:    https://akashmarketing.com/
Description:  Apple-inspired precision industrial hardware & e-commerce child theme for Akash Marketing.
Author:       Akash Marketing
Template:     best-shop
Version:      2.0.0
Text Domain:  best-shop-child
*/

:root {
  --ak-bg: #ffffff;
  --ak-surface: #f5f5f7;
  --ak-surface-2: #fbfbfd;
  --ak-dark: #0a0b0e;
  --ak-dark-2: #14161c;
  --ak-ink: #1d1d1f;
  --ak-muted: #6e6e73;
  --ak-border: rgba(0, 0, 0, 0.08);
  --ak-border-dark: rgba(255, 255, 255, 0.12);
  --ak-gold: #ffd800;
  --ak-gold-hover: #f0c800;
  --ak-teal: #0f8f7e;
  --ak-green: #16a34a;
  --ak-radius-sm: 10px;
  --ak-radius-md: 18px;
  --ak-radius-lg: 26px;
  --ak-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
  --ak-shadow-md: 0 12px 36px rgba(0, 0, 0, 0.08);
  --ak-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.14);
  --ak-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --ak-max: 1320px;
}

/* Global Safety & Typography */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden !important;
  width: 100%;
  background: var(--ak-bg);
  color: var(--ak-ink);
  font-family: var(--ak-font) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

.ak-wrap {
  width: 100%;
  max-width: var(--ak-max);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Override parent theme blank gaps & hide breadcrumbs on front page */
.home .entry-header,
.home .page-header,
.home .crumbs,
.home .breadcrumb-wrapper,
.home .breadcrumb-trail,
.page-id-699 .entry-header,
.page-id-699 .page-header {
  display: none !important;
}

.home #primary,
.home .site-main,
.home .entry-content,
.home .content-area {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

/* ==========================================================================
   HEADER & NAVIGATION (Apple Frosted Glass + Responsive 320px to 4K)
   ========================================================================== */
.ak-topbar {
  background: var(--ak-dark);
  color: #d1d5db;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.ak-topbar-inner {
  max-width: var(--ak-max);
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ak-topbar-left,
.ak-topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ak-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e5e7eb !important;
  text-decoration: none !important;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.ak-topbar-item:hover {
  color: var(--ak-gold) !important;
}

.ak-topbar-item svg {
  width: 13px;
  height: 13px;
  stroke: var(--ak-gold);
  flex-shrink: 0;
}

.ak-topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 216, 0, 0.12);
  border: 1px solid rgba(255, 216, 0, 0.28);
  color: var(--ak-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ak-topbar-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.18s ease, transform 0.18s ease;
}

.ak-topbar-wa:hover {
  background: #15803d;
  transform: translateY(-1px);
}

.site-header.ak-glass-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.ak-nav-shell {
  max-width: var(--ak-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ak-brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none !important;
}

.ak-brand-logo img {
  height: 44px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.ak-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ak-nav-links > li {
  position: relative;
}

.ak-nav-links > li > a,
.ak-nav-links > li > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ak-ink) !important;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.ak-nav-links > li > a:hover,
.ak-nav-links > li > button:hover,
.ak-nav-links > li.is-open > button {
  background: var(--ak-surface);
  color: #000000 !important;
}

/* Mega Dropdown for Categories */
.ak-mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -120px;
  width: min(740px, 88vw);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
  padding: 20px;
  display: none;
  z-index: 1200;
}

.ak-has-mega:hover .ak-mega-menu,
.ak-has-mega.is-open .ak-mega-menu,
.ak-has-mega:focus-within .ak-mega-menu {
  display: block;
}

.ak-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ak-mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none !important;
  color: var(--ak-ink) !important;
  background: var(--ak-surface-2);
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.ak-mega-item:hover {
  background: #ffffff;
  border-color: var(--ak-gold);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.ak-mega-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ak-surface);
  object-fit: contain;
  padding: 4px;
  flex-shrink: 0;
}

.ak-mega-meta strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ak-ink);
}

.ak-mega-meta span {
  font-size: 11.5px;
  color: var(--ak-muted);
}

/* Header Search & Utility Actions */
.site-header.ak-glass-header .ak-header-search.woocommerce-bar,
.ak-header-search {
  flex: 1 1 260px !important;
  min-width: 220px !important;
  max-width: 340px !important;
  position: relative !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
}

.site-header.ak-glass-header .ak-header-search .product-search-form {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  height: auto !important;
}

.site-header.ak-glass-header .ak-header-search .ak-live-search-dropdown {
  min-width: min(440px, 92vw) !important;
  right: 0 !important;
  left: auto !important;
}

.site-header.ak-glass-header .ak-header-search form {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 40px !important;
  background: var(--ak-surface) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 999px !important;
  padding: 0 5px 0 14px !important;
  margin: 0 !important;
  position: relative !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
}

.site-header.ak-glass-header .ak-header-search form:focus-within {
  background: #ffffff !important;
  border-color: var(--ak-ink) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
}

.site-header.ak-glass-header .ak-header-search .header-search-input {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  position: static !important;
  float: none !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 13px !important;
  color: var(--ak-ink) !important;
  outline: none !important;
  padding: 0 8px 0 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.site-header.ak-glass-header .ak-header-search .header-search-button {
  position: static !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  flex: 0 0 30px !important;
  border-radius: 50% !important;
  border: none !important;
  background: var(--ak-dark) !important;
  background-image: none !important;
  color: var(--ak-gold) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.site-header.ak-glass-header .ak-header-search .header-search-button svg {
  width: 14px !important;
  height: 14px !important;
  stroke: var(--ak-gold) !important;
  fill: none !important;
  display: block !important;
}

.ak-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ak-icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--ak-surface);
  color: var(--ak-ink) !important;
  text-decoration: none !important;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.18s ease;
}

.ak-icon-pill:hover {
  background: var(--ak-dark);
  color: #ffffff !important;
}

.ak-cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ak-dark);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.ak-cart-pill:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.ak-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ak-gold);
  color: #000000;
  font-size: 11px;
  font-weight: 800;
}

.ak-call-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ak-gold);
  color: #111111 !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.ak-call-pill:hover {
  background: #111111;
  color: #ffffff !important;
}

.ak-mobile-trigger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--ak-surface);
  color: var(--ak-ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   APPLE-GRADE HOMEPAGE SECTIONS
   ========================================================================== */
.ak-hero {
  position: relative;
  background: var(--ak-dark);
  color: #ffffff;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.ak-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ak-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.ak-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(10, 11, 14, 0.94) 0%,
    rgba(10, 11, 14, 0.82) 38%,
    rgba(10, 11, 14, 0.34) 68%,
    rgba(10, 11, 14, 0.14) 100%
  );
}

.ak-hero-inner {
  position: relative;
  z-index: 2;
  padding: 84px 0;
  width: 100%;
}

.ak-hero-copy {
  max-width: 640px;
}

.ak-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 216, 0, 0.14);
  border: 1px solid rgba(255, 216, 0, 0.34);
  color: #ffe866;
}

.ak-hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #ffffff;
  margin: 18px 0 18px;
}

.ak-hero p {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  color: #d1d5db;
  margin: 0 0 28px;
  max-width: 560px;
}

.ak-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.ak-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  white-space: nowrap;
}

.ak-btn-gold {
  background: var(--ak-gold);
  color: #111111 !important;
  box-shadow: 0 8px 26px rgba(255, 216, 0, 0.28);
}

.ak-btn-gold:hover {
  background: #ffffff;
  color: #111111 !important;
  transform: translateY(-2px);
}

.ak-btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff !important;
  backdrop-filter: blur(12px);
}

.ak-btn-glass:hover {
  background: #ffffff;
  color: #111111 !important;
  border-color: #ffffff;
}

.ak-btn-dark {
  background: var(--ak-dark);
  color: #ffffff !important;
}

.ak-btn-dark:hover {
  background: var(--ak-gold);
  color: #111111 !important;
}

.ak-btn-outline {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--ak-ink) !important;
}

.ak-btn-outline:hover {
  border-color: var(--ak-ink);
  background: var(--ak-ink);
  color: #ffffff !important;
}

.ak-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ak-hero-chips a {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #f3f4f6 !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  transition: all 0.18s ease;
}

.ak-hero-chips a:hover {
  background: var(--ak-gold);
  border-color: var(--ak-gold);
  color: #111111 !important;
}

/* Spec / Trust Strip */
.ak-spec-strip {
  background: #111318;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.ak-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.ak-spec-item {
  background: #111318;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ak-spec-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 216, 0, 0.12);
  color: var(--ak-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ak-spec-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.ak-spec-item span {
  display: block;
  font-size: 12.5px;
  color: #9ca3af;
}

/* Shared Section Rhythm */
.ak-section {
  padding: 80px 0;
}

.ak-section-soft {
  background: var(--ak-surface);
}

.ak-section-dark {
  background: var(--ak-dark);
  color: #ffffff;
}

.ak-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.ak-section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ak-teal);
  margin-bottom: 10px;
}

.ak-section-dark .ak-section-kicker {
  color: var(--ak-gold);
}

.ak-h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--ak-ink);
}

.ak-section-dark .ak-h2 {
  color: #ffffff;
}

.ak-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ak-muted);
  max-width: 680px;
  margin: 0;
}

.ak-section-dark .ak-lead {
  color: #9ca3af;
}

/* Category Bento Grid */
.ak-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ak-cat-card {
  display: flex;
  flex-direction: column;
  background: var(--ak-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--ak-radius-md);
  overflow: hidden;
  text-decoration: none !important;
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.ak-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ak-shadow-md);
  border-color: var(--ak-gold);
  background: #ffffff;
}

.ak-cat-img-box {
  aspect-ratio: 4 / 3;
  background: #ffffff;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ak-cat-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.ak-cat-card:hover .ak-cat-img-box img {
  transform: scale(1.06);
}

.ak-cat-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.ak-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ak-cat-body h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ak-ink);
  margin: 0;
}

.ak-cat-count {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ak-muted);
  background: rgba(0, 0, 0, 0.05);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.ak-cat-body p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ak-muted);
  margin: 0;
}

/* Interactive Product Filter Tabs */
.ak-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.ak-tab-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  color: var(--ak-ink);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ak-tab-btn:hover {
  border-color: var(--ak-ink);
}

.ak-tab-btn.is-active {
  background: var(--ak-dark);
  color: var(--ak-gold);
  border-color: var(--ak-dark);
}

.ak-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ak-prod-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--ak-radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ak-prod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ak-shadow-md);
  border-color: var(--ak-gold);
}

.ak-prod-card.is-hidden {
  display: none !important;
}

.ak-prod-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: var(--ak-surface-2);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}

.ak-prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.ak-prod-card:hover .ak-prod-thumb img {
  transform: scale(1.04);
}

.ak-prod-cat-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ak-teal);
  margin-bottom: 6px;
}

.ak-prod-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ak-ink) !important;
  text-decoration: none !important;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 41px;
}

.ak-prod-price {
  font-size: 19px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ak-ink);
  margin-bottom: 14px;
}

.ak-prod-btns {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ak-prod-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 42px;
  border-radius: 999px;
  background: var(--ak-gold);
  color: #111111 !important;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none !important;
  border: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.ak-prod-add:hover {
  background: var(--ak-dark);
  color: #ffffff !important;
}

.ak-prod-sub-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ak-prod-buy,
.ak-prod-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.18s ease;
}

.ak-prod-buy {
  background: var(--ak-surface);
  color: var(--ak-ink) !important;
}

.ak-prod-buy:hover {
  background: var(--ak-dark);
  color: #ffffff !important;
}

.ak-prod-wa {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d !important;
}

.ak-prod-wa:hover {
  background: #16a34a;
  color: #ffffff !important;
}

/* Solutions Bento Cards */
.ak-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ak-sol-card {
  position: relative;
  border-radius: var(--ak-radius-lg);
  overflow: hidden;
  background: var(--ak-dark);
  color: #ffffff;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none !important;
}

.ak-sol-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ak-sol-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.08) 15%, rgba(10, 11, 14, 0.92) 95%);
}

.ak-sol-card:hover img {
  transform: scale(1.05);
}

.ak-sol-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.ak-sol-content span {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ak-gold);
  margin-bottom: 8px;
}

.ak-sol-content h3 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
}

.ak-sol-content p {
  font-size: 14px;
  line-height: 1.55;
  color: #d1d5db;
  margin: 0 0 14px;
}

.ak-sol-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ak-gold);
}

/* Brand Experience Split */
.ak-about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.ak-about-photo {
  border-radius: var(--ak-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ak-border-dark);
  box-shadow: var(--ak-shadow-lg);
}

.ak-about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.ak-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.ak-feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
  font-weight: 600;
  color: #f3f4f6;
}

/* Video & Store Showcase */
.ak-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ak-video-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--ak-radius-md);
  overflow: hidden;
  box-shadow: var(--ak-shadow-sm);
}

.ak-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0b0e;
}

.ak-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ak-video-info {
  padding: 20px 22px;
}

.ak-video-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}

.ak-video-info p {
  font-size: 14px;
  color: var(--ak-muted);
  margin: 0;
}

/* FAQ & Callback Consultation Section */
.ak-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ak-faq-grid details {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
}

.ak-faq-grid summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ak-ink);
}

.ak-faq-grid details p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ak-muted);
}

.ak-consult-box {
  background: linear-gradient(135deg, #0a0b0e 0%, #171a23 100%);
  color: #ffffff;
  border-radius: var(--ak-radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.ak-consult-form {
  display: grid;
  gap: 12px;
}

.ak-consult-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ak-consult-input {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.ak-consult-input::placeholder {
  color: #9ca3af;
}

.ak-consult-input:focus {
  border-color: var(--ak-gold);
  background: rgba(255, 255, 255, 0.12);
}

.ak-consult-status {
  font-size: 13px;
  font-weight: 600;
  min-height: 20px;
}

/* ==========================================================================
   WOOCOMMERCE SHOP & SINGLE PRODUCT POLISH
   ========================================================================== */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  border-radius: var(--ak-radius-md) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 18px !important;
  background: #ffffff !important;
  box-shadow: var(--ak-shadow-sm) !important;
}

/* ==========================================================================
   MOBILE DRAWER & BOTTOM NAV
   ========================================================================== */
.ak-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10, 11, 14, 0.65);
  backdrop-filter: blur(6px);
}

.ak-drawer.is-open {
  display: block;
}

.ak-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(86vw, 350px);
  background: #ffffff;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ak-bottom-bar {
  display: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1024px Tablet, 768px Mobile, 480px Small Mobile)
   ========================================================================== */
@media (max-width: 1120px) {
  .ak-header-search {
    max-width: 240px;
  }
  .ak-nav-links > li > a,
  .ak-nav-links > li > button {
    padding: 8px 10px;
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  /* Keep desktop/tablet bar clean & visible at 769-1024px! */
  .ak-topbar-pill {
    display: none;
  }
  .ak-cat-grid,
  .ak-prod-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .ak-solutions-grid,
  .ak-about-split,
  .ak-consult-box {
    grid-template-columns: 1fr;
  }
  .ak-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .ak-nav-links,
  .ak-call-pill {
    display: none;
  }
  .ak-mobile-trigger {
    display: inline-flex;
  }
  .site-header.ak-glass-header .ak-header-search.woocommerce-bar,
  .ak-header-search {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 66px !important;
  }
  .ak-topbar-right {
    display: none;
  }
  .ak-topbar-inner {
    justify-content: center;
  }
  .ak-nav-shell {
    height: auto;
    flex-wrap: wrap;
    padding: 10px 16px;
    gap: 10px;
  }
  .ak-brand-logo img {
    height: 36px;
  }
  .site-header.ak-glass-header .ak-header-search.woocommerce-bar,
  .ak-header-search {
    order: 3;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .ak-hero {
    min-height: 540px;
  }
  .ak-hero::before {
    background: linear-gradient(180deg, rgba(10, 11, 14, 0.35) 0%, rgba(10, 11, 14, 0.88) 55%, rgba(10, 11, 14, 0.96) 100%);
  }
  .ak-hero-inner {
    padding: 44px 0 64px;
  }
  .ak-wa-float {
    display: none !important;
  }
  .ak-section {
    padding: 52px 0;
  }
  .ak-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .ak-video-grid,
  .ak-faq-grid,
  .ak-feature-list,
  .ak-consult-row {
    grid-template-columns: 1fr;
  }
  .ak-consult-box {
    padding: 26px 20px;
  }
  .ak-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62px;
    z-index: 99998;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 6px;
  }
  .ak-bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ak-muted);
    text-decoration: none !important;
  }
  .ak-bottom-bar a.is-wa {
    color: #16a34a;
  }
}

@media (max-width: 520px) {
  .ak-wrap {
    padding: 0 16px;
  }
  .ak-cat-grid,
  .ak-prod-grid,
  .woocommerce ul.products,
  .ak-spec-grid {
    grid-template-columns: 1fr !important;
  }
  .ak-cart-pill span.ak-cart-total-text {
    display: none;
  }
}

/* ==========================================================================
   APPLE-GRADE INNER PAGES: SHOP, CATEGORIES, PRODUCT, CART, CHECKOUT, BLOG, FAQ
   ========================================================================== */

/* 1. Global Full-Width Reset (Kills Phantom Left Sidebar Column!) */
body:not(.home) #content.site-content,
body:not(.home) .container,
body.woocommerce #content .container,
body.woocommerce-page #content .container,
body.search #content .container {
  max-width: var(--ak-max) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

body.woocommerce #primary,
body.woocommerce-page #primary,
body.search #primary,
body.full-width #primary,
body:not(.home) #primary.content-area {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 28px 0 72px !important;
}

/* Hide empty parent theme breadcrumbs bar if duplicated, style clean WooCommerce breadcrumb */
.breadcrumb-wrapper {
  background: var(--ak-surface) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  padding: 12px 0 !important;
  margin: 0 !important;
  font-size: 13px !important;
  color: var(--ak-muted) !important;
}

.woocommerce .woocommerce-breadcrumb {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--ak-muted) !important;
  margin: 0 0 18px !important;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--ak-ink) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.woocommerce .woocommerce-breadcrumb a:hover {
  color: var(--ak-teal) !important;
}

/* 2. Shop & Category Archive Header + Horizontal Pill Filter Bar */
.woocommerce-products-header {
  background: var(--ak-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--ak-radius-lg);
  padding: 36px 36px 32px;
  margin-bottom: 24px;
}

.woocommerce-products-header__title.page-title {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  font-weight: 800 !important;
  color: var(--ak-ink) !important;
  margin: 0 0 8px !important;
}

.woocommerce-products-header .term-description p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ak-muted);
  max-width: 780px;
  margin: 8px 0 0;
}

.ak-archive-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  margin-bottom: 18px;
  scrollbar-width: thin;
}

.ak-archive-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ak-surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--ak-ink) !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  transition: all 0.18s ease;
}

.ak-archive-pill span {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.07);
  color: var(--ak-muted);
}

.ak-archive-pill:hover {
  border-color: var(--ak-ink);
  background: #ffffff;
}

.ak-archive-pill.is-active {
  background: var(--ak-dark);
  color: var(--ak-gold) !important;
  border-color: var(--ak-dark);
}

.ak-archive-pill.is-active span {
  background: rgba(255, 216, 0, 0.18);
  color: var(--ak-gold);
}

/* Result count & ordering bar */
.woocommerce .woocommerce-result-count {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--ak-muted) !important;
  margin: 10px 0 22px !important;
}

.woocommerce .woocommerce-ordering select {
  height: 40px !important;
  padding: 0 36px 0 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  background-color: #ffffff !important;
  font-family: var(--ak-font) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--ak-ink) !important;
}

/* Archive Product Card Buttons */
.woocommerce ul.products li.product .custom-cart-btn a.button {
  border-radius: 999px !important;
  height: 42px !important;
  background: var(--ak-gold) !important;
  color: #111111 !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
}

.woocommerce ul.products li.product .custom-cart-btn a.button:hover {
  background: var(--ak-dark) !important;
  color: #ffffff !important;
}

.woocommerce ul.products li.product .ak-product-actions a {
  border-radius: 999px !important;
  height: 38px !important;
  min-height: 38px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
}

/* Pagination Pills */
.woocommerce nav.woocommerce-pagination ul {
  border: none !important;
  display: inline-flex !important;
  gap: 6px !important;
  margin-top: 32px !important;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: #ffffff !important;
  color: var(--ak-ink) !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--ak-dark) !important;
  color: var(--ak-gold) !important;
  border-color: var(--ak-dark) !important;
}

/* 3. Single Product Page (Apple Hardware Stage) */
.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: start;
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.single-product div.product .woocommerce-product-gallery {
  background: var(--ak-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--ak-radius-lg);
  padding: 20px;
}

.single-product div.product .woocommerce-product-gallery img {
  border-radius: 14px;
  background: #ffffff;
}

.single-product div.product .woocommerce-tabs,
.single-product div.product .related.products,
.single-product div.product .upsells.products {
  grid-column: 1 / -1;
}

.single-product .summary .product_title {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  font-weight: 800 !important;
  color: var(--ak-ink) !important;
  margin-bottom: 12px !important;
}

.single-product .summary p.price {
  font-size: 28px !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums !important;
  color: var(--ak-ink) !important;
  margin: 0 0 18px !important;
}

.single-product .summary .woocommerce-product-details__short-description {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ak-muted);
  margin-bottom: 16px;
}

.single-product .summary .woocommerce-product-details__short-description p {
  margin-bottom: 8px;
}

.single-product .summary .woocommerce-product-details__short-description ul {
  padding-left: 18px;
  margin: 8px 0;
}

.single-product .summary .woocommerce-product-details__short-description li {
  margin-bottom: 4px;
}

/* Hide redundant outer title banner on single product pages & move WhatsApp float out of checkout inputs */
body.single-product .page-header,
body.single-product .entry-header,
body.single-product .page-title-wrap {
  display: none !important;
}

body.woocommerce-checkout .ak-wa-float,
body.woocommerce-cart .ak-wa-float {
  left: auto !important;
  right: 20px !important;
  bottom: 20px !important;
}

.single-product form.cart .quantity input.qty {
  height: 46px !important;
  width: 72px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 0, 0, 0.16) !important;
  font-weight: 700 !important;
  text-align: center !important;
}

.single-product form.cart .single_add_to_cart_button {
  height: 46px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  background: var(--ak-gold) !important;
  color: #111111 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  border: none !important;
}

.single-product form.cart .single_add_to_cart_button:hover {
  background: var(--ak-dark) !important;
  color: #ffffff !important;
}

.single-product .ak-single-action {
  height: 46px !important;
  border-radius: 999px !important;
  padding: 0 22px !important;
}

/* Single Product Tabs & Specs Table */
.single-product div.product .woocommerce-tabs {
  margin-top: 36px !important;
  background: var(--ak-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--ak-radius-lg);
  padding: 28px 32px !important;
}

.single-product div.product .woocommerce-tabs ul.tabs {
  padding: 0 !important;
  margin: 0 0 24px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  border: none !important;
}

.single-product div.product .woocommerce-tabs ul.tabs::before {
  display: none !important;
}

.single-product div.product .woocommerce-tabs ul.tabs li {
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: #ffffff !important;
  border-radius: 999px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.single-product div.product .woocommerce-tabs ul.tabs li::before,
.single-product div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.single-product div.product .woocommerce-tabs ul.tabs li a {
  padding: 10px 20px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--ak-ink) !important;
}

.single-product div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--ak-dark) !important;
  border-color: var(--ak-dark) !important;
}

.single-product div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--ak-gold) !important;
}

.single-product .woocommerce-Tabs-panel table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin: 18px 0;
}

.single-product .woocommerce-Tabs-panel table th,
.single-product .woocommerce-Tabs-panel table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  text-align: left;
}

.single-product .woocommerce-Tabs-panel table tr:nth-child(even) td {
  background: #fbfbfd;
}

/* 4. Cart, Checkout & My Account Polish */
.woocommerce-cart .entry-header,
.woocommerce-checkout .entry-header,
.woocommerce-account .entry-header,
.page-id-106 .entry-header,
.page-id-107 .entry-header,
.page-id-118 .entry-header,
.page-id-1151 .entry-header,
.page-id-116 .entry-header,
.page-id-109 .entry-header,
.page-id-117 .entry-header,
.page-id-108 .entry-header,
.page-id-3 .entry-header {
  background: var(--ak-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--ak-radius-lg);
  padding: 32px 36px;
  margin-bottom: 32px;
}

.entry-header .entry-title,
.page-header .page-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.025em !important;
  font-weight: 800 !important;
  color: var(--ak-ink) !important;
  margin: 0 !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.wc-block-components-text-input input {
  border-radius: 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  min-height: 46px !important;
  padding: 10px 14px !important;
  font-family: var(--ak-font) !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button {
  border-radius: 999px !important;
  font-weight: 700 !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: var(--ak-dark) !important;
  color: var(--ak-gold) !important;
  min-height: 48px !important;
  padding: 0 26px !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: var(--ak-gold) !important;
  color: #111111 !important;
}

.woocommerce-checkout #payment,
.woocommerce-cart .cart_totals {
  background: var(--ak-surface) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: var(--ak-radius-md) !important;
  padding: 24px !important;
}

/* 5. Editorial & Policy Pages + FAQ + Blog Grid */
.page-id-118 .entry-content,
.page-id-116 .entry-content,
.page-id-109 .entry-content,
.page-id-117 .entry-content,
.page-id-108 .entry-content,
.page-id-3 .entry-content,
.single-post .entry-content {
  max-width: 880px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #374151;
}

.page-id-118 .entry-content h4,
.page-id-116 .entry-content h4,
.page-id-109 .entry-content h4,
.page-id-117 .entry-content h2,
.page-id-108 .entry-content h2,
.page-id-3 .entry-content h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ak-ink);
  margin: 28px 0 10px;
}

.page-id-118 .entry-content h4 {
  background: var(--ak-surface);
  padding: 14px 18px;
  border-radius: 12px;
  border-left: 4px solid var(--ak-gold);
}

/* Blog Grid (Fixed: target .content-wrap-main & hide empty SVG placeholders) */
body.blog #secondary,
body.archive:not(.woocommerce) #secondary,
body.single-post #secondary {
  display: none !important;
}

body.blog #primary,
body.archive:not(.woocommerce) #primary,
body.single-post #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

body.blog .site-main .content-wrap-main,
body.archive:not(.woocommerce) .site-main .content-wrap-main {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
}

body.blog article.post,
body.archive:not(.woocommerce) article.post {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: var(--ak-radius-md) !important;
  overflow: hidden !important;
  padding: 24px !important;
  box-shadow: var(--ak-shadow-sm) !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.blog article.post .image:has(.svg-holder),
body.archive:not(.woocommerce) article.post .image:has(.svg-holder) {
  display: none !important;
}

body.blog article.post .image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

body.blog article.post .archive-content-wrapper {
  width: 100% !important;
  padding: 0 !important;
}

body.blog article.post .entry-meta .category a {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ak-teal);
  background: rgba(15, 143, 126, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  text-decoration: none;
}

body.blog article.post .entry-title {
  margin: 0 0 10px !important;
}

body.blog article.post .entry-title a {
  color: var(--ak-ink) !important;
  text-decoration: none !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

body.blog article.post .entry-title a:hover {
  color: var(--ak-teal) !important;
}

body.blog article.post .entry-content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ak-muted);
  margin: 0;
}

body.blog nav.navigation.pagination,
body.archive:not(.woocommerce) nav.navigation.pagination {
  grid-column: 1 / -1 !important;
  margin-top: 32px !important;
  text-align: center !important;
}

@media (max-width: 980px) {
  .single-product div.product {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  body.blog .site-main .content-wrap-main,
  body.archive:not(.woocommerce) .site-main .content-wrap-main {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body:not(.home) #content.site-content,
  body:not(.home) .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .woocommerce-products-header,
  .woocommerce-cart .entry-header,
  .woocommerce-checkout .entry-header,
  .single-product div.product .woocommerce-tabs {
    padding: 22px 18px !important;
  }
  body.blog .site-main .content-wrap-main,
  body.archive:not(.woocommerce) .site-main .content-wrap-main {
    grid-template-columns: 1fr !important;
  }
}
