﻿    @import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700&family=Sora:wght@400;500;600&display=swap');

    :root {
        --amethyst-deep: #0f0c1f;
        --amethyst-core: #18143a;
        --amethyst-mid: #211b4a;
        --amethyst-glow: rgba(178,123,255,0.45);
        --amethyst-sky: rgba(109,213,255,0.35);
        --amethyst-text: #f5f2ff;
        --amethyst-muted: rgba(241,235,255,0.72);
        --amethyst-border: rgba(255,255,255,0.14);
        --amethyst-card: rgba(20,18,45,0.82);
        --amethyst-card-2: rgba(24,21,52,0.78);
        --amethyst-accent: #b27bff;
        --amethyst-accent-2: #6dd5ff;
    }

    body { background: var(--amethyst-deep); }
    main { background: transparent; }
    .card { background: transparent; border: none; box-shadow: none; }

    .shop-shell {
        position: relative;
        background:
            radial-gradient(1200px 600px at 10% -20%, rgba(167,112,255,0.38), transparent 60%),
            radial-gradient(900px 520px at 90% -10%, rgba(103,216,255,0.3), transparent 60%),
            linear-gradient(160deg, #16132a 0%, #1d1a3a 45%, #10101f 100%);
        border-radius: 26px;
        padding: 26px;
        color: var(--amethyst-text);
        font-family: 'Sora', sans-serif;
        overflow: hidden;
        box-shadow: 0 30px 80px rgba(0,0,0,0.55);
    }
    .shop-shell::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            repeating-linear-gradient(120deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 8px),
            radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 40%);
        opacity: 0.6;
        pointer-events: none;
    }
    .shop-shell > * { position: relative; z-index: 1; }
    .shop-shell .muted { color: var(--amethyst-muted); }

    .cta {
        display:inline-flex;
        align-items:center;
        gap:8px;
        padding:10px 16px;
        border-radius:12px;
        background: linear-gradient(135deg, var(--amethyst-accent), var(--amethyst-accent-2));
        color: #1c112f;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 10px 26px rgba(124,92,255,0.35);
    }
    .cta.small { padding: 8px 12px; font-size: 13px; }
    .ghost-link {
        display:inline-flex;
        align-items:center;
        gap:6px;
        padding:10px 14px;
        border-radius:12px;
        border:1px solid rgba(255,255,255,0.2);
        background: rgba(255,255,255,0.08);
        color: var(--amethyst-text);
        text-decoration: none;
        font-weight: 600;
    }

    .shop-layout { display:grid; grid-template-columns: 240px 1fr; gap: 18px; }
    .shop-sidebar {
        background: rgba(17,14,36,0.82);
        border-radius: 18px;
        border: 1px solid var(--amethyst-border);
        padding: 14px;
        color: var(--amethyst-text);
        height: fit-content;
        position: sticky;
        top: 18px;
        min-width: 0;
        max-height: calc(100vh - 36px);
        overflow-y: auto;
    }
    .shop-sidebar h4 {
        margin: 0 0 8px 0;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: rgba(241,235,255,0.7);
    }
    .shop-search { display:flex; flex-direction:column; gap:8px; margin-bottom: 14px; }
    .shop-search input {
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.18);
        background: rgba(255,255,255,0.08);
        color: var(--amethyst-text);
    }
    .shop-search input::placeholder { color: rgba(241,235,255,0.6); }
    .shop-nav { display:flex; flex-direction:column; gap:6px; }
    .shop-nav a {
        background: rgba(255,255,255,0.06);
        color: var(--amethyst-text);
        border:1px solid rgba(255,255,255,0.12);
        border-radius:12px;
        padding:8px 10px;
        text-decoration:none;
        font-weight:600;
        font-size:13px;
        line-height:1.2;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        display:flex;
        align-items:center;
        gap:8px;
    }
    .shop-nav a::before {
        content:"";
        width:7px;
        height:7px;
        border-radius:50%;
        background: linear-gradient(135deg, var(--amethyst-accent), var(--amethyst-accent-2));
        box-shadow: 0 0 10px rgba(178,123,255,0.5);
        flex: 0 0 auto;
    }
    .shop-nav a:hover { background: rgba(255,255,255,0.12); }
    .shop-nav a.active {
        background: rgba(178,123,255,0.25);
        border-color: rgba(178,123,255,0.6);
        box-shadow: 0 0 0 1px rgba(178,123,255,0.35);
    }

    .shop-main { display:grid; gap: 16px; min-width: 0; }
    .shop-banner {
        background: linear-gradient(135deg, rgba(22,19,46,0.9), rgba(28,20,58,0.85));
        border:1px solid rgba(255,255,255,0.16);
        border-radius: 18px;
        padding: 14px 16px;
        display:flex;
        justify-content:space-between;
        align-items:center;
        gap:12px;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
    }
    .shop-banner .banner-label {
        text-transform: uppercase;
        letter-spacing: 0.12em;
        font-size: 12px;
        color: rgba(241,235,255,0.7);
        margin-bottom: 4px;
    }
    .shop-banner strong { font-size: 16px; }
    .banner-chip {
        padding:6px 12px;
        border-radius:999px;
        border:1px solid rgba(255,255,255,0.2);
        background: rgba(255,255,255,0.08);
        font-size:12px;
    }
    .shop-admin-bar {
        display:flex;
        align-items:center;
        justify-content:flex-end;
        gap:10px;
        flex-wrap:wrap;
        margin: 8px 0 4px;
    }
    .shop-highlights {
        display:grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 18px;
        align-items: stretch;
    }
    .feature-section {
        background: var(--amethyst-card);
        border:1px solid rgba(255,255,255,0.12);
        border-radius: 18px;
        padding: 14px;
        display:grid;
        gap: 12px;
        box-shadow:
            0 0 0 1px rgba(137, 99, 255, 0.22),
            0 0 24px rgba(137, 99, 255, 0.25),
            0 0 60px rgba(72, 196, 255, 0.12);
    }
    .feature-section--flash {
        position: relative;
        overflow: hidden;
        border-color: rgba(255, 128, 92, 0.45);
        box-shadow:
            0 0 0 1px rgba(255, 128, 92, 0.45),
            0 0 28px rgba(255, 97, 97, 0.35),
            0 0 80px rgba(255, 170, 94, 0.25);
        background: linear-gradient(135deg, rgba(50, 12, 20, 0.72), rgba(24, 16, 40, 0.82));
    }
    .feature-section--featured {
        position: relative;
        overflow: hidden;
        border-color: rgba(109, 213, 255, 0.5);
        box-shadow:
            0 0 0 1px rgba(109, 213, 255, 0.5),
            0 0 28px rgba(109, 213, 255, 0.35),
            0 0 80px rgba(120, 160, 255, 0.25);
        background: linear-gradient(135deg, rgba(12, 28, 50, 0.72), rgba(18, 22, 46, 0.85));
    }
    .feature-section--flash::after {
        content: "";
        position: absolute;
        inset: -35% -10% auto -10%;
        height: 80%;
        background: radial-gradient(circle at 30% 30%, rgba(255, 173, 92, 0.55), transparent 55%);
        opacity: 0.35;
        animation: flashPulse 5s ease-in-out infinite;
        pointer-events: none;
    }
    .feature-section--featured::after {
        content: "";
        position: absolute;
        inset: -35% -10% auto -10%;
        height: 80%;
        background: radial-gradient(circle at 30% 30%, rgba(120, 210, 255, 0.6), transparent 55%);
        opacity: 0.35;
        animation: featurePulse 5.5s ease-in-out infinite;
        pointer-events: none;
    }
    @keyframes flashPulse {
        0%, 100% { opacity: 0.25; transform: translateY(-6%); }
        50% { opacity: 0.6; transform: translateY(8%); }
    }
    @keyframes featurePulse {
        0%, 100% { opacity: 0.2; transform: translateY(-8%); }
        50% { opacity: 0.55; transform: translateY(10%); }
    }
    .feature-badge {
        padding: 4px 10px;
        border-radius: 999px;
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-weight: 800;
        border: 1px solid rgba(255,255,255,0.5);
    }
    .feature-badge--flash {
        background: linear-gradient(135deg, #ffb566, #ff6f6f);
        color: #2a0c12;
        box-shadow: 0 8px 20px rgba(255, 128, 92, 0.35);
    }
    .feature-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
    .feature-head strong { font-size:16px; }
    .feature-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
    .feature-card {
        background: rgba(10, 12, 22, 0.55);
        border:1px solid rgba(255,255,255,0.12);
        border-radius: 16px;
        padding: 12px;
        display:grid;
        gap: 12px;
        min-height: 100%;
    }
    .feature-media {
        display:grid;
        grid-template-columns: 120px 1fr;
        gap: 12px;
        align-items: start;
    }
    .feature-thumb {
        position: relative;
        width: 120px;
        height: 110px;
        border-radius: 12px;
        background: rgba(255,255,255,0.06);
        border:1px solid rgba(255,255,255,0.12);
        overflow: hidden;
    }
    .feature-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }
    .feature-img-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.3);
        background: rgba(12, 12, 24, 0.7);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .feature-img-nav.prev { left: 6px; }
    .feature-img-nav.next { right: 6px; }
    .feature-new-badge {
        position: absolute;
        top: 6px;
        left: 6px;
        padding: 4px 10px;
        border-radius: 999px;
        background: linear-gradient(135deg, #ffd26f, #ff9bf0);
        color: #1a102b;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        box-shadow: 0 6px 16px rgba(255,210,111,0.35);
        border:1px solid rgba(255,255,255,0.6);
    }
    .feature-body { display:flex; flex-direction:column; gap:8px; }
    .feature-title-row { display:flex; align-items:center; justify-content:space-between; gap:8px; }
    .feature-product { font-weight:700; line-height:1.2; text-decoration: none; color: inherit; }
    .feature-pdf-link {
        padding: 3px 8px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,0.2);
        background: rgba(255,255,255,0.08);
        color: #f3efff;
        text-decoration: none;
        font-size: 11px;
        font-weight: 700;
        white-space: nowrap;
    }
    .feature-pdf-link:hover { background: rgba(255,255,255,0.16); }
    .feature-price { font-weight:700; color: rgba(109,213,255,0.95); white-space:nowrap; }
    .feature-old-price {
        font-size: 12px;
        color: rgba(241,235,255,0.55);
        text-decoration: line-through;
        font-weight: 600;
    }
    .feature-price-row { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
    .feature-desc { font-size:12px; color: rgba(241,235,255,0.7); line-height:1.4; }
    .feature-form { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap; }
    .feature-info { display:flex; flex-direction:column; gap:6px; }
    .feature-select { min-width: 180px; }
    .feature-add {
        padding:6px 10px;
        border-radius:10px;
        border:1px solid rgba(255,255,255,0.2);
        background: rgba(255,255,255,0.08);
        color:#f3efff;
        font-weight:600;
        cursor:pointer;
        min-width: 120px;
    }
    .feature-add[disabled] { opacity:0.5; cursor:not-allowed; }
    .feature-card--soldout {
        opacity: 0.75;
    }
    .highlight-cta {
        display:inline-flex;
        align-items:center;
        gap:6px;
        padding:8px 12px;
        border-radius:999px;
        background: linear-gradient(135deg, rgba(178,123,255,0.9), rgba(109,213,255,0.9));
        color:#1c112f;
        text-decoration:none;
        font-weight:700;
        font-size:12px;
        box-shadow: 0 8px 18px rgba(105,70,180,0.35);
    }
    .shop-title { color: rgba(241,235,255,0.8); font-size: 14px; text-transform: uppercase; letter-spacing: 0.2em; margin: 0; }

    .shop-cat-toggle {
        width:100%;
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:8px;
        background: var(--amethyst-card-2);
        color: var(--amethyst-text);
        border:1px solid rgba(255,255,255,0.18);
        border-radius:14px;
        padding:12px 14px;
        font-weight:700;
        font-size:16px;
        margin:14px 0 12px 0;
        cursor: default;
        text-align:left;
    }
    .shop-cat-toggle span:first-child { flex:1 1 auto; min-width:0; overflow-wrap:anywhere; word-break:break-word; }
    .shop-cat-toggle.is-draggable { cursor: move; }

    .shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .shop-card {
        background: var(--amethyst-card);
        border-radius: 18px;
        padding: 12px;
        color: var(--amethyst-text);
        border: 1px solid rgba(255,255,255,0.12);
        box-shadow: 0 16px 30px rgba(0,0,0,0.25);
    }
    .shop-card.is-draggable { cursor: move; }
    .shop-card.is-sold-out { opacity: 0.72; }
    .shop-card.variant-sold-out { opacity: 0.72; }
    .shop-card img {
        width: 100%;
        height: 150px;
        object-fit: contain;
        border-radius: 12px;
        background: rgba(255,255,255,0.08);
        cursor: pointer;
    }
    .shop-image-placeholder {
        height: 150px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(178,123,255,0.35), rgba(109,213,255,0.18));
        border: 1px dashed rgba(255,255,255,0.2);
    }
    .image-wrap { position: relative; }
    .img-nav-btn {
        position:absolute;
        top:50%;
        transform:translateY(-50%);
        width:28px;
        height:28px;
        border-radius:50%;
        border:none;
        background: rgba(16,12,30,0.7);
        color:#fff;
        display:flex;
        align-items:center;
        justify-content:center;
        cursor:pointer;
        z-index:2;
    }
    .img-nav-btn.prev { left:6px; }
    .img-nav-btn.next { right:6px; }
    .img-nav-btn:hover { background: rgba(16,12,30,0.9); }
    .sold-out-tag,
    .variant-sold-out-tag {
        background:#0a0716;
        color:#fff;
        font-size:12px;
        padding:4px 8px;
        border-radius:999px;
        border:1px solid rgba(255,255,255,0.2);
    }
    .new-badge,
    .variant-new-badge {
        background: linear-gradient(135deg, var(--amethyst-accent), var(--amethyst-accent-2));
        color:#1a102b;
        font-size:11px;
        padding:4px 10px;
        border-radius:999px;
        font-weight:700;
        letter-spacing:0.04em;
        text-transform: uppercase;
        box-shadow: 0 6px 16px rgba(125,95,255,0.35);
    }
    .featured-badge {
        background: linear-gradient(135deg, #ffd26f, #ff9bf0);
        color:#1a102b;
        font-size:11px;
        padding:4px 10px;
        border-radius:999px;
        font-weight:800;
        letter-spacing:0.06em;
        text-transform: uppercase;
        box-shadow: 0 6px 16px rgba(255,210,111,0.35);
        border:1px solid rgba(255,255,255,0.6);
    }
    .hot-badge {
        background: linear-gradient(135deg, #ff8a65, #ff5252);
        color:#1a0f0f;
        font-size:11px;
        padding:4px 10px;
        border-radius:999px;
        font-weight:800;
        letter-spacing:0.06em;
        text-transform: uppercase;
        box-shadow: 0 6px 16px rgba(255, 82, 82, 0.35);
        border:1px solid rgba(255,255,255,0.6);
    }
    .back-in-stock-badge {
        background:#2c9b6a;
        color:#fff;
        font-size:12px;
        padding:4px 8px;
        border-radius:999px;
        font-weight:700;
        letter-spacing:0.02em;
        box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    }
    .variant-last-one-badge {
        background:#f2b44f;
        color:#1a1a1a;
        font-size:12px;
        padding:4px 8px;
        border-radius:999px;
        font-weight:700;
        letter-spacing:0.02em;
    }
    .badge-stack {
        position: absolute;
        top: 8px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        z-index: 2;
    }
    .badge-stack--left { left: 8px; align-items: flex-start; }
    .badge-stack--right { right: 8px; align-items: flex-end; }
    .badge-stack .sold-out-tag,
    .badge-stack .variant-sold-out-tag,
    .badge-stack .variant-last-one-badge,
    .badge-stack .back-in-stock-badge,
    .badge-stack .new-badge,
    .badge-stack .variant-new-badge,
    .badge-stack .featured-badge,
    .badge-stack .hot-badge {
        position: static;
    }
    .cart-count-note { font-size: 12px; color: rgba(241,235,255,0.7); margin-top: 6px; display: none; }
    .shop-add-card {
        background: rgba(255,255,255,0.06);
        color: var(--amethyst-text);
        border:2px dashed rgba(178,123,255,0.5);
        display:flex;
        align-items:center;
        justify-content:center;
        min-height: 250px;
        border-radius: 18px;
    }
    .shop-add-card .add-inner { text-align:center; }
    .shop-add-card .add-circle {
        width:54px;
        height:54px;
        border-radius:50%;
        border:2px solid rgba(178,123,255,0.7);
        display:flex;
        align-items:center;
        justify-content:center;
        margin:0 auto 10px auto;
        font-size:26px;
        color: rgba(178,123,255,0.9);
    }
    .modal-backdrop { position: fixed; inset: 0; background: rgba(6,5,16,0.7); display: none; align-items: center; justify-content: center; z-index: 1000; }
    .modal-backdrop.open { display: flex; }
    .modal-card { width: min(640px, 92vw); background: #16132a; color: var(--amethyst-text); border-radius: 16px; padding: 18px; border:1px solid rgba(255,255,255,0.14); }
    .modal-card h3 { margin: 0 0 10px 0; font-family: 'Syne', sans-serif; }
    .modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .modal-card input, .modal-card textarea, .modal-card select {
        width:100%;
        padding:9px 10px;
        border:1px solid rgba(255,255,255,0.2);
        border-radius:10px;
        background: rgba(255,255,255,0.08);
        color: var(--amethyst-text);
    }
    .modal-card input::placeholder, .modal-card textarea::placeholder { color: rgba(241,235,255,0.7); }
    .modal-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:10px; }
    .admin-actions { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 6px; }
    .admin-icon {
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.12);
        color: #f7f5ff;
        border-radius: 8px;
        text-decoration: none;
        font-size: 14px;
        border: 1px solid rgba(255,255,255,0.18);
        cursor: pointer;
    }
    .admin-icon svg { width: 16px; height: 16px; display: block; }
    .quick-edit { display: none; background: rgba(255,255,255,0.08); padding: 10px; border-radius: 12px; margin-top: 10px; }
    .img-remove-btn svg { width: 12px; height: 12px; display: block; }
    .quick-edit input, .quick-edit textarea {
        width: 100%;
        padding: 8px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.2);
        background: rgba(255,255,255,0.08);
        color: var(--amethyst-text);
        margin-bottom: 6px;
    }
    .quick-edit .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .quick-edit .actions { display: flex; gap: 8px; }
    .img-modal { position: fixed; inset: 0; background: rgba(4,3,10,0.8); display: none; align-items: center; justify-content: center; z-index: 999; }
    .img-modal.open { display: flex; }
    .img-modal .frame { position: relative; background: #120f22; padding: 14px; border-radius: 12px; max-width: 90vw; max-height: 90vh; border:1px solid rgba(255,255,255,0.14); }
    .img-modal img { max-width: 80vw; max-height: 80vh; object-fit: contain; display: block; }
    .img-modal .watermark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700; color: rgba(255,255,255,0.08); pointer-events: none; transform: rotate(-20deg); }
    .img-modal .nav {
        position:absolute;
        top:50%;
        transform:translateY(-50%);
        background: rgba(255,255,255,0.1);
        border:1px solid rgba(255,255,255,0.2);
        width:32px;
        height:32px;
        border-radius:50%;
        cursor:pointer;
        display:flex;
        align-items:center;
        justify-content:center;
        color: #fff;
    }
    .img-modal .nav.prev { left: -16px; }
    .img-modal .nav.next { right: -16px; }
    .img-modal .count { text-align:center; font-size:12px; margin-top:6px; color: rgba(241,235,255,0.7); }
    .shop-name-row {
        margin: 10px 0 4px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .shop-name { margin: 0; font-size: 16px; font-weight: 700; color: inherit; text-decoration: none; }
    .shop-name:hover { text-decoration: underline; }
    .shop-pdf-link {
        padding: 4px 10px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,0.2);
        background: rgba(255,255,255,0.08);
        color: #f3efff;
        text-decoration: none;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
    }
    .shop-pdf-link:hover { background: rgba(255,255,255,0.16); }
    .shop-desc { margin: 0 0 8px 0; font-size: 13px; color: var(--amethyst-muted); min-height: 32px; }
    .shop-desc--accent { color: rgba(245,245,255,0.9); font-weight: 600; }
    .variant-selected { color: var(--amethyst-text); font-weight: 600; }
    .shop-price-row { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; margin-bottom: 8px; }
    .shop-price { font-size: 16px; font-weight: 700; }
    .shop-old-price { font-size: 13px; color: rgba(241,235,255,0.6); text-decoration: line-through; font-weight: 600; }
    .discount-tag {
        padding: 3px 8px;
        border-radius: 999px;
        font-size: 11px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        font-weight: 700;
        background: linear-gradient(135deg, #ffb566, #ff6f6f);
        color: #2a0c12;
        border: 1px solid rgba(255,255,255,0.5);
    }
    .shop-add-row {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: nowrap;
        margin-bottom: 8px;
    }
    .shop-qty { display: flex; gap: 8px; align-items: center; margin-bottom: 0; }
    .shop-qty input {
        width: 80px;
        padding: 8px;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.2);
        background: rgba(255,255,255,0.08);
        color: var(--amethyst-text);
    }
    .shop-add-row .shop-add {
        flex: 1 1 auto;
        min-width: 0;
        order: 2;
    }
    .cart-stepper {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        order: 1;
        margin-right: auto;
    }
    .cart-stepper-btn {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.2);
        background: rgba(255,255,255,0.08);
        color: var(--amethyst-text);
        font-weight: 700;
        cursor: pointer;
    }
    .cart-stepper-btn[disabled] {
        opacity: 0.5;
        cursor: not-allowed;
    }
    .cart-stepper-qty {
        min-width: 36px;
        text-align: center;
        font-weight: 700;
    }
    .shop-card select,
    .shop-card input,
    .shop-card textarea {
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.2);
        color: var(--amethyst-text);
        border-radius: 10px;
        padding: 8px 10px;
    }
    .shop-card select option {
        background: #ffffff;
        color: #141421;
    }
    .shop-card select option:disabled {
        background: #f0f0f4;
        color: #5b5b6b;
    }
    .shop-select {
        width: 100%;
        margin-bottom: 8px;
        border: 1px solid rgba(255,255,255,0.28);
        background:
            linear-gradient(135deg, rgba(178,123,255,0.22), rgba(109,213,255,0.16)),
            rgba(255,255,255,0.08);
        box-shadow:
            0 0 0 1px rgba(255,255,255,0.05) inset,
            0 10px 22px rgba(105,70,180,0.28),
            0 0 20px rgba(109,213,255,0.14);
    }
    .shop-select:focus,
    .shop-select:focus-visible {
        outline: none;
        border-color: rgba(109,213,255,0.6);
        box-shadow:
            0 0 0 1px rgba(109,213,255,0.35) inset,
            0 12px 24px rgba(105,70,180,0.32),
            0 0 24px rgba(109,213,255,0.2);
    }
    .shop-add {
        width: 100%;
        padding: 9px 14px;
        border-radius: 12px;
        border: none;
        background: linear-gradient(135deg, var(--amethyst-accent), var(--amethyst-accent-2));
        color: #1c112f;
        font-weight: 700;
        cursor: pointer;
    }
    .shop-add[disabled] { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.6); cursor: not-allowed; }
    .restock-card {
        margin-top: 10px;
        padding: 10px;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.18);
        background: rgba(255,255,255,0.06);
        display: grid;
        gap: 8px;
    }
    .restock-title {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: rgba(241,235,255,0.7);
        font-weight: 600;
    }
    .restock-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        align-items: center;
    }
    .restock-actions.is-hidden {
        display: none;
    }
    .restock-actions input[type="email"] {
        flex: 1 1 0;
        min-width: 0;
        padding: 8px 10px;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.2);
        background: rgba(255,255,255,0.08);
        color: var(--amethyst-text);
        font-size: 13px;
    }
    .restock-btn {
        padding: 8px 12px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,0.2);
        background: rgba(255,255,255,0.08);
        color: var(--amethyst-text);
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        flex: 0 0 auto;
    }
    .restock-btn.primary {
        background: linear-gradient(135deg, var(--amethyst-accent), var(--amethyst-accent-2));
        color: #1c112f;
        border-color: rgba(255,255,255,0.4);
        box-shadow: 0 8px 16px rgba(105,70,180,0.35);
    }
    .restock-btn.subscribed {
        background: rgba(255, 140, 112, 0.25);
        border-color: rgba(255, 140, 112, 0.6);
        color: #ffe3d6;
    }
    .restock-status {
        font-size: 12px;
        color: rgba(241,235,255,0.75);
    }
    .restock-eta {
        font-size: 12px;
        color: rgba(241,235,255,0.85);
    }
    @media (max-width: 700px) {
        .restock-actions {
            flex-direction: column;
            align-items: stretch;
        }
        .restock-btn,
        .restock-actions input[type="email"] {
            width: 100%;
        }
    }
    .shop-alert {
        background: rgba(109,213,255,0.12);
        border: 1px solid rgba(109,213,255,0.35);
        padding: 10px 12px;
        border-radius: 12px;
        margin-bottom: 12px;
        color: #d8f6ff;
    }
    .shop-alert--error {
        background: rgba(255,120,140,0.14);
        border-color: rgba(255,120,140,0.35);
        color: #ffd9e1;
    }
    .shop-alert--warn {
        background: rgba(255,214,127,0.16);
        border-color: rgba(255,214,127,0.45);
        color: #fff0c6;
    }

    @media (max-width: 1100px) {
        .shop-layout { grid-template-columns: minmax(180px, 220px) 1fr; gap: 12px; }
        .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .shop-highlights { grid-template-columns: 1fr; }
        .feature-grid { grid-template-columns: 1fr; }
        .feature-media { grid-template-columns: 86px minmax(0, 1fr); }
        .feature-thumb { width: 86px; height: 86px; }
    }
    @media (max-width: 900px) {
        .shop-layout { grid-template-columns: 1fr; }
        .shop-sidebar { position: static; max-height: none; }
    }
    @media (max-width: 700px) {
        .shop-shell { padding: 16px; }
        .shop-grid { grid-template-columns: 1fr; }
        .shop-card { padding: 10px; }
        .shop-card img { height: 130px; }
        .shop-name { font-size: 15px; }
        .shop-price { font-size: 15px; }
        .feature-media { grid-template-columns: 1fr; }
        .feature-thumb { width: 100%; height: 150px; }
        .feature-form { flex-direction: column; align-items: stretch; }
        .feature-select { width: 100%; }
        .feature-add { width: 100%; }
    }

.shop-load-more {
    display: flex;
    justify-content: center;
    margin: 28px 0 6px;
}

.shop-load-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, rgba(127, 94, 255, 0.22), rgba(96, 198, 255, 0.22));
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.shop-load-more-link:hover {
    border-color: rgba(255, 255, 255, 0.26);
    transform: translateY(-1px);
}
