/* =========================================================
   CloudyBlue — Premium Boutique Gift Shop
   Pure CSS3 · Mobile First · 2026 Design
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --primary: #6EC6FF;
  --primary-dark: #3FA9F5;
  --secondary: #8ED1FC;
  --bg: #FFFFFF;
  --soft: #F8FAFC;
  --text: #1F2937;
  --muted: #6B7280;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --line: #E5EAF0;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-btn: "Poppins", "Roboto", sans-serif;
  --font-display: "Roboto", sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 10px rgba(31, 41, 55, .06);
  --shadow: 0 10px 30px rgba(31, 41, 55, .08);
  --shadow-lg: 0 24px 60px rgba(31, 41, 55, .14);
  --shadow-blue: 0 18px 40px rgba(110, 198, 255, .35);

  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 100px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-btn); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.6rem; border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s;
  white-space: nowrap;
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(245, 158, 11, .3); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(245, 158, 11, .42); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--text); transform: translateY(-3px); }
.btn-primary { background: var(--primary-dark); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-3px); }

/* On light sections, ghost button needs dark text */
.modal-body .btn-ghost, .about .btn-ghost { color: var(--text); border-color: var(--line); background: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(229, 234, 240, .8);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.brand {
  display: inline-flex; align-items: center;
  transition: transform .3s var(--ease);
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  /* border: 1px solid rgba(255, 255, 255, 0.4); */
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  position: relative;
  z-index: 1;
}
.brand:hover { transform: translateY(-2px); }
.brand-logo {
  height: 28px; width: auto; object-fit: contain; display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .4)) brightness(1.15);
}
/* Over the dark hero the grey wordmark needs a lift; scrolled (light) header keeps it natural */
.site-header.scrolled .brand {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(229, 234, 240, .8);
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled .brand-logo { filter: drop-shadow(0 1px 3px rgba(31, 41, 55, .2)); }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-weight: 500; font-size: .95rem; color: var(--text); position: relative; padding: .25rem 0;
  transition: color .25s;
}
.site-header:not(.scrolled) .nav-link { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { color: #fff !important; text-shadow: none !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.site-header:not(.scrolled) .nav-toggle.open span { background: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../assets/images/hero.jpg") center/cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
  filter: saturate(1.05);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(20, 40, 70, .82) 0%, rgba(63, 169, 245, .45) 55%, rgba(110, 198, 255, .25) 100%),
    linear-gradient(to top, rgba(15, 25, 45, .65), transparent 45%);
}
.hero-inner { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero-content { max-width: 680px; }
.eyebrow {
  display: inline-block; font-family: var(--font-btn); font-weight: 600;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.hero .eyebrow {
  color: #ffd587; padding: .5rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px); margin-bottom: 1.4rem;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -1.5px;
  margin-bottom: 1.4rem;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
  animation: heroRise 1s var(--ease) both;
}
.hero-title .accent-word {
  font-style: italic; font-weight: 700;
  background: linear-gradient(100deg, #ffd587 0%, #ffe8b8 50%, #6EC6FF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
@keyframes heroRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero-text {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 300; line-height: 1.7; letter-spacing: .2px;
  max-width: 560px; color: rgba(255, 255, 255, .94); margin-bottom: 2.2rem;
  animation: heroRise 1s var(--ease) .15s both;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-meta { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--font-head); font-size: 1.3rem; color: #fff; }
.hero-meta span { font-size: .85rem; color: rgba(255, 255, 255, .8); }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px; background: #fff;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.soft-bg { background: var(--soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-title { font-family: var(--font-btn); font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .8rem; font-weight: 700; }
.section-sub { color: var(--muted); font-size: 1.05rem; font-family: var(--font-body); }

/* ---------- Categories ---------- */
.category-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.category-card {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.2rem 1.2rem;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.category-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: opacity .4s var(--ease); z-index: 0;
}
.category-card > * { position: relative; z-index: 1; transition: color .35s; }
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-blue); border-color: transparent; }
.category-card:hover::before { opacity: 1; }
.category-card:hover .cat-name, .category-card:hover .cat-link { color: #fff; }
.cat-icon { font-size: 2.6rem; line-height: 1; filter: drop-shadow(0 6px 12px rgba(0,0,0,.12)); }
.cat-name { font-family: var(--font-btn); font-weight: 700; font-size: 1.15rem; }
.cat-link { font-family: var(--font-btn); font-size: .82rem; font-weight: 600; color: var(--accent); }

/* ---------- Shop controls ---------- */
.shop-controls {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  margin-bottom: 2.5rem;
}
.search-box { position: relative; flex: 1 1 260px; max-width: 340px; }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search-box input {
  width: 100%; font-family: var(--font-body); font-size: .95rem;
  padding: .85rem 1rem .85rem 2.8rem; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--text); transition: border-color .3s, box-shadow .3s;
}
.search-box input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(110, 198, 255, .2); }

.filter-pills { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill {
  font-family: var(--font-btn); font-weight: 500; font-size: .85rem;
  padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); transition: all .3s var(--ease);
}
.pill:hover { border-color: var(--primary); color: var(--primary-dark); }
.pill.is-active { background: var(--text); color: #fff; border-color: var(--text); }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  opacity: 0; transform: translateY(24px);
}
.product-card.in { opacity: 1; transform: none; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-thumb { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.07); }
.product-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-btn); font-size: .68rem; font-weight: 600; letter-spacing: .04em;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); color: var(--text);
  padding: .35rem .7rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.quick-view-btn {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  font-family: var(--font-btn); font-weight: 600; font-size: .85rem;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); color: var(--text);
  padding: .7rem; border-radius: 999px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px); transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s;
}
.product-card:hover .quick-view-btn { opacity: 1; transform: none; }
.quick-view-btn:hover { background: var(--accent); color: #fff; }
.product-info { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-name { font-family: var(--font-btn); font-size: 1.12rem; font-weight: 700; }
.product-cat { font-size: .78rem; color: var(--muted); font-family: var(--font-btn); }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .6rem; }
.product-price { font-family: var(--font-btn); font-weight: 700; font-size: 1.15rem; color: var(--primary-dark); }
.product-stars { color: var(--accent); font-size: .85rem; letter-spacing: 1px; }

.no-results { text-align: center; color: var(--muted); padding: 2rem; font-size: 1.05rem; }

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media { position: relative; }
.about-img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about-badge {
  position: absolute; bottom: -22px; right: -10px; padding: 1rem 1.4rem; border-radius: var(--radius);
  display: flex; flex-direction: column; line-height: 1.3;
}
.about-badge strong { font-family: var(--font-head); font-size: 1.05rem; }
.about-badge span { font-size: .82rem; color: var(--muted); }
.about-content p { color: var(--muted); margin-bottom: 1rem; }
.mission {
  border-left: 4px solid var(--accent); padding: 1rem 1.4rem; margin: 1.6rem 0;
  background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head); font-size: 1.2rem; font-style: italic; color: var(--text);
}
.mission span {
  display: block; font-family: var(--font-btn); font-style: normal; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .35rem;
}
.about-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.8rem; }
.about-stats div { display: flex; flex-direction: column; }
.about-stats strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--primary-dark); }
.about-stats span { font-size: .85rem; color: var(--muted); }

