/* ==========================================================================
   Aix24.com – Amazon-inspired WooCommerce Block Theme Styles
   ========================================================================== */

:root {
  --aix-navy: var(--wp--preset--color--brand-navy, #0f2a56);
  --aix-blue: var(--wp--preset--color--brand-blue, #5373ca);
  --aix-blue-dark: var(--wp--preset--color--brand-blue-dark, #1e3f7a);
  --aix-yellow: var(--wp--preset--color--brand-yellow, #ffd23f);
  --aix-yellow-hover: var(--wp--preset--color--brand-yellow-hover, #f5c21b);
  --aix-sale: var(--wp--preset--color--brand-sale, #d91e5b);
  --aix-bg: var(--wp--preset--color--surface-page, #f3f5f9);
  --aix-card: var(--wp--preset--color--surface-card, #ffffff);
  --aix-subtle: var(--wp--preset--color--surface-subtle, #e8edf5);
  --aix-ink: var(--wp--preset--color--ink-primary, #111827);
  --aix-muted: var(--wp--preset--color--ink-muted, #4b5563);
  --aix-border: var(--wp--preset--color--border-subtle, #d1d9e6);
  --aix-success: var(--wp--preset--color--success, #15803d);
  --aix-radius: 10px;
  --aix-shadow: 0 1px 3px rgba(15, 42, 86, 0.08), 0 1px 2px rgba(15, 42, 86, 0.04);
  --aix-shadow-hover: 0 10px 24px rgba(15, 42, 86, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--aix-bg);
  color: var(--aix-ink);
  -webkit-font-smoothing: antialiased;
}

body.aix24-drawer-open {
  overflow: hidden;
}

a {
  color: var(--aix-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--aix-blue);
  outline-offset: 2px;
}

.aix24-site-header :focus-visible,
.aix24-site-footer :focus-visible {
  outline-color: var(--aix-yellow);
}

/* ==========================================================================
   Header (2-Row Sticky Amazon-Style)
   ========================================================================== */
.aix24-site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--aix-navy);
  color: #fff;
  box-shadow: 0 2px 10px rgba(15, 42, 86, 0.22);
}

.aix24-header-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.aix24-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
}

.aix24-logo-link:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.aix24-logo-link img {
  display: block;
  height: 44px;
  width: auto;
}

/* Search Bar */
.aix24-search-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.aix24-search-form {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.aix24-search-form:focus-within {
  border-color: var(--aix-yellow);
}

.aix24-search-select {
  background: #eef2f7;
  color: var(--aix-ink);
  border: 0;
  border-right: 1px solid var(--aix-border);
  padding: 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  max-width: 155px;
  cursor: pointer;
}

.aix24-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  color: var(--aix-ink);
  background: #fff;
}

.aix24-search-input:focus {
  outline: none;
}

.aix24-search-btn {
  background: var(--aix-yellow);
  color: var(--aix-ink);
  border: 0;
  padding: 0 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.aix24-search-btn:hover {
  background: var(--aix-yellow-hover);
}

.aix24-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  color: var(--aix-ink);
  border-radius: var(--aix-radius);
  box-shadow: 0 14px 36px rgba(15, 42, 86, 0.22);
  border: 1px solid var(--aix-border);
  overflow: hidden;
  z-index: 120;
}

.aix24-search-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  color: var(--aix-ink);
  border-bottom: 1px solid var(--aix-subtle);
  text-decoration: none;
}

.aix24-search-item:last-child {
  border-bottom: 0;
}

.aix24-search-item:hover {
  background: var(--aix-subtle);
  text-decoration: none;
}

.aix24-search-item img,
.aix24-search-thumb-ph {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--aix-bg);
}

.aix24-search-item-title {
  flex: 1 1 auto;
  font-size: 0.9rem;
  font-weight: 500;
}

.aix24-search-item-price {
  font-weight: 700;
  color: var(--aix-navy);
  white-space: nowrap;
}

.aix24-search-empty {
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  color: var(--aix-muted);
}

/* Header Actions */
.aix24-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.aix24-header-account {
  display: flex;
  flex-direction: column;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  color: #fff;
  line-height: 1.2;
}

.aix24-header-account:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.aix24-account-eyebrow {
  font-size: 0.72rem;
  color: #cbd5e1;
}

.aix24-account-label {
  font-size: 0.875rem;
  font-weight: 700;
}

.aix24-mini-cart .wc-block-mini-cart__button {
  color: #fff;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
}

.aix24-mini-cart .wc-block-mini-cart__button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.aix24-mini-cart .wc-block-mini-cart__badge {
  background: var(--aix-yellow) !important;
  color: var(--aix-navy) !important;
  font-weight: 700;
}

/* Header Row 2 (Subnav) */
.aix24-header-sub {
  background: var(--aix-blue-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.aix24-subnav {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.aix24-subnav::-webkit-scrollbar {
  display: none;
}

.aix24-drawer-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: #fff;
  border: 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 4px;
}

.aix24-drawer-trigger:hover {
  background: rgba(255, 255, 255, 0.12);
}

.aix24-subnav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.aix24-subnav-links a {
  display: inline-block;
  color: #eef2ff;
  padding: 0.55rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 4px;
}

.aix24-subnav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}

/* Slide-out Drawer */
.aix24-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 200;
}

.aix24-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  color: var(--aix-ink);
  z-index: 210;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 32px rgba(0, 0, 0, 0.28);
}

.aix24-drawer[hidden],
.aix24-drawer-backdrop[hidden] {
  display: none;
}

.aix24-drawer-header {
  background: var(--aix-navy);
  color: #fff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
}

.aix24-drawer-close {
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.45rem;
}

.aix24-drawer-body {
  overflow-y: auto;
  padding: 1rem 0 2rem;
}

.aix24-drawer-section {
  margin: 0.75rem 1.25rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--aix-muted);
}

.aix24-drawer-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.aix24-drawer-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
  color: var(--aix-ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.aix24-drawer-list a:hover {
  background: var(--aix-bg);
  text-decoration: none;
}

.aix24-drawer-count {
  background: var(--aix-subtle);
  color: var(--aix-navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

/* ==========================================================================
   Main Layout & Sections
   ========================================================================== */
.aix24-main {
  min-height: 60vh;
  padding-bottom: 3rem;
}

.aix24-section {
  max-width: 1440px;
  margin: 1.75rem auto;
  padding: 0 1.25rem;
}

.aix24-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.aix24-section-head h2 {
  margin: 0;
  font-size: 1.4rem;
}

.aix24-section-head p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.aix24-page-wrap {
  max-width: 1280px;
  margin: 1.75rem auto;
  padding: 0 1.25rem;
}

.aix24-surface-box {
  background: var(--aix-card);
  border-radius: var(--aix-radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--aix-shadow);
  border: 1px solid var(--aix-subtle);
}

/* ==========================================================================
   Hero & USP Bar
   ========================================================================== */
.aix24-hero {
  background: linear-gradient(125deg, var(--aix-navy) 0%, #24468a 58%, var(--aix-blue) 100%);
  color: #fff;
  padding: clamp(2rem, 4vw, 3.25rem) 1.25rem;
}

.aix24-hero-cols {
  max-width: 1440px;
  margin: 0 auto;
  gap: 2rem;
}

.aix24-hero-eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 210, 63, 0.18);
  color: var(--aix-yellow);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.aix24-hero-title {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.15;
}

.aix24-hero-subtitle {
  color: #e2e8f0;
  margin: 0 0 1.35rem;
  max-width: 58ch;
  font-size: 1.02rem;
}

.aix24-btn-ghost .wp-block-button__link {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.aix24-btn-ghost .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.aix24-hero-cards {
  display: grid;
  gap: 0.75rem;
}

.aix24-hero-mini-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.97);
  color: var(--aix-ink);
  border-radius: var(--aix-radius);
  box-shadow: 0 8px 20px rgba(7, 20, 44, 0.18);
  transition: transform 0.15s ease;
}

.aix24-hero-mini-card:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.aix24-hero-mini-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--aix-blue);
}

.aix24-hero-mini-card strong {
  font-size: 1rem;
  color: var(--aix-navy);
}

.aix24-hero-mini-card span:last-child {
  font-size: 0.85rem;
  color: var(--aix-muted);
}

/* USP Strip */
.aix24-usp-bar {
  background: #fff;
  border-bottom: 1px solid var(--aix-border);
}

.aix24-usp-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.95rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.aix24-usp-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.aix24-usp-icon {
  font-size: 1.45rem;
  flex-shrink: 0;
}

.aix24-usp-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--aix-navy);
}

.aix24-usp-item span:last-child {
  display: block;
  font-size: 0.78rem;
  color: var(--aix-muted);
}

/* ==========================================================================
   Category Tiles Grid
   ========================================================================== */
.aix24-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.aix24-cat-card {
  background: var(--aix-card);
  border-radius: var(--aix-radius);
  border: 1px solid var(--aix-subtle);
  box-shadow: var(--aix-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--aix-ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.aix24-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--aix-shadow-hover);
  text-decoration: none;
}

.aix24-cat-card-img {
  aspect-ratio: 4 / 3;
  background: #fff;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--aix-subtle);
}

.aix24-cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.aix24-cat-card-body {
  padding: 0.85rem 1rem;
}

.aix24-cat-card-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--aix-navy);
}

.aix24-cat-card-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--aix-blue);
}

