/* Global Styles */
:root {
    --baby-blue: #a7c7e7;
    --baby-pink: #ffd1dc;
    --light-blue: #d4e6f1;
    --light-pink: #f8d7e6;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Shop pager */
.shop-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    margin: 1rem auto 0;
}
.shop-pager .pg-btn {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
    font-weight: 700;
}
.shop-pager .pg-btn.active {
    background: var(--baby-blue);
    color: #fff;
    border-color: transparent;
}
.shop-pager .pg-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Card thumbnails and sizes */
.card-size-label { font-size: .9rem; font-weight: 600; margin: .2rem 1.5rem; color: var(--text-dark); }
.card-sizes { display: flex; gap: .35rem; margin: .2rem 1.5rem .5rem; }
.card-sizes .size-btn { padding: 4px 8px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.15); background: #fff; cursor: pointer; font-size: .85rem; }
.card-sizes .size-btn.active { background: var(--baby-blue); color: #fff; border-color: transparent; }
.card-thumbs { display: flex; gap: .4rem; padding: 0 .9rem .6rem; }
.card-thumbs .thumb { width: 44px; height: 44px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.1); background-size: cover; background-position: center; cursor: pointer; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--baby-blue) 0%, var(--baby-pink) 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Cloud Animation */
.clouds {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.cloud {
    position: absolute;
    left: -20vw;
    top: var(--top, 30%);
    width: var(--w, 260px);
    height: var(--h, 90px);
    /* Soft tinted fluff */
    background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.95), rgba(255,255,255,0.75) 60%, rgba(255,255,255,0.55) 100%),
                linear-gradient(135deg, rgba(167,199,231,0.25), rgba(255,209,220,0.25));
    border-radius: 50px;
    opacity: var(--opacity, 0.8);
    filter: blur(var(--blur, 0px));
    animation: var(--anim, float_ltr) var(--dur, 70s) linear infinite;
    animation-delay: var(--delay, 0s);
    will-change: transform, top, opacity;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    /* Gentle breathing */
    animation-name: cloud_breathe, var(--anim, float_ltr);
    animation-duration: 6s, var(--dur, 70s);
    animation-timing-function: ease-in-out, linear;
    animation-iteration-count: infinite, infinite;
    animation-direction: alternate, normal;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: radial-gradient(circle at 40% 40%, rgba(255,255,255,0.98), rgba(255,255,255,0.75));
    border-radius: 50%;
}

.cloud::before {
    width: calc(var(--h, 90px) * 0.9);
    height: calc(var(--h, 90px) * 0.9);
    left: calc(var(--h, 90px) * -0.2);
    top: calc(var(--h, 90px) * -0.2);
}

.cloud::after {
    width: calc(var(--h, 90px) * 1.1);
    height: calc(var(--h, 90px) * 1.1);
    right: calc(var(--h, 90px) * -0.1);
    top: calc(var(--h, 90px) * -0.25);
}

@keyframes float_ltr {
    0% { transform: translateX(-30vw) translateY(0); }
    100% { transform: translateX(130vw) translateY(-10px); }
}

@keyframes float_rtl {
    0% { transform: translateX(130vw) translateY(0); }
    100% { transform: translateX(-30vw) translateY(10px); }
}

/* Extra motion for a more animated look */
@keyframes cloud_breathe { 
    0% { transform: scale(1) translateX(0); opacity: 0.85; }
    100% { transform: scale(1.04) translateX(0); opacity: 1; }
}

.cloud .lobe {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
    filter: blur(1px);
    will-change: transform;
    animation: lobe_sway var(--lsway, 7s) ease-in-out var(--ldelay, 0s) infinite alternate;
}

