/* ============================================================
   CuratedFashion — MINIMAL THRIFT & CAPSULE WARDROBE DESIGN SYSTEM
   Exact aesthetic inspired by editorial minimal thrift lookbooks:
   Warm oatmeal linen paper, elegant serif headlines, charming handwriting
   script subtitles, hairline grid borders, circular number badges,
   and clean bulleted styling notes.
   ============================================================ */

:root {
  /* Warm Linen & Oatmeal Aesthetic Palette */
  --bb-page:         #F6F3ED;   /* Warm oatmeal linen background */
  --bb-surface:      #FAF8F5;   /* Clean warm white card surface */
  --bb-white:        #FFFFFF;   /* Pure white */
  --bb-tint:         #EFECE4;   /* Soft oatmeal neutral fill */
  --bb-stage:        #F8F6F2;   /* Stage background for flatlay garments */

  /* Typography Colors */
  --bb-ink:          #282420;   /* Deep warm espresso charcoal */
  --bb-body:         #4A443E;   /* Soft espresso pencil body */
  --bb-muted:        #7C746C;   /* Warm neutral caption & meta */
  --bb-subtle:       #9E968D;   /* Light annotation */

  /* Hairline Borders & Dividers */
  --bb-line:         #DFD7CC;   /* Editorial hairline border */
  --bb-line-soft:    #EAE4D9;   /* Delicate inner rule */
  --bb-line-dark:    #4A443E;   /* Strong contrast border */

  /* Badges & Highlights */
  --bb-badge-bg:     #4A443E;   /* Circular number badge fill */
  --bb-badge-text:   #FFFFFF;   /* Number badge text */
  --bb-accent:       #8C6D53;   /* Warm vintage leather accent */
  --bb-accent-soft:  #F3EFE8;   /* Soft wash for tag pills */

  /* Shapes & Elevations */
  --bb-radius-sm:    6px;
  --bb-radius:       10px;
  --bb-radius-lg:    16px;
  --bb-radius-full:  9999px;

  --bb-shadow-subtle: 0 2px 8px rgba(40, 36, 32, 0.04);
  --bb-shadow:        0 4px 16px rgba(40, 36, 32, 0.06);
  --bb-shadow-hover:  0 10px 28px rgba(40, 36, 32, 0.09);

  /* Fonts */
  --bb-serif:        var(--font-playfair, var(--font-cormorant, "Playfair Display", Georgia, serif));
  --bb-script:       var(--font-handwriting, "Caveat", "Dancing Script", cursive);
  --bb-sans:         var(--font-barlow, system-ui, -apple-system, sans-serif);
}

/* Global Reset & Base */
.bb button,
.bb-header button,
.bb-footer button { width: auto; }

.bb,
.bb * {
  box-sizing: border-box;
}

body {
  background-color: var(--bb-page);
  color: var(--bb-body);
  font-family: var(--bb-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bb {
  background: var(--bb-page);
  font-family: var(--bb-sans);
  color: var(--bb-body);
}

.bb-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 64px);
}

/* ============================================================
   EDITORIAL LOOKBOOK HEADER & TITLES
   ============================================================ */
.thrift-header-title {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}

.thrift-sparkle {
  font-size: 20px;
  color: #7C746C;
  margin-right: 12px;
  vertical-align: middle;
}

.thrift-heart {
  font-size: 22px;
  color: #7C746C;
  margin-left: 12px;
  vertical-align: middle;
  font-family: serif;
}

.thrift-title-main {
  font-family: var(--bb-serif);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bb-ink);
  margin: 0 0 6px;
  line-height: 1.15;
}

.thrift-title-sub {
  font-family: var(--bb-script);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  color: #5A534B;
  margin: 0;
  line-height: 1.2;
}

/* Section headings */
.bb-head {
  text-align: center;
  margin-bottom: 36px;
}
.bb-head h2 {
  font-family: var(--bb-serif);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--bb-ink);
  margin: 0 0 4px;
}
.bb-head p {
  font-family: var(--bb-script);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--bb-muted);
  margin: 0;
}

/* ============================================================
   MINIMAL THRIFT LOOKBOOK GRID
   ============================================================ */
.thrift-lookbook-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0px;
  border: 1px solid var(--bb-line);
  background: var(--bb-line);
  border-radius: var(--bb-radius);
  overflow: hidden;
  box-shadow: var(--bb-shadow-subtle);
}

@media (max-width: 1200px) {
  .thrift-lookbook-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .thrift-lookbook-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .thrift-lookbook-grid { grid-template-columns: 1fr; }
}