/* ==========================================================================
   WooCommerce Product Cards (Grid & Horizontal Carousels)
   ========================================================================== */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  background: var(--aix-card);
  border: 1px solid var(--aix-subtle);
  border-radius: var(--aix-radius);
  padding: 1rem;
  box-shadow: var(--aix-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--aix-shadow-hover);
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  color: var(--aix-ink);
  text-decoration: none;
}

.woocommerce ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  margin: 0 0 0.75rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--aix-ink);
  margin: 0 0 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link:hover .woocommerce-loop-product__title {
  color: var(--aix-blue);
}

.woocommerce ul.products li.product .price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--aix-navy);
  margin: auto 0 0.35rem;
}

.woocommerce ul.products li.product .price del {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--aix-muted);
  margin-right: 0.35rem;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  color: var(--aix-sale);
}

.woocommerce ul.products li.product .wc-gzd-additional-info,
.woocommerce ul.products li.product .unit-price,
.woocommerce ul.products li.product .delivery-time-info,
.woocommerce ul.products li.product .shipping-costs-info {
  font-size: 0.76rem;
  color: var(--aix-muted);
  line-height: 1.35;
  margin: 0.15rem 0;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  margin-top: 0.75rem;
  width: 100%;
  text-align: center;
  background: var(--aix-yellow);
  color: var(--aix-ink);
  border: 1px solid #e5b822;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background: var(--aix-yellow-hover);
  color: var(--aix-ink);
}

