:root {
    --cream: #FDF6ED;
    --warm-white: #FEFCF8;
    --amber: #E8A020;
    --amber-dark: #C4841A;
    --forest: #2D4A2D;
    --forest-light: #3D6B3D;
    --terracotta: #C4622D;
    --terracotta-light: #E8845A;
    --charcoal: #1E1E1E;
    --mid-gray: #6B6B6B;
    --light-gray: #E8E4DC;
    --card-bg: #FFFBF4;
    --shadow-warm: 0 8px 32px rgba(100, 60, 10, 0.12);
    --shadow-hover: 0 20px 60px rgba(100, 60, 10, 0.2);
    --radius: 16px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    overflow-x: hidden;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ─── NAVBAR ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 246, 237, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 160, 32, 0.2);
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--amber), var(--terracotta));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(232, 160, 32, 0.35);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--charcoal);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--amber);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--mid-gray);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-links a:hover {
    color: var(--charcoal);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1.5px solid var(--light-gray);
    background: var(--card-bg);
    color: var(--charcoal);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
    border-color: var(--amber);
}

.mobile-nav-toggle .mobile-nav-icon,
.mobile-nav-toggle .mobile-nav-icon::before,
.mobile-nav-toggle .mobile-nav-icon::after {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    display: block;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-nav-toggle .mobile-nav-icon {
    position: relative;
}

.mobile-nav-toggle .mobile-nav-icon::before,
.mobile-nav-toggle .mobile-nav-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.mobile-nav-toggle .mobile-nav-icon::before {
    top: -6px;
}

.mobile-nav-toggle .mobile-nav-icon::after {
    top: 6px;
}

body.nav-open {
    overflow: hidden;
}

body.nav-open .mobile-nav-toggle .mobile-nav-icon {
    background: transparent;
}

body.nav-open .mobile-nav-toggle .mobile-nav-icon::before {
    transform: translateY(6px) rotate(45deg);
}

body.nav-open .mobile-nav-toggle .mobile-nav-icon::after {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-panel {
    display: none;
}

.btn {
    padding: 10px 22px;
    border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--light-gray);
}

.btn-ghost:hover {
    border-color: var(--amber);
    color: var(--amber);
}

.btn-primary {
    background: linear-gradient(135deg, var(--amber), var(--terracotta));
    color: white;
    box-shadow: 0 4px 16px rgba(232, 160, 32, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 160, 32, 0.45);
}

.cart-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1.5px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.cart-btn:hover {
    border-color: var(--amber);
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--terracotta);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cream);
    display: none;
}

.cart-badge.visible {
    display: flex;
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    padding: 120px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 160, 32, 0.12);
    border: 1px solid rgba(232, 160, 32, 0.3);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--amber-dark);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease both;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.08;
    font-weight: 900;
    color: var(--charcoal);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s 0.1s ease both;
}

.hero h1 em {
    font-style: italic;
    color: var(--amber);
    display: block;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--mid-gray);
    max-width: 480px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s 0.2s ease both;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-actions .btn {
    font-size: 15px;
    padding: 14px 28px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 56px;
    animation: fadeInUp 0.6s 0.4s ease both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--charcoal);
}

.stat-label {
    font-size: 12px;
    color: var(--mid-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    background: var(--light-gray);
}

/* Hero visual */
.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s 0.2s ease both;
}

.hero-card-main {
    background: var(--card-bg);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-warm);
    border: 1px solid rgba(232, 160, 32, 0.15);
}

.hero-img-placeholder {
    height: 380px;
    background: linear-gradient(135deg, #F5E6C8 0%, #E8D5A8 40%, #D4B87A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    position: relative;
    overflow: hidden;
}

.hero-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 70%, rgba(232, 160, 32, 0.3) 0%, transparent 60%);
}

.hero-card-info {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pet-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
}

.pet-info p {
    font-size: 13px;
    color: var(--mid-gray);
    margin-top: 2px;
}

.pet-price {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--amber);
}

.floating-cards {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 12px;
    right: -20px;
    top: 60px;
}

