/* AeroTech AU — Pure Enrichment (pureenrichment.com) Visual System & Color Palette */
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --at-white: #FFFFFF;
  --at-offwhite: #FAF8F5;
  --at-sandstone: #F5E6D8;
  --at-cocoa: #9A8473;
  --at-cocoa-light: #C6B6A9;
  --at-navy: #34556E;
  --at-navy-dark: #264054;
  --at-powder-blue: #9BB8D3;
  --at-sky-banner: #82ACE0;
  --at-charcoal: #3D4246;
  --at-muted: #6E7378;
  --at-border: #E4DFD9;
  --at-gold: #C8A97E;
  --at-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --at-font-script: 'Allura', 'Caveat', cursive;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--at-white);
  color: var(--at-charcoal);
  font-family: var(--at-font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.at-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Subtle Top Compliance & Shipping Bar */
.at-announcement {
  background-color: var(--at-navy);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 0;
  text-align: center;
}

/* Minimalist White Header (1:1 Pure Enrichment Header) */
.at-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid #EAE6E1;
  box-shadow: 0 2px 12px rgba(61, 66, 70, 0.04);
}

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

.at-brand-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.at-brand-wordmark {
  font-size: 31px;
  font-weight: 500;
  color: #4A4F54;
  letter-spacing: -0.03em;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.at-brand-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7A8085;
  margin-top: 2px;
  padding-left: 2px;
}

.at-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #3D4246;
}

.at-nav a:hover {
  color: var(--at-navy);
}

.at-nav-divider {
  width: 1px;
  height: 18px;
  background: #D8D4CE;
}

.at-nav-subbrand {
  font-family: var(--at-font-script);
  font-size: 24px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--at-navy);
}

.at-header-utils {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 600;
  color: #4A4F54;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.at-cart-Trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #F5F3F0;
  color: var(--at-navy);
  font-weight: 700;
}

.at-cart-Trigger:hover {
  background: var(--at-navy);
  color: #FFFFFF;
}

/* 1:1 Pure Enrichment Full-Width Split Hero Banner */
.at-pe-hero {
  position: relative;
  width: 100%;
  min-height: 540px;
  background-color: #3B4F63;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.at-pe-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 42, 56, 0.05) 0%, rgba(36, 54, 72, 0.42) 46%, rgba(42, 62, 82, 0.86) 100%);
}

.at-pe-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 36px;
  display: flex;
  justify-content: flex-end;
}

.at-pe-hero-content {
  max-width: 560px;
  text-align: center;
  color: #FFFFFF;
}

.at-script-new {
  font-family: var(--at-font-script);
  font-size: 56px;
  font-weight: 400;
  color: #B8D4EE;
  line-height: 0.9;
  margin-bottom: 6px;
}

.at-pe-hero-content h1 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.at-pe-hero-content p {
  font-size: 16px;
  font-weight: 400;
  color: #F0F4F8;
  max-width: 460px;
  margin: 0 auto 24px;
  line-height: 1.55;
}

.at-btn-powder {
  display: inline-block;
  background-color: var(--at-powder-blue);
  color: #1E3549;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 34px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.at-btn-powder:hover {
  background-color: #FFFFFF;
  color: var(--at-navy);
}

/* "Today's Featured Customer Favorites" 6-Column Product Carousel on Pure White */
.at-favorites-section {
  padding: 54px 0 46px;
  background: #FFFFFF;
}

.at-favorites-heading {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #4A4F54;
  letter-spacing: 0.03em;
  margin-bottom: 32px;
}

.at-favorites-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.at-fav-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.at-fav-img-box {
  border: 1px solid #DEDAD4;
  border-radius: 6px;
  padding: 12px;
  background: #FFFFFF;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.at-fav-card:hover .at-fav-img-box {
  border-color: var(--at-navy);
  transform: translateY(-3px);
}

