/* ============================================================
   Organical Botanical — Shop / Product / Cart / Checkout CSS
   Design tokens from style.css:
   --ob-sage: #4a5e3a  --ob-bark: #8c6e4a  --ob-cream: #f7f4ee
   --ob-cream-dark: #ede8df  --ob-stone: #9e9a8e  --ob-black: #1a1a16
   ============================================================ */

/* ── Shared layout ─────────────────────────────────────────────────────────── */

.ob-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.ob-page-title {
    font-family: var(--ob-font-heading, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    margin: 32px 0 24px;
}

.ob-back-link {
    display: inline-block;
    font-size: 13px;
    color: var(--ob-stone, #9e9a8e);
    text-decoration: none;
    margin-top: 8px;
}
.ob-back-link:hover { color: var(--ob-black, #1a1a16); }

.ob-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 2px;
    font-family: var(--ob-font-body, 'Montserrat', sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background .2s, color .2s, opacity .2s;
}
.ob-btn:disabled { opacity: .5; cursor: not-allowed; }
.ob-btn--primary  { background: var(--ob-sage, #4a5e3a); color: #fff; }
.ob-btn--primary:hover:not(:disabled) { background: #3a4e2e; }
.ob-btn--secondary { background: transparent; border: 1.5px solid var(--ob-sage, #4a5e3a); color: var(--ob-sage, #4a5e3a); }
.ob-btn--secondary:hover:not(:disabled) { background: var(--ob-sage, #4a5e3a); color: #fff; }
.ob-btn--ghost { background: transparent; color: var(--ob-stone, #9e9a8e); padding-left: 0; }
.ob-btn--ghost:hover { color: var(--ob-black, #1a1a16); }
.ob-btn--full { width: 100%; }

.ob-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ob-black, #1a1a16);
    background: #fff;
    transition: border-color .15s;
    box-sizing: border-box;
}
.ob-input:focus { outline: none; border-color: var(--ob-sage, #4a5e3a); }
.ob-input.is-invalid { border-color: #c0392b; }
.ob-input--textarea { resize: vertical; min-height: 80px; }

.ob-select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239e9a8e' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.ob-select--full { width: 100%; }
.ob-select:focus { outline: none; border-color: var(--ob-sage, #4a5e3a); }

.ob-spinner {
    width: 32px; height: 32px;
    border: 2px solid #eee;
    border-top-color: var(--ob-sage, #4a5e3a);
    border-radius: 50%;
    animation: ob-spin .8s linear infinite;
    margin: 40px auto;
    display: block;
}
@keyframes ob-spin { to { transform: rotate(360deg); } }

/* ── Page header ───────────────────────────────────────────────────────────── */

.ob-page-header {
    background: var(--ob-cream-dark, #ede8df);
    padding: 40px 0 32px;
    margin-bottom: 40px;
}
.ob-page-header__title {
    font-family: var(--ob-font-heading, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    margin: 0;
    color: var(--ob-black, #1a1a16);
}

/* ── Breadcrumb ────────────────────────────────────────────────────────────── */

.ob-breadcrumb { margin: 24px 0 0; }
.ob-breadcrumb__list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    color: var(--ob-stone, #9e9a8e);
}
.ob-breadcrumb__list li + li::before { content: '/'; margin-right: 6px; }
.ob-breadcrumb__list a { color: inherit; text-decoration: none; }
.ob-breadcrumb__list a:hover { color: var(--ob-black, #1a1a16); }
.ob-breadcrumb__list [aria-current] { color: var(--ob-black, #1a1a16); }

/* ── Shop layout ───────────────────────────────────────────────────────────── */

.ob-shop-wrap { padding-bottom: 80px; }

.ob-shop-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .ob-shop-layout { grid-template-columns: 1fr; }
    .ob-shop-sidebar {
        position: fixed;
        top: 0; left: -280px;
        width: 280px; height: 100vh;
        overflow-y: auto;
        background: #fff;
        z-index: 200;
        transition: left .3s ease;
        padding: 24px;
        box-shadow: 4px 0 20px rgba(0,0,0,.1);
    }
    .ob-shop-sidebar.is-open { left: 0; }
}

.ob-shop-sidebar__inner { position: sticky; top: 24px; }

.ob-shop-search {
    position: relative;
    margin-bottom: 24px;
}
.ob-shop-search__clear {
    position: absolute;
    right: 10px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    cursor: pointer; color: var(--ob-stone, #9e9a8e);
    font-size: 18px; line-height: 1; padding: 4px;
}

.ob-category-nav { margin-bottom: 24px; }
.ob-category-nav__heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ob-stone, #9e9a8e);
    margin: 0 0 10px;
}
.ob-category-nav__list { list-style: none; margin: 0; padding: 0; }
.ob-category-nav__item { border-bottom: 1px solid #f0ede8; }
.ob-category-nav__item a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--ob-black, #1a1a16);
    text-decoration: none;
    transition: color .15s;
}
.ob-category-nav__item a:hover,
.ob-category-nav__item.is-active a {
    color: var(--ob-sage, #4a5e3a);
}
.ob-category-nav__item.is-active a { font-weight: 600; }

.ob-shop-sort__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ob-stone, #9e9a8e);
    margin-bottom: 6px;
}

/* ── Shop toolbar ──────────────────────────────────────────────────────────── */

.ob-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.ob-shop-count { font-size: 13px; color: var(--ob-stone, #9e9a8e); margin: 0; }
.ob-shop-filter-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    cursor: pointer;
    background: none;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 8px 12px;
}
@media (max-width: 768px) { .ob-shop-filter-toggle { display: flex; } }

/* ── Product grid ──────────────────────────────────────────────────────────── */

.ob-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
}
.ob-product-grid__loading { grid-column: 1/-1; }
.ob-empty-state { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--ob-stone, #9e9a8e); }

.ob-product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 2px;
    overflow: hidden;
    transition: box-shadow .2s;
}
.ob-product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }

.ob-product-card__image-link { display: block; }
.ob-product-card__image-wrap {
    position: relative;
    padding-top: 100%;
    background: var(--ob-cream, #f7f4ee);
    overflow: hidden;
}
.ob-product-card__img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.ob-product-card:hover .ob-product-card__img { transform: scale(1.04); }
.ob-product-card__img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
}

.ob-product-card__badge {
    position: absolute;
    top: 10px; left: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
}
.ob-product-card__badge--sold-out { background: rgba(26,26,22,.7); color: #fff; }
.ob-product-card__badge--featured  { background: var(--ob-bark, #8c6e4a); color: #fff; }

.ob-product-card__body { padding: 16px; }
.ob-product-card__brand { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ob-stone, #9e9a8e); margin: 0 0 4px; }
.ob-product-card__name { font-family: var(--ob-font-heading, 'Cormorant Garamond', Georgia, serif); font-size: 18px; font-weight: 400; margin: 0 0 8px; }
.ob-product-card__name a { color: inherit; text-decoration: none; }
.ob-product-card__name a:hover { color: var(--ob-sage, #4a5e3a); }
.ob-product-card__price { margin: 0 0 14px; }
.ob-btn--card-cart { width: 100%; font-size: 12px; padding: 10px; }
.ob-btn--card-cart.is-added { background: #2ecc71; }

/* ── Pagination ────────────────────────────────────────────────────────────── */

.ob-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 48px;
}
.ob-pagination__btn {
    min-width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #c8d8b0;
    border-radius: 2px;
    background: #fff;
    color: #1e3a0f;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background .15s, border-color .15s;
}
.ob-pagination__btn:hover { border-color: var(--ob-sage, #4a5e3a); }
.ob-pagination__btn.is-current { background: var(--ob-sage, #4a5e3a); color: #fff; border-color: var(--ob-sage, #4a5e3a); }

/* ── Product detail ────────────────────────────────────────────────────────── */

.ob-product-detail { padding: 0 0 80px; }

.ob-product-detail__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 32px;
}
@media (max-width: 900px) {
    .ob-product-detail__layout { grid-template-columns: 1fr; gap: 32px; }
}

/* Gallery */
.ob-product-gallery__main {
    position: sticky;
    top: 24px;
}
.ob-product-gallery__primary {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}
.ob-product-gallery__placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--ob-cream, #f7f4ee);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    border-radius: 2px;
}
.ob-product-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.ob-product-gallery__thumb {
    width: 70px; height: 70px;
    padding: 0; border: 2px solid transparent;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .15s;
    background: none;
}
.ob-product-gallery__thumb:hover,
.ob-product-gallery__thumb.is-active { border-color: var(--ob-sage, #4a5e3a); }
.ob-product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product info */
.ob-product-info__brand {
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ob-stone, #9e9a8e);
    margin: 0 0 8px;
}
.ob-product-info__name {
    font-family: var(--ob-font-heading, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    margin: 0 0 16px;
    line-height: 1.2;
}
.ob-product-info__price { margin-bottom: 20px; }
.ob-price { font-size: 22px; }
.ob-price--current { font-weight: 600; color: var(--ob-black, #1a1a16); }
.ob-price--was { text-decoration: line-through; color: var(--ob-stone, #9e9a8e); font-size: 16px; margin-right: 8px; }
.ob-product-info__summary { font-size: 15px; line-height: 1.7; color: #444; margin-bottom: 24px; }

/* Variant selector */
.ob-variant-selector { margin-bottom: 24px; }
.ob-variant-selector__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; color: var(--ob-stone, #9e9a8e); }
.ob-variant-selector__options { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-variant-btn {
    padding: 8px 16px;
    border: 1.5px solid #ddd;
    border-radius: 2px;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    position: relative;
}
.ob-variant-btn:hover:not(:disabled) { border-color: var(--ob-sage, #4a5e3a); }
.ob-variant-btn.is-selected { border-color: var(--ob-sage, #4a5e3a); background: var(--ob-sage, #4a5e3a); color: #fff; }
.ob-variant-btn.is-disabled { opacity: .45; cursor: not-allowed; }
.ob-variant-btn__tag { display: block; font-size: 10px; color: var(--ob-stone, #9e9a8e); }

/* Quantity + add to cart */
.ob-product-purchase { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.ob-quantity { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 2px; overflow: hidden; }
.ob-quantity__btn { width: 38px; height: 46px; background: none; border: none; font-size: 18px; cursor: pointer; transition: background .15s; }
.ob-quantity__btn:hover { background: var(--ob-cream, #f7f4ee); }
.ob-quantity__input { width: 50px; height: 46px; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; text-align: center; font-size: 15px; -moz-appearance: textfield; }
.ob-quantity__input::-webkit-outer-spin-button,
.ob-quantity__input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ob-btn--add-cart { flex: 1; padding: 14px 20px; font-size: 13px; }
.ob-btn--add-cart.is-added { background: #2ecc71; }

.ob-stock-notice { font-size: 13px; margin: 0 0 20px; }
.ob-stock-notice--low { color: #e67e22; }
.ob-stock-notice--out { color: #c0392b; }

/* Description tabs */
.ob-product-tabs { margin-top: 32px; border-top: 1px solid #eee; padding-top: 24px; }
.ob-product-tabs__nav { display: flex; gap: 0; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.ob-product-tabs__tab {
    padding: 10px 20px;
    background: none; border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-size: 13px; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase;
    cursor: pointer; color: var(--ob-stone, #9e9a8e);
    transition: color .15s, border-color .15s;
}
.ob-product-tabs__tab.is-active { color: var(--ob-black, #1a1a16); border-bottom-color: var(--ob-sage, #4a5e3a); }
.ob-product-tabs__panel { display: none; font-size: 15px; line-height: 1.75; color: #444; }
.ob-product-tabs__panel.is-active { display: block; }

/* ── Cart page ─────────────────────────────────────────────────────────────── */

.ob-cart-page { padding-bottom: 80px; }

.ob-cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) { .ob-cart-layout { grid-template-columns: 1fr; } }

.ob-cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f0ede8;
}
.ob-cart-item__image img { width: 80px; height: 80px; object-fit: cover; border-radius: 2px; }
.ob-cart-item__img-placeholder { width: 80px; height: 80px; background: var(--ob-cream, #f7f4ee); border-radius: 2px; }
.ob-cart-item__name { font-size: 15px; font-weight: 500; margin: 0 0 4px; }
.ob-cart-item__sku { font-size: 12px; color: var(--ob-stone, #9e9a8e); margin: 0; }
.ob-cart-item__qty { display: flex; align-items: center; gap: 8px; }
.ob-qty-btn { width: 28px; height: 28px; border: 1px solid #ddd; background: none; border-radius: 2px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.ob-qty-btn:hover { background: var(--ob-cream, #f7f4ee); }
.ob-qty-display { min-width: 24px; text-align: center; font-size: 14px; }
.ob-cart-item__price { font-weight: 600; font-size: 15px; white-space: nowrap; }
.ob-cart-item__remove { background: none; border: none; color: var(--ob-stone, #9e9a8e); cursor: pointer; font-size: 20px; line-height: 1; padding: 4px; }
.ob-cart-item__remove:hover { color: #c0392b; }

.ob-cart-empty { text-align: center; padding: 80px 24px; color: var(--ob-stone, #9e9a8e); }
.ob-cart-empty svg { display: block; margin: 0 auto 24px; opacity: .3; }
.ob-cart-empty h2 { font-family: var(--ob-font-heading, 'Cormorant Garamond', Georgia, serif); font-size: 2rem; font-weight: 400; margin: 0 0 12px; }

.ob-cart-summary__inner {
    background: var(--ob-cream, #f7f4ee);
    border-radius: 2px;
    padding: 28px;
    position: sticky;
    top: 24px;
}
.ob-cart-summary__heading { font-family: var(--ob-font-heading, 'Cormorant Garamond', Georgia, serif); font-size: 1.4rem; font-weight: 400; margin: 0 0 20px; }
.ob-cart-summary__lines { margin-bottom: 16px; }
.ob-cart-summary__line { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.ob-cart-summary__total { display: flex; justify-content: space-between; font-weight: 700; font-size: 16px; padding: 16px 0 20px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; margin-bottom: 20px; }

.ob-discount-input { margin-bottom: 16px; }
.ob-discount-input__row { display: flex; gap: 8px; }
.ob-discount-input__row .ob-input { flex: 1; }
.ob-discount-input__feedback { font-size: 12px; margin: 6px 0 0; }
.ob-discount-input__feedback--success { color: #27ae60; }
.ob-discount-input__feedback--error   { color: #c0392b; }

.ob-checkout-btn { margin-bottom: 12px; }
.ob-cart-continue { display: block; text-align: center; font-size: 13px; color: var(--ob-stone, #9e9a8e); text-decoration: none; margin-top: 8px; }
.ob-cart-continue:hover { color: var(--ob-black, #1a1a16); }

/* ── Checkout page ─────────────────────────────────────────────────────────── */

.ob-checkout-page { padding-bottom: 80px; }

.ob-checkout-steps {
    display: flex;
    align-items: center;
    margin: 24px 0 40px;
    gap: 0;
}
.ob-checkout-steps__step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ob-stone, #9e9a8e);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.ob-checkout-steps__step.is-active { color: var(--ob-sage, #4a5e3a); }
.ob-checkout-steps__step.is-complete { color: #27ae60; }
.ob-checkout-steps__number {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #eee;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
}
.ob-checkout-steps__step.is-active .ob-checkout-steps__number { background: var(--ob-sage, #4a5e3a); color: #fff; }
.ob-checkout-steps__step.is-complete .ob-checkout-steps__number { background: #27ae60; color: #fff; }
.ob-checkout-steps__divider { flex: 1; height: 1px; background: #ddd; margin: 0 16px; }

.ob-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}
@media (max-width: 900px) { .ob-checkout-layout { grid-template-columns: 1fr; } }

.ob-checkout-section__heading {
    font-family: var(--ob-font-heading, 'Cormorant Garamond', Georgia, serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin: 28px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.ob-checkout-section__heading:first-child { margin-top: 0; }

.ob-form-row { display: grid; gap: 16px; }
.ob-form-row--half    { grid-template-columns: 1fr 1fr; }
.ob-form-row--thirds  { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 600px) {
    .ob-form-row--half   { grid-template-columns: 1fr; }
    .ob-form-row--thirds { grid-template-columns: 1fr; }
}

.ob-form-field { margin-bottom: 16px; }
.ob-form-field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; color: var(--ob-stone, #9e9a8e); }

.ob-checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }

.ob-fulfillment-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
@media (max-width: 600px) { .ob-fulfillment-choice { grid-template-columns: 1fr; } }

.ob-radio-card input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.ob-radio-card__inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    transition: border-color .15s;
}
.ob-radio-card input:checked + .ob-radio-card__inner { border-color: var(--ob-sage, #4a5e3a); background: #f5f9f3; }
.ob-radio-card__inner strong { display: block; font-size: 14px; }
.ob-radio-card__inner small { font-size: 12px; color: var(--ob-stone, #9e9a8e); }

.ob-checkout-login-prompt { background: var(--ob-cream, #f7f4ee); padding: 12px 16px; border-radius: 2px; font-size: 14px; margin-bottom: 24px; }

/* Stripe */
.ob-stripe-wrap { margin-bottom: 24px; }
.ob-stripe-element {
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background: #fff;
}
.ob-stripe-errors { color: #c0392b; font-size: 13px; margin-top: 8px; min-height: 20px; }

.ob-payment-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ob-stone, #9e9a8e);
    margin-bottom: 20px;
}

.ob-checkout-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.ob-btn--pay { min-width: 160px; }
.ob-checkout-legal { font-size: 11px; color: var(--ob-stone, #9e9a8e); margin-top: 16px; }
.ob-checkout-legal a { color: inherit; }

/* Checkout summary sidebar */
.ob-checkout-summary__inner {
    background: var(--ob-cream, #f7f4ee);
    border-radius: 2px;
    padding: 24px;
    position: sticky;
    top: 24px;
}
.ob-checkout-summary__heading { font-family: var(--ob-font-heading, 'Cormorant Garamond', Georgia, serif); font-size: 1.2rem; font-weight: 400; margin: 0 0 16px; }
.ob-co-item { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.ob-co-item__img { position: relative; flex-shrink: 0; }
.ob-co-item__img img { width: 56px; height: 56px; object-fit: cover; border-radius: 2px; }
.ob-co-item__img-placeholder { width: 56px; height: 56px; background: #ddd; border-radius: 2px; }
.ob-co-item__qty { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; background: var(--ob-sage, #4a5e3a); color: #fff; border-radius: 50%; font-size: 11px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.ob-co-item__info { flex: 1; }
.ob-co-item__name { font-size: 13px; font-weight: 500; margin: 0 0 2px; }
.ob-co-item__sku { font-size: 11px; color: var(--ob-stone, #9e9a8e); margin: 0; }
.ob-co-item__price { font-size: 13px; font-weight: 600; white-space: nowrap; }

.ob-checkout-summary__totals { border-top: 1px solid #ddd; padding-top: 12px; margin-top: 12px; }
.ob-checkout-summary__line { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; color: #555; }
.ob-checkout-summary__total { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; padding-top: 10px; border-top: 1px solid #ddd; margin-top: 6px; }

/* Confirmation */
.ob-checkout-confirmation { text-align: center; padding: 40px 0; }
.ob-confirmation-icon {
    width: 72px; height: 72px;
    background: var(--ob-sage, #4a5e3a);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
    color: #fff;
}
.ob-checkout-confirmation h2 { font-family: var(--ob-font-heading, 'Cormorant Garamond', Georgia, serif); font-size: 2rem; font-weight: 400; margin: 0 0 12px; }
.ob-confirmation-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ── Toast notifications ────────────────────────────────────────────────────── */

#ob-toast-container {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 9999;
    display: flex; flex-direction: column; gap: 10px;
    pointer-events: none;
}
.ob-toast {
    max-width: 340px;
    padding: 14px 18px;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.5;
    pointer-events: all;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s, transform .25s;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.ob-toast.is-visible { opacity: 1; transform: translateY(0); }
.ob-toast--success { background: var(--ob-sage, #4a5e3a); color: #fff; }
.ob-toast--error   { background: #c0392b; color: #fff; }
.ob-toast a { color: #fff; text-decoration: underline; }
