/* Boutique — layout pleine hauteur, footer en bas, thème luxe sombre */
.sg-shop-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #060608;
    color: #e8e6e3;
    font-family: 'Outfit', system-ui, sans-serif;
}

.sg-shop-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.sg-shop-nav.sg-navbar {
    flex-shrink: 0;
    background: rgba(8, 8, 10, 0.88) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.sg-shop-nav .sg-navbar-social.sg-shop-cart-badge {
    color: #d4af37;
    font-size: 1.15rem;
}

/* --- Contenu pages --- */
.sg-shop-wrap {
    flex: 1 0 auto;
    /* Nav fixe + menu / langues qui peuvent passer sur 2 lignes : marge de sécurité */
    padding: clamp(7.75rem, 14vw, 10rem) 0 48px;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(120, 90, 180, 0.06), transparent),
        linear-gradient(180deg, #0c0c10 0%, #08080b 40%, #060608 100%);
    color: #e8e6e3;
    position: relative;
    overflow: hidden;
}

.sg-shop-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.6;
}

.sg-shop-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
    position: relative;
    z-index: 1;
}

/* Mise en avant bracelet personnalisé */
.sg-shop-featured {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 0;
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.4),
        0 24px 80px rgba(0, 0, 0, 0.45),
        0 0 120px rgba(212, 175, 55, 0.08);
    background: linear-gradient(135deg, #151018 0%, #0d0c12 50%, #12101a 100%);
}

@media (max-width: 900px) {
    .sg-shop-featured {
        grid-template-columns: 1fr;
    }
}

.sg-shop-featured-visual {
    min-height: 220px;
    background:
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.25), transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(140, 100, 200, 0.15), transparent 50%),
        linear-gradient(160deg, #1a1520 0%, #0e0c12 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sg-shop-featured-visual::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.25);
    box-shadow: inset 0 0 40px rgba(212, 175, 55, 0.1);
    animation: sg-pulse-ring 4s ease-in-out infinite;
}

@keyframes sg-pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.08); opacity: 1; }
}

.sg-shop-featured-icon {
    font-size: 4rem;
    color: #d4af37;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
    z-index: 1;
}

.sg-shop-featured-copy {
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.sg-shop-featured-badge {
    display: inline-block;
    width: fit-content;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
}

.sg-shop-featured-copy h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.6rem, 3.5vw, 2.35rem);
    font-weight: 600;
    color: #faf6f0;
    margin: 0;
    line-height: 1.15;
}

.sg-shop-featured-copy p {
    color: #a39e96;
    line-height: 1.55;
    margin: 0;
    font-size: 0.98rem;
}

.sg-shop-featured-cta {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.sg-shop-featured:hover,
.sg-shop-featured:focus-visible {
    text-decoration: none;
    color: inherit;
}

.sg-shop-featured .sg-shop-featured-copy h2,
.sg-shop-featured .sg-shop-featured-copy p,
.sg-shop-featured .sg-shop-featured-badge,
.sg-shop-featured .sg-shop-btn,
.sg-shop-featured .sg-shop-featured-price-note {
    text-decoration: none;
}

.sg-shop-featured-price-note {
    color: #8a8580;
    font-size: 0.9rem;
}

.sg-shop-hero {
    text-align: center;
    margin-top: 0.75rem;
    margin-bottom: 2.75rem;
}

.sg-shop-hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    font-weight: 600;
    color: #faf6f0;
    margin: 0 0 0.6rem;
    letter-spacing: -0.02em;
}

.sg-shop-hero p {
    color: #9a9590;
    font-size: 1.05rem;
    max-width: 32rem;
    margin: 0 auto;
    line-height: 1.5;
}

.sg-shop-section-title {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a8580;
    margin: 0 0 1rem;
    font-weight: 600;
}

.sg-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.5rem;
}

.sg-shop-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.sg-shop-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.06);
}

.sg-shop-card-img {
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, #221e1a 0%, #141210 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sg-shop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sg-shop-card-body {
    padding: 1.2rem 1.35rem 1.45rem;
}

.sg-shop-card-body h2 {
    font-size: 1.12rem;
    font-weight: 600;
    color: #f5f0e6;
    margin: 0 0 0.35rem;
}

.sg-shop-card-body .sg-shop-price {
    font-size: 1.2rem;
    color: #d4af37;
    font-weight: 600;
}

.sg-shop-card-body .sg-shop-excerpt {
    font-size: 0.88rem;
    color: #8a8580;
    margin-top: 0.45rem;
    line-height: 1.45;
}

