/* Joyceful Grace Storefront (pixel-accurate clone target) */
:root {
    --bg: #ffffff;
    --text: #1d1d1f;
    --muted: #6b6b6b;
    --accent: #f04a7f;
    --accent-2: #f7c845;
    --border: #ececec;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --max: 1200px;
    --radius: 16px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Trebuchet MS", "Gill Sans", "Avenir Next", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(2px);
}

.site-loader.show {
    display: flex;
}

.site-loader__spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid #f8ccdc;
    border-top-color: var(--accent);
    animation: siteSpin 0.85s linear infinite;
}

.site-loader__label {
    color: #8d2c54;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@keyframes siteSpin {
    to { transform: rotate(360deg); }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--border);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
}
.logo img {
    height: 90px;
    width: auto;
}
.nav-links {
    display: flex;
    gap: 24px;
    font-weight: 500;
}
.nav-links a {
    color: #222;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-actions a {
    font-size: 14px;
}
.cart-pill {
    background: #111;
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
}

/* Hero */
.hero {
    padding: 70px 0 30px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.hero-title {
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 12px;
}
.hero-text {
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 20px;
}
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    border: none;
}

#contact-form .btn-primary:hover {
    cursor: pointer;
}

.btn-secondary {
    display: inline-block;
    padding: 11px 20px;
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

/* Home page uplift */
body[data-page="home"] {
    background:
        radial-gradient(circle at 8% 16%, rgba(198, 176, 236, 0.28), rgba(198, 176, 236, 0) 24%),
        radial-gradient(circle at 92% 22%, rgba(240, 74, 127, 0.14), rgba(240, 74, 127, 0) 26%),
        linear-gradient(180deg, #f7f4ff 0%, #fff 24%, #fff 100%);
}
body[data-page="home"] .section-title,
body[data-page="home"] .hero-title {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    letter-spacing: 0.01em;
}
.home-hero {
    padding-top: 82px;
}
.home-hero .hero-grid {
    border: 1px solid #f1e1cf;
    border-radius: 28px;
    padding: 30px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.95) 58%, rgba(255, 244, 250, 0.92) 100%);
    box-shadow: 0 18px 42px rgba(80, 54, 40, 0.14);
    overflow: hidden;
}
.home-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid #ecc7d7;
    background: #fff;
    color: #8f3559;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.home-hero .hero-title {
    font-size: clamp(38px, 4.8vw, 60px);
    margin-bottom: 14px;
}
.home-hero .hero-text {
    font-size: 19px;
    max-width: 48ch;
}
.home-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.hero-media {
    position: relative;
}
.hero-media::before {
    content: "";
    position: absolute;
    inset: -16px;
    border: 2px solid rgba(238, 204, 220, 0.42);
    border-radius: 24px;
    z-index: 0;
}
.hero-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 18px 35px rgba(34, 20, 26, 0.2);
}
.home-collections .collection-card,
.home-featured .product-card {
    border-color: #efdfe6;
    box-shadow: 0 10px 24px rgba(80, 54, 40, 0.09);
}
.home-collections .collection-card .card-body {
    background: linear-gradient(180deg, #fff 0%, #fff8fc 100%);
}
.home-featured {
    position: relative;
}
.home-seasonal {
    padding-top: 18px;
    padding-bottom: 12px;
}
.seasonal-shell {
    border: 1px solid #f1e4dc;
    border-radius: 22px;
    padding: 18px;
    background:
        radial-gradient(circle at 10% 12%, rgba(247, 200, 69, 0.22), rgba(247, 200, 69, 0) 34%),
        linear-gradient(150deg, #fffdf8 0%, #fff 58%, #fff7fb 100%);
    box-shadow: 0 10px 26px rgba(88, 58, 44, 0.08);
}
.seasonal-head {
    margin-bottom: 14px;
}
.seasonal-kicker {
    display: inline-block;
    margin-bottom: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #f0cddd;
    background: #fff;
    color: #8f3559;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.seasonal-title {
    margin: 0 0 4px;
    font-size: clamp(24px, 2.5vw, 32px);
}
.seasonal-subtitle {
    margin: 0;
    color: #6f5c63;
    font-size: 15px;
}
.seasonal-bundles {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.seasonal-bundle-label {
    font-size: 12px;
    font-weight: 700;
    color: #8f3559;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.seasonal-bundle-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid #edbfd0;
    background: linear-gradient(135deg, #fff 0%, #ffeef5 100%);
    color: #6f2344;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 18px rgba(130, 53, 88, 0.12);
}
.seasonal-bundle-pill strong {
    font-size: 15px;
    color: #8d2c54;
}
.seasonal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
}
.seasonal-card {
    display: block;
    border: 1px solid #f0e2e8;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.seasonal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(88, 49, 68, 0.12);
}
.seasonal-card img {
    width: 50%;
    margin: 10px auto 0;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
}
.seasonal-card-body {
    padding: 11px;
}
.seasonal-tag {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #8f3559;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.seasonal-name {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}
.seasonal-price {
    color: #7f6a75;
    font-size: 14px;
    font-weight: 700;
}
.home-featured .container {
    border: 1px solid #f0e4dd;
    border-radius: 24px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(32, 23, 30, 0.08);
}
.home-featured.alt .container {
    background: linear-gradient(145deg, #fff 0%, #f5efff 100%);
}
.home-contact {
    padding-top: 54px;
}
.home-contact-shell {
    max-width: 860px;
    border: 1px solid #efddd0;
    border-radius: 24px;
    padding: 28px;
    background:
        linear-gradient(140deg, #fff 0%, #f3eeff 44%, #fff7fb 100%);
    box-shadow: 0 16px 38px rgba(85, 56, 44, 0.1);
}
.home-contact #contact-form .btn-primary {
    min-width: 150px;
}
body[data-page="home"] main > section {
    animation: homeFadeUp 0.55s ease both;
}
body[data-page="home"] main > section:nth-child(2) { animation-delay: 0.07s; }
body[data-page="home"] main > section:nth-child(3) { animation-delay: 0.12s; }
body[data-page="home"] main > section:nth-child(4) { animation-delay: 0.17s; }
body[data-page="home"] main > section:nth-child(5) { animation-delay: 0.22s; }
body[data-page="home"] main > section:nth-child(6) { animation-delay: 0.27s; }
body[data-page="home"] main > section:nth-child(7) { animation-delay: 0.32s; }

@keyframes homeFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section {
    padding: 40px 0;
}
.section-title {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Collections grid */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.collection-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.collection-card img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}
.collection-card .card-body {
    padding: 16px;
    font-weight: 600;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
    transition: opacity 0.2s ease;
}
.product-card .title {
    font-weight: 600;
    font-size: 15px;
}
.product-card .price {
    color: var(--accent);
    font-weight: 700;
}
.product-card .quick-add-btn {
    margin-top: 6px;
    width: 100%;
    border: 1px solid #f0c4d4;
    background: #fff3f8;
    color: #8d2c54;
    border-radius: 10px;
    padding: 9px 12px;
    font-weight: 700;
    cursor: pointer;
}
.product-card .quick-add-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.product-card .card-cart-controls {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 6px;
    margin-top: 6px;
}
.product-card .qty-btn {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}
.product-card .qty-input {
    width: 100%;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px;
    font-weight: 700;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 16px;
}

.product-detail-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.product-media {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 14px;
    background: #fff;
    box-shadow: var(--shadow);
}
.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.product-info {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}
.product-title {
    margin: 0 0 10px;
}
.product-price {
    font-size: 28px;
    margin: 0 0 6px;
}

.price-breakdown-main {
    display: block;
}

.price-breakdown-sub {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #7f6a75;
    margin-top: 1px;
}

.price-strike {
    text-decoration: line-through;
    color: #9b8791;
}
.product-subcopy {
    margin: 0 0 14px;
    color: var(--muted);
}
.product-variants {
    margin: 14px 0;
    display: grid;
    gap: 12px;
}
.variant-option label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 6px;
}
.variant-option select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 14px;
}
.product-buy-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}
.product-qty-controls {
    display: grid;
    grid-template-columns: 38px 68px 38px;
    gap: 6px;
}
.product-qty-controls .qty-btn {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    min-height: 42px;
}
.product-qty-controls .qty-input {
    width: 100%;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px;
    font-weight: 700;
    min-height: 42px;
}
.product-add-btn {
    min-height: 42px;
    padding-left: 26px;
    padding-right: 26px;
    box-shadow: 0 10px 24px rgba(240, 74, 127, 0.24);
}
.product-add-btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}
.product-description {
    margin-top: 18px;
    border-top: 1px solid #f0e8ec;
    padding-top: 16px;
}
.product-description p:first-child {
    margin-top: 0;
}
.similar-products-section {
    margin-top: 34px;
}
.similar-products-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

/* Catalog */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid #f0e2ea;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff 0%, #fff7fb 100%);
}
.catalog-title {
    margin-bottom: 4px;
}
.catalog-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}
.catalog-sort-field {
    display: grid;
    gap: 6px;
    min-width: 250px;
    position: relative;
}
.catalog-sort-field > span {
    font-size: 12px;
    color: #7f6a75;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}
.catalog-sort-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 12px 38px 12px 12px;
    border-radius: 12px;
    border: 1px solid #e5ced8;
    background: #fff;
    color: #3e2f37;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 6px 14px rgba(120, 58, 85, 0.08);
    cursor: pointer;
}
.catalog-sort-field select:focus {
    outline: none;
    border-color: #d48bab;
    box-shadow: 0 0 0 3px rgba(240, 74, 127, 0.15);
}
.catalog-sort-field i {
    position: absolute;
    right: 12px;
    bottom: 13px;
    font-style: normal;
    color: #8f3559;
    pointer-events: none;
}
.catalog-grid {
    margin-top: 6px;
}

