/* ===================================================
   Rainbloom Arc – Elegant Classic Style CSS (Flexbox Only)
   =================================================== */

/* =====================
    CSS RESET & NORMALIZE
   ===================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  background: #F3F6F9;
  color: #16223B;
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
a {
  color: #4E8DF7;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #16223B;
  text-decoration: underline;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 1.25em;
}
strong, b {
  font-weight: bold;
}
::-webkit-input-placeholder { color: #7a879f; }
::-moz-placeholder { color: #7a879f; }
:-ms-input-placeholder { color: #7a879f; }
::placeholder { color: #7a879f; }

/* Font fallback for brand style (classic and refined) */
body, .text-section, .content-wrapper {
  font-family: 'Georgia', 'Times New Roman', serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  color: #16223B;
  letter-spacing: .5px;
}

/* ==============================
   Container & Layout Foundation
   ============================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==============================
   Spacing Utility (per CRITICAL)
   ============================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(22,34,59,0.03);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(22,34,59,0.06);
  padding: 20px 32px;
  margin-bottom: 20px;
  border-left: 4px solid #4E8DF7;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.gap24 { gap: 24px; }
.gap20 { gap: 20px; }

/* ====================================
   Header, Main Navigation, Logo, CTA
   ==================================== */
header {
  background: #fff;
  border-bottom: 1px solid #e7ebf0;
  box-shadow: 0 4px 16px 0 rgba(34,46,84,0.04);
  z-index: 1000;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
header img {
  height: 50px;
  width: auto;
  margin-right: 36px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #16223B;
  font-weight: 500;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #4E8DF7;
  border-bottom: 2px solid #4E8DF7;
}
.cta-btn {
  display: inline-block;
  background: #4E8DF7;
  color: #fff;
  border-radius: 28px;
  padding: 12px 36px;
  font-size: 18px;
  font-family: 'Georgia', serif;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(78,141,247,0.14);
  border: none;
  cursor: pointer;
  letter-spacing: .2px;
  transition: background 0.22s, color 0.22s, box-shadow 0.18s;
  margin-left: 24px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #16223B;
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(22,34,59,.14);
}

/* Hide on mobile until opened */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #16223B;
  font-size: 2.2rem;
  display: none;
  padding: 8px 8px;
  margin-left: 24px;
  border-radius: 8px;
  z-index: 1201;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #eaeff5;
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(22,34,59,.90);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: #fff;
  border: none;
  margin: 24px 36px 12px 0;
  cursor: pointer;
  z-index: 1202;
  padding: 8px 8px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #4E8DF7;
}
.mobile-nav {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 22px;
  padding: 18px 50px;
  font-family: 'Georgia', serif;
  font-weight: 600;
  border-radius: 0 24px 24px 0;
  transition: background 0.22s, color 0.22s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #4E8DF7;
  color: #fff;
}

/* =====================
   HERO and Headings
   ===================== */
.hero {
  background: #eaf0f7;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 6px 30px 0 rgba(78,141,247,0.10);
  padding: 60px 0 30px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  min-height: 220px;
}
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
  font-weight: 700;
  color: #16223B;
  letter-spacing: .2px;
}
.hero .subheadline {
  font-size: 1.18rem;
  color: #334268;
  margin-bottom: 24px;
  opacity: 0.86;
  font-family: 'Georgia', 'Times New Roman', serif;
}

h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.22;
}
h3 {
  font-size: 1.27rem;
  margin-bottom: 12px;
}

/* =============================
   Feature/Deal/Brand Cards & Grid
   ============================= */
.feature-grid, .category-cards, .deal-list, .product-grid, .brand-logos, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  align-items: stretch;
  justify-content: flex-start;
}
.feature, .category-card, .deal-item, .brand-block, .product-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(22,34,59,0.05);
  padding: 32px 28px 28px 28px;
  min-width: 260px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.16s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  border-left: 4px solid #4E8DF7;
}
.feature:hover, .category-card:hover, .deal-item:hover, .product-card:hover {
  box-shadow: 0 10px 24px 0 rgba(22,34,59,.09),0 2px 16px 0 #4E8DF71A;
  transform: translateY(-3px);
}

