/* ============================================================
   GTCARD – Main Stylesheet
   Author: Professional HTML/CSS Developer
   Sections:
     1. Base & Layout Utilities
     2. Top Bar
     3. Header / Navbar
     4. Hero Section
     5. Brand Icons Row
     6. Best Sellers
     7. Features Banner
     8. Browse by Category
     9. Testimonials
    10. Newsletter
    11. Footer
    12. Responsive Media Queries
   ============================================================ */

/* ----------------------------------------------------------
   1. Base & Layout Utilities
   ---------------------------------------------------------- */
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 1.35rem;
  color: var(--text);
}

.section-header a.view-all {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-500);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}

.section-header a.view-all:hover {
  color: var(--green-400);
}

.section-header a.view-all::after {
  content: "›";
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--green-800);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 57, 38, 0.35);
}

.btn-white {
  background: var(--white);
  color: var(--green-800);
}

.btn-white:hover {
  background: var(--green-50);
}

/* ----------------------------------------------------------
   2. Top Bar
   ---------------------------------------------------------- */
.topbar {
  background: var(--green-900);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition);
}

.topbar__links a:hover {
  color: var(--white);
}

.topbar__links a svg {
  display: inline;
  flex-shrink: 0;
}

.topbar__selectors {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar__selectors select {
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 3px 8px;
  appearance: none;
  cursor: pointer;
}

.topbar__selectors select:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ----------------------------------------------------------
   3. Header / Navbar
   ---------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  height: var(--header-h);
}

.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.header__actions {
  justify-self: start;
}

.nav {
  justify-self: center;
}

.logo {
  justify-self: end;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.logo__icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.logo__img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.logo__text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-800);
  letter-spacing: 0.03em;
}

/* Main Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  background: var(--green-100);
  color: var(--green-700);
}

/* Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header__actions .action-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition);
}

.header__actions .action-btn:hover {
  color: var(--green-600);
}

.header__actions .action-btn svg {
  width: 22px;
  height: 22px;
}

.badge {
  position: absolute;
  top: -5px;
  right: -7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-400);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__signin {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.header__signin a,
.header__signin button {
  color: inherit;
  font-weight: 600;
}

.header__signin a:hover,
.header__signin button:hover {
  color: var(--green-600);
}

.header__signin-sep {
  opacity: 0.45;
  font-weight: 500;
  margin: 0 1px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ----------------------------------------------------------
   4. Hero Section
   ---------------------------------------------------------- */
.hero {
  padding: 36px 0 40px;
}

.hero__card {
  background: linear-gradient(130deg, var(--green-900) 0%, var(--green-800) 38%, var(--green-600) 72%, var(--green-400) 100%);
  border-radius: var(--radius-lg);
  padding: 52px 60px;
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  position: relative;
}

/* subtle grid overlay */
.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.15;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.hero__desc {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 400px;
}

/* Search */
.hero__search {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 7px 7px 7px 20px;
  gap: 10px;
  max-width: 500px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.hero__search svg {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  flex-shrink: 0;
  display: inline;
}

.hero__search input {
  flex: 1;
  font-size: 0.9rem;
  background: none;
  color: var(--text);
}

.hero__search input::placeholder {
  color: var(--text-light);
}

.hero__search button {
  background: var(--green-800);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background var(--transition);
}

.hero__search button:hover {
  background: var(--green-700);
}

/* Feature tags */
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
}

.hero__tag {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

.hero__tag-icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Hero image — gift cards collage */
.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__gift-cards {
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.35));
  transform: rotate(-2deg);
}

/* ----------------------------------------------------------
   5. Brand Icons Row
   ---------------------------------------------------------- */
.brands {
  padding: 20px 0 28px;
  border-bottom: 1px solid var(--border);
}

.brands__scroll {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  gap: 4px;
}

.brand-pill {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 6px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  min-width: 0;
}

.brand-pill:hover {
  background: var(--green-50);
  transform: translateY(-2px);
}

.brand-pill.active {
  background: var(--green-100);
}

.brand-pill__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-pill__icon img,
.brand-pill__icon svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-pill span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ----------------------------------------------------------
   6. Best Sellers
   ---------------------------------------------------------- */
