/* =========================
   Dreamy Designs Workshop
   Global Styles (styles.css)
   ========================= */

:root{
  --bg:#fff7fa;
  --card:#ffffff;
  --text:#2f2433;
  --muted:#8b7a90;

  --accent:#f2b6c6;
  --accent2:#f8d7df;

  --line:rgba(0,0,0,.08);
  --shadow:0 14px 30px rgba(0,0,0,.06);

  --radius:22px;
}

/* Base */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
}

=========================
   Dreamy Designs Workshop
   Global Styles (styles.css)
   ========================= */

:root{
  --bg:#fff7fa;
  --card:#ffffff;
  --text:#2f2433;
  --muted:#8b7a90;

  --accent:#f2b6c6;
  --accent2:#f8d7df;

  --line:rgba(0,0,0,.08);
  --shadow:0 14px 30px rgba(0,0,0,.06);

  --radius:22px;
}

/* Base */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Playfair Display', serif;
  letter-spacing:.02em;
  line-height:1.6;
}

img{ max-width:100%; display:block; }

.container,
.wrap{
  max-width:1200px;
  margin:0 auto;
  padding:0 18px;
}

main.wrap{
  padding:28px 0;
}

h1,h2,h3,h4{
  line-height:1.25;
  letter-spacing:.04em;
  margin:0 0 10px;
}

p{ margin:0 0 14px; }
.muted{ color:var(--muted); }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  text-decoration:none;
  letter-spacing:.06em;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
}

.btn-accent{
  background: var(--accent);
  border-color: rgba(0,0,0,.06);
}

/* =========================
   Header / Nav
   ========================= */

.topbar{
  background:#fff;
  border-bottom:1px solid var(--line);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}


.logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
}

.logo img{ height:38px; width:auto; }

.brand-text{
  letter-spacing:.08em;
}

/* Nav links */
.topnav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  flex-wrap:nowrap;   /* keeps them on one line */
  margin-left:auto;   /* pushes nav to the right */
}


.navlink{
  text-decoration:none;
  color:var(--text);
  letter-spacing:.08em;
}

.navlink.active{
  font-weight:700;
}

/* Cute cart button */
.cart-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;

  padding:10px 16px;
  border-radius:999px;

  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border:1px solid rgba(0,0,0,.06);

  font-family:'Playfair Display', serif;
  font-size:0.95rem;
  letter-spacing:0.08em;
  color:var(--text);

  cursor:pointer;
  box-shadow: 0 8px 18px rgba(242,182,198,.35);

  transition: transform .15s ease, box-shadow .15s ease;
}
/* PAYMENT BUTTONS — SAME STYLE AS CART */
.pay-method {
  font-family: "Playfair Display", serif;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  background: #ffffff;
  color: #2f2433;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Hide radio circles */
.pay-method input {
  display: none;
}

/* Selected payment button */
.pay-method:has(input:checked) {
  background: #2f2433;
  color: #ffffff;
}

.cart-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(242,182,198,.45);
}

#cartCount{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-width:20px;
  height:20px;

  padding:0 6px;
  border-radius:999px;

  background:#fff;
  color:var(--text);
  font-size:0.75rem;
  font-weight:600;

  box-shadow:0 2px 6px rgba(0,0,0,.15);
}

/* =========================
   Shared Card Layout
   ========================= */
.card,
.shop-card,
.combined-card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
}

/* =========================
   Shop Layout
   ========================= */
.shop-header{ margin-bottom: 10px; }

.shop-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:14px 0 18px;
  flex-wrap:wrap;
}

.tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.tab{
  border:1px solid var(--line);
  background:#fff;
  padding:9px 14px;
  border-radius:999px;
  cursor:pointer;
  letter-spacing:0.05em;
}

.tab.active{
  background: var(--accent2);
  border-color: rgba(0,0,0,.08);
}

.product-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}