.float-card {
    background: white;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(232, 160, 32, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
    min-width: 180px;
}

.float-card:nth-child(2) {
    animation-delay: 1.5s;
}

.float-icon {
    font-size: 24px;
}

.float-info {
    font-size: 12px;
}

.float-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

/* ─── SECTION STYLES ─── */
section {
    padding: 80px 40px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    margin-bottom: 48px;
}

.section-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--charcoal);
}

.section-desc {
    font-size: 15px;
    color: var(--mid-gray);
    margin-top: 12px;
    max-width: 500px;
    line-height: 1.6;
}

/* ─── CATEGORY STRIP ─── */
.categories-section {
    background: var(--charcoal);
    padding: 60px 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.cat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cat-card:hover {
    background: rgba(232, 160, 32, 0.15);
    border-color: var(--amber);
    transform: translateY(-4px);
}

.cat-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.cat-name {
    font-size: 13px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.3px;
}

.cat-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.section-title.light {
    color: white;
}

.section-tag.light {
    color: var(--amber);
}

/* ─── PETS GRID ─── */
.pets-section {
    background: var(--warm-white);
}

.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 100px;
    background: transparent;
    border: 1.5px solid var(--light-gray);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--mid-gray);
    font-family: 'DM Sans', sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--charcoal);
    color: white;
    border-color: var(--charcoal);
}

.pets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pet-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(232, 160, 32, 0.12);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.pet-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.pet-card-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    position: relative;
    background: linear-gradient(135deg, #F7EED8, #EDD9A3);
}

.pet-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--forest);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.pet-badge.new {
    background: var(--terracotta);
}

.pet-badge.sold {
    background: var(--mid-gray);
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.wishlist-btn:hover {
    transform: scale(1.15);
}

.wishlist-btn.active {
  background: #ffe9ef;
  color: #d42654;
  box-shadow: 0 2px 10px rgba(212, 38, 84, 0.25);
}

.pet-card-body {
    padding: 18px;
}

.pet-breed {
    font-size: 11px;
    font-weight: 600;
    color: var(--amber);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.pet-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    margin: 4px 0 6px;
}

.pet-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.meta-item {
    font-size: 12px;
    color: var(--mid-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

.pet-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--light-gray);
}

.pet-price-display {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--forest);
}

.add-cart-btn {
    padding: 8px 18px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--amber), var(--terracotta));
    color: white;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.25s;
}

.add-cart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(232, 160, 32, 0.4);
}

/* ─── PRODUCTS ─── */
.products-section {
    background: var(--cream);
}

.products-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 36px;
    background: var(--light-gray);
    border-radius: 100px;
    padding: 4px;
    width: fit-content;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 100px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: var(--mid-gray);
    font-family: 'DM Sans', sans-serif;
    transition: all 0.25s;
}

.tab-btn.active {
    background: white;
    color: var(--charcoal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-warm);
}

.product-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    background: linear-gradient(135deg, #F0E8D0, #E0D0A8);
}

.product-body {
    padding: 16px;
}

.product-cat {
    font-size: 10px;
    font-weight: 700;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    margin: 4px 0 8px;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.star {
    color: var(--amber);
    font-size: 12px;
}

.rating-count {
    font-size: 11px;
    color: var(--mid-gray);
    margin-left: 4px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal);
}

.product-price small {
    font-size: 12px;
    color: var(--mid-gray);
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 4px;
}

.add-btn-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--charcoal);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.add-btn-sm:hover {
    background: var(--amber);
    transform: scale(1.1);
}

/* ─── TRUST BANNER ─── */
.trust-section {
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%);
    padding: 60px 40px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.trust-text h4 {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.trust-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.5;
}

/* ─── VET SECTION ─── */
.vet-section {
    background: var(--warm-white);
    padding: 80px 40px;
}

.vet-cta-card {
    background: linear-gradient(135deg, #1E1E1E 0%, #2D4A2D 100%);
    border-radius: 28px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.vet-cta-card::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 160, 32, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.vet-cta-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.vet-cta-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    line-height: 1.6;
    max-width: 460px;
}

.vet-copy {
    position: relative;
    z-index: 1;
}

.vet-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.vet-actions .btn-ghost {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.78);
}