@keyframes lobe_sway {
    0% { transform: translateY(-2px) scale(1); }
    100% { transform: translateY(4px) scale(1.05); }
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav {
    display: grid;
    grid-template-columns: auto 1fr auto; /* default; overridden on desktop for stability */
    align-items: center;
    padding: 1.8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 0.75rem;
}

/* Right-side group: currency + language + cart */
.nav-right {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-self: end; /* stick to the right column */
    position: relative; /* anchor mobile dropdown */
}

/* Center nav links in the middle column */
.nav-links {
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

/* Inline switchers container (desktop default) */
.switchers {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none; /* desktop hidden */
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    cursor: pointer;
    font-size: 18px;
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.75rem;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    font-size: 15px; /* for emoji flags */
    line-height: 1;
}

.lang-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.lang-btn.active { outline: 2px solid var(--baby-blue); outline-offset: 2px; }

/* Currency Switcher */
.currency-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.5rem;
}

.curr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, color 0.2s ease;
    font-size: 13px;
    line-height: 1;
}

.curr-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.curr-btn.active { outline: 2px solid var(--baby-blue); outline-offset: 2px; }

/* Filters toggle button: baby pink text on baby blue background */
#toggleFilters.curr-btn {
    background: var(--baby-blue);
    color: var(--baby-pink);
    border-color: transparent;
    font-weight: 700;
}

.filters-panel .filters-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.6rem;
}

.filters-panel .filters-header .match-count {
    color: var(--text-light);
    font-size: 2rem; /* ~2-3x bigger */
    font-family: 'Chewy', 'Luckiest Guy', 'Bubblegum Sans', 'Baloo 2', system-ui, -apple-system, sans-serif;
}

/* Filters title: big and Chewy */
.filters-panel .filters-header .filters-title {
    font-family: 'Chewy', 'Luckiest Guy', 'Bubblegum Sans', 'Baloo 2', system-ui, -apple-system, sans-serif;
    font-size: 15rem;
    line-height: 1;
    animation: filters_wobble_strong 4.5s ease-in-out infinite alternate;
}

@keyframes filters_wobble_strong {
  0% { transform: rotate(-15deg) translateY(0) scale(1); }
  100% { transform: rotate(15deg) translateY(-8px) scale(1.15); }
}

.logo-cloud {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    padding: 1.1rem 3.6rem;
    background: linear-gradient(135deg, var(--baby-blue) 0%, var(--baby-pink) 100%);
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12), inset 0 -2px 6px rgba(0,0,0,0.08);
    overflow: visible;
    text-decoration: none;
    color: inherit;
    flex: 0 0 auto; /* do not allow shrinking */
    min-width: max-content;   /* keep logo pill from compressing in grid */
}

/* Desktop-only: lock header measurements for pixel-perfect consistency */
@media (min-width: 769px) {
  nav { grid-template-columns: max-content 1fr max-content; }
  .logo-cloud { width: 360px; }
  .nav-right { white-space: nowrap; }
  .logo-text { font-size: 72px; } /* 4.5rem equivalent, but fixed for consistency */
}

a.logo-cloud,
a.logo-cloud:visited,
a.logo-cloud:hover,
a.logo-cloud:active {
    text-decoration: none;
    color: inherit;
}

.logo-text {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-weight: 800;
    font-family: 'Chewy', 'Luckiest Guy', 'Bubblegum Sans', 'Baloo 2', 'Poppins', system-ui, -apple-system, sans-serif;
    letter-spacing: 0.5px;
    font-size: 4.5rem;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(0,0,0,0.08), 0 10px 18px rgba(0,0,0,0.12);
    animation: logo_wobble 5s ease-in-out infinite alternate;
}

@keyframes logo_wobble {
    0% { transform: rotate(-0.8deg) translateY(0) scale(1); }
    100% { transform: rotate(0.8deg) translateY(-2px) scale(1.03); }
}

@media (max-width: 768px) {
  nav { padding: 1rem 4%; }
  .logo-cloud {
    height: 68px;
    padding: 0.7rem 1.3rem;
    max-width: 60vw;   /* cap logo width so it doesn't invade right side */
    overflow: hidden;  /* hide overflow if text gets too long */
  }
  .logo-text { font-size: 2.2rem; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
  .puff { display: none; }
  .nav-right { gap: 0.4rem; }
  /* Show menu button and use dropdown for switchers on mobile */
  .menu-toggle { display: inline-flex; }
  .switchers {
    display: none; /* hidden until opened */
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    padding: 0.5rem;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 20;
  }
  .switchers.open { display: flex; }
  .hero { padding: 0 4%; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .cart-icon { margin-left: auto; } /* push cart to the far right reliably */
}

@media (max-width: 420px) {
  .logo-cloud {
    height: 58px;
    padding: 0.5rem 1.05rem;
    max-width: 58vw;
  }
  .logo-text { font-size: 1.75rem; }
  .nav-right { gap: 0.4rem; }
  /* Slightly larger than before for readability */
  .curr-btn { min-width: 36px; height: 22px; font-size: 12px; padding: 0 6px; }
  .lang-btn { width: 28px; height: 22px; font-size: 14px; }
}

.puff {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0.9;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.12));
    animation: bob 5s ease-in-out infinite;
}