.deal-badge {
  background: #16223B;
  color: #fff;
  font-size: 0.98rem;
  letter-spacing: 1px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 16px;
  margin-bottom: 8px;
  display: inline-block;
}
.countdown-timer {
  background: #eaf0f7;
  border-radius: 10px;
  font-size: .95rem;
  color: #4E8DF7;
  padding: 4px 11px;
  margin-top: 10px;
  font-family: 'Georgia', serif;
  display: inline-block;
}
.brand-logos {
  gap: 36px;
  align-items: center;
  justify-content: flex-start;
}
.brand-logos img {
  height: 54px;
  background: #fff;
  padding: 9px;
  border-radius: 9px;
  box-shadow: 0 1px 5px 0 rgba(78,141,247,0.05);
  margin-bottom: 0;
}

.brand-descriptions {
  margin: 16px 0;
  color: #3d4461;
  font-size: 1.09rem;
  line-height: 1.6;
}

.brand-block {
  background: #f5f7fb;
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: 0 2px 9px 0 rgba(22,34,59,0.02);
}

.filter-by-brand {
  margin-top: 24px;
}
.filter-by-brand label {
  font-family: 'Georgia', serif;
  font-weight: 600;
  margin-right: 14px;
}
.filter-by-brand select {
  font-size: 1.1rem;
  padding: 7px 25px 7px 10px;
  border-radius: 8px;
  border: 1px solid #c7cede;
  font-family: 'Georgia', serif;
  color: #16223B;
  background: #fff;
}

/* Product Cards (Shop) */
.product-card {
  border-left: 4px solid #4E8DF7;
}
.quick-view-btn, .add-to-cart-btn {
  background: #eaf0f7;
  color: #16223B;
  border-radius: 16px;
  padding: 7px 16px;
  font-size: 1rem;
  margin-right: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
  margin-bottom: 8px;
}
.add-to-cart-btn {
  background: #4E8DF7;
  color: #fff;
  margin-right: 0;
}
.quick-view-btn:hover, .quick-view-btn:focus {
  background: #dbe3f0;
}
.add-to-cart-btn:hover, .add-to-cart-btn:focus {
  background: #16223B;
  color: #fff;
}

/* ====================
   List Enhancements
   ==================== */
ul, ol {
  color: #2a355c;
  font-family: 'Georgia', serif;
  font-size: 1.08rem;
  margin-bottom: 20px;
  padding-left: 32px;
}
li {
  margin-bottom: 8px;
}

/* ===========================
   Form Elements & Search Box
   =========================== */
input[type="search"], input[type="email"], select {
  font-size: 1.05rem;
  font-family: 'Georgia', serif;
  padding: 10px 17px;
  border-radius: 13px;
  border: 1px solid #c7cede;
  margin: 0 8px 12px 0;
  min-width: 180px;
  background: #fff;
  color: #16223B;
  outline: none;
  transition: border .17s;
}
input[type="search"]:focus, input[type="email"]:focus {
  border-color: #4E8DF7;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.category-nav a {
  background: #eaf0f7;
  color: #16223B;
  border-radius: 24px;
  padding: 8px 24px;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Georgia', serif;
  transition: background 0.17s, color 0.17s;
}
.category-nav a:hover, .category-nav a:focus {
  background: #4E8DF7;
  color: #fff;
}

form {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}
form input[type="email"] {
  flex: 1 1 220px;
}
form button[type="submit"] {
  background: #4E8DF7;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 28px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, box-shadow .17s;
  box-shadow: 0 1px 8px 0 rgba(78,141,247,0.12);
}
form button[type="submit"]:hover, form button[type="submit"]:focus {
  background: #16223B;
  box-shadow: 0 4px 14px 0 rgba(22,34,59,.14);
}

/* =====================
   Testimonial Styles
   ===================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
}
.testimonial-card {
  flex: 1 1 320px;
  max-width: 420px;
  color: #16223B;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(22,34,59,0.09);
  transition: box-shadow .15s, transform .12s;
  font-size: 1.1rem;
  position: relative;
}
.testimonial-card p {
  font-style: italic;
}
.testimonial-meta {
  font-size: .98rem;
  margin-top: 7px;
  color: #4E8DF7;
  font-style: normal;
  display: flex;
  align-items: center;
  font-family: 'Georgia', serif;
  gap: 5px;
}

/* Ensures strong contrast on testimonials */
.testimonial-card, .testimonial-card p, .testimonial-card .testimonial-meta {
  background: #fff!important;
  color: #16223B!important;
}