.product{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  box-shadow: 0 10px 22px rgba(0,0,0,.04);
}

.product-img{
  height:160px;
  border-radius:14px;
  background:rgba(0,0,0,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  margin-bottom:12px;
}

.product-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:14px;
}

.product-title{ margin:4px 0 6px; }
.product-meta{ margin:0 0 12px; color:var(--muted); font-size:.95rem; }

.product-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-bottom:12px;
}

select, input, textarea{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font-family:'Playfair Display', serif;
  letter-spacing:.02em;
}

textarea{ min-height:120px; resize:vertical; }

/* Accessibility helper */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  border:0;
}

/* Responsive */
@media (max-width: 980px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
  .topbar-inner{ align-items:flex-start; }
}

@media (max-width: 640px){
  .product-grid{ grid-template-columns: 1fr; }
  .topnav{ gap:12px; }
}
} /* end 640px */

/* Mobile header stacking */
@media (max-width: 760px){
  .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .topnav{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}
/* Photo Collage */
.photo-collage{
  margin: 18px 0 24px;
}

.collage-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}

.collage-grid img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid var(--line);
  box-shadow: 0 10px 22px rgba(0,0,0,.04);
}

/* Responsive */
@media (max-width: 980px){
  .collage-grid{ grid-template-columns: repeat(3, 1fr); }
  .collage-grid img{ height:150px; }
}

@media (max-width: 640px){
  .collage-grid{ grid-template-columns: repeat(2, 1fr); }
  .collage-grid img{ height:140px; }
}
/* =========================
   Editorial Photo Collage
   ========================= */

.polaroid-wall{
  display:flex;
  flex-wrap:wrap;
  gap:10px;                 /* tighter spacing */
  justify-content:center;
  align-items:center;

  padding: 14px 6px;
  margin: 12px 0 22px;
}

/* Images – no borders, no frames */
.polaroid-wall img{
  width: 140px;
  height: 140px;
  object-fit:cover;

  border-radius:8px;        /* soft corners only */
  box-shadow:none;          /* remove polaroid shadow */
  background:none;
  padding:0;
  border:none;

  transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px));
  transition: transform .15s ease;
}

/* Subtle hover lift (optional) */
.polaroid-wall img:hover{
  transform: rotate(var(--r, 0deg)) translateY(calc(var(--y, 0px) - 3px)) scale(1.02);
}

/* Size variation (like reference image) */
.polaroid-wall img:nth-child(4n+1){ width: 170px; height:170px; }
.polaroid-wall img:nth-child(6n+2){ width: 120px; height:120px; }
.polaroid-wall img:nth-child(7n+3){ width: 200px; height:200px; }

/* Natural “scattered” look */
.polaroid-wall img:nth-child(1){ --r:-4deg; --y: 2px; }
.polaroid-wall img:nth-child(2){ --r: 3deg; --y:-2px; }
.polaroid-wall img:nth-child(3){ --r:-2deg; --y: 4px; }
.polaroid-wall img:nth-child(4){ --r: 5deg; --y:-4px; }
.polaroid-wall img:nth-child(5){ --r:-6deg; --y: 2px; }
.polaroid-wall img:nth-child(6){ --r: 2deg; --y:-3px; }
.polaroid-wall img:nth-child(7){ --r:-3deg; --y: 4px; }
.polaroid-wall img:nth-child(8){ --r: 4deg; --y:-2px; }

/* Responsive */
@media (max-width: 760px){
  .polaroid-wall{ gap:8px; }
  .polaroid-wall img{ width:120px; height:120px; }
  .polaroid-wall img:nth-child(7n+3){ width:160px; height:160px; }
}

/* =========================
   Clean Stacked Gallery
   (shows full image)
   ========================= */

.stack-gallery{
  margin: 16px 0 28px;
}

.stack-title{
  margin: 0 0 12px;
}

/* Even spacing grid */
.stack-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}