.woocommerce span.onsale {
  background: var(--aix-sale);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  min-height: 0;
  min-width: 0;
  line-height: 1.2;
  padding: 0.3rem 0.65rem;
  top: 0.75rem;
  left: 0.75rem;
  right: auto;
}

/* Horizontal Category Carousels */
.aix24-carousel-section {
  background: var(--aix-card);
  border: 1px solid var(--aix-subtle);
  border-radius: var(--aix-radius);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--aix-shadow);
}

.aix24-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.aix24-carousel-head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--aix-navy);
}

.aix24-carousel-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.aix24-carousel-more {
  font-size: 0.875rem;
  font-weight: 600;
}

.aix24-carousel-arrows {
  display: flex;
  gap: 0.35rem;
}

.aix24-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--aix-border);
  background: #fff;
  color: var(--aix-navy);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aix24-arrow-btn:hover {
  background: var(--aix-subtle);
}

.aix24-carousel-track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.4rem;
}

.aix24-carousel-track ul.products.aix24-carousel-list {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 0.9rem;
}

.aix24-carousel-track ul.products.aix24-carousel-list li.product {
  flex: 0 0 230px;
  scroll-snap-align: start;
  box-shadow: none;
}

/* ==========================================================================
   Shop Archive & Sidebar Filters
   ========================================================================== */
.aix24-shop-layout {
  max-width: 1440px;
  margin: 1.25rem auto;
  padding: 0 1.25rem;
}

.aix24-shop-columns {
  gap: 1.5rem;
  align-items: flex-start;
}

.aix24-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 118px;
}

.aix24-filter-card {
  background: var(--aix-card);
  border: 1px solid var(--aix-subtle);
  border-radius: var(--aix-radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--aix-shadow);
}

.aix24-filter-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--aix-navy);
}

.aix24-filter-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.aix24-filter-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  color: var(--aix-ink);
  font-size: 0.88rem;
}

.aix24-filter-cats a:hover,
.aix24-filter-cats a.is-active {
  background: var(--aix-subtle);
  color: var(--aix-navy);
  font-weight: 700;
  text-decoration: none;
}

.aix24-filter-count {
  font-size: 0.75rem;
  color: var(--aix-muted);
}

.aix24-price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.aix24-price-inputs label span {
  display: block;
  font-size: 0.76rem;
  color: var(--aix-muted);
  margin-bottom: 0.2rem;
}

.aix24-price-inputs input {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--aix-border);
  border-radius: 6px;
  font-size: 0.88rem;
}

.aix24-stock-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
  cursor: pointer;
}

.aix24-filter-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.aix24-filter-submit {
  flex: 1;
  background: var(--aix-yellow);
  color: var(--aix-ink);
  border: 1px solid #e5b822;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.aix24-filter-reset {
  font-size: 0.82rem;
}

/* ==========================================================================
   Single Product (Amazon-style Buy-Box)
   ========================================================================== */
.aix24-single-product-wrap {
  max-width: 1380px;
  margin: 1.25rem auto;
  padding: 0 1.25rem;
}

