/* =====================================================
   Brand Storefront — Individual Brand Page
   Mini storefront experience · Hero · Quick nav · Featured · Product grid
   Extends premium-home design system
   ===================================================== */

.brand-storefront-page { background: var(--ph-cream); }
.brand-storefront-main { padding: 0 0 4rem; }
.brand-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 1400px) {
  .brand-container { max-width: 1400px; padding: 0 2rem; }
}

/* ── 1. BRAND HERO ─────────────────────────────────── */
.brand-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--ph-off-white) 0%, var(--ph-blush) 50%, var(--ph-dusty-pink) 100%);
  border-radius: 0 0 var(--ph-radius) var(--ph-radius);
  overflow: hidden;
}
.brand-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: var(--hero-bg, transparent);
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.brand-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.brand-hero-content { flex: 1; min-width: 280px; }
.brand-hero-eyebrow {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ph-rose);
  margin-bottom: .5rem;
}
.brand-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  color: var(--ph-dark);
  margin-bottom: .6rem;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.brand-hero-desc {
  font-size: 1.05rem;
  color: var(--ph-mid);
  max-width: 480px;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.brand-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}
.brand-hero-stat {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ph-taupe);
}
.brand-hero-sale-badge {
  padding: .35rem .75rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: #c73e4a;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(199, 62, 74, .3);
}
.brand-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  background: var(--ph-rose);
  border-radius: var(--ph-radius-pill);
  text-decoration: none;
  transition: all var(--ph-transition);
  box-shadow: 0 4px 16px rgba(176, 122, 118, .35);
}
.brand-hero-cta:hover {
  background: var(--ph-mocha);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(28, 23, 20, .2);
}
.brand-hero-visual {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: var(--ph-radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(28, 23, 20, .15);
  background: var(--ph-white);
}
.brand-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 767px) {
  .brand-hero { min-height: auto; }
  .brand-hero-visual { width: 120px; height: 120px; }
}

/* ── 2. QUICK CATEGORY NAV ──────────────────────────── */
.brand-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--ph-border);
  margin-bottom: 2rem;
}
.brand-quick-link {
  padding: .55rem 1.1rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ph-mid);
  background: var(--ph-white);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-pill);
  text-decoration: none;
  transition: all var(--ph-transition);
  box-shadow: 0 1px 3px rgba(28, 23, 20, .04);
}
.brand-quick-link:hover {
  background: var(--ph-blush);
  border-color: var(--ph-dusty-pink);
  color: var(--ph-dark);
}
.brand-quick-link.active {
  background: var(--ph-rose);
  border-color: var(--ph-rose);
  color: #fff;
  box-shadow: 0 2px 8px rgba(176, 122, 118, .25);
}

/* ── 3. FEATURED SECTIONS ───────────────────────────── */
.brand-featured {
  margin-bottom: 2.5rem;
}
.brand-featured-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ph-dark);
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}
.brand-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1199px) {
  .brand-featured-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .brand-featured-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ── 4. LAYOUT: SIDEBAR + CONTENT ────────────────────── */
.brand-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
}
@media (max-width: 991px) {
  .brand-layout { grid-template-columns: 1fr; }
}

/* ── 5. LIGHT FILTER SIDEBAR ────────────────────────── */
.brand-sidebar {
  position: relative;
}
@media (min-width: 992px) {
  .brand-sidebar { position: sticky; top: 1.25rem; align-self: start; }
}
.brand-filter-panel {
  background: var(--ph-white);
  border-radius: var(--ph-radius);
  padding: 1.25rem;
  box-shadow: 0 2px 16px rgba(28, 23, 20, .05);
  border: 1px solid rgba(139, 125, 119, .1);
}
.brand-filter-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ph-dark);
  margin-bottom: 1rem;
  letter-spacing: .02em;
}
.brand-filter-section {
  margin-bottom: 1rem;
}
.brand-filter-section:last-child { margin-bottom: 0; }
.brand-filter-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ph-light);
  margin-bottom: .5rem;
  display: block;
}
.brand-filter-select {
  width: 100%;
  padding: .5rem .75rem;
  font-size: .84rem;
  border: 1px solid var(--ph-border);
  border-radius: 8px;
  background: var(--ph-off-white);
}
.brand-filter-row {
  display: flex;
  gap: .5rem;
  margin-bottom: .5rem;
}
.brand-filter-input {
  flex: 1;
  padding: .5rem .6rem;
  font-size: .84rem;
  border: 1px solid var(--ph-border);
  border-radius: 8px;
  background: var(--ph-off-white);
}
.brand-filter-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(139, 125, 119, .1);
}
.brand-filter-actions .btn { font-size: .82rem; padding: .5rem 1rem; }