.product-thumbnail {
    width: 64px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

/* Account */
.account-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}
.account-sidebar {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    background: linear-gradient(160deg, #fff8fb 0%, #ffffff 55%, #fffaf0 100%);
    height: fit-content;
    box-shadow: var(--shadow);
}
.account-welcome {
    color: var(--muted);
    margin-bottom: 16px;
}
.account-tab-btn {
    width: 100%;
    text-align: left;
    padding: 11px 12px;
    margin-bottom: 8px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}
.account-tab-btn.active {
    border-color: #f3bed1;
    background: #fff4f9;
}
.account-logout-btn {
    width: 100%;
    margin-top: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid #f0c4d4;
    background: #fff;
    color: #a3305c;
    font-weight: 700;
    cursor: pointer;
}
.account-content {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}
.account-panel { display: none; }
.account-panel.active { display: block; }
.account-panel h2 { margin-top: 0; }
.account-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.account-grid-list {
    display: grid;
    gap: 12px;
}
.account-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}
.account-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.account-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #f5f5f5;
}
.account-pill.default {
    background: #fff0f6;
    color: #9a2e59;
}
.account-meta {
    color: var(--muted);
    font-size: 14px;
}
.account-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.account-card-actions button {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
}

/* Cart */
.cart-page {
    max-width: 1040px;
}
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
}
.cart-items-list {
    display: grid;
    gap: 12px;
}
.cart-item-card {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    background: #fff;
}
.cart-item-image {
    width: 88px;
    height: 118px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eee;
}
.cart-item-name {
    font-weight: 700;
    margin-bottom: 4px;
}
.cart-item-variant {
    font-size: 13px;
    color: #374151;
    margin-bottom: 6px;
}
.cart-item-meta {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 10px;
}
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cart-qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
}
.cart-qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
}
.cart-remove-btn {
    border: 1px solid #f0c4d4;
    color: #a3305c;
    background: #fff8fb;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}
.cart-item-total {
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
}
.cart-summary-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 90px;
}
.cart-summary-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-summary-note {
    color: var(--muted);
    font-size: 14px;
    margin: 12px 0 16px;
}
.cart-summary-card .btn-primary {
    width: 100%;
    text-align: center;
}
.cart-empty {
    border: 1px dashed #e5ced7;
    border-radius: 14px;
    padding: 26px;
    background: #fff8fb;
    text-align: center;
}
.cart-empty p {
    margin: 0 0 12px;
    color: #6e5a62;
}

