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

.sds-shop {
    min-height: 100vh;
    background: #0A0A0C;
    color: #F2F1F0;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.sds-shop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    border-bottom: 1px solid #232227;
}

.sds-shop-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #F2F1F0;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.sds-shop-links { display: flex; gap: 24px; }
.sds-shop-links a {
    color: #8A8790;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.sds-shop-links a:hover, .sds-shop-links a.active { color: #F2F1F0; }

.sds-shop-cart {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #F2F1F0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #B91C2C;
    padding: 8px 14px;
    border-radius: 2px;
    transition: background .15s;
}
.sds-shop-cart:hover { background: rgba(185,28,44,0.12); }

.sds-shop-cart-badge {
    background: #B91C2C;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
}

.sds-shop-body { flex: 1; padding: 0 32px 60px; }

/* Hero */
.sds-shop-hero {
    max-width: 640px;
    margin: 56px auto 0;
    text-align: center;
}
.sds-shop-hero--small { margin: 40px auto 0; }

.sds-shop-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #B91C2C;
}

.sds-shop-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 10px 0 8px;
    line-height: 1.1;
}
.sds-shop-hero p { color: #8A8790; font-size: 14.5px; margin: 0; }

/* Zigzag divider — motivo a lama seghettata, firma visiva della sezione */
.sds-shop-zigzag {
    height: 14px;
    max-width: 640px;
    margin: 32px auto 40px;
    background: #B91C2C;
    clip-path: polygon(
        0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%, 25% 100%, 30% 0%, 35% 100%,
        40% 0%, 45% 100%, 50% 0%, 55% 100%, 60% 0%, 65% 100%, 70% 0%, 75% 100%,
        80% 0%, 85% 100%, 90% 0%, 95% 100%, 100% 0%
    );
    opacity: 0.85;
}

/* Toolbar ricerca + marchio */
.sds-shop-toolbar {
    max-width: 1080px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.sds-shop-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #131215;
    border: 1px solid #232227;
    border-radius: 2px;
    padding: 9px 14px;
    flex: 1;
    min-width: 220px;
    max-width: 360px;
}
.sds-shop-search-icon { font-size: 12px; opacity: 0.6; }
.sds-shop-search input {
    background: transparent;
    border: none;
    outline: none;
    color: #F2F1F0;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    width: 100%;
}
.sds-shop-search input::placeholder { color: #6B6A70; }

.sds-shop-brand-select {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sds-brand-chip {
    background: #131215;
    border: 1px solid #232227;
    color: #8A8790;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 8px 14px;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: border-color .15s, color .15s, background .15s;
}
.sds-brand-chip:hover { color: #F2F1F0; border-color: #3A393E; }
.sds-brand-chip.active {
    background: #B91C2C;
    border-color: #B91C2C;
    color: #fff;
}

/* Grid catalogo */
.sds-shop-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.sds-guitar-card {
    background: #131215;
    border: 1px solid #232227;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .15s, transform .15s;
}
.sds-guitar-card:hover { border-color: var(--accent, #B91C2C); transform: translateY(-2px); }

.sds-guitar-card-image {
    background: linear-gradient(180deg, #1A191E, #0A0A0C);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.sds-guitar-icon { width: 90px; height: auto; }

.sds-guitar-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }

.sds-guitar-brand {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent, #B91C2C);
}

.sds-guitar-model {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 19px;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.01em;
}

.sds-guitar-desc { color: #8A8790; font-size: 12.5px; line-height: 1.5; margin: 0; }

.sds-guitar-specs {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.sds-guitar-specs li {
    font-size: 11.5px;
    color: #6B6A70;
    padding-left: 12px;
    position: relative;
}
.sds-guitar-specs li::before {
    content: "";
    position: absolute;
    left: 0; top: 6px;
    width: 5px; height: 5px;
    background: var(--accent, #B91C2C);
}

.sds-guitar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.sds-guitar-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 600;
}

.sds-btn-add {
    background: #B91C2C;
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background .15s;
}
.sds-btn-add:hover { background: #931625; }

/* Carrello vuoto / empty states */
.sds-shop-empty {
    max-width: 420px;
    margin: 60px auto;
    text-align: center;
    border: 1px dashed #232227;
    padding: 48px 28px;
    border-radius: 4px;
}
.sds-shop-empty strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.sds-shop-empty p { color: #8A8790; font-size: 13.5px; margin: 0 0 18px; }
.sds-shop-empty--success { border-color: #2E7D32; }
.sds-order-id {
    font-family: 'JetBrains Mono', monospace;
    color: #B91C2C;
    font-weight: 600;
}

/* Carrello */
.sds-cart-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sds-cart-row {
    display: grid;
    grid-template-columns: 56px 1fr auto auto 28px;
    align-items: center;
    gap: 16px;
    background: #131215;
    border: 1px solid #232227;
    border-radius: 3px;
    padding: 12px 16px;
}
.sds-cart-row-icon .sds-guitar-icon { width: 40px; }

.sds-cart-row-price { color: #6B6A70; font-size: 11.5px; }

.sds-cart-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
}
.sds-cart-qty button {
    width: 24px; height: 24px;
    background: #1A191E;
    border: 1px solid #232227;
    color: #F2F1F0;
    border-radius: 2px;
    cursor: pointer;
}

.sds-cart-row-total {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    min-width: 70px;
    text-align: right;
}

.sds-cart-remove {
    background: none;
    border: none;
    color: #6B6A70;
    cursor: pointer;
    font-size: 14px;
}
.sds-cart-remove:hover { color: #B91C2C; }

.sds-cart-summary {
    max-width: 720px;
    margin: 24px auto 0;
    border-top: 1px solid #232227;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}
.sds-cart-summary-row {
    display: flex;
    gap: 12px;
    align-items: baseline;
    font-size: 14px;
    color: #8A8790;
}
.sds-cart-summary-row strong {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #F2F1F0;
}

.sds-btn-checkout {
    background: #B91C2C;
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 12px 22px;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
}
.sds-btn-checkout:hover { background: #931625; }
.sds-btn-checkout:disabled { background: #3A2226; color: #6B6A70; cursor: not-allowed; }

/* Checkout */
.sds-checkout-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
}

.sds-checkout-form { display: flex; flex-direction: column; gap: 14px; }
.sds-checkout-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12.5px;
    color: #8A8790;
}
.sds-checkout-form input {
    background: #131215;
    border: 1px solid #232227;
    border-radius: 2px;
    padding: 10px 12px;
    color: #F2F1F0;
    font-size: 13.5px;
    font-family: 'Inter', sans-serif;
}
.sds-checkout-form input:focus { outline: none; border-color: #B91C2C; }
.sds-checkout-form button { margin-top: 8px; }

.sds-checkout-summary {
    background: #131215;
    border: 1px solid #232227;
    border-radius: 4px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: fit-content;
}
.sds-checkout-line {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: #8A8790;
}
.sds-checkout-total {
    border-top: 1px solid #232227;
    padding-top: 10px;
    margin-top: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    color: #F2F1F0;
    text-transform: uppercase;
}

@media (max-width: 720px) {
    .sds-checkout-grid { grid-template-columns: 1fr; }
    .sds-cart-row { grid-template-columns: 44px 1fr; row-gap: 8px; }
    .sds-cart-qty, .sds-cart-row-total, .sds-cart-remove { grid-column: 2; justify-self: start; }
}
