/*
Theme Name: Cuddly Avocado
Theme URI: https://www.darkhaus.studio
Author: Dark Haus Studio
Author URI: https://www.darkhaus.studio
Description: A custom WooCommerce theme for Cuddly Avocado — fresh prints, good vibes.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cuddly-avocado
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.5
*/

/* ============================================
   Cuddly Avocado - AvoCuddle E-Commerce
   Vanilla HTML/CSS/JS - WordPress Ready
   Mobile First | Fully Responsive
   ============================================ */

/* --- CSS Variables --- */
:root {
  --cream: #FDFBF8;
  --deep: #1B4D2E;
  --pit: #5C3A21;
  --ink: #0F0F0F;
  --ink-light: #5E5E5E;
  --amber: #DD7A02;
  --amber-hover: #C26B00;
  --green: #1A9E60;
  --green-light: #E8F5E9;
  --pink: #FF8FA3;
  --yellow: #FFD93D;
  --white: #FFFFFF;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hide custom cursor on touch devices */
@media (pointer: coarse) {
  body, button, a {
    cursor: auto !important;
  }
  .custom-cursor {
    display: none !important;
  }
}

/* --- Screen Reader Text --- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--deep);
  color: var(--white);
  padding: 8px 16px;
  z-index: 100000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* --- Custom Cursor --- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  mix-blend-mode: difference;
}

.custom-cursor.hover {
  width: 24px;
  height: 24px;
  background: transparent;
  border: 2px solid var(--green);
}

/* --- Toast Notification --- */
.toast {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Varela Round', sans-serif;
  font-size: 14px;
  z-index: 9999;
  transition: top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-lg);
}

.toast.show {
  top: 100px;
}

/* --- Cart Drawer --- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background: rgba(253, 251, 248, 0.95);
  backdrop-filter: blur(12px);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  border-top-left-radius: 32px;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-drawer__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.cart-drawer__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-light);
  transition: background var(--transition);
}

.cart-drawer__close:hover {
  background: var(--green);
  color: var(--white);
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}

.cart-drawer__item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-drawer__item-image {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-drawer__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-drawer__item-details {
  flex: 1;
}

.cart-drawer__item-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.cart-drawer__item-price {
  font-family: 'Varela Round', sans-serif;
  color: var(--amber);
  font-size: 14px;
}

.cart-drawer__item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-drawer__item-qty button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  transition: background var(--transition);
}

.cart-drawer__item-qty button:hover {
  background: var(--green);
  color: var(--white);
}

.cart-drawer__item-qty span {
  font-size: 14px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-drawer__item-remove {
  align-self: flex-start;
  color: var(--ink-light);
  padding: 4px;
  transition: color var(--transition);
}

.cart-drawer__item-remove:hover {
  color: var(--pink);
}

.cart-drawer__empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-light);
}

.cart-drawer__empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.cart-drawer__footer {
  padding: 20px 28px 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
}

.cart-drawer__subtotal-price {
  font-family: 'Varela Round', sans-serif;
  color: var(--amber);
}

.cart-drawer__checkout {
  width: 100%;
  padding: 14px;
  background: var(--amber);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-pill);
  transition: background var(--transition), transform var(--transition);
}

.cart-drawer__checkout:hover {
  background: var(--amber-hover);
  transform: translateY(-1px);
}

.cart-drawer__note {
  text-align: center;
  font-size: 12px;
  color: var(--ink-light);
  margin-top: 12px;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(253, 251, 248, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 64px;
}

.header__logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
}

.header__logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.header.scrolled .header__logo-text {
  color: var(--ink);
}

@media (min-width: 768px) {
  .header__logo-text {
    font-size: 1.5rem;
  }
}

.header.scrolled .header__logo {
  opacity: 0.9;
}

.header__nav {
  display: none;
}

.header__nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.85;
  transition: opacity var(--transition);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

.header__nav-link:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .header__nav-link {
  color: var(--ink);
}

.header.scrolled .header__nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
}

.header__cart {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: color var(--transition);
  margin-left: auto;
}

.header.scrolled .header__cart {
  color: var(--ink);
}

.header__cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: var(--pink);
  color: var(--white);
  font-family: 'Varela Round', sans-serif;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 8px;
}

.header__menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: background var(--transition), transform 0.3s ease, opacity 0.3s ease;
}

.header.scrolled .header__menu-toggle span {
  background: var(--ink);
}

.header__menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(253, 251, 248, 0.92);
  backdrop-filter: blur(12px);
  z-index: 99;
  padding: 24px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu__link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.mobile-menu__link:hover {
  background: var(--green-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(27, 77, 46, 0.45) 100%);
}

.hero__shop-btn {
  position: absolute;
  bottom: 18vh;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 2;
  padding: 16px 48px;
  background: var(--green);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(26, 158, 96, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease, background var(--transition);
}

.hero__shop-btn:hover {
  background: #158c54;
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 158, 96, 0.5);
}

.hero__shop-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--green-light);
  padding: 20px 24px;
}

.trust-bar__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  justify-items: center;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-bar__icon {
  color: var(--green);
  flex-shrink: 0;
}

.trust-bar__text {
  font-family: 'Varela Round', sans-serif;
  font-size: 13px;
  color: var(--ink-light);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
  padding: 80px 24px;
  background: var(--cream);
}

.products__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.products__header {
  text-align: center;
  margin-bottom: 48px;
}

.products__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 2.25rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.products__subtitle {
  font-size: 1rem;
  color: var(--ink-light);
}

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

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: float 6s ease-in-out infinite;
}

.product-card:nth-child(2) { animation-delay: -1s; }
.product-card:nth-child(3) { animation-delay: -2s; }
.product-card:nth-child(4) { animation-delay: -3s; }
.product-card:nth-child(5) { animation-delay: -4s; }
.product-card:nth-child(6) { animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__image-wrapper img {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: 'Varela Round', sans-serif;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.product-card__badge--new {
  background: var(--pink);
  color: var(--white);
}

.product-card__badge--bestseller {
  background: var(--yellow);
  color: var(--pit);
}

.product-card__badge--popular {
  background: var(--green);
  color: var(--white);
}

.product-card__badge--save {
  background: var(--amber);
  color: var(--white);
}

.product-card__info {
  padding: 20px;
}

.product-card__title {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.product-card__price {
  font-family: 'Varela Round', sans-serif;
  font-size: 1.125rem;
  color: var(--amber);
  margin-bottom: 16px;
}

.product-card__btn {
  width: 100%;
  padding: 12px;
  background: var(--green);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}

.product-card__btn:hover {
  background: #158c54;
  transform: scale(1.02);
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories {
  padding: 80px 24px;
  background: var(--cream);
}

.categories__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.categories__header {
  text-align: center;
  margin-bottom: 48px;
}

.categories__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 2.25rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.categories__subtitle {
  font-size: 1rem;
  color: var(--ink-light);
}

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

.category-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-card__image {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-card__image img {
  transform: scale(1.05);
}

.category-card__content {
  padding: 24px;
  text-align: center;
}

.category-card__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  margin-bottom: 4px;
}

.category-card__desc {
  font-size: 14px;
  color: var(--ink-light);
  margin-bottom: 16px;
}

.category-card__btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--green);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-pill);
  transition: background var(--transition);
}

.category-card:hover .category-card__btn {
  background: #158c54;
}

/* ============================================
   GIFT IDEAS SECTION
   ============================================ */