.sg-shop-breadcrumb {
    font-size: 0.82rem;
    color: #6a6560;
    margin-top: 0.35rem;
    margin-bottom: 2rem;
    line-height: 1.55;
}

.sg-shop-breadcrumb a {
    color: #c9a227;
    text-decoration: none;
}

.sg-shop-breadcrumb a:hover {
    text-decoration: underline;
}

/* --- Fiche produit standard --- */
.sg-shop-inner > .sg-shop-product-layout {
    margin-top: 0.35rem;
}

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

@media (max-width: 900px) {
    .sg-shop-product-layout {
        grid-template-columns: 1fr;
    }
}

.sg-shop-gallery {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: #101014;
}

.sg-shop-gallery-main {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, #1c1c24 0%, #0e0e12 100%);
}

.sg-shop-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sg-shop-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    flex-wrap: wrap;
}

.sg-shop-gallery-thumbs button {
    width: 52px;
    height: 52px;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    background: #1a1a22;
}

.sg-shop-gallery-thumbs button.active {
    border-color: #d4af37;
}

.sg-shop-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sg-shop-detail h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #faf6f0;
    margin: 0 0 1rem;
}

.sg-shop-detail .price {
    font-size: 1.65rem;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 1rem;
}

.sg-shop-detail .desc {
    color: #b8b3ac;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
}

/* --- Page bracelet personnalisé --- */
/* Ne pas mettre padding-top: 0 ici : .sg-shop-custom est sur le même nœud que .sg-shop-wrap
   et annulerait l’espace sous la nav fixe (titre collé au header). */

.sg-shop-custom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 2rem 2.25rem;
    align-items: start;
    margin-top: 0.5rem;
}

@media (max-width: 960px) {
    .sg-shop-custom-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

.sg-shop-custom-col--visual {
    min-width: 0;
}

.sg-shop-custom-col--panel {
    min-width: 0;
}

.sg-shop-custom-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.sg-shop-custom-hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #faf6f0;
    margin: 0 0 0.5rem;
}

.sg-shop-custom-hero .sg-shop-custom-tagline {
    color: #9a9590;
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
}

.sg-shop-custom-stage {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background:
        radial-gradient(ellipse 70% 60% at 50% 100%, rgba(212, 175, 55, 0.12), transparent),
        linear-gradient(185deg, #12101c 0%, #060608 55%, #0a0812 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 28px 100px rgba(0, 0, 0, 0.55);
    margin-bottom: 0;
}

.sg-shop-custom-stage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
    z-index: 2;
    pointer-events: none;
}

.sg-shop-configurator {
    margin: 0;
    border: none;
    background: transparent;
    min-height: clamp(320px, 52vh, 520px);
}

.sg-shop-configurator canvas {
    display: block;
    width: 100%;
    height: clamp(320px, 52vh, 520px);
}

.sg-shop-custom-hint {
    text-align: center;
    font-size: 0.88rem;
    color: #7a756d;
    padding: 0 1rem 1rem;
    margin: 0;
}

.sg-shop-custom-panel {
    max-width: none;
    margin: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.75rem 1.75rem 2rem;
    backdrop-filter: blur(8px);
}

@media (min-width: 961px) {
    .sg-shop-custom-col--panel {
        position: sticky;
        top: 112px;
    }
}

.sg-shop-custom-panel-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sg-shop-custom-panel-header .price-block {
    font-size: 1.5rem;
    font-weight: 600;
    color: #d4af37;
}

.sg-shop-custom-panel-header .bead-rule {
    font-size: 0.85rem;
    color: #8a8580;
}

.sg-shop-custom-panel .desc {
    margin-bottom: 1.5rem;
}

.sg-stone-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.25rem;
}

.sg-stone-chip {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: rgba(0, 0, 0, 0.25);
    color: #ddd9d4;
    cursor: pointer;
    font-size: 0.82rem;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.sg-stone-chip:hover,
.sg-stone-chip:focus {
    border-color: #d4af37;
    color: #f5e6bc;
}

.sg-stone-chip.sg-stone-chip--active {
    background: rgba(212, 175, 55, 0.18);
    border-color: #d4af37;
    color: #fff8e8;
}

.sg-slot-section-title {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a8580;
    margin: 0 0 0.65rem;
    font-weight: 600;
}

.sg-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(2.35rem, 1fr));
    gap: 0.4rem;
    max-height: 220px;
    overflow-y: auto;
    padding: 0.25rem;
    margin: 0 0 1.25rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sg-slot-grid::-webkit-scrollbar {
    width: 6px;
}
.sg-slot-grid::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.25);
    border-radius: 4px;
}