/* =====================
   FAQ Accordion
   ===================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-accordion details {
  background: #f5f7fb;
  border-radius: 9px;
  margin-bottom: 9px;
  padding: 12px 22px 8px 22px;
  box-shadow: 0 1px 4px 0 rgba(22,34,59,0.04);
  border-left: 3px solid #4E8DF7;
  transition: box-shadow 0.14s;
}
.faq-accordion details[open] {
  box-shadow: 0 3px 13px 0 rgba(78,141,247,.10);
}
.faq-accordion summary {
  font-family: 'Georgia', serif;
  font-weight: 700;
  cursor: pointer;
  color: #16223B;
  font-size: 1.05rem;
  outline: none;
  margin-bottom: 8px;
}
.faq-accordion summary::-webkit-details-marker {
  color: #4E8DF7;
}

/* =====================
   CTA Section
   ===================== */
.cta {
  background: #16223B;
  color: #fff;
  border-radius: 28px;
  padding: 48px 0;
  margin-bottom: 60px;
  box-shadow: 0 2px 14px 0 rgba(78,141,247,0.09);
}
.cta .content-wrapper h2 {
  color: #fff;
}
.cta .cta-btn {
  background: #4E8DF7;
  color: #fff;
  margin-left: 0;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #fff;
  color: #16223B;
}
.cta .text-section {
  color: #eaf0f7;
}

/* ===========================
   Footer
   =========================== */
footer {
  background: #1B2743;
  color: #fff;
  border-top: 1px solid #e7ebf0;
  box-shadow: 0 -2px 12px 0 rgba(34,46,84,0.04);
  font-size: 1.05rem;
  padding: 44px 0 28px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Georgia', serif;
  font-size: 1.04rem;
  text-decoration: none;
  opacity: .89;
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
  transition: color 0.18s, border-bottom 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #4E8DF7;
  border-bottom: 2px solid #4E8DF7;
}
.footer-contact p {
  color: #fff;
  opacity: .88;
  font-size: 1.01rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 8px;
  height: 17px;
  width: 17px;
}
.footer-brand {
  color: #4E8DF7;
  font-size: 1.08rem;
  font-family: 'Georgia', serif;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  height: 42px;
  width: auto;
}

/* ====================
   Thank You Section
   ==================== */
.thankyou {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto 60px auto;
}
.thankyou h1 {
  color: #4E8DF7;
  margin-bottom: 24px;
}