/* Individual Lookbook Cell */
.thrift-card-cell {
  background: var(--bb-surface);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  transition: background .15s ease, transform .15s ease;
  position: relative;
}
.thrift-card-cell:hover {
  background: #FFFFFF;
  z-index: 2;
}

/* Card Header (Number Badge + Uppercase Title) */
.thrift-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.thrift-badge-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bb-badge-bg);
  color: var(--bb-badge-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 800;
  font-family: var(--bb-sans);
  flex-shrink: 0;
}
.thrift-card-title {
  font-family: var(--bb-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--bb-ink);
  line-height: 1.25;
  margin: 0;
}

/* Image Container */
.thrift-card-stage {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: transparent;
  padding: 8px;
  position: relative;
  overflow: hidden;
}
.thrift-card-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
}
.thrift-card-cell:hover .thrift-card-stage img {
  transform: scale(1.04);
}

/* Styling Bullets List */
.thrift-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.thrift-bullet-item {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--bb-body);
  line-height: 1.4;
  position: relative;
  padding-left: 12px;
}
.thrift-bullet-item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bb-ink);
  font-size: 14px;
}

/* Footer with Price & Action */
.thrift-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--bb-line-soft);
  margin-top: auto;
}
.thrift-price {
  font-family: var(--bb-sans);
  font-size: 15px;
  font-weight: 800;
  color: var(--bb-ink);
}
.thrift-btn-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bb-ink);
  color: #FFFFFF;
  border: 1px solid var(--bb-ink);
  border-radius: var(--bb-radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
}
.thrift-btn-add:hover {
  background: #4A443E;
  border-color: #4A443E;
  color: #FFFFFF;
}

/* ============================================================
   MINIMAL THRIFT HEADER & NAV
   ============================================================ */
.bb-header {
  position: sticky;
  top: 0;
  z-index: 950;
  background: rgba(246, 243, 237, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bb-line);
  box-shadow: 0 4px 20px rgba(40, 36, 32, 0.04);
}

.bb-util {
  background: transparent;
  color: var(--bb-ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--bb-line);
}
.bb-util-in {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Logo */
.bb-logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--bb-ink);
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}
.bb-logo:hover {
  opacity: 0.85;
}
.bb-logo-main {
  font-family: var(--bb-serif);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bb-ink);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bb-logo-sub {
  font-family: var(--bb-script);
  font-size: 15px;
  color: var(--bb-muted);
  line-height: 1;
  margin-top: 3px;
  letter-spacing: 0.02em;
}

/* Search bar */
.bb-search {
  flex: 1;
  display: flex;
  align-items: stretch;
  background: #FFFFFF;
  border: 1px solid var(--bb-line) !important;
  border-radius: var(--bb-radius-full) !important;
  overflow: visible;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  height: 46px !important;
  box-shadow: 0 2px 10px rgba(40,36,32,0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bb-search:focus-within {
  border-color: #282420 !important;
  box-shadow: 0 4px 16px rgba(40,36,32,0.08);
}
.bb-search select {
  border: none !important;
  border-right: 1px solid var(--bb-line) !important;
  border-radius: var(--bb-radius-full) 0 0 var(--bb-radius-full) !important;
  background: transparent !important;
  color: var(--bb-ink) !important;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--bb-sans);
  padding: 0 16px;
  outline: none;
  cursor: pointer;
}
.bb-search input {
  flex: 1;
  border: none !important;
  outline: none;
  padding: 0 16px !important;
  font-size: 13.5px;
  font-family: var(--bb-sans);
  font-weight: 500;
  color: var(--bb-ink) !important;
  background: transparent !important;
}
.bb-search input::placeholder {
  color: var(--bb-muted);
}
.bb-search button {
  border: none !important;
  background: transparent !important;
  color: var(--bb-ink) !important;
  padding: 0 18px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 0 var(--bb-radius-full) var(--bb-radius-full) 0 !important;
  transition: color .12s ease;
}
.bb-search button:hover {
  color: var(--bb-accent);
}

.bb-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #FFFFFF;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-shadow);
  list-style: none;
  margin: 0;
  padding: 6px;
  z-index: 600;
}
.bb-suggest a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bb-ink);
  text-decoration: none;
}
.bb-suggest a:hover {
  background: var(--bb-tint);
}

/* Actions */
.bb-util-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.bb-util-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bb-ink) !important;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  position: relative;
  background: transparent;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius-full);
  padding: 8px 14px;
  cursor: pointer;
  transition: all .12s ease;
}
.bb-util-link:hover {
  background: var(--bb-surface);
  border-color: var(--bb-ink);
}