.sg-slot-btn {
    aspect-ratio: 1;
    min-height: 2.35rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #9a9590;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.sg-slot-btn:hover {
    border-color: rgba(212, 175, 55, 0.45);
    color: #d4af37;
}

.sg-slot-btn.sg-slot-btn--filled {
    border-color: rgba(212, 175, 55, 0.55);
    background: rgba(212, 175, 55, 0.12);
    color: #e8d89a;
}

.sg-slot-btn .sg-slot-num {
    font-size: 0.6rem;
    opacity: 0.7;
}

.sg-slot-btn .sg-slot-name {
    font-size: 0.55rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 2px;
}

/* Boutons & formulaires */
.sg-shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.85rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    transition: filter 0.2s, transform 0.15s;
}

.sg-shop-btn-primary {
    background: linear-gradient(145deg, #e4c04a 0%, #b8962e 45%, #9a7b1f 100%);
    color: #1a1208;
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.25);
}

.sg-shop-btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    color: #1a1208;
}

.sg-shop-btn-outline {
    background: transparent;
    border: 2px solid rgba(212, 175, 55, 0.45);
    color: #d4af37;
}

.sg-shop-btn-outline:hover {
    background: rgba(212, 175, 55, 0.08);
    color: #e8c547;
}

.sg-shop-form label {
    display: block;
    font-size: 0.88rem;
    color: #a39e96;
    margin-bottom: 0.35rem;
}

.sg-shop-form input,
.sg-shop-form select,
.sg-shop-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    color: #f5f0e6;
    margin-bottom: 1rem;
    box-sizing: border-box;
    font-family: inherit;
}

.sg-shop-form input:focus,
.sg-shop-form select:focus,
.sg-shop-form textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.sg-shop-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.sg-shop-table th,
.sg-shop-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sg-shop-table th {
    color: #d4af37;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sg-shop-alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.sg-shop-alert-error {
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.35);
    color: #f8b4bc;
}

.sg-shop-alert-success {
    background: rgba(40, 167, 69, 0.12);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #9be7b0;
}

/* Footer collé bas */
.sg-shop-footer {
    flex-shrink: 0;
    background: linear-gradient(180deg, #050506 0%, #030304 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    padding: 2rem 1.5rem 2.25rem;
    text-align: center;
}

.sg-shop-footer-inner {
    max-width: 720px;
    margin: 0 auto;
}

.sg-shop-footer-brand {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    color: #c4bfb8;
    margin-bottom: 0.85rem;
}

.sg-shop-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-bottom: 1rem;
}

.sg-shop-footer-links a {
    color: #d4af37;
    text-decoration: none;
    font-size: 0.9rem;
}

.sg-shop-footer-links a:hover {
    text-decoration: underline;
}

.sg-shop-footer-copy {
    margin: 0;
    font-size: 0.8rem;
    color: #5a5550;
    line-height: 1.45;
}

.sg-shop-cart-badge {
    position: relative;
}