/* ── 6. TOOLBAR ─────────────────────────────────────── */
.brand-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: .5rem 0;
}
.brand-results {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ph-taupe);
  margin: 0;
}
.brand-sort {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.brand-sort label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ph-light);
}
.brand-sort-select {
  padding: .5rem 1rem;
  font-size: .86rem;
  border: 1px solid var(--ph-border);
  border-radius: 10px;
  background: var(--ph-white);
  color: var(--ph-dark);
  min-width: 160px;
}

/* ── 7. PRODUCT GRID (brand-specific: no brand name) ─── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1199px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (max-width: 767px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

.brand-card {
  background: var(--ph-white);
  border-radius: var(--ph-radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(28, 23, 20, .06);
  border: 1px solid rgba(139, 125, 119, .08);
  transition: all var(--ph-transition);
}
.brand-card:hover {
  box-shadow: 0 12px 36px rgba(28, 23, 20, .1);
  transform: translateY(-3px);
  border-color: rgba(139, 125, 119, .15);
}
.brand-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.brand-card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--ph-off-white);
  overflow: hidden;
}
.brand-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.brand-card:hover .brand-card-img {
  transform: scale(1.04);
}
.brand-card-badge {
  position: absolute;
  top: .6rem;
  right: .6rem;
  padding: .4rem .65rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  background: #c73e4a;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(199, 62, 74, .35);
}
.brand-card-body {
  padding: 1.1rem 1.2rem;
}
.brand-card-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ph-dark);
  margin-bottom: .5rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.brand-card-rating {
  font-size: .78rem;
  color: var(--ph-taupe);
  margin-bottom: .55rem;
}
.brand-card-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin-bottom: .7rem;
}
.brand-price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ph-dark);
}
.brand-price-original {
  font-size: .86rem;
  color: var(--ph-light);
  text-decoration: line-through;
}
.brand-save {
  font-size: .76rem;
  font-weight: 600;
  color: #0d7a4a;
  padding: .15rem .45rem;
  background: rgba(13, 122, 74, .08);
  border-radius: 6px;
}
.brand-card-cta {
  display: inline-block;
  padding: .5rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ph-rose);
  border: 1.5px solid var(--ph-rose);
  border-radius: var(--ph-radius-pill);
  transition: all var(--ph-transition);
}
.brand-card:hover .brand-card-cta {
  background: var(--ph-rose);
  color: #fff;
}

/* ── 8. SIMILAR BRANDS ───────────────────────────────── */
.brand-similar {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--ph-border);
}
.brand-similar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ph-dark);
  margin-bottom: 1.25rem;
}
.brand-similar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.brand-similar-link {
  padding: .5rem 1rem;
  font-size: .86rem;
  font-weight: 500;
  color: var(--ph-mid);
  background: var(--ph-white);
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius-pill);
  text-decoration: none;
  transition: all var(--ph-transition);
}
.brand-similar-link:hover {
  background: var(--ph-blush);
  border-color: var(--ph-dusty-pink);
  color: var(--ph-dark);
}

/* ── 9. PAGINATION ──────────────────────────────────── */
.brand-pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.brand-pagination-list {
  display: flex;
  gap: .4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.brand-page-link {
  display: inline-block;
  padding: .55rem .9rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ph-mid);
  background: var(--ph-white);
  border: 1px solid var(--ph-border);
  border-radius: 10px;
  text-decoration: none;
  transition: all var(--ph-transition);
}
.brand-page-link:hover {
  background: var(--ph-blush);
  border-color: var(--ph-dusty-pink);
  color: var(--ph-dark);
}
.brand-page-link.active {
  background: var(--ph-rose);
  border-color: var(--ph-rose);
  color: #fff;
  cursor: default;
}