.at-fav-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.at-fav-title {
  font-size: 12px;
  font-weight: 600;
  color: #3D4246;
  line-height: 1.4;
  min-height: 34px;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.at-fav-stars {
  color: #34556E;
  font-size: 11px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.at-fav-price {
  font-size: 12.5px;
  font-weight: 600;
  color: #54595F;
  margin-bottom: 10px;
}

.at-btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--at-navy);
  color: #FFFFFF;
  font-family: var(--at-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 16px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.at-btn-navy:hover {
  background-color: var(--at-navy-dark);
  color: #FFFFFF;
}

/* Non-blocking Add-to-Cart Toast (replaces native alert) */
.at-toast-host {
  position: fixed;
  top: 88px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.at-toast {
  pointer-events: auto;
  background: #FFFFFF;
  border: 1px solid var(--at-border);
  border-left: 4px solid var(--at-navy);
  box-shadow: 0 12px 32px rgba(52, 85, 110, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
  align-items: start;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.at-toast.at-toast-show {
  opacity: 1;
  transform: translateY(0);
}

.at-toast-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--at-navy);
  margin-bottom: 4px;
}

.at-toast-body {
  font-size: 13px;
  color: var(--at-charcoal);
  line-height: 1.45;
}

.at-toast-price {
  font-size: 12.5px;
  color: var(--at-muted);
  margin-top: 4px;
}

.at-toast-actions {
  display: flex;
  gap: 8px;
  grid-column: 1 / -1;
}

.at-toast-actions a,
.at-toast-actions button {
  font-family: var(--at-font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.at-toast-primary {
  background: var(--at-navy);
  color: #FFFFFF;
}

.at-toast-secondary {
  background: var(--at-sandstone);
  color: #4A433D;
}

.at-toast-close {
  background: transparent;
  border: none;
  color: #9AA0A6;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.at-cart-Trigger.at-cart-pulse {
  animation: atCartPulse 0.45s ease;
}

@keyframes atCartPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.at-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.at-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D5D0CA;
}

.at-dot.active {
  background: #8C857B;
}

/* Sandstone Cream Brand Story Band (#F5E6D8) */
.at-sandstone-band {
  background-color: var(--at-sandstone);
  padding: 52px 24px;
  text-align: center;
}

.at-sandstone-band h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4A433D;
  margin-bottom: 16px;
}

.at-sandstone-band p {
  max-width: 820px;
  margin: 0 auto 12px;
  font-size: 13.5px;
  color: #5C534C;
  line-height: 1.75;
}

.at-sandstone-band .at-subnote {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--at-navy);
  margin-top: 8px;
}

/* Dusty Cocoa Editorial Chapter Header (#9A8473) */
.at-cocoa-banner {
  background-color: var(--at-cocoa);
  color: #FFFFFF;
  text-align: center;
  padding: 34px 20px;
}

.at-cocoa-banner h2 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.at-cocoa-script {
  font-family: var(--at-font-script);
  font-size: 58px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 0.85;
  color: #FFFDFB;
}

/* 2x2 Category Lifestyle Grid with Midnight Navy Bottom Bar */
.at-cat-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 35%, #C9B9AC 35%, #C9B9AC 100%);
  padding: 28px 0 42px;
}

.at-cat-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.at-cat-tile {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(52, 45, 38, 0.08);
  overflow: hidden;
}

.at-cat-tile-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #F4F1ED;
}

.at-cat-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.at-cat-tile:hover .at-cat-tile-img img {
  transform: scale(1.03);
}

.at-cat-tile-bar {
  background-color: var(--at-navy);
  color: #FFFFFF;
  text-align: center;
  padding: 15px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Sky-Blue AeroPure Feature Band (#82ACE0) + 3 Editorial Columns */
.at-sky-band {
  background-color: var(--at-sky-banner);
  color: #1F364D;
  padding: 28px 24px;
  text-align: center;
  position: relative;
}

.at-sky-band-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.at-sky-script {
  font-family: var(--at-font-script);
  font-size: 54px;
  line-height: 0.95;
  color: #233B54;
}

.at-sky-sub {
  font-size: 18px;
  font-weight: 500;
  color: #233B54;
  margin-top: 4px;
}

.at-editorial-3col {
  padding: 42px 0 36px;
  background: #FFFFFF;
}

.at-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.at-editorial-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 16px;
  display: block;
}

.at-editorial-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #3D4246;
  margin-bottom: 8px;
}

