/* ===== Colors & base ===== */
:root {
  --pink: #e8457f;
  --pink-deep: #c92f68;
  --pink-light: #f7a3c0;
  --pink-soft: #fde4ee;
  --bg: #fff4f8;
  --card: #ffffff;
  --ink: #3b1624;
  --muted: #7d5b68;
  --line: #f6cfdd;
  --green: #2fb57a;
  --radius: 22px;
  --shadow: 0 10px 30px -12px rgba(201, 47, 104, .25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}
/* Background ng website (sakura + molecules). Nakapirmi habang nag-i-scroll; bahagyang
   pinalaki para hindi makita ang frame sa gilid ng picture. Hindi kasama ang admin. */
body:not(.admin-body)::before {
  content: ""; position: fixed; inset: -4%; z-index: -1; pointer-events: none;
  background: url("images/page-bg.webp") center / cover no-repeat;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
em { font-style: italic; color: var(--pink); font-family: "Fraunces", serif; font-weight: 500; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico-sm { width: 16px; height: 16px; }

.bow-sm { width: 34px; height: 26px; }
.bow-md { width: 56px; height: 42px; }
.bow-lg { width: 96px; height: 72px; }
.float { animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-3deg); } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 8px 20px -8px var(--pink); }
.btn-primary:hover { background: var(--pink-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--pink-soft); color: var(--pink-deep); }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  height: 64px; padding: 0 max(16px, 2.5vw);
  background: rgba(255, 244, 248, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
/* logo sa kaliwa; menu at Cart magkatabi sa kanan */
.logo { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.logo-img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hero-logo-wrap { line-height: 0; }
.hero-logo { width: clamp(200px, 42vw, 300px); height: auto; filter: drop-shadow(0 14px 28px rgba(201, 47, 104, .25)); }
.shop-hero-logo { width: 110px; height: auto; filter: drop-shadow(0 6px 14px rgba(201, 47, 104, .2)); }
.footer-logo-img { width: 72px; height: 72px; border-radius: 50%; }
.login-logo { width: 120px; height: auto; margin: 0 auto; }
.logo-text { font-family: "Fraunces", serif; font-weight: 700; font-size: 20px; color: var(--pink-deep); }
.nav { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 600; color: var(--muted); }
.nav a { transition: color .15s; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-cart { background: var(--pink); color: #fff; height: 34px; padding: 0 14px; font-size: 13px; gap: 6px; box-shadow: 0 6px 16px -8px var(--pink); }
.cart-count {
  background: #fff; color: var(--pink); border-radius: 999px;
  min-width: 20px; height: 20px; font-size: 12px; display: grid; place-items: center; padding: 0 6px;
}
.cart-count.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.4); } }
.menu-btn { display: none; padding: 8px; border-radius: 12px; }
.menu-btn:hover { background: var(--pink-soft); }

/* ===== Hero ===== */
.hero {
  position: relative; text-align: center;
  padding: 70px 16px 90px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  overflow: hidden;
}
.ribbon-line { position: absolute; left: 0; top: 40%; width: 100%; height: 120px; z-index: 0; }
.ribbon-line path { fill: none; stroke: var(--pink-light); stroke-width: 5; opacity: .6; }
.hero > *:not(.ribbon-line) { position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--pink-deep);
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.hero-title { font-family: "Fraunces", serif; font-weight: 700; font-size: clamp(44px, 9vw, 84px); line-height: 1.05; }
.hero-sub { max-width: 440px; color: var(--muted); font-size: 18px; }

/* ===== Cards & features ===== */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1120px; margin: -30px auto 0; padding: 0 16px; position: relative; z-index: 2;
}
.feature { padding: 28px 24px; text-align: center; }
.feature-ico, .contact-ico {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--pink-soft); color: var(--pink);
}
.feature h3 { margin: 14px 0 4px; font-size: 18px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ===== Section heads ===== */
section { scroll-margin-top: 80px; }
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 32px; }
.section-head.left { text-align: left; align-items: flex-start; }
.section-title { font-family: "Fraunces", serif; font-weight: 700; font-size: clamp(34px, 6vw, 54px); line-height: 1.1; }
.section-title.sm { font-size: clamp(28px, 4vw, 38px); }
.section-sub { color: var(--muted); max-width: 520px; }