.puff-1 { width: 44px; height: 44px; left: -28px; top: 20px; animation-delay: 0s; }
.puff-2 { width: 60px; height: 60px; right: -32px; top: 32px; animation-delay: 1s; }
.puff-3 { width: 36px; height: 36px; left: 40%; bottom: -24px; animation-delay: 0.5s; }

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

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    margin: 0 1.2rem;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--baby-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--baby-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    font-size: 1.8rem;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.15s ease, filter 0.2s ease, color 0.2s ease;
    flex: 0 0 auto; /* prevent cart from shrinking under the logo */
    z-index: 3; /* ensure it stays clickable above decorative layers */
}

/* Ensure icon and label inherit current color and never show underline */
.cart-icon i,
.cart-icon .cart-label {
    color: inherit;
    text-decoration: none;
}

nav .cart-icon,
nav .cart-icon *,
nav a.cart-icon:visited {
    color: var(--text-dark) !important;
    text-decoration: none !important;
}

/* Hover: gentle lift and shadow, keep color black unless active */
nav a.cart-icon:hover {
    transform: translateY(-2px) scale(1.04);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.12));
    text-decoration: none;
}

.cart-icon.active {
    color: var(--baby-blue);
}

.cart-label {
    font-size: 0.8rem;
    line-height: 1;
    color: var(--text-dark);
    opacity: 0.8;
    user-select: none;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--baby-pink);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Contact page title: force Chewy font */
.contact-inner h2[data-i18n="contact.title"] {
    font-family: 'Chewy', 'Luckiest Guy', 'Bubblegum Sans', 'Baloo 2', 'Poppins', system-ui, -apple-system, sans-serif !important;
    letter-spacing: 0.5px;
}

/* Shop page title: force Chewy font */
main h2[data-i18n="shop.title"] {
    font-family: 'Chewy', 'Luckiest Guy', 'Bubblegum Sans', 'Baloo 2', 'Poppins', system-ui, -apple-system, sans-serif !important;
    letter-spacing: 0.5px;
}

/* Logo divider style: use a distinct bold font for the '|' */
.logo-text .logo-divider {
    font-family: Georgia, 'Times New Roman', Times, serif; /* classic serif */
    font-weight: 500; /* thinner */
    font-size: 0.9em; /* slightly smaller */
    display: inline-block;
    margin: 0 0.12em;
    transform: translateY(-1px);
    text-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* Filters Banner (Shop page) */
.filters-banner {
    font-family: 'Chewy', 'Baloo 2', 'Poppins', system-ui, -apple-system, sans-serif;
    font-size: 1.75rem; /* half size */
    line-height: 1;
    color: #fff; /* white text */
    text-align: left; /* top-left */
    margin: 0 0 0.5rem 0;
    background: linear-gradient(90deg, var(--baby-blue) 0%, var(--baby-pink) 100%);
    background-size: 200% 100%;
    animation: banner_fade 8s ease-in-out infinite alternate;
    padding: 0.25rem 0.6rem; /* half padding */
    border-radius: 24px; /* proportional rounding */
    display: inline-block;
    cursor: pointer;
}

@keyframes banner_fade {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Quick filters dropdown under banner */
.filters-quick {
    display: none;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    padding: 0.8rem 1rem;
    max-width: 480px;
}

.filters-quick.show {
    display: block;
    background: #ffeaf3; /* light pink when opened */
}

/* Quick filters actions */
.filters-quick #quickSave {
    background: var(--baby-blue);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 8px 14px;
    font-weight: 800;
    font-family: 'Chewy', 'Luckiest Guy', 'Bubblegum Sans', 'Baloo 2', system-ui, -apple-system, sans-serif;
    box-shadow: 0 6px 16px rgba(152, 199, 255, 0.35);
}
.filters-quick #quickSave:hover { filter: brightness(1.05); }
.filters-quick #quickClear {
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 8px 12px;
    font-weight: 700;
}