/* Card frame */
.stack-card{
  margin:0;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);

  /* this creates a consistent “frame” size */
  aspect-ratio: 1 / 1;       /* square cards */
  padding: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

/* Show FULL image (no crop) */
.stack-card img{
  width:100%;
  height:100%;
  object-fit: contain;        /* key: shows whole image */
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 980px){
  .stack-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .stack-grid{ grid-template-columns: 1fr; }
}
.about-section{
  margin: 22px 0 34px;
}

.about-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:start;
}

.about-text{
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}

.about-photo{
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}

.about-photo img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 14px;
  object-fit: contain;
}

@media (max-width: 900px){
  .about-grid{ grid-template-columns: 1fr; }
}
/* =========================
   Cart Drawer
   ========================= */

.no-scroll{ overflow:hidden; }

.cart-overlay{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.25);
  z-index: 90;
}

.cart-drawer{
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  width:min(420px, 92vw);
  background:#fff;
  border-left:1px solid var(--line);
  box-shadow: -18px 0 50px rgba(0,0,0,.18);
  z-index: 100;

  transform: translateX(105%);
  transition: transform .2s ease;
  display:flex;
  flex-direction:column;
}

.cart-drawer.open{
  transform: translateX(0);
}

.cart-head{
  padding:16px 16px 12px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.cart-head h3{
  margin:0;
  font-size:18px;
}

.cart-close{
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  width:36px;
  height:36px;
  cursor:pointer;
}

.cart-items{
  padding:14px 16px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.cart-item{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background: rgba(255,255,255,.9);
}

.cart-item-main strong{
  display:block;
  margin-bottom:4px;
}

.cart-item-main small{
  display:block;
  line-height:1.3;
}

.cart-item-actions{
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.qty-btn{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:1;
}

.qty{
  min-width:18px;
  text-align:center;
  font-weight:700;
}

.remove-btn{
  margin-left:auto;
  border:none;
  background: transparent;
  color: var(--muted);
  cursor:pointer;
  text-decoration: underline;
}

.cart-foot{
  margin-top:auto;
  padding:14px 16px 18px;
  border-top:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cart-note{
  margin:0;
  color: var(--muted);
  font-size: 13px;
  line-height:1.4;
}
.cart-total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(255,255,255,.85);
}
/* =========================
   Cart Page
   ========================= */

.cart-page-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top: 10px;
}

.cart-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background:#fff;
}

.cart-row-main strong{
  display:block;
  margin-bottom:4px;
}

.cart-row-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.cart-page-summary{
  margin-top:14px;
  border-top:1px solid var(--line);
  padding-top:14px;
}

.cart-total-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(255,255,255,.85);
}

.cart-page-actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.qty-btn{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:1;
}

.qty{
  min-width:18px;
  text-align:center;
  font-weight:700;
}

.remove-btn{
  border:none;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  text-decoration:underline;
}
html, body, button, input, select, textarea {
  font-family: "Playfair Display", serif;
}
/* IMAGE EXPAND / LIGHTBOX */
.img-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.img-lightbox img{
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

.img-lightbox.show{
  display: flex;
}

.img-close{
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
}
/* =========================
   Mobile-first improvements
   ========================= */

/* Make images, cards, buttons behave nicely */
img { max-width: 100%; height: auto; display: block; }
button, select, input { font-size: 16px; } /* prevents iOS zoom */

.container, .wrap {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ===== TOP BAR / NAV ===== */
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.logo{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 180px;
}

.topnav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;                 /* ✅ wrap on small screens */
  justify-content: flex-end;
}

.topnav .navlink,
.topnav .cart-btn{
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ===== PRODUCT GRID ===== */
.product-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Product card spacing */
.product{
  display:flex;
  flex-direction: column;
}

.product-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;                 /* ✅ prevents overflow */
}

.product-row select{
  flex: 1 1 140px;                 /* ✅ drop to new line if needed */
  min-width: 140px;
}

/* Make your product image look good on mobile */
.product-img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
}