.best-sellers {
  padding: 44px 0 24px;
}

.products-carousel {
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.product-card {
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(15, 57, 38, 0.12);
  transform: translateY(-2px);
}

.product-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
  border-bottom: 1px solid #ececec;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  box-sizing: border-box;
  transition: transform var(--transition);
}

.product-card:hover .product-card__img img {
  transform: scale(1.03);
}

.product-card__body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-card__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.product-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-original {
  font-size: 0.72rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-current {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-600);
}

.product-card__btn {
  display: block;
  width: 100%;
  padding: 9px;
  text-align: center;
  background: var(--green-800);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: auto;
  transition: background var(--transition);
}

.product-card__btn:hover {
  background: var(--green-700);
}

/* Carousel nav arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition), box-shadow var(--transition);
}

.carousel-arrow:hover {
  background: var(--green-50);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.carousel-arrow--prev {
  left: -18px;
}

.carousel-arrow--next {
  right: -18px;
}

/* ----------------------------------------------------------
   7. Features Banner
   ---------------------------------------------------------- */
.features {
  padding: 0 0 44px;
}

.features__bar {
  background: var(--green-100);
  border-radius: var(--radius-md);
  padding: 24px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.feature-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 57, 38, 0.1);
  color: var(--green-700);
}

.feature-item__text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-900);
}

.feature-item__text span {
  font-size: 0.77rem;
  color: var(--text-muted);
}

/* ----------------------------------------------------------
   8. Browse by Category
   ---------------------------------------------------------- */
.categories {
  padding: 44px 0 48px;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.category-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #ececec;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 57, 38, 0.1);
}

.category-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0f0f0;
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: var(--white);
  border-top: 1px solid #ececec;
}