/* Nav : langue + badge panier */
.sg-shop-nav .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.sg-shop-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sg-shop-lang {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.sg-shop-lang a {
    color: #9a9590;
    text-decoration: none;
    padding: 0.2rem 0.35rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.sg-shop-lang a:hover {
    color: #d4af37;
}

.sg-shop-lang a.is-active {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
}

.sg-shop-lang-sep {
    color: #4a4540;
    user-select: none;
}

.sg-shop-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 4px;
    border-radius: 999px;
    background: linear-gradient(145deg, #e4c04a, #9a7b1f);
    color: #1a1208;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.15rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Stock */
.sg-shop-stock-line {
    font-size: 0.88rem;
    margin: 0.5rem 0 0;
    color: #9a9590;
}

.sg-shop-stock-line--out {
    color: #e07a7a;
}

.sg-shop-card-stock {
    font-size: 0.78rem;
    margin: 0.35rem 0 0;
    color: #8a8580;
}

.sg-shop-card-stock--out {
    color: #c08080;
}

.sg-price-suffix {
    font-size: 0.85rem;
    color: #8a8580;
    font-weight: 500;
}

/* Quantité */
.sg-shop-qty-input {
    max-width: 5.5rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(0, 0, 0, 0.4);
    color: #f5f0e6;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    margin-bottom: 1rem;
}

.sg-shop-qty-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.sg-shop-qty-input--compact {
    max-width: 3.5rem;
    margin-bottom: 0;
    padding: 0.45rem 0.5rem;
    font-size: 0.9rem;
}

.sg-shop-form--product .sg-shop-qty-input {
    margin-bottom: 1rem;
}

/* Pierres : aperçu photo */
.sg-stone-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.sg-stone-chip-visual {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.sg-stone-chip-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sg-stone-chip-label {
    text-align: left;
}

.sg-stone-chip-price {
    opacity: 0.75;
}

/* Panier : tableau compact, prix sur une ligne */
.sg-shop-cart-table-wrap {
    overflow-x: auto;
    margin-bottom: 1.25rem;
    -webkit-overflow-scrolling: touch;
}

.sg-shop-cart-table {
    min-width: 520px;
    font-size: 0.92rem;
}

.sg-shop-cart-table td,
.sg-shop-cart-table th {
    vertical-align: middle;
}

.sg-shop-col-num {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}

.sg-shop-nowrap {
    white-space: nowrap;
}

.sg-shop-col-actions {
    width: 1%;
    text-align: center;
}

.sg-shop-cart-config {
    font-size: 0.78rem;
    color: #8a8580;
    margin-top: 0.25rem;
    line-height: 1.35;
}

.sg-shop-cart-edit {
    display: inline-block;
    margin-top: 0.45rem;
    font-size: 0.82rem;
    color: #d4af37;
    text-decoration: none;
}

.sg-shop-cart-edit:hover {
    text-decoration: underline;
}

.sg-shop-cart-qty-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.sg-shop-cart-subtotal {
    font-size: 1.2rem;
    color: #d4af37;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.sg-shop-btn--xs {
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
}

.sg-shop-alert-info {
    background: rgba(100, 140, 200, 0.12);
    border: 1px solid rgba(120, 160, 220, 0.35);
    color: #c8d4e8;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Menu panier (header) */
.sg-shop-cart-dropdown {
    position: relative;
}

.sg-shop-cart-dropdown__toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
}

.sg-shop-cart-dropdown__toggle:hover {
    background: rgba(212, 175, 55, 0.08);
}

.sg-shop-cart-dropdown__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(320px, 92vw);
    padding: 1rem 1.1rem;
    background: rgba(14, 12, 18, 0.97);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    z-index: 200;
}

.sg-shop-cart-dropdown__empty {
    margin: 0 0 0.75rem;
    color: #a39e96;
    font-size: 0.9rem;
}

.sg-shop-cart-dropdown__lines {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    font-size: 0.85rem;
    color: #e0dcd6;
}

.sg-shop-cart-dropdown__lines li {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sg-shop-cart-dropdown__qty {
    color: #a39e96;
    flex-shrink: 0;
}

.sg-shop-cart-dropdown__sums {
    font-size: 0.82rem;
    color: #a39e96;
    margin-bottom: 0.75rem;
}

.sg-shop-cart-dropdown__sums > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.sg-shop-cart-dropdown__total {
    color: #e8e6e3;
    font-size: 0.95rem;
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.sg-shop-cart-dropdown__cta {
    width: 100%;
    justify-content: center;
    text-align: center;
}

/* Page panier : liste + encart */
.sg-shop-cart-page .sg-shop-cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 960px) {
    .sg-shop-cart-page .sg-shop-cart-layout {
        grid-template-columns: 1fr;
    }
}

.sg-shop-cart-line {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    align-items: start;
}

@media (max-width: 600px) {
    .sg-shop-cart-line {
        grid-template-columns: 88px 1fr;
    }
    .sg-shop-cart-line__remove {
        grid-column: 1 / -1;
        justify-self: end;
    }
}

.sg-shop-cart-line__img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.sg-shop-cart-line__img--preview {
    object-fit: cover;
    background: #08070c;
}

.sg-shop-cart-line__img--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.06);
    color: rgba(212, 175, 55, 0.35);
    font-size: 2rem;
}

.sg-shop-cart-line__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    font-family: 'Cormorant Garamond', serif;
}

.sg-shop-cart-line__meta,
.sg-shop-cart-line__stones {
    font-size: 0.85rem;
    color: #a39e96;
    margin: 0 0 0.35rem;
    line-height: 1.4;
}

.sg-shop-cart-line__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.sg-shop-cart-line__unit {
    font-size: 0.85rem;
    color: #8a8580;
}

.sg-shop-cart-line__total {
    font-weight: 600;
    color: #d4af37;
    margin-left: auto;
}

.sg-shop-qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 10px;
    overflow: hidden;
}