.bb-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--bb-badge-bg);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Category Nav Row */
.bb-nav-row {
  background: var(--bb-page);
  border-bottom: 1px solid var(--bb-line);
}
.bb-nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}
.bb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bb-nav > li > a,
.bb-nav > li > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--bb-ink);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--bb-radius-full);
  cursor: pointer;
  transition: all .12s ease;
}
.bb-nav > li > a:hover,
.bb-nav > li.is-active > a {
  background: var(--bb-surface);
  border-color: var(--bb-line);
}

.bb-drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #FFFFFF;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-shadow);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all .15s ease;
  z-index: 950;
}
.bb-nav > li:hover .bb-drop { opacity: 1; visibility: visible; }
.bb-drop a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bb-ink);
  text-decoration: none;
}
.bb-drop a:hover {
  background: var(--bb-tint);
}

.bb-deals {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bb-ink);
  color: #FFFFFF !important;
  border-radius: var(--bb-radius-full);
  padding: 7px 16px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}
.bb-deals:hover {
  background: #4A443E;
}

/* ============================================================
   MINIMAL THRIFT BUTTONS
   ============================================================ */
.bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--bb-ink);
  border-radius: var(--bb-radius-full);
  padding: 12px 26px;
  font-family: var(--bb-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s ease;
}
.bb-btn--black {
  background: var(--bb-ink);
  color: #FFFFFF !important;
}
.bb-btn--black:hover {
  background: #4A443E;
  border-color: #4A443E;
}
.bb-btn--white {
  background: var(--bb-surface);
  color: var(--bb-ink) !important;
  border-color: var(--bb-line);
}
.bb-btn--white:hover {
  background: #FFFFFF;
  border-color: var(--bb-ink);
}

/* ============================================================
   EDITORIAL FOOTER
   ============================================================ */
.bb-footer {
  background: var(--bb-page);
  border-top: 1px solid var(--bb-line);
  padding: 64px 0 32px;
  color: var(--bb-body);
  margin-top: clamp(60px, 7vw, 100px);
}
.bb-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 48px;
}
@media (max-width: 991px) {
  .bb-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .bb-footer-grid { grid-template-columns: 1fr; }
}
.bb-footer h5 {
  font-family: var(--bb-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--bb-ink);
  margin-bottom: 16px;
}
.bb-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bb-footer ul a {
  font-size: 13px;
  color: var(--bb-muted);
  text-decoration: none;
  transition: color .12s ease;
}
.bb-footer ul a:hover {
  color: var(--bb-ink);
}
.bb-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--bb-line-soft);
  font-size: 12px;
  color: var(--bb-muted);
}

