/* css/women-shift-dress-1.css
   Styles for Women Shift Dress listing and product cards
*/

:root{
  --accent: #b85c7a;
  --accent-2: #6b3e26;
  --muted: #6c6c6c;
  --bg-soft: #fbfbfb;
  --card-radius: 12px;
  --max-width: 1200px;
  --transition: 180ms;
  --shadow-soft: 0 12px 36px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }
html, body { height:100%; margin:0; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; background:var(--bg-soft); color:#222; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
.container { max-width:var(--max-width); margin:0 auto; padding:0 1rem; }

/* Brand helpers */
.text-accent { color:var(--accent) !important; }
.text-muted { color:var(--muted) !important; }

/* Navbar */
.navbar { background:#fff; border-bottom:1px solid rgba(0,0,0,0.04); padding:.6rem 0; }
.brand-wrap { display:flex; align-items:center; gap:12px; }
.logo { height:44px; width:auto; border-radius:6px; object-fit:contain; box-shadow:0 6px 18px rgba(0,0,0,0.06); }

/* Hero */
.hero-banner { background:linear-gradient(180deg,#fff 0%, #fff7f8 100%); padding:3rem 0; text-align:center; border-bottom:1px solid rgba(0,0,0,0.03); }
.hero-banner h1 { font-size:clamp(1.6rem,2.8vw,2.2rem); margin-bottom:.4rem; color:var(--accent-2); }
.hero-banner .lead { color:var(--muted); margin-bottom:1rem; }

/* Filter bar */
.filter-bar { background:#fff; border-bottom:1px solid rgba(0,0,0,0.03); padding:.75rem 0; }
.filter-bar .btn { border-radius:8px; padding:8px 12px; font-weight:700; transition: transform var(--transition) ease, background var(--transition) ease; color:var(--accent-2); border:1px solid rgba(47,43,40,0.08); background:transparent; }
.filter-bar .btn.active, .filter-bar .btn:active { background:var(--accent); color:#fff; border-color:var(--accent); }

/* Section headings */
.section-title { font-size:1.25rem; color:var(--accent-2); font-weight:700; margin:0; }
.section-subtle { color:var(--muted); font-size:.95rem; }

/* Grid spacing */
.row.g-4 { gap:1.25rem; }

/* Product card */
.card.product-card {
  border:0; border-radius:var(--card-radius); overflow:hidden;
  transition: transform .22s ease, box-shadow .22s ease;
  background:#fff; display:flex; flex-direction:column; height:100%;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(0,0,0,0.03);
}
.card.product-card .card-img-top {
  width:100%; height:320px; object-fit:cover; display:block;
  transition: transform .22s ease, filter .22s ease;
  background: linear-gradient(180deg,#fff7f9 0%,#fff0f4 100%);
}
.card.product-card .card-body { padding:1rem; display:flex; flex-direction:column; gap:.5rem; }
.card.product-card .card-title { font-size:1rem; font-weight:800; color:#111; margin:0; }
.card.product-card .price { color:var(--muted); font-weight:800; margin-top:.25rem; }
.card.product-card .card-text { color:var(--muted); font-size:.95rem; margin:0.25rem 0 0.5rem 0; }

/* Size selector */
.size-select { max-width:180px; border-radius:8px; padding:.35rem .5rem; border:1px solid #eee; align-self:center; }

/* Buttons */
.d-grid.gap-2 { gap:.5rem; }
.btn-primary { background: var(--accent); color: #fff; border: 0; padding: 10px 12px; border-radius: 8px; font-weight:700; }
.btn-outline { color: var(--accent); border: 2px solid var(--accent); background: transparent; border-radius: 8px; padding: 8px 12px; font-weight:700; }
.btn-outline-secondary { border-radius:8px; }

/* Hover */
.card.product-card:hover { transform:translateY(-6px); box-shadow:0 22px 60px rgba(0,0,0,0.08); }
.card.product-card:hover .card-img-top { transform: scale(1.02); }

/* Preview overlay */
.preview-overlay { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.6); z-index: 1200; padding: 20px; }
.preview-panel { width: 100%; max-width: 920px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.18); position: relative; }
.preview-panel img { width:100%; height:420px; object-fit:cover; display:block; }
.preview-body { padding: 16px; }
.preview-body h3 { margin:0 0 8px 0; color:#222; font-weight:800; }
.preview-body p { margin:0; color:var(--muted); }

/* Lazy placeholder */
img.lazy { filter: blur(6px); transform: scale(1.01); transition: filter .4s ease, transform .4s ease; }
img.lazy-loaded { filter: none; transform: none; }

/* Load more */
#load-more { border-radius: 8px; padding: .6rem 1rem; border: 1px solid rgba(47,43,40,0.08); background: transparent; color: var(--accent-2); }

/* Focus */
a:focus, button:focus, .btn:focus, .form-select:focus { outline: 3px solid rgba(184,92,122,0.12); outline-offset: 2px; }

/* Footer */
.footer { background:var(--accent); color:#fff; padding:1.25rem 0; text-align:center; }
.footer p { margin:0.25rem 0; color:rgba(255,255,255,0.95); }

/* Responsive */
@media (max-width: 991px) {
  .card.product-card .card-img-top { height:260px; }
  .hero-banner { padding:2.25rem 0; }
  .logo { height:40px; }
}
@media (max-width: 575px) {
  .card.product-card .card-img-top { height:180px; }
  .filter-bar .btn { padding:6px 8px; font-size:0.9rem; }
  .preview-panel img { height:260px; }
}

/* Micro-interactions */
.filter-bar .btn, .btn-primary, .btn-outline, #load-more { transition: transform var(--transition), box-shadow var(--transition); }
.filter-bar .btn:hover, .btn-primary:hover, .btn-outline:hover, #load-more:hover { transform: translateY(-3px); }