/* ===== Shop ===== */
.shop, .contact, .policies { max-width: 1120px; margin: 0 auto; padding: 80px 16px 0; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.search {
  display: flex; align-items: center; gap: 8px; flex: 1 1 220px; max-width: 320px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; color: var(--muted);
}
.search:focus-within { border-color: var(--pink); }
.search input { border: 0; outline: 0; font: inherit; width: 100%; background: none; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-weight: 700; font-size: 14px; color: var(--muted); transition: .15s;
}
.chip:hover { border-color: var(--pink); color: var(--pink); }
.chip.active { background: var(--pink); border-color: var(--pink); color: #fff; }

.toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.toggle input { display: none; }
.toggle-track { width: 38px; height: 22px; border-radius: 999px; background: var(--line); position: relative; transition: .2s; }
.toggle-thumb { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }
.toggle input:checked + .toggle-track { background: var(--pink); }
.toggle input:checked + .toggle-track .toggle-thumb { left: 19px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.product {
  overflow: hidden; display: flex; flex-direction: column; border-radius: 16px;
  box-shadow: 0 1px 3px rgba(201, 47, 104, .08); transition: transform .2s, box-shadow .2s;
}
.product:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(201, 47, 104, .28); }
.product-img { position: relative; aspect-ratio: 1; background: var(--pink-soft); display: grid; place-items: center; overflow: hidden; }
/* full-photo: sakop ng picture (kasama ang background nito) ang buong kahon */
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img svg { width: 55%; height: 55%; }
.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: var(--green);
}
.badge.out { background: #a9939b; }
.badge.sale { left: auto; right: 12px; background: var(--pink); }
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.product-name { font-family: "Fraunces", serif; font-size: 18px; font-weight: 600; line-height: 1.3; margin-top: 4px; }
.product-desc {
  font-size: 14px; color: var(--muted); margin-top: 4px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 8px; }
.price { font-size: 18px; font-weight: 800; }
.price { line-height: 1.2; }
.price s { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.add-btn { height: 32px; padding: 0 12px; gap: 4px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
.add-btn .ico { width: 16px; height: 16px; stroke-width: 2.2; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.grid > .empty { grid-column: 1 / -1; }
.sale-banner {
  display: inline-flex; padding: 6px 16px; border-radius: 999px; background: var(--pink); color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 8px 20px -8px var(--pink);
}
.options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.opt {
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 12px; font-weight: 700; color: var(--ink); transition: .15s;
}
.opt:hover { background: var(--pink-soft); }
.opt.active { background: var(--pink); border-color: var(--pink); color: #fff; }
.opt-single { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ===== Shop page ===== */
.hero.compact {
  padding: 64px 16px 80px; gap: 12px;
  border-bottom: 1px solid var(--line);
}
.hero.compact .bow-lg { width: 90px; height: 68px; filter: drop-shadow(0 4px 6px rgba(201, 47, 104, .2)); }
.hero.compact .section-title { font-size: clamp(38px, 6vw, 64px); letter-spacing: -.01em; }
.hero.compact .hero-sub { font-size: 16px; max-width: 580px; }
.shop.shop-page { max-width: 1536px; padding-top: 40px; }
.shop-page .toolbar { margin-bottom: 32px; }
.shop-page .search { flex: 0 1 288px; padding: 7px 14px; }
.shop-page .chip { padding: 6px 16px; font-weight: 600; color: var(--ink); }
.shop-page .chip.active { color: #fff; }
.shop-page .toggle { color: var(--ink); font-weight: 600; }
.shop-page .grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.shop-page .price { font-weight: 700; }
.nav a.active { color: var(--pink); }

/* ===== Reviews ===== */
.reviews { margin-top: 90px; padding: 70px 16px; background: rgba(253, 228, 238, .5); border-top: 1px solid var(--line); }
.review-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.review { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.review blockquote { font-size: 15px; }
.review figcaption { font-size: 13px; font-weight: 800; color: var(--pink); }
.stars { color: var(--pink); letter-spacing: 2px; }
.stars-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; }
.summary-split { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.review-top small { color: var(--muted); font-size: 12px; }
.review-scores { font-size: 12px; font-weight: 700; color: var(--muted); margin-top: -4px; }
.review blockquote { white-space: pre-line; overflow-wrap: anywhere; }
.review-photo { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; cursor: zoom-in; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-grid:empty { display: none; }
.verified { margin-left: 4px; font-size: 11px; font-weight: 800; color: var(--green); background: #e3f6ec; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.review-verify { font-size: 13px; margin-top: -6px; }
.reviews-more { text-align: center; margin-top: 28px; }

/* ===== Reviews page ===== */
.reviews-hero { padding-bottom: 40px; }
.reviews-page {
  max-width: 1120px; margin: 0 auto; padding: 0 16px;
  display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 24px; align-items: start;
}
.review-form { padding: 24px; }
.review-form h2 { font-family: "Fraunces", serif; font-size: 24px; }
.rate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rate-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
/* 5 → 1 ang ayos ng stars sa HTML, kaya row-reverse para lumabas na 1 → 5 */
.rate { display: flex; flex-direction: row-reverse; justify-content: flex-end; }
.rate button { font-size: 28px; line-height: 1; padding: 0 2px; color: var(--line); transition: color .1s; }
.rate button.on, .rate button.on ~ button { color: var(--pink); }
.rate button:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 6px; }
@media (hover: hover) {
  .rate:has(button:hover) button { color: var(--line); }
  .rate.rate button:hover, .rate.rate button:hover ~ button { color: var(--pink); }
}
.review-panel { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.review-panel .tab-group { align-self: flex-start; }
.review-grid.two { max-width: none; margin: 0; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.review-empty { padding: 48px 24px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.review-empty .stars { color: var(--pink-light); font-size: 22px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.photo-tile { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--pink-soft); box-shadow: var(--shadow); cursor: zoom-in; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo-tile:hover img { transform: scale(1.05); }
.photo-tile span {
  position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px);
  background: rgba(255, 255, 255, .92); color: var(--pink-deep); font-size: 12px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lightbox {
  position: fixed; inset: 0; z-index: 150; padding: 24px; cursor: zoom-out;
  background: rgba(59, 22, 36, .85); display: grid; place-items: center;
}
.lightbox img { max-width: 100%; max-height: calc(100dvh - 48px); border-radius: 16px; object-fit: contain; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
@media (max-width: 860px) {
  .reviews-page { grid-template-columns: 1fr; }
}

/* ===== Track Order page ===== */
.track-hero { padding-bottom: 36px; }
.track-page { max-width: 680px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; gap: 14px; }
.co-form.track-form { padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.track-form .btn { height: 42px; }
.track-error:empty { display: none; }
.track-result { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.track-head small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.track-head strong { display: block; font-family: "Fraunces", serif; font-size: 26px; line-height: 1.1; }
.track-head span:not(.track-status) { font-size: 13px; color: var(--muted); }
.track-status { font-size: 13px; font-weight: 800; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.track-msg { font-size: 15px; }
.track-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.track-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
/* linya sa pagitan ng mga bilog */
.track-steps li:not(:first-child)::before {
  content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 3px; background: var(--line); z-index: 0;
}
.track-steps li.step-done::before, .track-steps li.step-now::before { background: var(--pink); }
.track-dot {
  position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 3px solid var(--line); color: #fff; font-size: 13px; font-weight: 800;
}
.track-steps li.step-done .track-dot { background: var(--pink); border-color: var(--pink); }
.track-steps li.step-now .track-dot { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 0 5px rgba(232, 69, 127, .2); }
.track-steps li.step-done, .track-steps li.step-now { color: var(--ink); }
.track-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; background: var(--pink-soft); }
.track-box > .ico { color: var(--pink); }
.track-box > span { flex: 1; min-width: 160px; display: flex; flex-direction: column; font-size: 14px; }
.track-box small { color: var(--muted); font-size: 12px; }
.track-box code { font-family: ui-monospace, Consolas, monospace; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.track-box.muted { color: var(--muted); }
.track-items { display: flex; flex-direction: column; gap: 6px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.track-review { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; border: 1.5px dashed var(--pink-light); font-weight: 700; font-size: 14px; }
@media (max-width: 560px) {
  .co-form.track-form { grid-template-columns: 1fr; padding: 18px 16px; }
  .track-result { padding: 18px 16px; }
  .track-head strong { font-size: 22px; }
  /* patayo ang steps sa maliit na phone */
  .track-steps { grid-template-columns: 1fr; gap: 14px; }
  .track-steps li { flex-direction: row; text-align: left; gap: 12px; font-size: 14px; }
  .track-steps li:not(:first-child)::before { top: auto; bottom: 50%; right: auto; left: 12.5px; width: 3px; height: calc(100% + 14px); }
}
@media (max-width: 420px) {
  .rate-row { grid-template-columns: 1fr; }
  .rate button { font-size: 32px; padding: 0 3px; }
  .review-form { padding: 20px 16px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
.footer.no-gap { margin-top: 0; }
.cart-empty a { color: var(--pink); font-weight: 800; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 18px; min-width: 0; transition: transform .15s; }
a.contact-card:hover { transform: translateY(-3px); border-color: var(--pink-light); }
.contact-card > span:last-child { min-width: 0; }
.contact-card small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--muted); }
.contact-card strong { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.community {
  display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 24px 28px;
  border-radius: var(--radius); background: linear-gradient(120deg, var(--pink-soft), #ffd3e2);
  border: 1px solid var(--line);
}
.contact-ico.big { background: #fff; }
.community-text { flex: 1; }
.community h3 { font-family: "Fraunces", serif; font-size: 24px; }
.community p { color: var(--muted); font-size: 14px; }

/* ===== Policies ===== */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.acc-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 800;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: "+"; font-size: 22px; color: var(--pink); transition: transform .2s; }
.acc-item[open] summary::after { transform: rotate(45deg); }
.acc-item ul { padding: 0 22px 20px 42px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }

/* ===== Footer ===== */
.footer {
  margin-top: 100px; padding: 60px 16px 40px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 244, 248, .55), rgba(255, 225, 236, .85));
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.footer-logo { font-family: "Fraunces", serif; font-weight: 700; font-size: 26px; color: var(--pink-deep); margin-top: -6px; }
.footer-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.footer-info { color: var(--muted); font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-weight: 700; font-size: 14px; }
.footer-nav a:hover { color: var(--pink); }
.copy { font-size: 13px; color: var(--muted); }

/* ===== Cart drawer ===== */
.overlay { position: fixed; inset: 0; background: rgba(59, 22, 36, .35); opacity: 0; pointer-events: none; transition: .25s; z-index: 90; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 100%);
  background: var(--bg); z-index: 100; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
  box-shadow: -20px 0 40px -20px rgba(201, 47, 104, .35);
}
.cart-open .overlay { opacity: 1; pointer-events: auto; }
.cart-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: "Fraunces", serif; font-size: 24px; }
.icon-btn { padding: 8px; border-radius: 12px; }
.icon-btn:hover { background: var(--pink-soft); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; }
.cart-thumb { width: 56px; height: 56px; border-radius: 12px; background: var(--pink-soft); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb svg { width: 70%; height: 70%; }
.cart-info { flex: 1; min-width: 0; }
.cart-info strong { display: block; font-size: 15px; }
.cart-info span { font-size: 14px; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; background: var(--pink-soft); color: var(--pink-deep); font-weight: 800; }
.qty button:hover { background: var(--pink-light); }
.qty span { min-width: 18px; text-align: center; font-weight: 800; }
.cart-empty { text-align: center; color: var(--muted); padding: 50px 10px; }
.drawer-foot { padding: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.total-row { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 4px; }

/* ===== Drawer views & checkout ===== */
[hidden] { display: none !important; }
.drawer { width: min(440px, 100%); }
.view { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer-head h3 { font-size: 26px; }
.checkout { gap: 16px; }
.co-box { background: var(--pink-soft); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.co-box h4 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; }
.co-box h4 .ico { color: var(--pink); }
.co-step { font-size: 14px; font-weight: 800; }
.co-note { font-size: 12px; color: var(--muted); }
.choice-row { display: grid; gap: 8px; }
.choice-row.two { grid-template-columns: 1fr 1fr; }
.choice-row.three { grid-template-columns: repeat(3, 1fr); }
.choice {
  text-align: left; background: #fff; border: 2px solid transparent; border-radius: 16px;
  padding: 11px 14px; display: flex; flex-direction: column; gap: 1px; transition: border-color .15s;
}
.choice:hover { border-color: var(--pink-light); }
.choice.active { border-color: var(--pink); }
.choice strong { font-size: 15px; font-weight: 600; }
.choice small { font-size: 12px; color: var(--muted); }
.choice.region small { color: var(--pink); }
.pay-card { background: #fff; border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.pay-card > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pay-label { color: var(--pink); font-size: 14px; }
.pay-acct { font-size: 14px; }
.pay-acct code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px;
}
.copy-btn:hover { border-color: var(--pink); color: var(--pink); }
.upload {
  border: 2px dashed var(--pink-light); border-radius: 18px; background: #fff; padding: 22px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; cursor: pointer;
}
.upload:hover, .upload:focus-visible { border-color: var(--pink); outline: none; }
.upload > .ico { color: var(--pink); margin-bottom: 4px; }
.upload strong { font-weight: 600; font-size: 15px; }
.upload small { font-size: 12px; color: var(--muted); }
.upload.has-file { flex-direction: row; text-align: left; padding: 12px; gap: 12px; border-style: solid; }
.upload-thumb {
  width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
  background: var(--pink-soft); color: var(--pink); display: grid; place-items: center;
}
.upload-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.upload-name strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-form { display: flex; flex-direction: column; gap: 14px; }
.co-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.co-form input, .co-form textarea {
  font: inherit; font-size: 15px; font-weight: 400; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; outline: none; resize: vertical;
}
.co-form input:focus, .co-form textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(232, 69, 127, .15); }
.summary { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.summary > div { display: flex; justify-content: space-between; gap: 12px; }
.summary .grand { font-size: 19px; font-weight: 800; margin-top: 10px; }
.co-hint { font-size: 12px; color: var(--muted); min-height: 1em; }
.drawer-foot.row { flex-direction: row; }
.btn-outline { background: #fff; border: 1px solid var(--line); }
.grow { flex: 1; }
.done { align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 30px 24px; }
.done h4 { font-family: "Fraunces", serif; font-size: 26px; }
.done .btn { margin-top: 4px; }

/* ===== Admin ===== */
.admin-body { min-height: 100vh; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn.danger:hover { border-color: #d64545; color: #d64545; }
.btn-danger { background: #d64545; color: #fff; box-shadow: 0 8px 20px -8px #d64545; }
.btn-danger:hover { background: #b93636; }
.confirm-box { width: min(420px, 100%); }
.confirm-box .modal-body { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; }
.confirm-box h3 { font-family: "Fraunces", serif; font-size: 22px; }
.confirm-box .co-note { font-size: 14px; }
.push-right { margin-left: auto; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: min(400px, 100%); padding: 32px 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.login-card h1 { font-family: "Fraunces", serif; font-size: 30px; }
.login-card label { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.login-card input { font: inherit; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; outline: none; background: #fff; }
.login-card input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(232, 69, 127, .15); }
.login-error { color: #d64545; font-size: 13px; min-height: 1em; }
.back-link { font-size: 13px; color: var(--muted); }
/* iisang lapad at kaliwang gilid para sa header, tabs at content */
.admin-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: max(16px, 3vw); }
.admin-top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 244, 248, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.admin-top-inner { display: flex; align-items: center; gap: 12px; height: 64px; }
.admin-tag { background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.admin-top-actions { margin-left: auto; display: flex; gap: 8px; }
.admin-tabs { padding-top: 24px; }
.tab-group {
  display: inline-flex; gap: 4px; padding: 4px; max-width: 100%; overflow-x: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
}
.tab-group button { padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); white-space: nowrap; }
.tab-group button:hover { color: var(--pink); }
.tab-group button.active { background: var(--pink); color: #fff; }
.tab-badge {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px;
  border-radius: 999px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 800;
}
.tab-group button.active .tab-badge { background: #fff; color: var(--pink); }
.alert-btn { gap: 6px; }
.alert-btn.on { border-color: var(--pink); color: var(--pink); }
.order-card.fresh { box-shadow: 0 0 0 2px var(--pink), 0 10px 30px -12px var(--pink); }
.admin-main { padding-top: 20px; padding-bottom: 60px; }
.admin-main > :first-child { margin-top: 0; }
.admin-toolbar { margin: 0 0 18px; }
.stat-grid + .admin-toolbar { margin-top: 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; border-radius: 18px; }
.stat small { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.stat strong { font-size: 24px; font-weight: 800; }
.order-list, .prod-list { display: flex; flex-direction: column; gap: 14px; }
.order-card { padding: 18px 20px; border-radius: 18px; display: flex; flex-direction: column; gap: 14px; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order-no { font-size: 18px; font-weight: 800; margin-right: 10px; }
.order-date { color: var(--muted); font-size: 13px; }
.status-select { font: inherit; font-size: 13px; font-weight: 800; border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; outline: none; }
.status-New { background: var(--pink); color: #fff; }
.status-Paid { background: #dbeafe; color: #1d4ed8; }
.status-Packed { background: #fef3c7; color: #b45309; }
.status-Shipped { background: #ede9fe; color: #6d28d9; }
.status-Delivered { background: #d1fae5; color: #047857; }
.status-Cancelled { background: #e7e1e3; color: #6b5a61; }
.order-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.order-col { display: flex; flex-direction: column; gap: 4px; font-size: 14px; min-width: 0; }
.order-col h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--pink); margin-bottom: 4px; }
.order-col a { color: var(--pink); font-weight: 700; }
.order-addr { white-space: pre-line; }
.order-notes { background: var(--pink-soft); border-radius: 10px; padding: 6px 10px; margin-top: 4px; }
.order-line { display: flex; justify-content: space-between; gap: 12px; }
.order-line small { color: var(--muted); }
.order-line.muted { color: var(--muted); }
.order-line.total { font-weight: 800; font-size: 16px; border-top: 1px solid var(--line); padding-top: 6px; margin-top: 4px; }
.order-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
.tracking { display: flex; gap: 8px; }
.tracking input { font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; outline: none; width: 200px; }
.tracking input:focus { border-color: var(--pink); }
.prod-row { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 18px; }
.prod-move { display: flex; flex-direction: column; gap: 2px; margin-right: -6px; }
.prod-move .icon-btn { width: 30px; height: 26px; border-radius: 8px; color: var(--pink-deep); }
.prod-move .icon-btn:disabled { opacity: .25; cursor: default; background: none; }
.prod-thumb { width: 64px; height: 64px; border-radius: 12px; background: var(--pink-soft); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.prod-info strong { font-family: "Fraunces", serif; font-size: 17px; font-weight: 600; }
.prod-info small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-price { font-weight: 700; font-size: 14px; }
.badge-inline { background: var(--pink); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.prod-row .toggle { margin-left: 0; color: var(--ink); font-weight: 600; min-width: 120px; }
.prod-actions { display: flex; gap: 8px; }
.sale-note { background: var(--pink-soft); color: var(--pink-deep); font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(59, 22, 36, .4); display: grid; place-items: center; padding: 16px; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--bg); }
.modal-body { overflow-y: auto; padding: 18px 20px; }
/* minmax(0, 1fr) + width 100%: hindi lalampas ang input sa card */
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.form-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.co-form input:not([type="checkbox"]), .co-form textarea { width: 100%; min-width: 0; }
.co-form label.check { flex-direction: row; align-items: center; gap: 8px; padding-bottom: 10px; }
.co-form label.check input { width: 18px; height: 18px; accent-color: var(--pink); }
.img-picker { display: flex; align-items: center; gap: 14px; padding: 12px; border: 2px dashed var(--pink-light); border-radius: 16px; background: #fff; cursor: pointer; }
.img-picker:hover { border-color: var(--pink); }
.img-picker img, .img-empty { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--pink-soft); display: grid; place-items: center; flex-shrink: 0; }
.img-picker > span:not(.img-empty) { flex: 1; display: flex; flex-direction: column; font-size: 14px; }
.img-picker small { color: var(--muted); font-size: 12px; }
.opt-editor { background: var(--pink-soft); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.opt-editor-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
#optRows { display: flex; flex-direction: column; gap: 8px; }
.opt-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 110px auto; gap: 8px; align-items: center; }
.opt-img { position: relative; width: 44px; height: 44px; }
.opt-img-btn {
  width: 100%; height: 100%; border-radius: 10px; overflow: hidden; display: grid; place-items: center;
  background: #fff; border: 1.5px dashed var(--pink-light); color: var(--pink);
}
.opt-img-btn:hover { border-color: var(--pink); }
.opt-img-btn img { width: 100%; height: 100%; object-fit: cover; }
.opt-img-btn:has(img) { border-style: solid; }
.opt-img-clear {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 12px; line-height: 1; display: grid; place-items: center;
}
.review-status { font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: #fef3c7; color: #b45309; white-space: nowrap; }
.review-status.on { background: #d1fae5; color: #047857; }
.review-text { font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.review-card .review-scores { margin-top: -6px; }
.review-card .order-foot { justify-content: flex-start; }
.proof-card { margin-bottom: 18px; }
.admin-proofs .photo-tile { cursor: default; }
.proof-del {
  position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: #d64545; display: grid; place-items: center; box-shadow: var(--shadow);
}
.proof-del:hover { background: #d64545; color: #fff; }
.settings-card { padding: 24px; max-width: 680px; border-radius: 22px; }
.settings-card h3 { font-family: "Fraunces", serif; font-size: 22px; }
.settings-card .btn { align-self: flex-start; }
@media (max-width: 760px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .order-body { grid-template-columns: 1fr; }
  .prod-row { flex-wrap: wrap; }
  .prod-actions { width: 100%; }
  .prod-actions .btn { flex: 1; }
  .tracking { width: 100%; }
  .tracking input { flex: 1; width: auto; }
  .admin-top .logo-text { display: none; }
}
/* maliit na phone: kasya ang Alerts / View shop / Log out sa isang linya */
@media (max-width: 480px) {
  .admin-top-inner { gap: 8px; }
  .admin-top-actions { gap: 6px; }
  .admin-top-actions .btn-sm { padding: 6px 10px; font-size: 12px; }
  .alert-btn .alert-label { display: none; }
  .admin-tag { font-size: 10px; padding: 3px 8px; }
  .tab-group button { padding: 8px 14px; font-size: 14px; }
  .order-card { padding: 16px; }
  .order-head { flex-wrap: wrap; }
  .settings-card { padding: 18px; }
  .modal-overlay { padding: 8px; align-items: end; }
  .modal { max-height: calc(100dvh - 16px); }
  .opt-row { grid-template-columns: 40px minmax(0, 1fr) 84px auto; gap: 6px; }
  /* product row: arrows + picture + pangalan sa unang linya; stock + Edit/Delete sa ilalim */
  .prod-row { gap: 10px 12px; padding: 12px; }
  .prod-info { flex: 1 1 calc(100% - 130px); }
  .prod-row .toggle { min-width: 0; }
  .prod-actions { width: auto; flex: 1 1 140px; }
  .opt-img { width: 40px; height: 40px; }
}

/* ===== Music player (kaliwang ibaba) ===== */
.music-box {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; text-align: left;
  background: #fff; border: 2px solid rgba(232, 69, 127, .3); border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(201, 47, 104, .45); transition: border-color .2s;
}
.music-box:hover, .music-box.playing { border-color: var(--pink); }
.music-disc { width: 40px; height: 40px; border-radius: 50%; background: var(--pink-soft); display: grid; place-items: center; flex-shrink: 0; }
.music-disc .bow { width: 32px; height: 24px; }
.music-box.playing .music-disc { animation: spin 5s linear infinite; }
.music-text strong { display: block; max-width: 140px; font-size: 12px; font-weight: 800; color: var(--pink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music-text small { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.music-text .ico { width: 12px; height: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
body.cart-open .music-box { display: none; }
@media (max-width: 640px) {
  .music-box { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); padding-right: 12px; }
  .music-text strong { max-width: 110px; }
}
@media (prefers-reduced-motion: reduce) { .music-box.playing .music-disc { animation: none; } }

/* ===== Toast ===== */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== Mobile ===== */
@media (max-width: 1024px) {
  .shop-page .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav a { padding: 14px max(16px, 4vw); border-top: 1px solid var(--line); }
  .nav.open { display: flex; }
}
@media (max-width: 640px) {
  /* hindi mag-zoom ang iPhone kapag pinindot ang input (kailangan 16px pataas) */
  input, textarea, select { font-size: 16px !important; }
  /* toast sa itaas para hindi matakpan ang Checkout / Place order button */
  .toast { top: 76px; bottom: auto; transform: translate(-50%, -20px); max-width: calc(100% - 32px); text-align: center; }
  .toast.show { transform: translate(-50%, 0); }
  .hero { padding: 40px 16px 56px; gap: 14px; }
  .hero-sub { font-size: 16px; }
  .hero.compact { padding: 36px 16px 44px; }
  .shop, .contact, .policies { padding-top: 56px; }
  .shop.shop-page { padding-top: 24px; }
  .shop-page .toolbar { margin-bottom: 20px; }
  /* features: icon sa kaliwa, text sa kanan — mas maikli */
  .features { grid-template-columns: 1fr; gap: 12px; margin-top: -20px; }
  .feature { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 16px 18px; }
  .feature-ico { grid-row: span 2; }
  .feature h3 { margin: 0; font-size: 16px; }
  .feature p { font-size: 14px; }
  .reviews { margin-top: 56px; padding: 48px 16px; }
  .footer { margin-top: 64px; }
  .footer-btns .btn { flex: 1 1 100%; }
  .drawer-body { padding: 14px 16px; }
  .drawer-foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
  .pay-sep { display: none; }
  .pay-acct code { display: block; white-space: nowrap; }
  .contact-grid { grid-template-columns: 1fr; }
  .community { flex-direction: column; text-align: center; }
  .toggle { margin-left: 0; }
  .search { max-width: none; }
  .grid, .shop-page .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shop-page .search { flex: 1 1 100%; }
  .product-body { padding: 12px; }
  .product-name { font-size: 15px; }
  .product-desc { font-size: 13px; }
  .price { font-size: 15px; }
  .add-btn { padding: 0 10px; }
  .product-foot { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .product-foot { flex-direction: column; align-items: stretch; }
  .logo-text { font-size: 17px; }
  /* options: isang hanay bawat isa, pare-pareho ang lapad */
  .options { flex-direction: column; gap: 5px; }
  .opt { width: 100%; text-align: center; padding: 5px 8px; font-size: 12px; }
  .add-btn { height: 34px; }
  .header { gap: 10px; }
  .btn-cart { padding: 0 12px; }
}