.vet-highlights {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.vet-highlight {
    min-width: 120px;
    color: white;
}

.vet-highlight strong {
    display: block;
    font-size: 20px;
    font-family: 'Playfair Display', serif;
}

.vet-highlight p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
    max-width: none;
}

.vet-visual {
    font-size: 100px;
    position: relative;
    z-index: 1;
}

/* ─── TESTIMONIALS ─── */
.testimonials-section {
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.test-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.test-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--charcoal);
    margin-bottom: 20px;
    font-style: italic;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber), var(--terracotta));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.author-name {
    font-weight: 600;
    font-size: 14px;
}

.author-loc {
    font-size: 12px;
    color: var(--mid-gray);
}

/* ─── NEWSLETTER ─── */
.newsletter-section {
    background: var(--charcoal);
    padding: 80px 40px;
    text-align: center;
}

.newsletter-inner {
    max-width: 620px;
    margin: 0 auto;
}

.newsletter-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    color: white;
    margin-bottom: 16px;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 100px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.newsletter-input:focus {
    border-color: var(--amber);
}

/* ─── FOOTER ─── */
footer {
    background: #111;
    padding: 60px 40px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto 48px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0 24px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--amber);
}

.footer-col h5 {
    color: white;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--amber);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    max-width: 100%;
    word-break: break-word;
}

/* ─── MODAL/CART PANEL ─── */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(4px);
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: -480px;
    bottom: 0;
    width: 440px;
    background: var(--warm-white);
    z-index: 2100;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
}

.cart-panel.open {
    right: 0;
}

.cart-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
}

.close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-gray);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-btn:hover {
    background: var(--amber);
    color: white;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 28px;
}

.cart-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--light-gray);
}

.cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F5E6C8, #E0D0A8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--forest);
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--light-gray);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: var(--amber);
    color: white;
}

.qty-num {
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--mid-gray);
    font-size: 16px;
    transition: color 0.2s;
}

.remove-btn:hover {
    color: var(--terracotta);
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--mid-gray);
}

.cart-empty .empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.cart-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--light-gray);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-total span {
    font-size: 16px;
    font-weight: 600;
}

.cart-total strong {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--amber), var(--terracotta));
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.25s;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 160, 32, 0.4);
}

/* ─── ORDER MODAL ─── */
.order-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.order-modal.active {
    opacity: 1;
    pointer-events: all;
}

.order-modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.order-modal-box {
    position: relative;
    z-index: 1;
    background: var(--warm-white);
    border-radius: 28px;
    padding: 48px;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.order-modal.active .order-modal-box {
    transform: scale(1);
}

.order-modal-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--charcoal);
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--light-gray);
    border-radius: 10px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    background: white;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--charcoal);
}

.form-input:focus,
.form-select:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.order-summary {
    background: var(--cream);
    border-radius: 14px;
    padding: 20px;
    margin: 24px 0;
}

.order-summary h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--mid-gray);
}

.order-row.total {
    font-size: 16px;
    font-weight: 700;
    color: var(--charcoal);
    padding-top: 12px;
    border-top: 1px solid var(--light-gray);
    margin-top: 4px;
}

.place-order-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--forest), var(--forest-light));
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.25s;
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 74, 45, 0.35);
}

/* ─── SUCCESS MODAL ─── */
.success-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.success-modal.active {
    opacity: 1;
    pointer-events: all;
}

