/* ==========================================================================
   CommonScents Candles — Product card & bundle CONCEPT pages
   Loaded after styles.css + shop.css. Uses the site's colour tokens.
   ========================================================================== */

/* ---------- Concept explainer bar (for the client, not a shop element) ---------- */
.concept-bar {
    max-width: 1100px;
    margin: 0 auto 44px;
    padding: 20px 24px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: rgba(250, 245, 236, 0.75);
    border-radius: 18px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUpText 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.concept-bar-main { flex: 1 1 420px; }

.concept-bar-label {
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-text);
    margin-bottom: 6px;
}

.concept-bar-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.concept-bar-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.65;
}

.concept-bar-text + .concept-bar-text { margin-top: 6px; }

.concept-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-left: auto;
}

.concept-nav a {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid rgba(63, 49, 43, 0.18);
    border-radius: 20px;
    padding: 8px 16px;
    background: rgba(250, 246, 240, 0.7);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.concept-nav a:hover { border-color: var(--gold); color: var(--gold-text); }
.concept-nav a[aria-current="page"] { background: var(--text-primary); color: var(--surface); border-color: var(--text-primary); }

.placeholder-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-text);
    border: 1px dashed rgba(94, 75, 16, 0.5);
    border-radius: 10px;
    padding: 2px 8px;
    vertical-align: middle;
    margin-left: 6px;
}

/* ---------- Shared section + card primitives ---------- */
.c-section { margin-bottom: 72px; }

.c-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(63, 49, 43, 0.1);
}

.c-section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.08em;
}

.c-section-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-secondary);
}

.c-card {
    background-color: rgba(250, 245, 236, 0.97);
    border: 1px solid rgba(63, 49, 43, 0.09);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(100, 80, 60, 0.06);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpText 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.c-card:nth-child(1) { animation-delay: 0.25s; }
.c-card:nth-child(2) { animation-delay: 0.35s; }
.c-card:nth-child(3) { animation-delay: 0.45s; }
.c-card:nth-child(4) { animation-delay: 0.55s; }
.c-card:nth-child(5) { animation-delay: 0.65s; }
.c-card:nth-child(6) { animation-delay: 0.75s; }

.c-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(100, 80, 60, 0.11); }

.c-card--bestseller {
    border: 1.5px solid rgba(212, 175, 55, 0.55);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1), 0 14px 36px rgba(100, 80, 60, 0.12);
}