.sg-shop-qty-stepper__btn {
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: rgba(212, 175, 55, 0.1);
    color: #e8e6e3;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.sg-shop-qty-stepper__btn:hover {
    background: rgba(212, 175, 55, 0.22);
}

.sg-shop-qty-stepper__val {
    min-width: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.sg-shop-cart-aside__card {
    position: sticky;
    top: 96px;
    padding: 1.35rem;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: rgba(10, 9, 14, 0.85);
}

.sg-shop-cart-aside__count {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: #c8c4be;
}

.sg-shop-cart-aside__sums {
    margin: 0 0 1rem;
}

.sg-shop-cart-aside__sums div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
    color: #a39e96;
}

.sg-shop-cart-aside__sums dt {
    margin: 0;
    font-weight: 400;
}

.sg-shop-cart-aside__sums dd {
    margin: 0;
    font-weight: 600;
    color: #e8e6e3;
}

.sg-shop-cart-aside__grand {
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 1rem !important;
}

.sg-shop-cart-aside__grand dt,
.sg-shop-cart-aside__grand dd {
    color: #d4af37 !important;
    font-size: 1.05rem !important;
}

.sg-shop-cart-aside__hint {
    font-size: 0.78rem;
    color: #6a6560;
    margin: 0 0 1rem;
    line-height: 1.4;
}

.sg-shop-promo-form label {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
    color: #a39e96;
}

.sg-shop-promo-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sg-shop-promo-input {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: #e8e6e3;
}

.sg-shop-cart-aside__checkout {
    width: 100%;
    justify-content: center;
}

/* Fiche produit */
.sg-shop-product-ref {
    font-size: 0.88rem;
    color: #a39e96;
    margin: 0.35rem 0 0.75rem;
}

.sg-shop-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sg-shop-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.22);
    color: #d8d4cc;
}

.sg-shop-product-sizes-hint {
    font-size: 0.88rem;
    color: #a39e96;
    margin-top: 0.5rem;
}

.sg-shop-field-row {
    margin-bottom: 0.85rem;
}

.sg-shop-field-row label {
    display: block;
    font-size: 0.82rem;
    color: #a39e96;
    margin-bottom: 0.35rem;
}

.sg-shop-select {
    width: 100%;
    max-width: 280px;
    padding: 0.55rem 2.65rem 0.55rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e8e6e3;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Une seule déclaration background pour éviter qu’un reset écrase l’icône */
    background: rgba(0, 0, 0, 0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%23d4af37' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.65rem center;
    background-size: 1.1rem 1.1rem;
}

.sg-shop-select:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.sg-shop-share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #a39e96;
}

.sg-shop-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.08);
    color: #d4af37;
    text-decoration: none;
    cursor: pointer;
}

.sg-shop-share-btn:hover {
    background: rgba(212, 175, 55, 0.18);
}

.sg-shop-product-bottom {
    padding-top: 0;
}

.sg-shop-product-bottom .sg-shop-inner {
    padding-top: 3rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sg-shop-prose-block {
    margin-bottom: 2.5rem;
    max-width: 42rem;
}

.sg-shop-prose-block:first-of-type {
    margin-top: 0.5rem;
}

.sg-shop-prose-block h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    color: #d4af37;
    margin: 0 0 1rem;
}

.sg-shop-prose-block p {
    color: #c8c4be;
    line-height: 1.6;
    margin: 0 0 0.65rem;
}

.sg-shop-muted {
    color: #6a6560 !important;
    font-size: 0.88rem;
}

.sg-shop-spec-dl {
    display: grid;
    grid-template-columns: 8rem 1fr;
    gap: 0.5rem 1.25rem;
    font-size: 0.9rem;
    color: #c8c4be;
}

.sg-shop-spec-dl dt {
    color: #a39e96;
    margin: 0;
}

.sg-shop-spec-dl dd {
    margin: 0;
}

.sg-shop-related h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    color: #d4af37;
    margin: 0 0 1.25rem;
}

.sg-shop-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.sg-shop-related-card {
    display: flex;
    flex-direction: column;
    padding: 0.65rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(8, 8, 12, 0.6);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.sg-shop-related-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateY(-2px);
}