/* ===== CART PAGE GRID ===== */
.cart-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

/* Make cart items wrap cleanly */
.item{
  flex-wrap: wrap;
}
.cart-item-img{
  width: 72px;
  height: 72px;
}

/* ===== CART DRAWER (shop popup) ===== */
.cart-drawer{
  width: min(420px, 92vw);
}

/* =========================
   MOBILE BREAKPOINTS
   ========================= */

@media (max-width: 900px){
  .product-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cart-grid{
    grid-template-columns: 1fr;   /* ✅ stack cart + summary */
  }
}

@media (max-width: 560px){
  /* Top bar looks clean like an app header */
  .topbar-inner{
    flex-direction: column;
    align-items: stretch;
  }

  .topnav{
    justify-content: center;
  }

  /* Product grid becomes 1 column (best for phones) */
  .product-grid{
    grid-template-columns: 1fr;
  }

  /* Bigger tappable controls */
  .product-row select{
    flex: 1 1 100%;
    min-width: 0;
  }

  .btn, .add-btn, .checkout, .btn-checkout{
    width: 100%;
  }

  /* Product image a bit taller for phone */
  .product-img{
    height: 260px;
  }
}
/* Gives room so desktop dropdowns don't flip upward */
.wrap{
  padding-bottom: 260px;   /* increase if needed */
}

/* Extra space after the grid helps too */
.product-grid{
  padding-bottom: 260px;
}
.subfilters{
  margin-top: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.subselect{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  font-family: "Playfair Display", serif;
  min-width: 220px;
}
/* HOME COLLAGE CAROUSEL */
.collage-section { margin: 18px 0; }
.collage-title { margin: 0 0 10px; }

.collage-carousel{
  overflow: hidden;
  padding: 10px 0;
}

.collage-track{
  display: flex;
  flex-wrap: nowrap;      /* ONE ROW */
  gap: 16px;
  align-items: stretch;
  will-change: transform;
}

/* HOME COLLAGE CAROUSEL */
.collage-section { margin: 18px 0; }
.collage-title { margin: 0 0 10px; }

.collage-carousel{
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0;
}

.collage-track{
  display: flex;
  gap: 16px;
}

.collage-slide{
  flex: 0 0 auto;
  width: 320px;          /* adjust if you want */
  height: 220px;         /* adjust if you want */
  object-fit: contain;   /* ✅ NO CUT OFF */
  background: #fff;      /* fills empty space */
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
  padding: 10px;         /* optional: nicer framing */
  box-sizing: border-box;
}
/* AUTO-MOVING COLLAGE (no scrollbar) */
.collage-carousel{
  overflow: hidden;             /* ✅ prevents scroll bar */
  padding: 10px 0;
  border-radius: 22px;
}

.collage-track{
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  will-change: transform;
}

/* Hide any scrollbars just in case */
.collage-carousel::-webkit-scrollbar{ display:none; }
.collage-carousel{ scrollbar-width: none; }  /* Firefox */
}
/* ABOUT SPLIT — EDITORIAL BALANCE */
.about-split{
  padding: 32px 0;
}

.about-card{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: stretch;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
  padding: 36px;
}

/* LEFT SIDE TEXT */
.about-copy{
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ✅ fills vertical space */
}

/* BIG SCRIPT "ABOUT" */
.about-kicker{
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 48px;          /* ✅ large + elegant */
  line-height: 1;
  margin: 0 0 16px;
  opacity: .9;
}

/* MAIN TITLE */
.about-title{
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.2;
} 
/* FIX ABOUT SPACING (make text proportional to image) */
.about-card{
  align-items: center !important;   /* keeps both sides balanced */
}

.about-copy{
  display: block !important;        /* stops flex stretching */
}

.about-copy p{
  margin: 0 0 12px !important;      /* normal paragraph spacing */
}

