/* ============================================================
   Pazzaz Hair Studio — Shop Styles
   ============================================================ */

/* ── Shared product card ───────────────────────────────────── */
/* ── AJAX grid swap: smooth loading fade ─────────────────── */
#shop-main {
    transition: opacity 0.18s ease;
    min-height: 120px;
}
#shop-main.shop-loading {
    opacity: 0.35;
    pointer-events: none;
}

/* Smooth cart row removal */
#cart-table tbody tr {
    transition: opacity 0.2s ease;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.8rem;
    margin-top: 1rem;
}

.product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(92,17,92,0.14);
}

.product-card-img-wrap {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 4/3;
}
.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.product-card:hover .product-card-img {
    transform: scale(1.04);
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc3545;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
}
.out-badge {
    background: rgba(220,53,69,0.12);
    color: #dc3545;
    border: 1px solid rgba(220,53,69,0.3);
}
.preorder-badge {
    background: rgba(255,152,0,0.13);
    color: #e65100;
    border: 1px solid rgba(255,152,0,0.35);
}

.product-card-body {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category-tag {
    font-size: 0.75rem;
    color: #952b95;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.4rem;
    display: block;
    text-decoration: none;
}

.product-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}
.product-card-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}
.product-card-title a:hover { color: #5c115c; }

.product-card-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    flex: 1;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid #f0f0f0;
}

.product-price-block { display: flex; flex-direction: column; }
.price-was {
    font-size: 0.82rem;
    color: #999;
    text-decoration: line-through;
}
.price-now {
    font-size: 1.15rem;
    font-weight: 700;
    color: #5c115c;
}