.sg-shop-related-card__img {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(212, 175, 55, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: rgba(212, 175, 55, 0.3);
    font-size: 2rem;
}

.sg-shop-related-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sg-shop-related-card__name {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.sg-shop-related-card__price {
    font-size: 0.82rem;
    color: #d4af37;
}

.sg-shop-trust-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sg-shop-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #a39e96;
}

.sg-shop-trust-item i {
    color: #d4af37;
    opacity: 0.85;
}

/* --- Checkout (Complete your order) --- */
.sg-checkout-page .sg-checkout-inner {
    max-width: 1280px;
}

.sg-checkout-head {
    margin-bottom: 2rem;
}

.sg-checkout-head h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 500;
    color: #f0ebe4;
    margin: 0 0 0.5rem;
    letter-spacing: 0.02em;
}

.sg-checkout-head-intro {
    color: #a39e96;
    font-size: 0.95rem;
    max-width: 42rem;
    line-height: 1.55;
    margin: 0 0 1rem;
}

.sg-checkout-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.sg-checkout-back__icon {
    display: inline-flex;
    opacity: 0.85;
}

.sg-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

.sg-checkout-main {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.sg-checkout-aside {
    position: sticky;
    top: calc(6rem + env(safe-area-inset-top, 0px));
    z-index: 0;
}

.sg-checkout-step {
    margin-bottom: 2.25rem;
    padding: 1.5rem 1.35rem;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: rgba(10, 10, 14, 0.72);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.sg-checkout-step--pay {
    border-color: rgba(212, 175, 55, 0.28);
    background: linear-gradient(165deg, rgba(18, 16, 22, 0.9) 0%, rgba(8, 8, 12, 0.85) 100%);
}

.sg-checkout-step-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: #d4af37;
    margin: 0 0 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.sg-checkout-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.sg-checkout-guest-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.65rem;
    margin-bottom: 1.1rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.12);
    font-size: 0.9rem;
}

.sg-checkout-guest-label {
    color: #c8c4be;
}

.sg-checkout-guest-sep {
    color: rgba(212, 175, 55, 0.45);
    user-select: none;
}

.sg-checkout-login-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
}

.sg-checkout-login-link:hover {
    text-decoration: underline;
}

.sg-checkout-logged {
    margin: 0;
    color: #c8c4be;
    font-size: 0.9rem;
}

.sg-checkout-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 560px) {
    .sg-checkout-row2 {
        grid-template-columns: 1fr;
    }
}

.sg-checkout-field {
    margin-bottom: 1rem;
}

.sg-checkout-field label,
.sg-checkout-label {
    display: block;
    font-size: 0.82rem;
    color: #a39e96;
    margin-bottom: 0.35rem;
}

.sg-checkout-field input,
.sg-checkout-field textarea,
.sg-checkout-select-wide {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(6, 6, 8, 0.85);
    color: #e8e6e3;
    font-family: inherit;
    font-size: 0.95rem;
}

.sg-checkout-field input:focus,
.sg-checkout-field textarea:focus,
.sg-checkout-select-wide:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.12);
}

.sg-checkout-readonly {
    opacity: 0.85;
    cursor: not-allowed;
}

.sg-checkout-radio-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.92rem;
    color: #c8c4be;
}

.sg-checkout-radio-row label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.sg-checkout-hint {
    display: block;
    font-size: 0.78rem;
    color: #6a6560;
    margin-top: 0.35rem;
    line-height: 1.45;
}

.sg-checkout-subh {
    font-size: 0.95rem;
    color: #d4af37;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

.sg-checkout-opt-account {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sg-checkout-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: #b8b3ab;
    line-height: 1.45;
    margin: 0.75rem 0;
    cursor: pointer;
}

.sg-checkout-check input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.sg-checkout-check--legal {
    margin-top: 1rem;
}

.sg-checkout-check a {
    color: #d4af37;
}

.sg-checkout-billing-block {
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.sg-checkout-ship-option {
    display: block;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.sg-checkout-ship-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sg-checkout-ship-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.25rem 1rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 8, 12, 0.65);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sg-checkout-ship-option input:focus-visible + .sg-checkout-ship-card {
    outline: 2px solid rgba(212, 175, 55, 0.5);
    outline-offset: 2px;
}

.sg-checkout-ship-option input:checked + .sg-checkout-ship-card {
    border-color: rgba(212, 175, 55, 0.55);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.15);
}

.sg-checkout-ship-card strong {
    grid-column: 1;
    color: #f0ebe4;
    font-size: 0.95rem;
}

.sg-checkout-ship-meta {
    grid-column: 1;
    font-size: 0.8rem;
    color: #8a8580;
    line-height: 1.4;
}

.sg-checkout-ship-price {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-weight: 600;
    color: #d4af37;
    font-size: 1rem;
    white-space: nowrap;
}

.sg-checkout-recap-intro {
    font-size: 0.9rem;
    color: #a39e96;
    margin: 0 0 1rem;
}

.sg-checkout-invoice {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 4, 6, 0.5);
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
}