.about-kicker{
  margin: 0 0 10px !important;
}

/* control image size so it matches the text block */
.about-media{
  height: 340px !important;         /* adjust 300–380 until perfect */
}

.about-media img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}


/* BODY COPY — fills space */
.about-copy p{
  margin: 0 0 16px;
  line-height: 1.8;         /* ✅ air + balance */
  font-size: 16px;
  opacity: .9;
}
.nav-btn{
  margin-left: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  text-decoration: none;
  background: #fff;
  font-size: 14px;
}
/* Mobile: show products in 2 columns (Pink Lily style) */
@media (max-width: 640px){
  .products-grid,
  .product-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px; /* tweak if you want tighter spacing */
  }

  /* Optional: a little shorter images on mobile */
  .product-img{
    height: 170px;
  }
@media (max-width: 640px){
  .product-title{ font-size: 16px; }
  .product-meta{ font-size: 12px; }
  .product-row{ gap: 8px; }
  .subselect{ min-width: 0; width: 100%; }
}

/* FORCE 2-column mobile grid */
@media screen and (max-width: 768px) {
  .products-grid,
  .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

/* CTA stays anchored at bottom */
.about-btn{
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  text-decoration: none;
}

/* RIGHT IMAGE */
.about-media{
  border-radius: 20px;
  overflow: hidden;
  height: 280px;            /* balanced height */
}

.about-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MOBILE */
@media (max-width: 900px){
  .about-card{
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .about-kicker{
    font-size: 40px;
  }

  .about-media{
    height: 240px;
  }

/* FORCE 2-column mobile grid */
@media screen and (max-width: 768px) {
  .products-grid,
  .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}
/* ===== Delivery Method: compact + pretty ===== */
.delivery-box h3{
  font-size: 16px;
  margin: 0 0 8px !important;
}

.delivery-options{
  display: grid;
  gap: 8px !important;
}

/* each option card */
.delivery-options label{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
  gap: 12px !important;

  padding: 10px 12px !important;
  border-radius: 14px !important;

  border: 1px solid rgba(0,0,0,.10) !important;
  background: rgba(0,0,0,.02) !important;

  cursor: pointer;
  transition: transform .08s ease, background .12s ease, border-color .12s ease;
}

/* radio: smaller and aligned */
.delivery-options input[type="radio"]{
  width: 16px;
  height: 16px;
  margin: 0 !important;
  flex: 0 0 auto;
}

/* content block */
.delivery-options label > div{
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

/* title + subtext smaller */
.delivery-options label strong{
  font-size: 14px;
  font-weight: 650;
}

.delivery-options label .muted{
  font-size: 12px !important;
  opacity: .65 !important;
}

/* selected state */
.delivery-options label:has(input:checked){
  background: rgba(242,182,198,.18) !important;  /* soft pink tint */
  border-color: rgba(242,182,198,.65) !important;
  transform: translateY(-1px);
}

/* optional: make pickup info box more compact */
#pickupInfo{
  margin-top: 10px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  background: rgba(0,0,0,.03) !important;
  font-size: 13px;
}
/* ===== Delivery Method (compact + cute) ===== */
.delivery-box{ margin-top: 14px; }
.delivery-box h3{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.delivery-options{
  display: grid;
  gap: 8px;
}

.delivery-card{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  cursor: pointer;
  transition: transform .08s ease, border-color .12s ease, background .12s ease;
}

.delivery-card input[type="radio"]{
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
}

.delivery-text{ line-height: 1.15; }
.delivery-title{ font-size: 14px; font-weight: 650; }
.delivery-sub{ font-size: 12px; opacity: .65; margin-top: 2px; }

/* selected state (works everywhere with the JS below) */
.delivery-card.is-selected{
  background: rgba(242,182,198,.18);
  border-color: rgba(242,182,198,.65);
  transform: translateY(-1px);
}

/* pickup box */
#pickupInfo{
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.08);
}
.pickup-head{ font-weight: 650; margin-bottom: 4px; font-size: 13px; }
.pickup-address{ font-size: 13px; line-height: 1.35; }

/* =========================
   CUSTOM ORDERS PAGE
   ========================= */

#custom-orders {
  margin-top: 32px;
}

/* Section card */
#custom-orders .shop-card {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
}