/* ---------- Glass ---------- */
.glass {
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--shadow);
}

/* ---------- Reviews ---------- */
.reviews-carousel { overflow: hidden; }
.reviews-track { display: flex; transition: transform .6s var(--ease); }
.review-card {
  min-width: 100%; padding: 2.5rem; border-radius: var(--radius-lg); text-align: center;
}
.stars { color: var(--accent); font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 1rem; }
.review-text { font-family: var(--font-btn); font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-style: italic; line-height: 1.5; margin-bottom: 1.2rem; }
.review-author { font-family: var(--font-btn); font-weight: 600; color: var(--primary-dark); }
@media (min-width: 768px) {
  .review-card { min-width: calc(33.333% - 1rem); margin-right: 1.5rem; }
  .review-text { font-size: 1.15rem; }
}
.carousel-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; }
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: .3s var(--ease);
}
.carousel-dots button.active { background: var(--primary); width: 28px; border-radius: 6px; }

/* ---------- Instagram ---------- */
.insta-grid {
  display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); margin-bottom: 2.5rem;
}
@media (min-width: 600px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .insta-grid { grid-template-columns: repeat(6, 1fr); } }
.insta-item {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius);
  display: block; box-shadow: var(--shadow-sm);
}
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.insta-item::after {
  content: "♥"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 1.6rem; background: rgba(63, 169, 245, .55);
  opacity: 0; transition: opacity .35s var(--ease); backdrop-filter: blur(2px);
}
.insta-item:hover img { transform: scale(1.12); }
.insta-item:hover::after { opacity: 1; }
.insta-cta { text-align: center; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: stretch; }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: start; }
.info-card { padding: 1.4rem; border-radius: var(--radius); display: flex; gap: .9rem; align-items: flex-start; }
.info-icon { font-size: 1.6rem; line-height: 1; }
.info-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.info-card p { font-size: .92rem; color: var(--muted); }
.info-card a:hover { color: var(--primary-dark); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; border: 1px solid var(--line); }
.contact-map iframe { display: block; height: 100%; min-height: 380px; }