.filters-quick .opt {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.3rem 0;
}

.filters-quick label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.5rem;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.filters-quick label:hover { background: rgba(255, 182, 193, 0.25); }

/* Circular custom checkbox */
.filters-quick input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--baby-blue);
    background: #fff;
    display: inline-block;
    position: relative;
    outline: none;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.filters-quick input[type="checkbox"]:active {
    transform: scale(0.96);
}

.filters-quick input[type="checkbox"]:checked {
    background: var(--baby-blue);
    box-shadow: 0 0 0 3px rgba(152, 199, 255, 0.25);
}

.filters-quick input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Highlight selected row (requires :has support) */
.filters-quick label:has(input:checked) {
    background: #ffddea;
}

/* Selected option text: light blue and rounded font */
.filters-quick label:has(input:checked) span {
    color: var(--baby-blue);
    font-family: 'Baloo 2', 'Poppins', system-ui, -apple-system, sans-serif;
    font-weight: 700;
}

/* === Cart: Cloud vibes === */
.cart-actions .curr-btn,
.cart-table .remove-row,
.cart-table .qty-inc,
.cart-table .qty-dec {
    background: var(--baby-blue);
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 6px 14px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(152, 199, 255, 0.35);
    transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}

.cart-table .qty-inc,
.cart-table .qty-dec {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cart-actions .curr-btn:hover,
.cart-table .remove-row:hover,
.cart-table .qty-inc:hover,
.cart-table .qty-dec:hover { 
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(152, 199, 255, 0.45);
}

.cart-actions .curr-btn:active,
.cart-table .remove-row:active,
.cart-table .qty-inc:active,
.cart-table .qty-dec:active { 
    transform: translateY(0);
    opacity: .9;
}

/* Cart table container */
.cart-table {
    background: linear-gradient(90deg, rgba(191,232,255,0.65) 0%, rgba(255,182,193,0.35) 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Make cart list scrollable within viewport */
.cart-container {
    max-width: 1000px;
    margin: 0 auto;
    /* Leave room for fixed header and some spacing: adjust if header height changes */
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 6px; /* avoid scrollbar overlaying content */
}

@media (max-width: 768px) {
  .cart-container { max-height: calc(100vh - 200px); }
}

.cart-table .cart-head {
    background: rgba(255,255,255,0.45);
    font-weight: 800;
}

.cart-table .cart-row { 
    backdrop-filter: blur(2px);
}

.cart-table .cart-foot {
    background: rgba(255,255,255,0.55);
    font-weight: 800;
}

/* Footer links and email icons */
.footer-content a {
    color: #e8f5ff;
    text-decoration: none;
}
.footer-content a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.footer-content .email-line {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-content .email-line i {
    color: #e8f5ff;
}

/* Premium price highlight */
.price-premium {
    color: #27ae60; /* green */
    font-weight: 700;
}

/* Discount styles */
.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4d4d;
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 9999px;
    box-shadow: 0 6px 16px rgba(255,77,77,0.35);
}

.product-card { position: relative; }
.price-old { text-decoration: line-through; opacity: 0.7; margin-right: 8px; }
.price-new { color: #27ae60; font-weight: 800; }

/* Modal preview */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal {
    background: #fff;
    border-radius: 16px;
    width: min(920px, 92vw);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    overflow: hidden;
}
.modal-close {
    position: absolute;
    right: 12px;
    top: 8px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}
.modal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.2rem; }
.modal-image { background: #f3f6ff; border-radius: 12px; min-height: 320px; background-size: cover; background-position: center; }
.modal-title { margin: 0 0 .4rem 0; font-family: 'Chewy', 'Baloo 2', system-ui, sans-serif; }
.modal-price { font-size: 1.2rem; margin-bottom: .6rem; }
.modal-lowest { font-size: .9rem; opacity: .8; }
/* Modal thumbs gallery */
.modal-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.modal-thumbs .thumb { width: 64px; height: 64px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.1); background-size: cover; background-position: center; cursor: pointer; }
/* Modal sizes */
.modal-sizes { display: flex; gap: .4rem; margin: .6rem 0; }
.modal-sizes .size-btn { padding: 6px 10px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.15); background: #fff; cursor: pointer; }
.modal-sizes .size-btn.active { background: var(--baby-blue); color: #fff; border-color: transparent; }
.modal-size-label { font-size: .95rem; font-weight: 600; margin-top: .4rem; margin-bottom: .2rem; color: var(--text-dark); }
@media (max-width: 720px) {
  .modal-body { grid-template-columns: 1fr; }
}

/* Cart circular checkboxes: light pink outline; filled baby blue when checked */
.cart-actions input[type="checkbox"],
.cart-table input.sel {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--baby-pink);
    background: #fff;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cart-actions input[type="checkbox"]:focus,
.cart-table input.sel:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 182, 193, 0.25);
}

.cart-actions input[type="checkbox"]:checked,
.cart-table input.sel:checked {
    background: var(--baby-blue);
    border-color: var(--baby-blue);
    box-shadow: 0 0 0 3px rgba(152, 199, 255, 0.25);
}

.cart-actions input[type="checkbox"]:checked::after,
.cart-table input.sel:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}
/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {

    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--baby-blue), var(--baby-pink));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Featured Section */