/* ====================
   Misc Typography
   ==================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.07rem;
  color: #273455;
}
.text-section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 7px;
}
dl dt {
  font-family: 'Georgia', serif;
  font-size: 1.08rem;
  font-weight: bold;
  margin-top: 16px;
}
dl dd {
  font-family: 'Georgia', serif;
  font-size: 1.08rem;
  margin-left: 12px;
  margin-bottom: 10px;
}

/* =====================
   Cookie Consent Banner
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -4px 30px 0 rgba(22,34,59,.13);
  border-top: 3px solid #4E8DF7;
  padding: 22px 28px 22px 28px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-family: 'Georgia', serif;
  font-size: 1.04rem;
  animation: cookieSlideIn .5s cubic-bezier(.42,0,.28,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  background: #4E8DF7;
  color: #fff;
  border: none;
  border-radius: 19px;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #16223B;
}
.cookie-banner .settings-btn {
  background: #eaf0f7;
  color: #16223B;
  border: 1.5px solid #4E8DF7;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #dbe3f0;
  color: #16223B;
}

/* Cookie modal (popup) */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(22,34,59,0.84);
  z-index: 2050;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeCookieModal .27s cubic-bezier(.42,0,.28,1);
}
@keyframes fadeCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fff;
  padding: 36px 30px 30px 34px;
  border-radius: 18px;
  box-shadow: 0 4px 30px 0 rgba(78,141,247,.15);
  max-width: 420px;
  width: 95%;
  color: #16223B;
  font-family: 'Georgia', serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-dialog h3 {
  font-size: 1.33rem;
  margin-bottom: 10px;
}
.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-pref-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cookie-toggle {
  width: 36px;
  height: 22px;
  background: #eaf0f7;
  border-radius: 13px;
  position: relative;
  margin-top: 2px;
  cursor: pointer;
  border: 1.5px solid #4E8DF7;
  flex-shrink: 0;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  top: 2px; left: 2px;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #4E8DF7;
  transition: transform .2s, background .2s;
}
.cookie-toggle input:not(:checked) + .slider {
  background: #b6cbe2;
  transform: translateX(0);
}
.cookie-toggle input:checked + .slider {
  background: #4E8DF7;
  transform: translateX(14px);
}
.cookie-modal-dialog .close-modal {
  position: absolute;
  top: 10px; right: 18px;
  background: none;
  border: none;
  color: #16223B;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 7px;
  transition: background 0.14s;
}
.cookie-modal-dialog .close-modal:hover, .cookie-modal-dialog .close-modal:focus {
  background: #eaf0f7;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 24px;
}
.cookie-modal-actions button {
  background: #4E8DF7;
  color: #fff;
  border-radius: 18px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  font-weight: 700;
  border: none;
  padding: 8px 27px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal-actions button.secondary {
  background: #eaf0f7;
  color: #16223B;
  border: 1.5px solid #4E8DF7;
}
.cookie-modal-actions button.secondary:hover, .cookie-modal-actions button.secondary:focus {
  background: #dbe3f0;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #16223B;
  color: #fff;
}

/* ============================
   Responsive Design - Flexbox
   ============================ */
/* Large, desktop */
@media (min-width: 1200px) {
  .container {
    max-width: 1230px;
  }
}
/* Tablets - stack nav */
@media (max-width: 1024px) {
  header .container {
    height: 78px;
  }
  .main-nav {
    gap: 17px;
  }
  .feature-grid, .category-cards, .deal-list, .product-grid, .testimonial-slider {
    gap: 16px;
  }
}
/* Mobile-first breakpoints */
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 13px;
  }
  .main-nav {
    gap: 11px;
  }
  .feature-grid, .category-cards, .deal-list, .product-grid, .testimonial-slider {
    flex-wrap: wrap;
    gap: 14px;
  }
  .feature, .category-card, .deal-item, .product-card, .testimonial-card {
    min-width: 200px;
    padding: 24px 11px;
  }
}
@media (max-width: 768px) {
  header .container {
    height: 67px;
    gap: 0;
    padding-left: 12px; padding-right: 12px;
  }
  /* Show burger, hide nav */
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    padding: 10px 20px;
    font-size: 17px;
    margin-left: 13px;
  }
  .hero {
    padding: 35px 0 18px 0;
    border-radius: 0 0 18px 18px;
    margin-bottom: 34px;
  }
  .hero h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 37px;
  }
  .testimonials, .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid, .category-cards, .deal-list, .product-grid, .brand-logos {
    flex-direction: column;
    gap: 12px;
  }
  .brand-logos {
    justify-content: flex-start;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card, .feature, .category-card, .deal-item, .product-card {
    padding: 18px 7px;
    min-width: 0;
    border-radius: 10px;
  }
  form, .category-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding-left: 13px; padding-right: 13px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 3px;
  }
  .footer-brand img {
    height: 32px;
  }
  .cookie-banner {
    padding: 17px 7px 15px 10px;
    gap: 11px;
    font-size: 1rem;
  }
}

/* XS: leanest version */
@media (max-width: 480px) {
  .hero h1, h2 {
    font-size: 1.04rem;
  }
  .cta-btn {
    font-size: 15px;
    padding: 9px 12px;
  }
  .brand-logos img {
    height: 34px;
  }
  .testimonial-card {
    padding: 14px 7px;
    border-radius: 7px;
  }
  .brand-block {
    padding: 13px 6px;
  }
}

/* ===================
   Animations & Hover
   =================== */
button, .cta-btn, input[type="submit"] {
  transition: background .20s, color .21s, box-shadow .18s, border-color .17s;
}
a, .main-nav a, .footer-nav a, .category-nav a {
  transition: color .18s, border-bottom .17s, background .16s;
}

/* Remove outline for mouse but keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px dashed #4E8DF7;
}

/* Remove horizontal scroll on mobile due to flex overflow */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ==========================
   END -- Rainbloom Arc CSS
   ========================== */
