/*
Theme Name: Furniture Shop
Theme URI: https://example.com
Author: Karandev V J
Description: A modern, SEO-optimised single-page WordPress theme for a furniture shop. Features anchor navigation, product gallery, WhatsApp integration, Google Maps embed, and schema.org structured data.
Version: 1.0.0
License: GNU General Public License v2 or later
Tags: one-page, furniture, shop, ecommerce, responsive
Text Domain: furniture-shop
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --clr-primary:   #2C1A0E;   /* deep walnut brown */
  --clr-secondary: #6B3F1F;   /* warm mid-brown    */
  --clr-accent:    #C8923A;   /* golden oak        */
  --clr-light:     #F7F3EE;   /* warm cream        */
  --clr-white:     #FFFFFF;
  --clr-text:      #2C1A0E;
  --clr-muted:     #7A6A5A;
  --clr-border:    #E0D5C8;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --shadow-sm: 0 2px 8px rgba(44,26,14,.08);
  --shadow-md: 0 4px 20px rgba(44,26,14,.12);
  --shadow-lg: 0 8px 40px rgba(44,26,14,.18);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;

  --nav-height: 70px;
  --section-pad: 96px;
  --container:  1200px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* =============================================
   UTILITIES
   ============================================= */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--clr-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 560px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-accent);
  color: var(--clr-white);
  border-color: var(--clr-accent);
}
.btn-primary:hover {
  background: var(--clr-secondary);
  border-color: var(--clr-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: var(--clr-white);
  color: var(--clr-primary);
  border-color: var(--clr-white);
}

.btn-dark {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}
.btn-dark:hover {
  background: var(--clr-secondary);
  border-color: var(--clr-secondary);
  transform: translateY(-2px);
}

/* =============================================
   NAVIGATION
   ============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2147483000;
  height: var(--nav-height);
  background: var(--clr-primary);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 16px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}
.site-logo span { color: var(--clr-accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: .03em;
  transition: color .2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--clr-accent);
  transition: width .25s ease;
}

.nav-links a:hover {
  color: var(--clr-white);
}
/* Active link: accent colour + underline so the user always knows their section */
.nav-links a.active {
  color: var(--clr-accent);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--clr-accent) !important;
  color: var(--clr-white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: var(--clr-secondary) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 768px) {
  .site-logo { font-size: 1.2rem; }

  /* Collapse nav wrapper so it takes no flex space */
  #site-nav {
    flex: 0 0 0;
    min-width: 0;
    overflow: visible;
  }

  /* Overlay: JS controls display via sfToggleNav() */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    z-index: 2147483001;
    background: var(--clr-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
  }
  .nav-links.open { display: flex; }

  #site-header.menu-open { box-shadow: none; }
  .nav-links a { font-size: 1.3rem; }

  /* Hamburger — 44×44 px tap target, never shrinks */
  .nav-toggle {
    display: flex;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    touch-action: manipulation;
  }
}

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--clr-primary);
  padding-top: calc(var(--nav-height) + 40px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero-bg.jpg') center/cover no-repeat;
  opacity: .35;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44,26,14,.85) 0%,
    rgba(107,63,31,.6) 60%,
    rgba(200,146,58,.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,146,58,.2);
  border: 1px solid rgba(200,146,58,.5);
  color: var(--clr-accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--clr-white);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-title em {
  color: var(--clr-accent);
  font-style: normal;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-accent);
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
#about {
  padding: var(--section-pad) 0;
  background: var(--clr-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 520px;
}

.about-img-main,
.about-img-accent {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main {
  width: 75%; height: 80%;
  top: 0; left: 0;
  background: url('assets/about-main.jpg') center/cover;
}

.about-img-accent {
  width: 55%; height: 55%;
  bottom: 0; right: 0;
  background: url('assets/about-accent.jpg') center/cover;
  border: 5px solid var(--clr-white);
}

.about-badge {
  position: absolute;
  top: 32px; right: 0;
  background: var(--clr-accent);
  color: var(--clr-white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge strong { font-size: 1.5rem; display: block; font-family: var(--font-heading); }
.about-badge span   { font-size: .75rem; }

.about-content .section-subtitle { margin-bottom: 32px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--clr-white);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.feature-card h4 { font-size: .95rem; margin-bottom: 4px; }
.feature-card p  { font-size: .85rem; color: var(--clr-muted); }

/* =============================================
   PRODUCTS SECTION
   ============================================= */
#products {
  padding: var(--section-pad) 0;
  background: var(--clr-white);
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}

.products-header-content {
  min-width: 0;
}

.instagram-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 35%, #d62976 70%, #962fbf 100%);
  color: var(--clr-white);
  box-shadow: 0 10px 24px rgba(214, 41, 118, .24);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.instagram-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(214, 41, 118, .3);
  filter: saturate(1.05);
}

.instagram-cta-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.instagram-cta-icon svg {
  display: block;
}

.instagram-cta-text {
  white-space: nowrap;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--clr-white);
  transition: transform .3s, box-shadow .3s;
  border: 1px solid var(--clr-border);
}

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