.single-product div.product {
  background: var(--aix-card);
  border-radius: var(--aix-radius);
  padding: clamp(1.1rem, 2.5vw, 2rem);
  box-shadow: var(--aix-shadow);
  border: 1px solid var(--aix-subtle);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

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

.single-product div.product .woocommerce-product-gallery__image img {
  border-radius: 8px;
  background: #fff;
}

.single-product div.product .summary.entry-summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  background: #fafbfd;
  border: 1px solid var(--aix-border);
  border-radius: var(--aix-radius);
  padding: 1.35rem;
}

.single-product div.product .product_title {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin: 0 0 0.5rem;
  color: var(--aix-navy);
}

.single-product div.product p.price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--aix-navy);
  margin: 0.5rem 0;
}

.single-product div.product form.cart {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.single-product div.product .single_add_to_cart_button {
  flex: 1 1 200px;
  background: var(--aix-yellow) !important;
  color: var(--aix-ink) !important;
  border: 1px solid #e5b822 !important;
  border-radius: 999px !important;
  padding: 0.85rem 1.4rem !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.single-product div.product .single_add_to_cart_button:hover {
  background: var(--aix-yellow-hover) !important;
}

.single-product div.product .woocommerce-tabs,
.single-product div.product section.related.products,
.single-product div.product section.upsells.products {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
}

.aix24-buybox-trust {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--aix-border);
  display: grid;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--aix-muted);
}

.aix24-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.aix24-trust-dot {
  color: var(--aix-success);
  font-weight: 800;
}

/* Mobile Sticky Add-to-Cart */
.aix24-mobile-sticky-atc {
  display: none;
}

/* ==========================================================================
   My Account Tiles & Cart / Checkout Polish
   ========================================================================== */
.aix24-account-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.aix24-account-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: var(--aix-bg);
  border: 1px solid var(--aix-border);
  border-radius: var(--aix-radius);
  color: var(--aix-ink);
}

.aix24-account-tile:hover {
  background: var(--aix-subtle);
  text-decoration: none;
}

.aix24-account-tile-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.aix24-account-tile strong {
  display: block;
  font-size: 0.95rem;
  color: var(--aix-navy);
  margin-bottom: 0.15rem;
}

.aix24-account-tile span {
  display: block;
  font-size: 0.8rem;
  color: var(--aix-muted);
}

.aix24-trust-box {
  background: var(--aix-card);
  border: 1px solid var(--aix-subtle);
  border-radius: var(--aix-radius);
  padding: 1.75rem;
  box-shadow: var(--aix-shadow);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.aix24-site-footer {
  background: var(--aix-navy);
  color: #e2e8f0;
  margin-top: 2rem;
}

.aix24-back-to-top {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.8rem 1rem;
  background: var(--aix-blue-dark);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.aix24-back-to-top:hover {
  background: #274d93;
  color: #fff;
  text-decoration: none;
}

.aix24-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem;
}

.aix24-footer-cols h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.aix24-footer-cols p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.aix24-footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.aix24-footer-cols a {
  color: #cbd5e1;
  font-size: 0.88rem;
}

.aix24-footer-cols a:hover {
  color: #fff;
}

.aix24-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.15rem 1.25rem;
}

.aix24-footer-bottom-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.aix24-footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.aix24-pay-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.aix24-footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .aix24-usp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .single-product div.product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  .aix24-header-main {
    flex-wrap: wrap;
    padding: 0.55rem 0.9rem;
    gap: 0.55rem;
  }
  .aix24-logo-link {
    order: 1;
  }
  .aix24-logo-link img {
    height: 36px;
  }
  .aix24-header-actions {
    order: 2;
    margin-left: auto;
  }
  .aix24-account-eyebrow {
    display: none;
  }
  .aix24-search-wrap {
    order: 3;
    flex-basis: 100%;
  }
  .aix24-search-select {
    max-width: 105px;
    padding: 0 0.45rem;
    font-size: 0.8rem;
  }
  .aix24-subnav {
    padding: 0 0.75rem;
  }
  .aix24-sidebar {
    position: static;
  }
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .aix24-usp-grid {
    grid-template-columns: 1fr;
  }
  .aix24-mobile-sticky-atc:not([hidden]) {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    background: #fff;
    border-top: 1px solid var(--aix-border);
    box-shadow: 0 -4px 18px rgba(15, 42, 86, 0.14);
    padding: 0.65rem 1rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .aix24-sticky-atc-info {
    min-width: 0;
  }
  .aix24-sticky-atc-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .aix24-sticky-atc-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--aix-navy);
  }
  .aix24-sticky-atc-btn {
    background: var(--aix-yellow);
    color: var(--aix-ink);
    border: 1px solid #e5b822;
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  .aix24-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