.gifts {
  padding: 80px 24px;
  background: var(--cream);
}

.gifts__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.gifts__header {
  text-align: center;
  margin-bottom: 56px;
}

.gifts__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.gifts__subtitle {
  font-size: 1rem;
  color: var(--ink-light);
}

.gifts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.gift-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gift-card__image {
  aspect-ratio: 1;
  overflow: hidden;
}

.gift-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gift-card:hover .gift-card__image img {
  transform: scale(1.05);
}

.gift-card__content {
  padding: 28px;
}

.gift-card__tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--pink);
  color: var(--white);
  font-family: 'Varela Round', sans-serif;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.gift-card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  margin-bottom: 10px;
}

.gift-card__text {
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.7;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter {
  padding: 80px 24px;
  background: var(--green-light);
  position: relative;
  overflow: hidden;
}

.newsletter__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  margin-bottom: 8px;
}

.newsletter__subtitle {
  font-size: 1rem;
  color: var(--ink-light);
  margin-bottom: 32px;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter__input {
  flex: 1;
  padding: 14px 24px;
  border: 2px solid var(--green);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter__input:focus {
  border-color: var(--amber);
}

.newsletter__input::placeholder {
  color: var(--ink-light);
}

.newsletter__button {
  padding: 14px 32px;
  background: var(--amber);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-pill);
  transition: background var(--transition), transform var(--transition);
}

.newsletter__button:hover {
  background: var(--amber-hover);
  transform: translateY(-1px);
}

.newsletter__decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.newsletter__deco {
  position: absolute;
  font-size: 2rem;
  opacity: 0.15;
  animation: decoFloat 8s ease-in-out infinite;
}

.newsletter__deco:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.newsletter__deco:nth-child(2) { top: 25%; right: 12%; animation-delay: -2s; }
.newsletter__deco:nth-child(3) { bottom: 20%; left: 15%; animation-delay: -4s; }
.newsletter__deco:nth-child(4) { bottom: 30%; right: 10%; animation-delay: -6s; }
.newsletter__deco:nth-child(5) { top: 50%; left: 5%; animation-delay: -3s; }

@keyframes decoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(10deg); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  background: var(--deep);
  color: var(--white);
  padding: 64px 24px 32px;
  overflow: hidden;
}

.footer__avocado {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.footer__logo img {
  max-height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 768px) {
  .footer__logo img {
    max-height: 72px;
  }
}

.footer__tagline {
  font-size: 14px;
  opacity: 0.7;
}

.footer__heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  opacity: 0.5;
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 10px;
}

.footer__list a {
  font-size: 14px;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.footer__list a:hover {
  opacity: 1;
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background var(--transition);
}

.footer__socials a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  opacity: 0.5;
}

.footer__bottom a {
  text-decoration: underline;
  transition: opacity var(--transition);
}

.footer__bottom a:hover {
  opacity: 1;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal .scroll-reveal {
  transition-delay: 0.1s;
}

.scroll-reveal .scroll-reveal .scroll-reveal {
  transition-delay: 0.2s;
}

/* ============================================
   TABLET BREAKPOINT (768px+)
   ============================================ */
@media (min-width: 768px) {
  .hero__title {
    font-size: 4rem;
  }

  .hero__subtitle {
    font-size: 1.25rem;
  }

  .trust-bar__inner {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .gifts__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .newsletter__form {
    flex-direction: row;
  }

  .footer__columns {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================
   DESKTOP BREAKPOINT (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: center;
  }

  .header__cart {
    margin-left: 0;
    justify-self: end;
  }

  .header__menu-toggle {
    display: none;
  }

  .hero__title {
    font-size: 5rem;
  }

  .products {
    padding: 15vh 24px;
  }

  .products__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .categories {
    padding: 15vh 24px;
  }

  .categories__title {
    font-size: 2.5rem;
  }

  .gifts {
    padding: 15vh 24px;
  }

  .gifts__title {
    font-size: 2.5rem;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