.sg-checkout-invoice-block {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sg-checkout-invoice-block:last-of-type {
    border-bottom: none;
    padding-bottom: 0.5rem;
}

.sg-checkout-invoice-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a8580;
    margin-bottom: 0.45rem;
}

.sg-checkout-mini-edit {
    font-size: 0.72rem;
    text-transform: none;
    letter-spacing: 0;
    color: #d4af37;
    text-decoration: none;
    white-space: nowrap;
}

.sg-checkout-mini-edit:hover {
    text-decoration: underline;
}

.sg-checkout-invoice-body {
    font-size: 0.88rem;
    color: #c8c4be;
    white-space: pre-line;
    line-height: 1.5;
}

.sg-checkout-lines {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin: 1rem 0 0.5rem;
}

.sg-checkout-lines th,
.sg-checkout-lines td {
    padding: 0.55rem 0.4rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
}

.sg-checkout-lines th {
    color: #8a8580;
    font-weight: 500;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sg-checkout-lines td:nth-child(2),
.sg-checkout-lines td:nth-child(3),
.sg-checkout-lines td:nth-child(4),
.sg-checkout-lines th:nth-child(2),
.sg-checkout-lines th:nth-child(3),
.sg-checkout-lines th:nth-child(4) {
    text-align: right;
    white-space: nowrap;
}

.sg-checkout-line-sub {
    font-size: 0.78rem;
    color: #6a6560;
    margin-top: 0.25rem;
}

.sg-checkout-totals {
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.sg-checkout-totals td {
    padding: 0.4rem 0;
    color: #b8b3ab;
}

.sg-checkout-totals td:last-child {
    text-align: right;
    color: #e8e6e3;
    font-weight: 500;
}

.sg-checkout-totals tr.sg-checkout-grand td {
    padding-top: 0.65rem;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    font-size: 1rem;
    font-weight: 600;
    color: #d4af37;
}

.sg-checkout-revolut-note {
    font-size: 0.82rem;
    color: #8a8580;
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.sg-checkout-pay-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    gap: 0.5rem;
}

.sg-checkout-aside-card {
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    background: rgba(12, 11, 16, 0.92);
    padding: 1.35rem 1.2rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.sg-checkout-aside-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: #d4af37;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sg-checkout-aside-lines {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    font-size: 0.85rem;
    color: #c8c4be;
}

.sg-checkout-aside-lines li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sg-checkout-aside-sums {
    margin: 0 0 1.25rem;
}

.sg-checkout-aside-sums > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.35rem 0;
    font-size: 0.88rem;
}

.sg-checkout-aside-sums dt {
    margin: 0;
    color: #8a8580;
    font-weight: 400;
}

.sg-checkout-aside-sums dd {
    margin: 0;
    color: #e8e6e3;
    font-weight: 500;
}

.sg-checkout-aside-grand dt,
.sg-checkout-aside-grand dd {
    color: #d4af37;
    font-weight: 600;
    font-size: 1rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.sg-checkout-promo label {
    font-size: 0.78rem;
    color: #8a8580;
    display: block;
    margin-bottom: 0.4rem;
}

.sg-checkout-promo-row {
    display: flex;
    gap: 0.5rem;
}

.sg-checkout-promo-row input {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(6, 6, 8, 0.85);
    color: #e8e6e3;
    font-size: 0.9rem;
}

.sg-checkout-promo-row .sg-shop-btn {
    flex-shrink: 0;
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
}

@media (max-width: 960px) {
    .sg-checkout-layout {
        grid-template-columns: 1fr;
    }

    .sg-checkout-aside {
        position: static;
        order: -1;
    }
}

@media (min-width: 961px) {
    .sg-checkout-layout {
        direction: ltr;
    }

    .sg-checkout-main {
        order: 0;
    }

    .sg-checkout-aside {
        order: 1;
    }
}

/* Checkout — accordéon, adresse salon, facture, cases CGV cliquables */
.sg-checkout-step__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.35rem 1rem;
    margin-bottom: 0.25rem;
}

.sg-checkout-step__header .sg-checkout-step-title {
    flex: 1 1 auto;
    margin-bottom: 0;
}

.sg-checkout-step__summary {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.86rem;
    color: #a39e96;
    line-height: 1.45;
}

.sg-checkout-step__reopen {
    display: none;
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    margin-left: auto;
}

.sg-checkout-step.is-done.sg-checkout-step--collapsed .sg-checkout-step__reopen {
    display: inline-flex;
}

.sg-checkout-step:not(.sg-checkout-step--collapsed) .sg-checkout-step__reopen {
    display: none !important;
}

.sg-checkout-step--collapsed .sg-checkout-step__body {
    display: none !important;
}

.sg-checkout-step--pay .sg-checkout-step__reopen,
.sg-checkout-step--pay .sg-checkout-step__summary {
    display: none !important;
}

.sg-checkout-continue {
    margin-top: 1.35rem;
}

.sg-checkout-hint--addr {
    margin-bottom: 1.15rem;
    font-size: 1rem;
    line-height: 1.55;
    color: #b8b3ab;
}

.sg-checkout-addr-choice {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.sg-checkout-addr-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.5rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 8, 12, 0.65);
    color: #e8e6e3;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sg-checkout-addr-tile:hover {
    border-color: rgba(212, 175, 55, 0.35);
}