/* Checkout */
.checkout-page {
    max-width: 1120px;
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 22px;
    align-items: start;
}
.checkout-form-card,
.checkout-summary-card,
.checkout-success-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}
.checkout-form-card {
    padding: 18px;
}
.checkout-block + .checkout-block {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0e8ec;
}
.checkout-block h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
}
.form-row.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.checkout-inline {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}
.payment-option {
    border: 1px solid #ecccd9;
    border-radius: 12px;
    padding: 12px;
    background: #fff8fb;
}
.payment-option.active {
    border-color: #e59aba;
}
.payment-option label {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
}
.payment-option span {
    color: var(--muted);
    font-size: 14px;
}
.checkout-summary-card {
    padding: 16px;
    position: sticky;
    top: 90px;
}
.checkout-summary-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}
.checkout-items-list {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}
.checkout-item {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 10px;
    align-items: center;
}
.checkout-item img {
    width: 46px;
    height: 62px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}
.checkout-item-name {
    font-size: 14px;
    font-weight: 600;
}
.checkout-item-meta {
    color: var(--muted);
    font-size: 12px;
}
.checkout-item-variant {
    font-size: 12px;
    color: #374151;
    margin: 4px 0;
}
.checkout-discount {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    display: grid;
    gap: 8px;
}
.checkout-discount-row {
    display: flex;
    gap: 8px;
}
.checkout-discount input[type="text"] {
    flex: 1;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
}
.checkout-discount-message {
    font-size: 12px;
    color: var(--muted);
}
.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}
.checkout-summary-row.total {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0e8ec;
    font-size: 18px;
}
.checkout-success-card {
    margin-top: 16px;
    padding: 20px;
    background: linear-gradient(140deg, #fffaf2 0%, #fff 45%, #fff6fb 100%);
}
.checkout-success-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
}
.checkout-success-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #efc2d4;
    background: #fff;
    color: #9a2e59;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 10px;
}
.checkout-success-meta {
    color: #5f4e55;
    margin-bottom: 14px;
}
.checkout-success-table {
    width: 100%;
    border-collapse: collapse;
}
.checkout-success-table th,
.checkout-success-table td {
    text-align: left;
    padding: 8px 0;
    border-bottom: 1px solid #f0e8ec;
    font-size: 14px;
}