.add-to-cart-btn {
    background: #5c115c;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 9px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.1s;
}
.add-to-cart-btn:hover { background: #952b95; }
.add-to-cart-btn:active { transform: scale(0.96); }
.add-to-cart-btn.adding {
    background: #28a745;
    pointer-events: none;
}
.add-to-cart-btn.preorder-btn {
    background: #e65100;
}
.add-to-cart-btn.preorder-btn:hover { background: #bf360c; }

.out-of-stock-link {
    color: #5c115c;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #5c115c;
    padding: 8px 14px;
    border-radius: 7px;
    transition: background 0.2s;
}
.out-of-stock-link:hover { background: #f8eef8; }

/* ── Nav cart count ────────────────────────────────────────── */
.nav-cart-count {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    padding: 0 4px;
    margin-left: 3px;
    vertical-align: middle;
}

/* ── USPs bar ──────────────────────────────────────────────── */
.shop-usps {
    background: #f9f0f9;
    padding: 1.5rem 0;
    border-bottom: 1px solid #ead5ea;
}
.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.usp-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem;
}
.usp-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.usp-item strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.usp-item p { font-size: 0.8rem; color: #666; margin: 0; }

/* ── Shop hero subtitle ────────────────────────────────────── */
.shop-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-top: 0.5rem;
    text-align: center;
}

/* ── Categories section ────────────────────────────────────── */
.shop-categories-section {
    background: #fff;
    padding: 3rem 0;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-top: 0.5rem;
}
.category-card {
    background: linear-gradient(135deg, #5c115c 0%, #952b95 100%);
    border-radius: 12px;
    padding: 1.5rem 1.2rem;
    color: #fff;
    text-decoration: none;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(92,17,92,0.3);
}
.category-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.category-card p  { font-size: 0.82rem; opacity: 0.85; margin: 0; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb-bar {
    background: #faf5fa;
    border-bottom: 1px solid #ead5ea;
    padding: 0.6rem 0;
}
.breadcrumb {
    font-size: 0.85rem;
    color: #888;
}
.breadcrumb a {
    color: #5c115c;
    text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }

/* ── Shop layout (products page) ──────────────────────────── */
.shop-section { padding: 2.5rem 0 4rem; }

.shop-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 20px;
}
.sidebar-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.sidebar-section h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #5c115c;
    margin-bottom: 0.9rem;
}
.sidebar-search-form { display: flex; }
.search-input-wrap {
    display: flex;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 7px;
    overflow: hidden;
}
.search-input-wrap input {
    flex: 1;
    padding: 8px 10px;
    border: none;
    outline: none;
    font-size: 0.9rem;
}
.search-input-wrap button {
    background: #5c115c;
    color: #fff;
    border: none;
    padding: 0 12px;
    cursor: pointer;
    font-size: 1rem;
}
.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-cat-list li { margin-bottom: 0.25rem; }
.sidebar-cat-list a {
    display: block;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 0.88rem;
    color: #444;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.sidebar-cat-list a:hover { background: #f5eaf5; color: #5c115c; }
.sidebar-cat-list a.active {
    background: #5c115c;
    color: #fff;
    font-weight: 600;
}

.results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    color: #666;
}
.cart-link-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #5c115c;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}
.cart-count-bubble {
    background: #5c115c;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.empty-state {
    padding: 4rem 0;
    text-align: center;
    color: #888;
}
.empty-state a { color: #5c115c; }

/* ── Pagination ────────────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.page-btn {
    padding: 8px 16px;
    border: 2px solid #5c115c;
    border-radius: 6px;
    color: #5c115c;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.page-btn:hover, .page-btn.active {
    background: #5c115c;
    color: #fff;
}

/* ── Product detail page ───────────────────────────────────── */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.gallery-main { border-radius: 14px; overflow: hidden; background: #f5f5f5; }
.gallery-main-img { width: 100%; height: auto; display: block; max-height: 480px; object-fit: contain; }
.gallery-thumbs {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}
.gallery-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: #5c115c; }

.product-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin: 0.5rem 0 0.3rem;
    line-height: 1.2;
}
.product-sku { font-size: 0.82rem; color: #999; margin-bottom: 0.8rem; }

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}
.price-was-lg { font-size: 1.1rem; color: #aaa; text-decoration: line-through; }
.price-now-lg { font-size: 2rem; font-weight: 700; color: #5c115c; }
.sale-label {
    background: #dc3545;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.8rem 0;
}
.low-stock-warning {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 10px;
    margin-bottom: 0.6rem;
}
.stock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.stock-dot.in       { background: #28a745; }
.stock-dot.out      { background: #dc3545; }
.stock-dot.preorder { background: #e65100; }
.in-stock      { color: #155724; }
.out-of-stock  { color: #721c24; }
.preorder-stock { color: #e65100; }

.product-short-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.65;
    margin: 0.8rem 0 1.2rem;
}

.add-to-cart-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.2rem 0;
    flex-wrap: wrap;
}
.qty-selector {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.qty-btn {
    background: #f5f5f5;
    border: none;
    padding: 0 14px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #5c115c;
    font-weight: 700;
    transition: background 0.15s;
}
.qty-btn:hover { background: #ead5ea; }
#qty-input {
    width: 48px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: 600;
    height: 44px;
    -moz-appearance: textfield;
}
#qty-input::-webkit-outer-spin-button,
#qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.add-to-cart-lg {
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 8px;
}

.view-cart-link {
    display: inline-block;
    margin-top: 0.6rem;
    color: #28a745;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}
.view-cart-link:hover { text-decoration: underline; }

.product-meta-row {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #666;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.product-trust-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.82rem;
    color: #555;
}

.product-description-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid #f0f0f0;
}
.product-description-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}
.product-description-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    max-width: 760px;
}

/* ── Cart page ─────────────────────────────────────────────── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}
.cart-table th {
    text-align: left;
    padding: 12px 10px;
    background: #f5eaf5;
    color: #5c115c;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 2px solid #ead5ea;
}
.cart-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.cart-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.cart-product-name {
    font-weight: 600;
    color: #222;
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 2px;
}
.cart-product-name:hover { color: #5c115c; }
.cart-sku { color: #aaa; font-size: 0.78rem; }
.cart-unit-price { font-size: 0.95rem; color: #444; }
.cart-line-total { font-weight: 700; color: #5c115c; }
.cart-qty-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}
.cart-qty-val { font-weight: 700; min-width: 24px; text-align: center; }
.cart-remove-btn {
    background: none;
    border: none;
    color: #bbb;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.cart-remove-btn:hover { color: #dc3545; background: #fde8e8; }

.cart-actions-bar {
    margin-top: 1.5rem;
}
.btn-continue-shopping {
    color: #5c115c;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}
.btn-continue-shopping:hover { text-decoration: underline; }

.cart-summary-box {
    background: #fff;
    border-radius: 14px;
    padding: 1.6rem;
    box-shadow: 0 2px 14px rgba(0,0,0,0.08);
    border: 1px solid #f0eaf0;
}
.cart-summary-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: #333;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f0f0f0;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #555;
}
.summary-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    border-top: 2px solid #f0f0f0;
    margin-top: 0.5rem;
    padding-top: 0.8rem;
}
.free-shipping { color: #28a745; font-weight: 700; }
.free-shipping-nudge {
    font-size: 0.8rem;
    color: #952b95;
    margin: 0.3rem 0 0.5rem;
    font-style: italic;
}

.checkout-btn {
    display: block;
    background: #5c115c;
    color: #fff;
    text-align: center;
    padding: 14px;
    border-radius: 9px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 1.2rem;
    transition: background 0.2s;
}
.checkout-btn:hover { background: #952b95; }

.summary-trust {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.8rem;
    font-size: 0.78rem;
    color: #888;
}

.empty-cart {
    text-align: center;
    padding: 5rem 1rem;
}
.empty-cart-icon { font-size: 4rem; margin-bottom: 1rem; }
.empty-cart h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.empty-cart p   { color: #666; margin-bottom: 1.5rem; }

.cart-alert {
    padding: 12px 16px;
    border-radius: 7px;
    margin-bottom: 1rem;
    font-weight: 600;
}
.cart-alert-success { background: #d4edda; color: #155724; }
.cart-alert-error   { background: #f8d7da; color: #721c24; }

.preorder-notice, .instock-notice {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    line-height: 1.5;
}
.preorder-notice  { background: #fff3e0; color: #e65100; border: 1px solid #ffe0b2; }
.instock-notice   { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }

.collection-note {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin: 0.5rem 0 0.8rem;
}

.cart-preorder-tag {
    display: block;
    color: #e65100;
    font-size: 0.78rem;
    margin-top: 2px;
}

/* ── Checkout page ─────────────────────────────────────────── */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
}

.checkout-step-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.checkout-step-card h2 {
    font-size: 1.2rem;
    color: #5c115c;
    margin-bottom: 1.2rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #f0f0f0;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.checkout-full { grid-column: 1 / -1; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
}
.form-group input {
    padding: 10px 12px;
    border: 1.5px solid #ddd;
    border-radius: 7px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    outline: none;
}
.form-group input:focus { border-color: #5c115c; }

.checkout-pay-btn {
    width: 100%;
    padding: 16px;
    background: #5c115c;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}
.checkout-pay-btn:hover:not(:disabled) { background: #952b95; }
.checkout-pay-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.checkout-terms {
    text-align: center;
    font-size: 0.78rem;
    color: #aaa;
    margin-top: 0.7rem;
}
.checkout-terms a { color: #5c115c; }

.checkout-notice {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    font-size: 0.92rem;
    line-height: 1.5;
    font-weight: 600;
}
.preorder-notice-checkout { background: #fff3e0; color: #e65100; border: 1px solid #ffe0b2; }
.instock-notice-checkout  { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }

.checkout-collection-note {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.collection-address-box {
    background: #faf5fa;
    border: 1px solid #ead5ea;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.7;
    margin: 1rem 0;
}

.checkout-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 7px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.checkout-summary-box { position: sticky; top: 20px; }

.checkout-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid #f5f5f5;
}
.checkout-item-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
}
.checkout-item-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 7px;
    flex-shrink: 0;
}
.checkout-item-name { font-size: 0.88rem; font-weight: 600; color: #333; margin: 0 0 2px; }
.checkout-item-qty  { font-size: 0.78rem; color: #999; margin: 0; }
.checkout-item-price { font-weight: 700; color: #5c115c; font-size: 0.95rem; flex-shrink: 0; padding-left: 0.6rem; }
.summary-divider { border: none; border-top: 1px solid #f0f0f0; margin: 0.5rem 0; }

/* ── Order confirmation ────────────────────────────────────── */
.confirmation-wrap { max-width: 860px; margin: 0 auto; }

.confirmation-success-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #5c115c, #952b95);
    color: #fff;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
}
.success-checkmark {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    flex-shrink: 0;
}
.confirmation-success-banner h2 { margin-bottom: 0.3rem; font-size: 1.5rem; }
.confirmation-success-banner p  { opacity: 0.9; margin: 0; font-size: 0.95rem; }

.confirmation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.confirmation-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.confirmation-section h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #5c115c;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #f0f0f0;
}

.confirmation-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.confirmation-table td { padding: 6px 0; color: #555; }
.confirmation-table td:last-child { text-align: right; font-weight: 600; color: #222; }

.confirmation-address { font-style: normal; font-size: 0.92rem; line-height: 1.8; color: #444; }

.confirmation-items { }
.confirmation-item-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f5f5f5;
}
.confirmation-item-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.confirmation-item-info strong { font-size: 0.9rem; display: block; }
.confirmation-item-info span  { font-size: 0.8rem; color: #888; }
.confirmation-item-total { font-weight: 700; color: #5c115c; }
.confirmation-totals { padding-top: 0.5rem; }

.confirmation-next-steps { margin-bottom: 2rem; }
.confirmation-next-steps h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: #333;
}
.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.next-step {
    background: #faf5fa;
    border-radius: 12px;
    padding: 1.4rem;
    text-align: center;
}
.next-step-num {
    width: 36px;
    height: 36px;
    background: #5c115c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 auto 0.8rem;
}
.next-step p { font-size: 0.88rem; color: #555; line-height: 1.5; }
.next-step strong { color: #222; }

/* ── Add to cart toast ─────────────────────────────────────── */
.cart-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #5c115c;
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(80px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.cart-toast.show { transform: translateY(0); opacity: 1; }
.cart-toast a { color: #f9c; text-decoration: none; font-weight: 700; }
.cart-toast a:hover { text-decoration: underline; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; display: flex; gap: 1rem; flex-wrap: wrap; }
    .sidebar-section { flex: 1; min-width: 200px; }
    .usp-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .confirmation-grid { grid-template-columns: 1fr; }
    .next-steps-grid { grid-template-columns: 1fr; }
    .checkout-form-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2) { display: none; }
    .usp-grid { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 480px) {
    .usp-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .confirmation-success-banner { flex-direction: column; text-align: center; }
}