.featured {
    padding: 6rem 5%;
    background: white;
    position: relative;
}

.featured h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.featured h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--baby-blue), var(--baby-pink));
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative; /* allow absolute-positioned hidden items without reflow issues */
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 300px;
    background: #f5f5f5;
    border-radius: 15px 15px 0 0;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card h3 {
    padding: 1.2rem 1.5rem 0.5rem;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.product-card p {
    padding: 0 1.5rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.price {
    color: var(--text-dark);
    font-weight: 700;
}

.price-alt {
    display: none !important;
}

.add-to-cart,
.modal-add {
    margin: 0 1.5rem 1.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--light-pink); /* very light pink */
    color: #fff; /* white text */
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Chewy', 'Luckiest Guy', 'Bubblegum Sans', 'Baloo 2', 'Poppins', system-ui, -apple-system, sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 14px rgba(255, 182, 193, 0.35);
}

.add-to-cart:hover,
.modal-add:hover {
    background: var(--baby-pink); /* a bit stronger pink on hover */
    transform: translateY(-2px);
}

/* Customize Section */
.customize {
    padding: 8rem 5%;
    text-align: center;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-pink) 100%);
    position: relative;
    overflow: hidden;
}

.customize::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48cGF0aCBkPSJNMzAgMTVjLTguMjggMC0xNSA2LjcyLTE1IDE1czYuNzIgMTUgMTUgMTUgMTUtNi43MiAxNS0xNS02LjcyLTE1LTE1LTE1eiIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjMpIi8+PC9zdmc+') center/cover;
    z-index: 0;
}

.customize-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.customize h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.customize p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

/* Contact Section */
.contact {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-pink) 100%);
}

.contact-inner {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 3rem 2rem;
    text-align: center;
}

/* Interactive contact cards (Adam / Gabriel) */
.contact-card {
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
    cursor: pointer;
}
.contact-card:hover,
.contact-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    background: #ffffff !important;
}
.contact-card:hover p:first-child,
.contact-card:focus-within p:first-child {
    color: var(--baby-blue);
    text-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.contact-card:hover a,
.contact-card:focus-within a {
    color: var(--baby-pink);
}

.contact h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact .phone {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--baby-blue);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, var(--baby-blue), var(--baby-pink));
    border-radius: 2px;
}

.footer-section p, 
.footer-section a {
    color: #cccccc;
    margin-bottom: 0.8rem;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--baby-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .featured h2,
    .customize h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .featured h2,
    .customize h2 {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 576px) {
    .hero {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .featured h2,
    .customize h2 {
        font-size: 1.8rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
