/* Accessories Hub — Homepage New Sections v4
   Blue accent (#406BA9), compact, responsive, professional. Font: Montserrat.
*/

:root {
  --ah-dark: #151A25;
  --ah-dark-2: #1F2635;
  --ah-blue: #406BA9;
  --ah-blue-2: #2C4A7A;
  --ah-blue-hover: #35578D;
  --ah-text-muted: #9CA3AF;
  --ah-text-dark: #333;
  --ah-border-dark: rgba(255,255,255,0.08);
  --ah-shadow-blue: 0 8px 24px rgba(64,107,169,0.35);
  --ah-radius: 16px;
  --ah-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ========= SECTION BACKGROUNDS (high specificity) ========= */
body .elementor .ah-section-dark,
body .elementor-element.ah-section-dark { background: var(--ah-dark) !important; color: #fff; position: relative; overflow: hidden; }
body .elementor-element.ah-section-dark::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(64,107,169,0.08) 0%, transparent 70%); pointer-events: none; z-index: 0; }
body .elementor-element.ah-section-dark > .e-con-inner { position: relative; z-index: 1; }

body .elementor .ah-section-light,
body .elementor-element.ah-section-light { background: #FAFAFA !important; }

body .elementor .ah-section-white,
body .elementor-element.ah-section-white { background: #FFFFFF !important; }

.ah-section-dark .elementor-heading-title { color: #fff; }
.ah-section-dark .elementor-widget-text-editor,
.ah-section-dark .elementor-widget-text-editor p { color: var(--ah-text-muted) !important; }

.ah-section-dark, .ah-section-light, .ah-section-white,
.ah-section-dark *, .ah-section-light *, .ah-section-white * { font-family: var(--ah-font); }

/* ========= EYEBROW ========= */
.ah-eyebrow .elementor-heading-title,
.ah-eyebrow { font-size: 11px !important; font-weight: 700 !important; letter-spacing: 2px !important; text-transform: uppercase !important; color: var(--ah-blue) !important; margin: 0 0 12px !important; }

/* ========= TITLES ========= */
.ah-hero-title .elementor-heading-title { font-size: clamp(28px, 4vw, 44px) !important; font-weight: 700 !important; line-height: 1.1 !important; letter-spacing: -0.02em !important; margin: 0 0 16px !important; color: #fff !important; }
.ah-section-title .elementor-heading-title { font-size: clamp(24px, 3vw, 32px) !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: -0.015em !important; margin: 0 0 8px !important; }

/* ========= BUTTON ========= */
.ah-btn-blue .elementor-button {
  background: var(--ah-blue) !important; color: #fff !important; border: none !important;
  border-radius: 999px !important; padding: 14px 28px !important;
  font-family: var(--ah-font) !important; font-weight: 600 !important; font-size: 14px !important;
  letter-spacing: 0.01em !important;
  box-shadow: var(--ah-shadow-blue);
  transition: all 0.25s ease !important;
}
.ah-btn-blue .elementor-button:hover { background: var(--ah-blue-hover) !important; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(64,107,169,0.45); }

/* ========= PHONE MOCKUP (HTML widget in Section 1) ========= */
.ah-phone-mockup-wrap { display: flex; justify-content: center; align-items: center; padding: 10px 0; }
.ah-phone-mockup { position: relative; width: 220px; height: 440px; background: linear-gradient(180deg, #2a2f3f, #1a1f2e); border-radius: 38px; padding: 8px; box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05); animation: ah-float 6s ease-in-out infinite; }
.ah-phone-mockup__notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; background: #0a0a0a; border-radius: 20px; z-index: 3; }
.ah-phone-mockup__badge { position: absolute; top: 18px; right: -42px; background: #fff; color: var(--ah-dark); padding: 5px 11px; border-radius: 14px; font-size: 11px; font-weight: 600; z-index: 4; font-family: var(--ah-font); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.ah-phone-mockup__badge::before { content: '●'; color: #22c55e; margin-right: 5px; animation: ah-pulse 1.5s ease-in-out infinite; }
.ah-phone-mockup__screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #0a0a0a; }
@keyframes ah-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ah-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.ah-phone-design { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; opacity: 0; transition: opacity 0.8s ease; padding: 20px; text-align: center; font-family: var(--ah-font); }
.ah-phone-design.is-active { opacity: 1; }
.ah-phone-design--photo { background: linear-gradient(135deg, #406BA9, #2C4A7A); color: #fff; }
.ah-phone-design--photo .ah-photo-heart { font-size: 48px; margin-bottom: 14px; }
.ah-phone-design--photo .ah-photo-name { font-size: 20px; font-weight: 700; letter-spacing: 0.08em; }
.ah-phone-design--photo .ah-photo-year { font-size: 12px; opacity: 0.85; margin-top: 4px; }
.ah-phone-design--name { background: #151A25; color: #fff; }
.ah-phone-design--name .ah-name-mono { font-size: 100px; font-weight: 800; color: var(--ah-blue); line-height: 1; font-family: Georgia, serif; }
.ah-phone-design--name .ah-name-sub { font-size: 11px; letter-spacing: 0.3em; margin-top: 10px; opacity: 0.7; text-transform: uppercase; }
.ah-phone-design--pattern { background: repeating-linear-gradient(45deg, #406BA9 0, #406BA9 18px, #2C4A7A 18px, #2C4A7A 36px); }
.ah-phone-design--quote { background: #FFF; color: #151A25; }
.ah-phone-design--quote .ah-quote-text { font-family: Georgia, serif; font-style: italic; font-size: 20px; line-height: 1.3; padding: 0 16px; }
.ah-phone-design--quote .ah-quote-dash { width: 32px; height: 2px; background: var(--ah-blue); margin: 14px auto 0; }

/* ========= STEP CHIPS (Section 1 HTML widget) ========= */
.ah-steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.ah-step-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--ah-dark-2); padding: 8px 14px; border-radius: 999px; font-size: 12px; color: #fff; border: 1px solid rgba(255,255,255,0.08); font-family: var(--ah-font); font-weight: 500; }
.ah-step-chip__num { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: var(--ah-blue); color: #fff; border-radius: 50%; font-weight: 700; font-size: 11px; }

/* ========= CASE CARDS (Section 2) ========= */
body .elementor-element.ah-case-card { background: #fff !important; border-radius: var(--ah-radius) !important; padding: 20px 16px !important; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease !important; cursor: pointer !important; }
.ah-case-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(21,26,37,0.1); }

body .elementor-element.ah-case-card__preview { width: 110px !important; min-height: 200px !important; border-radius: 20px !important; position: relative !important; overflow: hidden !important; margin: 0 auto 14px !important; padding: 12px !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.ah-case-card__preview::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 24px; height: 3px; background: rgba(0,0,0,0.2); border-radius: 3px; }

body .elementor-element.ah-case-card--monogram { background: linear-gradient(135deg, #FCD5CE, #FFB5A7) !important; }
.ah-case-card--monogram .ah-mono-letter { font-size: 56px; font-weight: 700; color: #6B4423; font-family: Georgia, serif; }

body .elementor-element.ah-case-card--pet { background: var(--ah-dark) !important; }
.ah-case-card--pet .ah-pet-icon { font-size: 48px; color: var(--ah-blue); }

body .elementor-element.ah-case-card--pattern { background: repeating-linear-gradient(45deg, #406BA9 0, #406BA9 8px, #2C4A7A 8px, #2C4A7A 16px) !important; }

body .elementor-element.ah-case-card--photo { background: linear-gradient(160deg, #406BA9, #2C4A7A) !important; }
.ah-case-card--photo .ah-photo-icon { font-size: 42px; color: #fff; }

body .elementor-element.ah-case-card--quote { background: #2d2d2d !important; }
.ah-case-card--quote .ah-quote-text-sm { font-family: Georgia, serif; font-style: italic; font-size: 14px; color: var(--ah-blue); line-height: 1.3; text-align: center; }

body .elementor-element.ah-case-card--business { background: linear-gradient(135deg, #383C65, #151A25) !important; }
.ah-case-card--business .ah-biz-mark { color: #fff; font-size: 26px; font-weight: 700; letter-spacing: 0.1em; }

.ah-case-card .elementor-heading-title { font-size: 14px !important; font-weight: 600 !important; color: var(--ah-dark) !important; margin: 0 !important; text-align: center; }
.ah-case-card .elementor-widget-text-editor p { font-size: 12px !important; color: #6b7280 !important; margin: 4px 0 0 !important; text-align: center; }

/* ========= FILTER CHIPS ========= */
body .elementor-element.ah-chip { background: #fff !important; border: 1px solid #e5e5e0 !important; border-radius: 999px !important; padding: 6px 14px !important; cursor: pointer !important; transition: all 0.2s ease !important; }
.ah-chip .elementor-heading-title { font-size: 12px !important; font-weight: 500 !important; color: #6b7280 !important; margin: 0 !important; text-align: center; }
.ah-chip:hover { border-color: var(--ah-dark) !important; }
.ah-chip:hover .elementor-heading-title { color: var(--ah-dark) !important; }
body .elementor-element.ah-chip.is-active { background: var(--ah-dark) !important; border-color: var(--ah-dark) !important; }
.ah-chip.is-active .elementor-heading-title { color: #fff !important; }

/* ========= STAT CARDS (Section 3) ========= */
body .elementor-element.ah-stat-card { background: #FAFAFA !important; border: 1px solid #F0F0F0 !important; border-radius: var(--ah-radius) !important; padding: 24px 16px !important; transition: transform 0.3s ease, border-color 0.3s ease !important; text-align: center !important; }
.ah-stat-card:hover { transform: translateY(-3px); border-color: var(--ah-blue) !important; }
.ah-stat-card .elementor-counter { text-align: center; }
.ah-stat-card .elementor-counter-number-wrapper,
.ah-stat-card .elementor-counter-number-prefix,
.ah-stat-card .elementor-counter-number-suffix,
.ah-stat-card .elementor-counter-number { color: var(--ah-blue) !important; font-size: 36px !important; font-weight: 800 !important; line-height: 1 !important; letter-spacing: -0.02em !important; font-family: var(--ah-font) !important; }
.ah-stat-card .elementor-counter-title { color: #6b7280 !important; font-size: 12px !important; font-weight: 500 !important; margin-top: 8px !important; font-family: var(--ah-font) !important; text-transform: none !important; }

/* ========= UK BADGE PILL ========= */
.ah-badge-pill .elementor-heading-title { display: inline-flex !important; align-items: center !important; gap: 6px !important; background: #F3F4F6 !important; padding: 6px 14px !important; border-radius: 999px !important; font-size: 11px !important; font-weight: 700 !important; color: var(--ah-dark) !important; letter-spacing: 1px !important; text-transform: uppercase !important; margin: 0 !important; }

/* ========= TRUST BADGES ========= */
body .elementor-element.ah-trust-badges { background: #FAFAFA !important; border-radius: var(--ah-radius) !important; padding: 18px 24px !important; }
.ah-trust-badges .elementor-widget-icon i,
.ah-trust-badges .elementor-widget-icon svg { color: var(--ah-blue) !important; fill: var(--ah-blue) !important; width: 16px !important; height: 16px !important; }
.ah-trust-badges .elementor-widget-text-editor p { color: var(--ah-dark) !important; font-weight: 500 !important; margin: 0 !important; font-size: 12px !important; }

/* ========= TESTIMONIAL CARDS ========= */
body .elementor-element.ah-testimonial-card { background: #FAFAFA !important; border: 1px solid #F0F0F0 !important; border-radius: var(--ah-radius) !important; padding: 20px !important; }
body .elementor-element.ah-testimonial-avatar { background: var(--ah-blue) !important; border-radius: 50% !important; width: 42px !important; min-height: 42px !important; flex-shrink: 0; }
.ah-testimonial-avatar .elementor-heading-title { color: #fff !important; font-size: 13px !important; font-weight: 700 !important; margin: 0 !important; }
.ah-testimonial-card .elementor-widget-text-editor p { font-size: 13px !important; line-height: 1.55; color: #4b5563 !important; margin: 0 !important; }

/* ========= SCROLL REVEAL ANIMATION ========= */
.ah-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.ah-reveal.is-visible { opacity: 1; transform: translateY(0); }
.ah-reveal[data-delay="1"] { transition-delay: 0.1s; }
.ah-reveal[data-delay="2"] { transition-delay: 0.2s; }
.ah-reveal[data-delay="3"] { transition-delay: 0.3s; }
.ah-reveal[data-delay="4"] { transition-delay: 0.4s; }
.ah-reveal[data-delay="5"] { transition-delay: 0.5s; }

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
  .ah-phone-mockup { width: 200px; height: 400px; }
}

@media (max-width: 767px) {
  .ah-phone-mockup { width: 180px; height: 360px; }
  .ah-phone-mockup__badge { display: none; }
  .ah-phone-design--name .ah-name-mono { font-size: 80px; }
  .ah-hero-title .elementor-heading-title { font-size: 26px !important; }
  .ah-section-title .elementor-heading-title { font-size: 22px !important; }
  body .elementor-element.ah-case-card { padding: 16px 12px !important; }
  body .elementor-element.ah-case-card__preview { width: 90px !important; min-height: 170px !important; }
  .ah-case-card--monogram .ah-mono-letter { font-size: 48px; }
  body .elementor-element.ah-stat-card { padding: 20px 12px !important; }
  .ah-stat-card .elementor-counter-number-wrapper,
  .ah-stat-card .elementor-counter-number { font-size: 28px !important; }
  body .elementor-element.ah-testimonial-card { padding: 16px !important; }
  .ah-btn-blue .elementor-button { padding: 12px 22px !important; font-size: 13px !important; }
}

/* ========= LAYOUT FIXES: force grid widths on card children ========= */
/* These override Elementor's default 100% width on nested containers */

/* Section 1: hero two-column layout */
body .elementor-element.ah-hero-cols {
  display: flex !important;
  flex-direction: row !important;
  gap: 40px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}
body .elementor-element.ah-hero-phone-col {
  flex: 0 0 40% !important;
  max-width: 40% !important;
}
body .elementor-element.ah-hero-content-col {
  flex: 0 0 calc(60% - 40px) !important;
  max-width: calc(60% - 40px) !important;
}

/* Section 1: steps row - inline chips */
body .elementor-element.ah-steps {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
body .elementor-element.ah-step-chip {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: var(--ah-dark-2) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
}
.ah-step-chip .elementor-widget-text-editor p {
  margin: 0 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Section 2: filter chips - horizontal pill row */
body .elementor-element.ah-filter-chips {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  justify-content: flex-end !important;
  align-items: center !important;
}
body .elementor-element.ah-chip {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  display: inline-flex !important;
}

/* Section 2: inspire grid - 3 columns desktop, 2 tablet, 1 mobile */
body .elementor-element.ah-inspire-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  justify-content: flex-start !important;
}
body .elementor-element.ah-case-card {
  flex: 0 0 calc(33.333% - 10px) !important;
  max-width: calc(33.333% - 10px) !important;
  width: calc(33.333% - 10px) !important;
}

/* Section 2: header row - title left 60% / chips right 40% */
body .elementor-element.ah-inspire-header {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  align-items: flex-end !important;
  flex-wrap: wrap !important;
}
body .elementor-element.ah-inspire-header > .e-child:first-child {
  flex: 1 1 60% !important;
  min-width: 250px;
}
body .elementor-element.ah-inspire-header > .e-child:last-child {
  flex: 0 1 auto !important;
  min-width: 200px;
}

/* Section 3: stats grid - 4 columns desktop, 2 mobile */
body .elementor-element.ah-stats-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}
body .elementor-element.ah-stat-card {
  flex: 0 0 calc(25% - 9px) !important;
  max-width: calc(25% - 9px) !important;
  width: calc(25% - 9px) !important;
}

/* Section 3: trust badges - inline row */
body .elementor-element.ah-trust-badges {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 24px !important;
}
body .elementor-element.ah-trust-badges > .e-child {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
}
.ah-trust-badges .elementor-widget-icon {
  width: auto !important;
  display: inline-flex !important;
}

/* Section 3: testimonials - 2 columns */
body .elementor-element.ah-testimonials-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
}
body .elementor-element.ah-testimonial-card {
  flex: 0 0 calc(50% - 7px) !important;
  max-width: calc(50% - 7px) !important;
  width: calc(50% - 7px) !important;
}

/* Testimonial internal: avatar (auto) + body (fills rest) */
.ah-testimonial-card {
  display: flex !important;
  flex-direction: row !important;
  gap: 14px !important;
}
body .elementor-element.ah-testimonial-avatar {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
}

/* Button - not stretched full width */
.ah-btn-blue { align-self: flex-start; }
.ah-btn-blue .elementor-button { width: auto !important; display: inline-flex !important; }

/* Responsive: tablet */
@media (max-width: 1024px) {
  body .elementor-element.ah-case-card {
    flex: 0 0 calc(50% - 7px) !important;
    max-width: calc(50% - 7px) !important;
    width: calc(50% - 7px) !important;
  }
}

/* Responsive: mobile */
@media (max-width: 767px) {
  body .elementor-element.ah-hero-cols {
    flex-direction: column !important;
    gap: 28px !important;
  }
  body .elementor-element.ah-hero-phone-col,
  body .elementor-element.ah-hero-content-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  body .elementor-element.ah-inspire-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  body .elementor-element.ah-filter-chips {
    justify-content: flex-start !important;
  }
  body .elementor-element.ah-case-card {
    flex: 0 0 calc(50% - 7px) !important;
    max-width: calc(50% - 7px) !important;
    width: calc(50% - 7px) !important;
  }
  body .elementor-element.ah-stat-card {
    flex: 0 0 calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    width: calc(50% - 6px) !important;
  }
  body .elementor-element.ah-testimonial-card {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}
@media (max-width: 480px) {
  body .elementor-element.ah-case-card {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}