.success-box {
    background: white;
    border-radius: 28px;
    padding: 48px;
    width: 90%;
    max-width: 440px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

.success-modal.active .success-box {
    transform: scale(1);
}

.success-icon {
    font-size: 72px;
    margin-bottom: 20px;
    display: block;
    animation: bounce 0.6s ease;
}

.success-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.success-box p {
    color: var(--mid-gray);
    font-size: 15px;
    line-height: 1.6;
}

.order-id {
    font-size: 13px;
    color: var(--amber);
    font-weight: 700;
    margin: 16px 0;
}

/* ─── TOAST ─── */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 5000;
    background: var(--charcoal);
    color: white;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 320px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 18px;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {

    .pets-grid,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 16px;
        height: 68px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions>*:not(.mobile-nav-toggle) {
        display: none;
    }

    .mobile-nav-toggle {
        display: inline-flex;
    }

    .nav-logo {
        gap: 8px;
        min-width: 0;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .logo-text {
        font-size: 20px;
    }

    .mobile-nav-panel {
        display: block;
        position: fixed;
        top: 80px;
        left: 16px;
        right: 16px;
        z-index: 999;
        background: rgba(254, 252, 248, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(232, 160, 32, 0.18);
        border-radius: 22px;
        box-shadow: 0 18px 44px rgba(37, 28, 18, 0.14);
        padding: 18px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.22s ease, transform 0.22s ease;
        max-height: calc(100vh - 104px);
        overflow-y: auto;
    }

    body.nav-open .mobile-nav-panel {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-nav-panel .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin-bottom: 14px;
    }

    .mobile-nav-panel .nav-links li {
        list-style: none;
    }

    .mobile-nav-panel .nav-links a {
        display: block;
        padding: 12px 10px;
        border-radius: 12px;
        font-size: 15px;
    }

    .mobile-nav-panel .nav-links a::after {
        display: none;
    }

    .mobile-nav-panel .nav-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mobile-nav-panel .nav-actions>* {
        display: inline-flex !important;
    }

    .mobile-nav-panel .nav-actions .btn,
    .mobile-nav-panel .nav-actions .cart-btn {
        width: 100%;
        justify-content: center;
    }

    .mobile-nav-panel .nav-actions .cart-btn {
        border-radius: 999px;
        min-height: 42px;
        padding: 0 14px;
    }

    .btn {
        padding: 9px 16px;
        font-size: 13px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 100px 20px 60px;
        gap: 32px;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: clamp(34px, 10vw, 52px);
    }

    .hero-desc {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 18px;
        margin-top: 34px;
    }

    .stat {
        flex: 1 1 180px;
        min-width: 0;
    }

    .stat-num,
    .stat-label {
        text-align: left;
    }

    .stat-divider {
        display: none;
    }

    .filter-bar,
    .products-tabs,
    .newsletter-form {
        width: 100%;
    }

    .products-tabs {
        overflow-x: auto;
        padding: 4px;
    }

    .tab-btn,
    .filter-btn {
        flex: 0 0 auto;
    }

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

    .categories-section {
        padding: 60px 20px;
    }

    .cat-card {
        padding: 22px 14px;
    }

    .cat-icon-img {
        height: 104px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 32px;
        margin-bottom: 32px;
    }

    .footer-brand,
    .footer-col {
        text-align: center;
        min-width: 0;
    }

    .footer-brand .nav-logo {
        justify-content: center;
        width: 100%;
    }

    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-col ul {
        padding-left: 0;
        list-style: none;
    }

    .footer-bottom {
        width: 100%;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 12px;
        overflow: hidden;
    }

    .footer-bottom p:last-child {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 16px;
    }

    section {
        padding: 60px 20px;
    }

    .vet-cta-card {
        grid-template-columns: 1fr;
        padding: 36px 28px;
        gap: 24px;
    }

    .vet-visual {
        display: none;
    }

    .vet-actions {
        width: 100%;
    }

    .vet-highlights {
        gap: 16px;
    }

    .cart-panel {
        width: 100%;
        right: -100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        width: 100%;
    }

    .newsletter-form .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 48px 16px 28px;
        overflow-x: clip;
    }

    nav {
        padding: 0 12px;
    }

    .mobile-nav-panel {
        left: 12px;
        right: 12px;
        top: 76px;
        padding: 14px;
    }

    .logo-text {
        font-size: 18px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .hero {
        padding: 92px 16px 52px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .pets-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .categories-section {
        padding: 52px 16px;
    }

    .cat-card {
        padding: 18px 12px;
    }

    .cat-icon-img {
        height: 88px;
    }

    .hero-stats {
        gap: 20px;
        justify-content: center;
    }

    .vet-section,
    .newsletter-section {
        padding: 60px 16px;
    }

    .vet-cta-card {
        padding: 28px 18px;
        border-radius: 22px;
        text-align: center;
    }

    .vet-cta-card h2 {
        font-size: 28px;
    }

    .vet-cta-card p {
        max-width: none;
        font-size: 14px;
    }

    .vet-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .vet-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .vet-highlights {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .vet-highlight {
        width: 100%;
    }

    .newsletter-section h2 {
        font-size: 32px;
    }

    .newsletter-section p {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .section-header {
        text-align: left;
    }

    .stat {
        flex-basis: 100%;
        align-items: center;
        text-align: center;
    }

    .stat-num,
    .stat-label {
        text-align: center;
    }
}
/* ─── VET CHAT MODAL ─── */
.vet-chat-box {
    position: relative;
    z-index: 1;
    background: var(--warm-white);
    border-radius: 24px;
    width: 92%;
    max-width: 720px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.vet-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--light-gray);
    background: linear-gradient(135deg, #fff8ec, #fff3da);
}

.vet-chat-head h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin: 0;
}

.vet-chat-head p {
    font-size: 12px;
    color: var(--mid-gray);
    margin-top: 2px;
}

.vet-chat-messages {
    padding: 18px;
    overflow-y: auto;
    background: #fff;
    flex: 1;
    min-height: 320px;
}

.vet-msg {
    max-width: 78%;
    margin-bottom: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
}

.vet-msg.user {
    margin-left: auto;
    background: linear-gradient(135deg, var(--amber), var(--terracotta));
    color: #fff;
    border-bottom-right-radius: 6px;
}

.vet-msg.bot {
    background: #f7f8fa;
    color: #1f2937;
    border: 1px solid #eceff3;
    border-bottom-left-radius: 6px;
}

.vet-chat-quick {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 16px;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    background: #fffdf8;
}

.vet-quick-btn {
    border: 1px solid #ebdfc6;
    background: #fff;
    color: #5b4a2a;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    cursor: pointer;
}

.vet-quick-btn:hover {
    border-color: var(--amber);
}

.vet-chat-form {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
}

.vet-chat-input {
    flex: 1;
    border: 1.5px solid var(--light-gray);
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
}

.vet-chat-input:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.12);
}

.vet-chat-send {
    justify-content: center;
    min-width: 90px;
}

/* ─── Visual V2: Natural Images + 3D Motion ─── */
.natural-hero-card {
    transform-style: preserve-3d;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.natural-hero-card:hover {
    transform: perspective(900px) rotateX(2deg) rotateY(-3deg) translateY(-4px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.16);
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.orb-3d {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(0.5px);
}

.orb-a {
    width: 130px;
    height: 130px;
    top: -24px;
    left: -26px;
    background: radial-gradient(circle at 32% 32%, #ffe39f, #f1a92c);
    opacity: 0.28;
    animation: float3d 6s ease-in-out infinite;
}

.orb-b {
    width: 88px;
    height: 88px;
    right: -16px;
    bottom: 24px;
    background: radial-gradient(circle at 32% 32%, #ffd6c5, #df7d47);
    opacity: 0.24;
    animation: float3d 7s ease-in-out infinite 1.2s;
}

.three-d-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform-style: preserve-3d;
}

.three-d-card:hover {
    transform: perspective(900px) rotateX(1.5deg) rotateY(-1.8deg) translateY(-7px);
    box-shadow: 0 24px 38px rgba(53, 33, 3, 0.16);
}

.pet-photo,
.product-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pet-emoji-fallback,
.product-emoji-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 62px;
}

@keyframes float3d {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-12px) translateX(5px); }
}

.hero-img-placeholder {
    position: relative;
    overflow: hidden;
}

.hero-img-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-size: 110px;
    background: linear-gradient(135deg, #f5e6c8 0%, #e8d5a8 40%, #d4b87a 100%);
}