/* Headings */
#custom-orders h3,
#custom-orders h4 {
  font-family: "Playfair Display", serif;
  color: #2f2433;
}

#custom-orders h3 {
  font-size: 26px;
  margin-bottom: 6px;
}

#custom-orders h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

/* Grid spacing */
#custom-orders .grid.two {
  gap: 20px;
}

/* Steps */
#custom-orders .steps .step {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

#custom-orders .steps .step:last-child {
  border-bottom: none;
}

/* =========================
   FORM STYLING
   ========================= */

#custom-orders form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#custom-orders label {
  font-size: 14px;
  color: #2f2433;
  margin-bottom: 4px;
}

#custom-orders input,
#custom-orders select,
#custom-orders textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}

#custom-orders textarea {
  min-height: 120px;
  resize: vertical;
}

/* Two-column rows */
#custom-orders .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Mobile fix */
@media (max-width: 640px) {
  #custom-orders .form-row {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FILE UPLOAD (clean look)
   ========================= */

#custom-orders input[type="file"] {
  padding: 10px;
  border: 1px dashed rgba(0,0,0,.2);
  background: #fff7fa;
  cursor: pointer;
}

#custom-orders input[type="file"]::file-selector-button {
  padding: 8px 12px;
  border-radius: 999px;
  border: none;
  background: #f2b6c6;
  color: #2f2433;
  font-family: inherit;
  cursor: pointer;
  margin-right: 10px;
}

#custom-orders input[type="file"]::file-selector-button:hover {
  opacity: .85;
}

.welcome-ribbon{
  width: 100%;
  background: #f2b6c6;
  color: #2f2433;
  padding: 10px 12px;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
}

.welcome-ribbon strong{
  font-weight: 700;
}
.size-jump-links{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:14px;
  font-size:14px;
}

.size-jump-links a{
  text-decoration:none;
  font-weight:600;
  color:#2f2433;
}

.size-jump-links a:hover{
  text-decoration:underline;
}
.size-callout{
  margin:18px 0;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(242,182,198,.18);
  border:1px solid rgba(242,182,198,.45);
  font-size:14px;
}
.size-jump-links a{
  text-decoration:none;
  font-weight:600;
  color:#2f2433;
  cursor:pointer;
}

.size-jump-links a:hover{
  opacity:.6;
}

.note-hint{
  margin: 8px 0 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 192, 203, 0.18);
  border: 1px solid rgba(0,0,0,.08);
  font-size: 14px;
  line-height: 1.4;
}

#orderNotes{
  width: 100%;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 12px 14px;
  font-family: "Playfair Display", serif;
  resize: vertical;
}
/* Name Add-On Styled Card */
.name-fee-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 14px;
  margin-top:10px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  cursor:pointer;
  transition: all .15s ease;
  font-size:14px;
  font-weight:500;
  position:relative;
}

/* Hide default checkbox */
.name-fee-card input{
  display:none;
}

/* Custom circle */
.checkmark{
  width:18px;
  height:18px;
  border-radius:6px;
  border:1px solid rgba(0,0,0,.25);
  background:#fff;
  display:inline-block;
  transition: all .15s ease;
}

/* Pink highlight when checked */
.name-fee-card input:checked + .checkmark{
  background: rgba(242,182,198,.9);
  border-color: rgba(242,182,198,.9);
}

/* Soft pink card when checked */
.name-fee-card input:checked ~ span:first-child,
.name-fee-card:has(input:checked){
  background: rgba(242,182,198,.18);
  border-color: rgba(242,182,198,.65);
}