/* Home video spotlight */
.video-spotlight-section {
    padding-top: 50px;
    padding-bottom: 50px;
}
.video-spotlight {
    position: relative;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    border-radius: 24px;
    border: 1px solid #f0dfe6;
    padding: 28px;
    background:
        radial-gradient(circle at 12% 15%, rgba(247, 200, 69, 0.35), rgba(247, 200, 69, 0) 38%),
        radial-gradient(circle at 85% 75%, rgba(240, 74, 127, 0.24), rgba(240, 74, 127, 0) 42%),
        linear-gradient(135deg, #fffaf3 0%, #fff 55%, #fff7fb 100%);
    box-shadow: 0 18px 40px rgba(120, 54, 76, 0.14);
    overflow: hidden;
}
.video-spotlight::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.7);
}
.video-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.video-kicker {
    display: inline-block;
    width: fit-content;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #efbdd0;
    background: rgba(255, 255, 255, 0.85);
    color: #9a2e59;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.video-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.08;
}
.video-description {
    margin: 0 0 20px;
    color: #5d4a52;
    font-size: 17px;
    max-width: 46ch;
}
.video-cta {
    width: fit-content;
}
.video-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #ecd7e0;
    background: #1a1a1a;
    box-shadow: 0 12px 34px rgba(22, 21, 21, 0.26);
    min-height: 260px;
}
.video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Footer */
.site-footer {
    margin-top: 60px;
    border-top: 1px solid var(--border);
    padding: 30px 0 60px;
    color: var(--muted);
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.footer-socials {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid #e7d9e1;
    border-radius: 999px;
    background: #fff8fb;
    color: #7f3557;
    width: 34px;
    height: 34px;
    padding: 0;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}
.footer-social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.footer-social-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(120, 53, 88, 0.15);
    background: #fff;
}