.c-media {
    position: relative;
    background: linear-gradient(145deg, #F5EDE2, #EDE3D5);
    overflow: hidden;
}

.c-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-card:hover .c-media img { transform: scale(1.03); }

/* Format chips: solid for candles, dashed gold outline for wax melts */
.format-chip {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 20px;
    background: var(--text-primary);
    color: var(--surface);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.format-chip--melt {
    background: var(--surface);
    color: var(--gold-text);
    border: 1px dashed var(--gold-text);
    box-shadow: none;
}

.format-chip--right { left: auto; right: 14px; }

.c-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.c-name {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    line-height: 1.3;
}

.c-notes {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.c-blurb {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

.c-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.c-meta span::before { content: '✦'; color: var(--gold-text); font-size: 0.6rem; margin-right: 6px; vertical-align: 1px; }

.c-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(63, 49, 43, 0.07);
}

.c-price {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.c-price small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

.c-was {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-left: 6px;
}

.c-btn {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--surface);
    background: var(--text-primary);
    border: 1px solid var(--text-primary);
    border-radius: 20px;
    padding: 10px 18px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
}

.c-btn:hover { background: var(--dark-surface); border-color: var(--dark-surface); transform: translateY(-1px); }
.c-btn--ghost { background: none; color: var(--text-primary); }
.c-btn--ghost:hover { background: var(--text-primary); color: var(--surface); }
.c-btn--small { font-size: 0.64rem; padding: 7px 12px; border-radius: 14px; }
.c-btn.is-added { background: var(--gold-text); border-color: var(--gold-text); color: var(--surface); }
.c-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* Quantity stepper */
.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(63, 49, 43, 0.18);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(250, 246, 240, 0.7);
}

.qty button {
    width: 34px;
    height: 34px;
    border: 0;
    background: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.qty button:hover { background: rgba(63, 49, 43, 0.08); }

.qty output {
    min-width: 30px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Offer strip (mix & match) */
.offer-strip {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(250, 245, 236, 0.6));
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.offer-strip-title {
    font-family: 'Cinzel', serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.06em;
}

.offer-strip-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 3px;
}

/* ==========================================================================
   CONCEPT 1 — Two card types
   ========================================================================== */
.candle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.candle-card .c-media { aspect-ratio: 3 / 4; }

.size-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(63, 49, 43, 0.14);
    border-radius: 16px;
    background: rgba(63, 49, 43, 0.03);
    margin-top: 6px;
}

.size-btn {
    border: 0;
    background: none;
    border-radius: 12px;
    padding: 10px 8px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.size-btn-name {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.size-btn-meta {
    display: block;
    margin-top: 3px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.size-btn[aria-pressed="true"] { background: var(--text-primary); }
.size-btn[aria-pressed="true"] .size-btn-name,
.size-btn[aria-pressed="true"] .size-btn-meta { color: var(--surface); }

.melt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.melt-card {
    flex-direction: row;
    border: 1px dashed rgba(94, 75, 16, 0.45);
    border-radius: 20px;
}

.melt-card .c-media {
    width: 150px;
    flex-shrink: 0;
    border-radius: 20px 0 0 20px;
}

.melt-card .c-media img { object-position: center 42%; }

.melt-card .c-body { padding: 18px 20px; gap: 6px; }
.melt-card .c-name { font-size: 1rem; }

.melt-card .c-footer { flex-wrap: wrap; padding-top: 12px; }

/* ==========================================================================
   CONCEPT 2 — One scent card, every format visible
   ========================================================================== */
.scent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.scent-hero {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 22px 24px 0;
    align-items: start;
}

.scent-hero .c-media {
    aspect-ratio: 3 / 5;
    border-radius: 16px;
}

.scent-hero-text { display: flex; flex-direction: column; gap: 8px; }

.mood {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.format-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 18px 24px 8px;
}

.format-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 24px;
}

.format-tile {
    border: 1px solid rgba(63, 49, 43, 0.14);
    border-radius: 16px;
    padding: 12px 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    background: rgba(250, 246, 240, 0.6);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.format-tile:hover { border-color: rgba(63, 49, 43, 0.35); box-shadow: 0 6px 18px rgba(100, 80, 60, 0.08); }
.format-tile--melt { border-style: dashed; border-color: rgba(94, 75, 16, 0.5); }

.format-tile img {
    width: 66px;
    height: 88px;
    object-fit: cover;
    object-position: center 45%;
    border-radius: 10px;
}

.format-tile-name {
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.format-tile--melt .format-tile-name { color: var(--gold-text); }

.format-tile-price {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.format-tile .c-btn { width: 100%; margin-top: 2px; }

.set-line {
    margin: 16px 24px 24px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(250, 245, 236, 0.6));
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.set-line-title {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.06em;
}

.set-line-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.set-line-right { display: flex; align-items: center; gap: 12px; }

/* ==========================================================================
   CONCEPT 3 — Bundles & build-your-own
   ========================================================================== */
.bundle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bundle-collage {
    position: relative;
    height: 220px;
    background: linear-gradient(145deg, #F5EDE2, #EDE3D5);
    overflow: hidden;
}

.bundle-collage img {
    position: absolute;
    bottom: -12px;
    width: 42%;
    aspect-ratio: 290 / 490;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(63, 49, 43, 0.22);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bundle-collage img:nth-child(1) { left: 12%; transform: rotate(-8deg) translateY(10px); z-index: 1; }
.bundle-collage img:nth-child(2) { left: 50%; transform: translateX(-50%) translateY(-6px); z-index: 3; }
.bundle-collage img:nth-child(3) { right: 12%; transform: rotate(8deg) translateY(10px); z-index: 2; }
.bundle-collage img:only-child { left: 50%; transform: translateX(-50%) translateY(-6px); }
.bundle-collage img:first-child:nth-last-child(2) { left: 22%; transform: rotate(-6deg) translateY(6px); }
.bundle-collage img:last-child:nth-last-child(1):nth-child(2) { left: auto; right: 22%; transform: rotate(6deg) translateY(6px); }

.c-card:hover .bundle-collage img:nth-child(1) { transform: rotate(-11deg) translateY(4px); }
.c-card:hover .bundle-collage img:nth-child(3) { transform: rotate(11deg) translateY(4px); }

.save-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, #EDD48A, #D9B84A);
    color: #2A1E0C;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.bundle-contents {
    list-style: none;
    padding: 0;
    margin: 2px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.bundle-contents li::before { content: '✦'; color: var(--gold-text); font-size: 0.6rem; margin-right: 8px; vertical-align: 1px; }

/* Four narrow columns: stack price over a full-width button so nothing clips */
.bundle-grid .c-footer { flex-direction: column; align-items: stretch; gap: 12px; }
.bundle-grid .c-footer .c-btn { width: 100%; }

/* Builder */
.builder {
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 28px;
    background: rgba(250, 245, 236, 0.85);
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    box-shadow: 0 8px 30px rgba(100, 80, 60, 0.06);
    opacity: 0;
    animation: fadeInUpText 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.builder-step { margin-bottom: 28px; }
.builder-step:last-child { margin-bottom: 0; }

.step-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--surface);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-hint {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: auto;
}

.box-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.box-option {
    border: 1px solid rgba(63, 49, 43, 0.16);
    border-radius: 16px;
    padding: 12px 16px;
    text-align: left;
    background: rgba(250, 246, 240, 0.7);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.box-option:hover { border-color: rgba(63, 49, 43, 0.4); }
.box-option[aria-pressed="true"] { border-color: var(--text-primary); background: rgba(63, 49, 43, 0.06); box-shadow: inset 0 0 0 1px var(--text-primary); }

.box-option-name {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-primary);
}

.box-option-sub {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.box-option-price {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.pick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.pick-tile {
    position: relative;
    border: 1px solid rgba(63, 49, 43, 0.14);
    border-radius: 16px;
    padding: 8px 8px 10px;
    text-align: center;
    background: rgba(250, 246, 240, 0.7);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pick-tile.is-picked { border-color: var(--gold-text); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18); }
.pick-tile img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 40%; border-radius: 10px; }

.pick-name {
    font-family: 'Cinzel', serif;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    min-height: 2.2em;
    line-height: 1.1;
}

.pick-count {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold-text);
    color: var(--surface);
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    font-weight: 500;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.pick-tile.is-picked .pick-count { display: inline-flex; }

.pick-ctrl {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.pick-ctrl button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(63, 49, 43, 0.2);
    background: none;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.pick-ctrl button:hover:not(:disabled) { background: rgba(63, 49, 43, 0.08); }
.pick-ctrl button:disabled { opacity: 0.3; cursor: not-allowed; }
.pick-ctrl .pick-add { background: var(--text-primary); color: var(--surface); border-color: var(--text-primary); }
.pick-ctrl .pick-add:hover:not(:disabled) { background: var(--dark-surface); }

.builder-summary {
    position: sticky;
    top: 90px;
    align-self: start;
    background: var(--surface);
    border: 1px solid rgba(63, 49, 43, 0.12);
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-title {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.08em;
}

.summary-progress {
    height: 6px;
    border-radius: 3px;
    background: rgba(63, 49, 43, 0.1);
    overflow: hidden;
}

.summary-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #D9B84A, var(--gold-text));
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.summary-status {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 40px;
}

.summary-list li { display: flex; justify-content: space-between; gap: 10px; }
.summary-list li span:last-child { color: var(--text-secondary); white-space: nowrap; }
.summary-list .is-empty { color: var(--text-secondary); font-style: italic; font-weight: 300; }

.summary-totals {
    border-top: 1px solid rgba(63, 49, 43, 0.1);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.summary-total { font-family: 'Cinzel', serif; font-size: 1.25rem; font-weight: 600; color: var(--text-primary); }
.summary-save { font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 500; color: var(--gold-text); }
.builder-summary .c-btn { width: 100%; padding: 13px; }

/* ==========================================================================
   CONCEPTS 4 & 5 — combined shop + bundles
   ========================================================================== */
.anchor-section { scroll-margin-top: 90px; }

.section-intro {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(63, 49, 43, 0.1);
}

.shop-title--section { font-size: 2.2rem; }

/* Teaser strip at the bottom of the concept 5 shop, linking to the bundles page */
.bundle-teaser {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: center;
    padding: 28px 36px 28px 28px;
    border-radius: 28px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(250, 245, 236, 0.85));
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 30px rgba(100, 80, 60, 0.06);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    animation: fadeInUpText 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.bundle-teaser:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(100, 80, 60, 0.11); }

.bundle-teaser-collage {
    position: relative;
    height: 200px;
}

.bundle-teaser-collage img {
    position: absolute;
    bottom: 0;
    width: 40%;
    aspect-ratio: 290 / 490;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(63, 49, 43, 0.22);
}

.bundle-teaser-collage img:nth-child(1) { left: 6%; transform: rotate(-9deg) translateY(10px); }
.bundle-teaser-collage img:nth-child(2) { left: 50%; transform: translateX(-50%) translateY(-8px); z-index: 2; }
.bundle-teaser-collage img:nth-child(3) { right: 6%; transform: rotate(9deg) translateY(10px); }

.bundle-teaser-text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.bundle-teaser-text .shop-eyebrow { margin-bottom: 0; }

.bundle-teaser-title {
    font-family: 'Cinzel', serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.08em;
}

.bundle-teaser-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
}

.bundle-teaser-text .c-btn { margin-top: 6px; }

@media (max-width: 860px) {
    .bundle-teaser { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
    .bundle-teaser-collage { height: 170px; }
    .shop-title--section { font-size: 1.8rem; }
}

/* ==========================================================================
   Hub page (examples/index.html)
   ========================================================================== */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.hub-card { padding: 26px 26px 24px; gap: 10px; text-decoration: none; }
.hub-num { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 600; color: var(--gold-text); line-height: 1; }
.hub-card .c-name { font-size: 1.2rem; }
.hub-card ul { list-style: none; padding: 0; margin: 6px 0 0; font-family: 'Inter', sans-serif; font-size: 0.84rem; color: var(--text-secondary); line-height: 1.7; }
.hub-card li::before { content: '✦'; color: var(--gold-text); font-size: 0.6rem; margin-right: 8px; vertical-align: 1px; }
.hub-card .c-btn { align-self: flex-start; margin-top: 12px; }

.hub-notes {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 28px;
    border-left: 3px solid rgba(212, 175, 55, 0.4);
    background: rgba(250, 245, 236, 0.5);
    border-radius: 0 16px 16px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.hub-notes strong { color: var(--text-primary); font-weight: 500; }
.hub-notes p + p { margin-top: 10px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
    .candle-grid { grid-template-columns: repeat(2, 1fr); }
    .bundle-grid { grid-template-columns: repeat(2, 1fr); }
    .hub-grid { grid-template-columns: 1fr; }
    .builder { grid-template-columns: 1fr; }
    .builder-summary { position: static; }
}

@media (max-width: 860px) {
    .scent-grid { grid-template-columns: 1fr; }
    .melt-grid { grid-template-columns: 1fr; }
    .pick-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .concept-bar { padding: 16px 18px; margin-bottom: 32px; }
    .concept-nav { margin-left: 0; }
    .c-section { margin-bottom: 52px; }
    .candle-grid { grid-template-columns: 1fr; gap: 18px; }
    .bundle-grid { grid-template-columns: 1fr; gap: 16px; }
    .box-options { grid-template-columns: 1fr; }
    .builder { padding: 20px; gap: 24px; border-radius: 22px; }
    .scent-hero { grid-template-columns: 110px 1fr; gap: 14px; padding: 18px 18px 0; }
    .format-row { padding: 0 18px; gap: 8px; }
    .format-tile { padding: 10px 6px 8px; }
    .format-tile img { width: 52px; height: 70px; }
    .format-tile-name { font-size: 0.6rem; }
    .set-line { margin: 14px 18px 18px; }
    .melt-card .c-media { width: 120px; }
    .melt-card .c-body { padding: 14px 16px; }
    .pick-grid { grid-template-columns: repeat(2, 1fr); }
    .c-body { padding: 18px 18px 20px; }
}

@media (max-width: 380px) {
    .format-row { grid-template-columns: 1fr; }
    .format-tile { flex-direction: row; text-align: left; justify-content: space-between; }
    .format-tile .c-btn { width: auto; }
    .melt-card .c-media { width: 100px; }
}

@media (hover: none) {
    .c-card:hover { transform: none; }
    .c-btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .c-card, .concept-bar, .builder { animation: none; opacity: 1; transform: none; }
}