.sg-checkout-addr-tile[aria-pressed="true"] {
    border-color: rgba(212, 175, 55, 0.55);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.18);
}

.sg-checkout-addr-tile__badge {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #d4af37;
}

.sg-checkout-addr-tile__title {
    font-weight: 600;
    font-size: 1rem;
    color: #f0ebe4;
}

.sg-checkout-addr-tile__sub {
    font-size: 0.8rem;
    color: #8a8580;
    line-height: 1.4;
}

.sg-checkout-salon-address {
    font-size: 0.82rem;
    color: #c8c4be;
    line-height: 1.55;
    white-space: pre-wrap;
    width: 100%;
}

.sg-checkout-dm-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sg-checkout-step3-pickup-note {
    font-size: 0.86rem;
    color: #a39e96;
    line-height: 1.5;
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.sg-checkout-legal-block {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.sg-checkout-legal-block__link {
    margin: 0 0 0.65rem;
    font-size: 0.88rem;
}

.sg-checkout-doc-link {
    color: #d4af37;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sg-checkout-doc-link:hover {
    color: #e8c84a;
}

.sg-checkout-checkbox-native {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.sg-checkout-checkbox-native input[type="checkbox"] {
    position: relative;
    z-index: 2;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #d4af37;
}

.sg-checkout-checkbox-native label {
    font-size: 0.86rem;
    color: #c8c4be;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.sg-checkout-checkbox-native label a {
    color: #d4af37;
    position: relative;
    z-index: 2;
}

.sg-checkout-invoice--doc {
    padding: 1.35rem 1.5rem 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.22);
    background:
        linear-gradient(180deg, rgba(22, 20, 18, 0.95) 0%, rgba(10, 10, 12, 0.92) 100%);
    box-shadow: 0 4px 0 rgba(212, 175, 55, 0.08), 0 24px 48px rgba(0, 0, 0, 0.35);
}

.sg-checkout-invoice__masthead {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.28);
}

.sg-checkout-invoice__brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #d4af37;
    letter-spacing: 0.04em;
}

.sg-checkout-invoice__doc-title {
    font-size: 0.82rem;
    color: #8a8580;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

.sg-checkout-invoice__meta {
    font-size: 0.85rem;
    color: #a39e96;
    text-align: right;
}

.sg-checkout-invoice__meta-k {
    color: #6a6560;
    margin-right: 0.35rem;
}

.sg-checkout-invoice__parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
    .sg-checkout-invoice__parties {
        grid-template-columns: 1fr;
    }
}

.sg-checkout-invoice__party-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #8a8580;
    margin-bottom: 0.4rem;
}

.sg-checkout-invoice__party-body {
    font-size: 0.88rem;
    color: #e8e6e3;
    line-height: 1.55;
    white-space: pre-wrap;
}

.sg-checkout-invoice__lines-wrap {
    overflow-x: auto;
    margin: 0.5rem 0 0;
    -webkit-overflow-scrolling: touch;
}

.sg-checkout-invoice--doc .sg-checkout-lines {
    min-width: 100%;
}

.sg-checkout-invoice--doc .sg-checkout-lines th {
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.sg-checkout-invoice--doc .sg-checkout-totals {
    max-width: 100%;
    margin-top: 0.75rem;
}

.sg-checkout-legal-block--pay {
    margin-top: 1.25rem;
}