.bb-footer-news-dock {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--bb-line, #DFDBD3);
  border-radius: 9999px;
  padding: 4px 5px 4px 16px;
  margin-top: 10px;
  width: 100%;
  max-width: 320px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.bb-footer-news-dock:focus-within {
  border-color: var(--bb-ink, #111111);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}
.bb-footer-news-input {
  border: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 34px !important;
  font-size: 13px !important;
  color: var(--bb-ink, #111111) !important;
  flex: 1 !important;
  min-width: 0 !important;
  border-radius: 0 !important;
}
.bb-footer-news-input::placeholder {
  color: #9C988F;
}
.bb-footer-news-btn {
  background: var(--bb-ink, #111111);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.bb-footer-news-btn:hover:not(:disabled) {
  background: #000000;
  transform: translateY(-1px);
}

.bb-news-dock {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--bb-line, #DFDBD3);
  border-radius: 9999px;
  padding: 4px 5px 4px 16px;
  margin-top: 12px;
  width: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.bb-news-dock:focus-within {
  border-color: var(--bb-ink, #111111);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}
.bb-news-input {
  border: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 36px !important;
  font-size: 13px !important;
  color: var(--bb-ink, #111111) !important;
  flex: 1 !important;
  min-width: 0 !important;
  border-radius: 0 !important;
}
.bb-news-input::placeholder {
  color: #9C988F;
}
.bb-news-btn {
  background: var(--bb-ink, #111111);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.bb-news-btn:hover:not(:disabled) {
  background: #000000;
  transform: translateY(-1px);
}

/* ============================================================
   TRAVEL CAPSULE WARDROBE STUDIO (EDITORIAL & 3D EMBOSSED)
   ============================================================ */
.capsule-studio-wrapper {
  background: var(--bb-page, #F6F3ED);
  padding: 60px 0 90px;
  position: relative;
  overflow: hidden;
}

/* 3D Embossed Title & Hero Stage */
.capsule-hero-wrap {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.capsule-hero-decor-hat {
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 42px;
  opacity: 0.85;
  user-select: none;
  pointer-events: none;
}
.capsule-hero-decor-luggage {
  position: absolute;
  top: -10px;
  right: 25px;
  font-size: 46px;
  opacity: 0.85;
  user-select: none;
  pointer-events: none;
}

.capsule-title-travel {
  font-family: var(--bb-serif);
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: #EDE6DA;
  text-shadow:
    1px 1px 0px #FFFFFF,
    -1px -1px 0px #D8CCA8,
    3px 5px 12px rgba(65, 48, 30, 0.2),
    0 1px 2px rgba(0,0,0,0.1);
  margin: 0;
  display: block;
}

.capsule-title-wardrobe {
  font-family: var(--bb-serif);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #695240;
  text-shadow:
    1px 1px 0px rgba(255,255,255,0.7),
    -1px -1px 0px #453426,
    2px 4px 10px rgba(45, 30, 18, 0.25);
  margin: 0 0 16px;
  display: block;
}

.capsule-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #EFEBE3;
  padding: 8px 24px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow:
    inset 1px 1px 2px #FFFFFF,
    inset -1px -1px 2px #D3C9BC,
    0 4px 14px rgba(50, 40, 30, 0.07);
  font-family: var(--bb-serif);
  font-size: 15px;
  font-weight: 600;
  color: #554133;
  letter-spacing: 0.02em;
  margin: 0 auto;
}
.capsule-pill-heart {
  color: #8C6D53;
  font-size: 14px;
}

/* Studio Board Container */
.capsule-board-card {
  background: var(--bb-surface, #FAF8F5);
  border: 1px solid var(--bb-line, #DFD7CC);
  border-radius: 18px;
  padding: 36px 32px 32px;
  box-shadow: 0 8px 30px rgba(40, 36, 32, 0.05);
  margin-bottom: 32px;
  position: relative;
}

@media (max-width: 768px) {
  .capsule-board-card {
    padding: 24px 16px 20px;
  }
}

.capsule-board-header {
  text-align: center;
  margin-bottom: 28px;
}
.capsule-board-label {
  font-family: var(--bb-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bb-ink, #282420);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.capsule-board-sub {
  font-family: var(--bb-script);
  font-size: 20px;
  color: var(--bb-muted, #7C746C);
  margin: 0;
}

/* The 7 Essentials Hanger Rack Grid */
.capsule-essentials-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 1200px) {
  .capsule-essentials-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .capsule-essentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .capsule-essentials-grid {
    grid-template-columns: 1fr;
  }
}

/* Individual Essential Hanger Card */
.capsule-hanger-card {
  background: #FAF8F5;
  border: 1px solid var(--bb-line, #DFD7CC);
  border-radius: 12px;
  padding: 14px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  cursor: pointer;
}
.capsule-hanger-card:hover {
  background: #FFFFFF;
  border-color: var(--bb-accent, #8C6D53);
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(50, 40, 30, 0.08);
}
.capsule-hanger-card.active {
  background: #FFFFFF;
  border-color: var(--bb-ink, #282420);
  box-shadow: 0 0 0 2px var(--bb-ink, #282420), 0 10px 24px rgba(40, 36, 32, 0.1);
}

.capsule-hanger-stage {
  width: 100%;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
}
.capsule-hanger-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.06));
  transition: transform 0.3s ease;
  transform-origin: top center;
}
.capsule-hanger-card:hover .capsule-hanger-stage img {
  transform: rotate(2deg) scale(1.03);
}

.capsule-hanger-name {
  font-family: var(--bb-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bb-ink, #282420);
  margin: 0 0 6px;
  line-height: 1.25;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capsule-swatch-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}
.capsule-swatch-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(0,0,0,0.22);
  display: inline-block;
}

.capsule-hanger-price {
  font-family: var(--bb-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bb-ink, #282420);
  margin-bottom: 8px;
}

.capsule-hanger-btn {
  width: 100%;
  padding: 6px 10px;
  border-radius: 9999px;
  background: var(--bb-page, #F6F3ED);
  border: 1px solid var(--bb-line, #DFD7CC);
  font-family: var(--bb-sans);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bb-ink, #282420);
  cursor: pointer;
  transition: all 0.15s ease;
}
.capsule-hanger-btn:hover {
  background: var(--bb-ink, #282420);
  border-color: var(--bb-ink, #282420);
  color: #FFFFFF;
}

/* ── OUTFIT IDEAS SECTION ── */
.capsule-outfits-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.capsule-outfits-pill-title {
  background: #EFEBE3;
  padding: 8px 30px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow:
    inset 1px 1px 2px #FFFFFF,
    inset -1px -1px 2px #D3C9BC,
    0 4px 12px rgba(50, 40, 30, 0.06);
  font-family: var(--bb-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bb-ink, #282420);
}

/* Occasion Filter Tabs */
.capsule-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.capsule-tab-btn {
  background: #FAF8F5;
  border: 1px solid var(--bb-line, #DFD7CC);
  border-radius: 9999px;
  padding: 7px 16px;
  font-family: var(--bb-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--bb-body, #4A443E);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.capsule-tab-btn:hover {
  background: #FFFFFF;
  border-color: var(--bb-accent, #8C6D53);
  color: var(--bb-ink, #282420);
}
.capsule-tab-btn.active {
  background: var(--bb-ink, #282420);
  border-color: var(--bb-ink, #282420);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(40, 36, 32, 0.15);
}

/* Outfits Grid */
.capsule-outfits-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1300px) {
  .capsule-outfits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .capsule-outfits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .capsule-outfits-grid {
    grid-template-columns: 1fr;
  }
}

/* Outfit Look Card */
.capsule-outfit-card {
  background: #FAF8F5;
  border: 1px solid var(--bb-line, #DFD7CC);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}
.capsule-outfit-card:hover {
  background: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(40, 36, 32, 0.08);
  border-color: var(--bb-accent, #8C6D53);
}

.capsule-outfit-stage {
  width: 100%;
  aspect-ratio: 3/4;
  background: #F4EFE6;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.capsule-outfit-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.capsule-outfit-card:hover .capsule-outfit-stage img {
  transform: scale(1.03);
}

.capsule-outfit-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(40, 36, 32, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-family: var(--bb-sans);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.capsule-outfit-title {
  font-family: var(--bb-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--bb-ink, #282420);
  margin: 0 0 6px;
  line-height: 1.3;
}

.capsule-outfit-pieces {
  font-size: 11px;
  color: var(--bb-muted, #7C746C);
  line-height: 1.35;
  margin: 0 0 12px;
  flex: 1;
}

.capsule-outfit-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--bb-line-soft, #EAE4D9);
  margin-bottom: 10px;
}
.capsule-outfit-bundle-price {
  font-family: var(--bb-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--bb-ink, #282420);
}
.capsule-outfit-orig-price {
  font-size: 11.5px;
  text-decoration: line-through;
  color: var(--bb-muted, #7C746C);
}
.capsule-outfit-discount-tag {
  background: #E8DFD3;
  color: #5C4638;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.capsule-buy-look-btn {
  width: 100%;
  padding: 8px 12px;
  border-radius: 9999px;
  background: var(--bb-ink, #282420);
  border: 1px solid var(--bb-ink, #282420);
  color: #FFFFFF;
  font-family: var(--bb-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.capsule-buy-look-btn:hover {
  background: #4A443E;
  border-color: #4A443E;
  transform: scale(1.01);
}

/* ── CUSTOM MIX & MATCH STUDIO DRAWER ── */
.capsule-studio-toggle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.capsule-mode-btn {
  padding: 10px 22px;
  border-radius: 9999px;
  border: 1px solid var(--bb-line, #DFD7CC);
  background: #FAF8F5;
  font-family: var(--bb-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--bb-ink, #282420);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.capsule-mode-btn.active {
  background: var(--bb-ink, #282420);
  color: #FFFFFF;
  border-color: var(--bb-ink, #282420);
  box-shadow: 0 4px 14px rgba(40, 36, 32, 0.15);
}

/* ── ULTIMATE 7-PIECE BUNDLE BOX ── */
.capsule-bundle-banner {
  background: linear-gradient(135deg, #FAF8F5 0%, #EFECE4 100%);
  border: 1px solid var(--bb-line, #DFD7CC);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  box-shadow: 0 4px 18px rgba(40, 36, 32, 0.04);
}
@media (max-width: 900px) {
  .capsule-bundle-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
}
.capsule-bundle-info h4 {
  font-family: var(--bb-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--bb-ink, #282420);
  margin: 0 0 4px;
}
.capsule-bundle-info p {
  font-family: var(--bb-script);
  font-size: 19px;
  color: #695240;
  margin: 0;
}
.capsule-bundle-action {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .capsule-bundle-action {
    flex-direction: column;
    width: 100%;
  }
}