.product-img {
  position: relative;
  height: 240px;
  background: var(--clr-light);
  overflow: hidden;
}

.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--clr-accent);
  color: var(--clr-white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.product-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #f0e9e0, #e8ddd0);
}

.product-body {
  padding: 20px 22px 24px;
}

.product-category {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--clr-primary);
  margin-bottom: 8px;
}

.product-desc {
  font-size: .85rem;
  color: var(--clr-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* product-footer, product-price, product-enquire removed — not displayed */

/* =============================================
   CONTACT SECTION
   ============================================= */
#contact {
  padding: var(--section-pad) 0;
  background: var(--clr-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch; /* both columns grow to the same height */
}

/* contact-grid--single no longer needed — map is always the right column */

.contact-info .section-subtitle { margin-bottom: 40px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 46px; height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: var(--clr-accent);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-body strong { display: block; font-size: .85rem; color: var(--clr-muted); margin-bottom: 2px; }
.contact-item-body span  { font-size: .95rem; color: var(--clr-primary); font-weight: 500; }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  background: var(--clr-white);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}
.hours-grid .day  { font-size: .85rem; color: var(--clr-muted); }
.hours-grid .time { font-size: .85rem; color: var(--clr-primary); font-weight: 600; text-align: right; }

/* Contact form */
.contact-form-wrap {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
  font-size: 1.4rem;
  color: var(--clr-primary);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-muted);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(200,146,58,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--clr-accent);
  color: var(--clr-white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover {
  background: var(--clr-secondary);
  transform: translateY(-2px);
}

.form-note {
  font-size: .78rem;
  color: var(--clr-muted);
  text-align: center;
  margin-top: 12px;
}

/* Map — right column of the contact grid.
   Uses flex so the iframe/placeholder expands to fill
   whatever height the left column (Get In Touch) ends up being. */
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  /* align-items: stretch already set on .contact-grid,
     so this div will match the left column's height automatically */
}
.map-wrap iframe,
.map-wrap .map-placeholder {
  flex: 1;          /* expand to fill all available height */
  width: 100%;
  min-height: 0;    /* allow flex shrink below intrinsic size */
  border: none;
  display: flex;
}
.map-placeholder {
  width: 100%;
  background: linear-gradient(135deg, #e8ddd0, #d0c4b0);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--clr-muted);
}
.map-placeholder .map-icon { font-size: 3rem; }
.map-placeholder p { font-size: .9rem; font-weight: 500; }
.map-placeholder small { font-size: .78rem; color: var(--clr-muted); }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--clr-primary);
  color: rgba(255,255,255,.7);
  padding: 56px 0 28px;
}

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

.footer-brand .site-logo { margin-bottom: 16px; display: block; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--clr-white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-links a:hover { color: var(--clr-accent); }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  transition: all .2s;
}
.social-link:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .82rem; }

.footer-bottom .credit-heart {
  color: #e53935;
}

.footer-bottom .credit-link {
  color: var(--clr-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color .2s;
}

.footer-bottom .credit-link:hover {
  color: var(--clr-white);
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */

/* The float wrapper is ONLY as tall as the button — tooltip is
   absolutely positioned to the left so it doesn't push height up.
   Sits above the scroll-to-top arrow:
   arrow = 44px tall, bottom 28px  →  top edge at 72px.
   Add 16px gap  →  WhatsApp bottom: 88px */
.whatsapp-float {
  position: fixed;
  bottom: 88px; right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px); /* sits to the LEFT of the button */
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--clr-white);
  color: var(--clr-primary);
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.whatsapp-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform .25s, box-shadow .25s;
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.6);
}
.whatsapp-btn svg { width: 30px; height: 30px; fill: #fff; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.3); }
  50%       { box-shadow: 0 4px 16px rgba(37,211,102,.4), 0 0 0 14px rgba(37,211,102,0); }
}

/* =============================================
   SCROLL-TO-TOP BUTTON
   ============================================= */

/* Scroll-to-top sits at the bottom, WhatsApp floats above it */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 1001;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--clr-accent);
  color: var(--clr-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(200,146,58,.5);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top:hover { background: var(--clr-secondary); }

/* =============================================
   FORM SUCCESS MESSAGE
   ============================================= */
.form-success {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
  margin-top: 16px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-grid    { grid-template-columns: 1fr; gap: 48px; }
  .about-images  { height: 360px; }
  .contact-grid  { grid-template-columns: 1fr; }
  .map-wrap      { min-height: 320px; height: 320px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .site-logo  { font-size: 1rem; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .hero-stats    { flex-direction: column; gap: 24px; }
  .about-features { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 28px 20px; }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .instagram-cta {
    width: fit-content;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .about-images { height: 280px; }
  .about-img-main { width: 80%; height: 75%; }
  .about-img-accent { width: 60%; height: 50%; }
}

/* Tooltip hangs on touch screens after a tap — hide it entirely on touch devices */
@media (hover: none) {
  .whatsapp-tooltip { display: none; }
}

/* On narrow screens shrink the floating buttons so they sit comfortably */
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 76px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-btn {
    width: 50px;
    height: 50px;
  }
  .scroll-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}