/* Forms */
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
}
.form-group input[readonly],
.form-group input:disabled,
.form-group textarea[readonly],
.form-group textarea:disabled,
.form-group select:disabled {
    background: #f6f4f8;
    color: #6f6470;
    border-color: #e3dbe6;
    cursor: not-allowed;
}
.form-group textarea { min-height: 140px; }
.form-actions {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

/* Site notices */
.site-notice-stack {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    display: grid;
    gap: 10px;
    width: min(420px, calc(100vw - 24px));
}
.site-notice {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    padding: 12px 14px;
    box-shadow: 0 14px 34px rgba(32, 24, 36, 0.16);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 14px;
}
.site-notice.show {
    opacity: 1;
    transform: translateY(0);
}
.site-notice.success {
    border-color: #cae8d8;
    background: rgba(245, 255, 250, 0.98);
}
.site-notice.error {
    border-color: #f3cad6;
    background: rgba(255, 245, 249, 0.98);
    color: #9a2e59;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .seasonal-grid { grid-template-columns: repeat(2, 1fr); }
    .collection-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .video-spotlight {
        grid-template-columns: 1fr;
        padding: 22px;
    }
    .video-frame {
        min-height: 220px;
    }
    .account-shell {
        grid-template-columns: 1fr;
    }
    .product-detail-shell {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .cart-summary-card {
        position: static;
    }
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-summary-card {
        position: static;
    }
    .form-row.two {
        grid-template-columns: 1fr;
    }
    .home-hero {
        padding-top: 56px;
    }
    .home-hero .hero-grid {
        padding: 22px;
    }
    .home-featured .container,
    .home-contact-shell {
        border-radius: 18px;
        padding: 18px;
    }
    .home-hero-actions {
        gap: 8px;
    }
    .product-info {
        padding: 18px;
    }
    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .catalog-sort-field {
        min-width: 0;
    }
}
@media (max-width: 600px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seasonal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .collection-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .video-title {
        font-size: 30px;
    }
    .cart-item-card {
        grid-template-columns: 70px 1fr;
    }
    .cart-item-image {
        width: 70px;
        height: 96px;
    }
    .cart-item-total {
        grid-column: 1 / -1;
        text-align: left;
        margin-top: -4px;
    }
    .home-kicker {
        font-size: 11px;
    }
    .home-hero .hero-title {
        font-size: 36px;
    }
    .home-hero .hero-text {
        font-size: 17px;
    }
    .home-featured .container,
    .home-contact-shell,
    .home-hero .hero-grid {
        padding: 16px;
    }
    .product-buy-row {
        flex-direction: column;
        align-items: stretch;
    }
    .product-qty-controls {
        width: 100%;
        grid-template-columns: 1fr 1.5fr 1fr;
    }
    .similar-products-head {
        flex-direction: column;
        align-items: flex-start;
    }
}