.at-editorial-card p {
  font-size: 12.5px;
  color: #6E7378;
  line-height: 1.65;
  margin-bottom: 14px;
}

.at-shop-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3D4246;
  border-left: 2px solid var(--at-navy);
  padding-left: 8px;
}

/* Follow Us Social Strip */
.at-social-section {
  padding: 36px 0 0;
  text-align: center;
  background: #FFFFFF;
}

.at-social-section h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3D4246;
  margin-bottom: 6px;
}

.at-social-section p {
  font-size: 12.5px;
  color: #6E7378;
  margin-bottom: 24px;
}

.at-social-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
}

.at-social-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* Catalog Grid (4 Columns on Collection & PDP Related) */
.at-section {
  padding: 48px 0;
}

.at-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.at-card {
  background: #FFFFFF;
  border: 1px solid var(--at-border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.at-card:hover {
  box-shadow: 0 12px 28px rgba(52, 85, 110, 0.1);
  transform: translateY(-3px);
}

.at-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 6px;
}

.at-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.at-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--at-sandstone);
  color: #4A433D;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.at-card-cat {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--at-cocoa);
  margin-bottom: 4px;
}

.at-card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--at-charcoal);
  line-height: 1.4;
  min-height: 38px;
  margin-bottom: 6px;
}

.at-card-specs {
  font-size: 11.5px;
  color: var(--at-muted);
  margin-bottom: 12px;
  flex: 1;
}

.at-price-row {
  margin-bottom: 12px;
}

.at-price-now {
  font-size: 16px;
  font-weight: 700;
  color: var(--at-navy);
}

.at-price-rrp {
  font-size: 12px;
  color: #9AA0A6;
  text-decoration: line-through;
  margin-left: 6px;
}

/* PDP Layout */
.at-pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 36px 0;
}

.at-pdp-gallery {
  background: #FFFFFF;
  border: 1px solid var(--at-border);
  border-radius: 10px;
  padding: 24px;
}

.at-pdp-gallery img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.at-compliance-box {
  background: var(--at-sandstone);
  border-left: 4px solid var(--at-navy);
  border-radius: 6px;
  padding: 16px 18px;
  margin: 18px 0;
}

.at-compliance-box strong {
  display: block;
  color: var(--at-navy);
  font-size: 13px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.at-compliance-box p {
  font-size: 12.5px;
  color: #4A433D;
}

.at-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 13px;
}

.at-spec-table th,
.at-spec-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--at-border);
  text-align: left;
}

.at-spec-table th {
  color: var(--at-muted);
  width: 38%;
  font-weight: 600;
  background: var(--at-offwhite);
}

.at-spec-table td {
  color: var(--at-charcoal);
  font-weight: 600;
}

.at-panel {
  background: var(--at-offwhite);
  border: 1px solid var(--at-border);
  border-radius: 10px;
  padding: 28px;
}

.at-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #D0CBC4;
  color: var(--at-charcoal);
  padding: 11px 14px;
  border-radius: 6px;
  font-family: var(--at-font-sans);
  font-size: 13.5px;
  margin-top: 6px;
  margin-bottom: 14px;
}

/* Clean White Multi-Column Footer (1:1 Pure Enrichment Footer) */
.at-footer {
  background: #FFFFFF;
  border-top: 1px solid #EAE6E1;
  padding: 56px 0 36px;
  color: var(--at-muted);
  font-size: 12.5px;
}

.at-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr;
  gap: 28px;
  margin-bottom: 40px;
}

.at-footer h4 {
  color: var(--at-charcoal);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.at-footer ul {
  list-style: none;
}

.at-footer li {
  margin-bottom: 9px;
}

.at-footer-pill {
  display: inline-block;
  background: var(--at-navy);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .at-favorites-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .at-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .at-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .at-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .at-favorites-grid,
  .at-cat-grid-2x2,
  .at-grid-3,
  .at-grid-4,
  .at-pdp-grid,
  .at-footer-grid {
    grid-template-columns: 1fr;
  }
  .at-social-strip {
    grid-template-columns: repeat(4, 1fr);
  }
  .at-pe-hero-content h1 {
    font-size: 26px;
  }
}