/* ---------- Footer ---------- */
.site-footer { background: #0e1726; color: #cfd8e3; padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo {
  height: 88px; width: auto; display: block; margin-bottom: 1rem;
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, .4));
}
.footer-brand p { font-size: .92rem; color: #9aa7b8; max-width: 320px; margin-bottom: 1.2rem; }
.footer-socials {
  display: flex; gap: 1rem; margin-bottom: 1.5rem;
}
.footer-social {
  display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(110, 198, 255, .2); border: 2px solid var(--primary);
  transition: all .3s var(--ease);
  box-shadow: 0 4px 16px rgba(110, 198, 255, .25);
}
.footer-social img {
  width: 26px; height: 26px; filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(0, 0, 0, .3));
}
.footer-social:hover {
  background: var(--primary); border-color: var(--primary);
  transform: translateY(-5px) scale(1.1); box-shadow: 0 12px 32px rgba(110, 198, 255, .4);
}
.footer-social:hover img { filter: brightness(0) invert(1) drop-shadow(0 0 1px rgba(0, 0, 0, .2)); }
.footer-col h4 { font-family: var(--font-btn); font-size: 1rem; color: #fff; margin-bottom: 1.1rem; }
.footer-col a, .footer-col p { display: block; font-size: .92rem; color: #9aa7b8; margin-bottom: .6rem; transition: color .25s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.4rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .85rem; color: #7e8b9c; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14, 23, 38, .6); backdrop-filter: blur(6px); animation: fade .3s ease; }
.modal-card {
  position: relative; z-index: 1; background: #fff; border-radius: var(--radius-lg);
  width: min(880px, 100%); max-height: 90vh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg); animation: pop .4s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal-media { background: var(--soft); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 2.2rem; overflow-y: auto; display: flex; flex-direction: column; gap: .6rem; }
.modal-cat { font-family: var(--font-btn); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.modal-body h3 { font-size: 1.8rem; }
.modal-price { font-family: var(--font-btn); font-weight: 700; font-size: 1.5rem; color: var(--primary-dark); }
.modal-desc { color: var(--muted); }
.modal-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); font-size: 1.6rem; line-height: 1; color: var(--text);
  display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: .25s;
}
.modal-close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-dark); color: #fff; font-size: 1.3rem; box-shadow: var(--shadow-blue);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); transform: translateY(-4px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .about-wrap { grid-template-columns: 1fr; }
  .about-media { max-width: 540px; margin: 0 auto; }
  .contact-wrap { grid-template-columns: 1fr; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(20px);
    padding: 2rem 2.4rem; transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.12);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-link { color: var(--text) !important; text-shadow: none !important; font-size: 1.15rem; }
  .nav-cta { width: 100%; }
  .hero-meta { gap: 1.5rem; }
  .shop-controls { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
}
@media (max-width: 560px) {
  .contact-info { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .about-badge { right: 10px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; }
}