.category-card__footer span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.category-card__footer svg {
  color: #bbb;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.testimonial-card__quote {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.65;
  flex: 1;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: var(--star);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.testimonial-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.testimonial-card__avatar--1 {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.testimonial-card__avatar--2 {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.testimonial-card__avatar--3 {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.testimonial-card__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.testimonials {
  padding: 0 0 48px;
}

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

.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(15, 57, 38, 0.1);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ----------------------------------------------------------
   10. Newsletter
   ---------------------------------------------------------- */
.newsletter {
  padding: 0 0 52px;
}

.newsletter__card {
  background: linear-gradient(90deg, #0a2e1f 0%, #0f3926 35%, #1a7a45 75%, #28a745 100%);
  border-radius: 20px;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
  min-height: 120px;
}

.newsletter__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 8px 8px;
  mask-image: linear-gradient(to right, black 0%, transparent 100%);
  pointer-events: none;
}

.newsletter__text {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.newsletter__text h2 {
  font-size: 1.55rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.2;
}

.newsletter__text p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  max-width: 320px;
  line-height: 1.5;
}

.newsletter__actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: flex-end;
}

.newsletter__form {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 6px 20px 6px 22px;
  min-width: 340px;
  max-width: 420px;
  flex: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.newsletter__form input {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text);
  background: none;
  min-width: 0;
}

.newsletter__form input::placeholder {
  color: var(--text-light);
}

.newsletter__divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  margin: 0 16px;
  flex-shrink: 0;
}

.newsletter__form button {
  background: transparent;
  color: var(--text);
  border-radius: 0;
  padding: 8px 4px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter__form button:hover {
  color: var(--green-700);
}

.newsletter__gift {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter__gift-glow {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
}

.newsletter__gift-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 58px;
  transform: rotate(14deg);
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* ----------------------------------------------------------
   11. Footer
   ---------------------------------------------------------- */
.footer {
  background: #fff;
  border-top: 1px solid #ebebeb;
}

.footer__top {
  padding: 44px 0 40px;
  display: grid;
  grid-template-columns: 1.55fr 0.85fr 1fr 0.85fr 1.55fr;
  gap: 28px;
  align-items: start;
}

.footer__col h4,
.footer__payment-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
  line-height: 1.2;
}

.footer__follow .footer__social {
  margin-bottom: 24px;
}

.footer__powered {
  font-size: 0.78rem;
  font-weight: 600;
  color: #111;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  line-height: 1.4;
}

.footer__payment-label {
  margin-top: 0;
}

.footer__social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}

.social-icon--youtube {
  border-radius: 8px;
}

.social-icon img {
  width: 32px;
  height: 32px;
  display: block;
}

.social-icon:hover {
  transform: translateY(-2px);
}

/* Payment method cards */
.payment-cards {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.payment-cards--sm {
  margin-bottom: 16px;
}

.payment-card-img {
  display: block;
  width: 48px;
  height: auto;
  border-radius: 4px;
}

.payment-card-img--sm {
  width: 40px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul li a {
  font-size: 0.8125rem;
  color: #777;
  transition: color var(--transition);
  line-height: 1.4;
}

.footer__col ul li a:hover {
  color: var(--green-600);
}

/* Brand column */
.footer__brand {
  padding-left: 8px;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer__brand-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer__brand-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.footer__brand-divider {
  width: 1px;
  height: 32px;
  background: #d0d0d0;
  flex-shrink: 0;
}

.footer__brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-800);
  letter-spacing: 0.02em;
  line-height: 1;
}

.footer__brand p {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 280px;
}

/* App store badges */
.footer__appbtns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  border-radius: 8px;
  padding: 7px 14px 7px 10px;
  text-decoration: none;
  transition: background var(--transition);
  min-width: 0;
  flex: 1;
  max-width: 155px;
}

.store-badge:hover {
  background: #222;
}

.store-badge svg {
  flex-shrink: 0;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge__text small {
  font-size: 0.48rem;
  opacity: 0.9;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.store-badge__text strong {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Footer bottom bar */
.footer__bottom-wrap {
  background: #f5f5f5;
  border-top: 1px solid #e8e8e8;
}

.footer__bottom {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer__bottom p {
  font-size: 0.75rem;
  color: #999;
  justify-self: start;
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-self: center;
}

.footer__bottom-links a {
  font-size: 0.75rem;
  color: #999;
  transition: color var(--transition);
  white-space: nowrap;
}

.footer__bottom-links a:hover {
  color: var(--green-600);
}

.footer__lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  color: #555;
  cursor: pointer;
  justify-self: end;
}

.footer__lang-flag {
  display: block;
  border-radius: 2px;
  flex-shrink: 0;
}

.footer__lang svg {
  color: #888;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   12. Responsive Media Queries
   ---------------------------------------------------------- */

/* Tablet — ≤ 1100px */
@media (max-width: 1100px) {
  .hero__card {
    grid-template-columns: 1fr 360px;
    padding: 44px 40px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__top {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__brand {
    grid-column: 1 / -1;
    padding-left: 0;
  }

  .categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet small — ≤ 900px */
@media (max-width: 900px) {
  .header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .features__bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .newsletter__card {
    flex-direction: column;
    padding: 28px 24px;
    align-items: flex-start;
  }

  .newsletter__actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .newsletter__form {
    min-width: auto;
    width: 100%;
    max-width: none;
  }

  .newsletter__gift {
    align-self: flex-end;
  }
}

/* Mobile — ≤ 640px */
@media (max-width: 640px) {
  :root {
    --header-h: 60px;
  }

  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .logo {
    justify-self: end;
  }

  .hero__card {
    grid-template-columns: 1fr;
    padding: 32px 22px;
    border-radius: var(--radius-md);
  }

  .hero__visual {
    margin-top: 20px;
  }

  .hero__gift-cards {
    max-width: 100%;
    transform: none;
  }

  .hero__title {
    font-size: 1.7rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features__bar {
    grid-template-columns: 1fr;
    padding: 18px 20px;
  }

  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }

  .footer__bottom p,
  .footer__bottom-links,
  .footer__lang {
    justify-self: center;
  }

  .footer__bottom-links {
    justify-content: center;
  }

  .brands__scroll {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .brands__scroll::-webkit-scrollbar {
    display: none;
  }

  .brand-pill {
    flex: 0 0 auto;
    min-width: 72px;
  }

  .section-header h2 {
    font-size: 1.1rem;
  }
}

/* Mobile XS — ≤ 400px */
@media (max-width: 400px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .categories__grid {
    grid-template-columns: 1fr;
  }
}
