/* =====================================================
   SHOP.CSS - Estetica coerente con il sito (navy + gold)
   ===================================================== */

:root {
    --navy: #0a192f;
    --navy-light: #112240;
    --gold: #c5a059;
    --gold-light: #e2c275;
    --cream: #f8f5f0;
    --line: #ececec;
    --shadow-sm: 0 2px 8px rgba(10, 25, 47, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 25, 47, 0.10);
    --shadow-lg: 0 20px 60px rgba(10, 25, 47, 0.18);
    --radius: 10px;
}

.shop-body {
    background: var(--cream);
    color: #1a1a1a;
}

.shop-main {
    padding-top: 110px;
    min-height: 70vh;
}

/* ===== NAVBAR shop (override) ===== */
.shop-navbar {
    background: rgba(10, 25, 47, 0.95) !important;
    backdrop-filter: blur(10px);
}
.shop-navbar .nav-links a {
    color: #fff;
}
.shop-navbar .nav-links a.active {
    color: var(--gold);
}
.shop-navbar .nav-links a:hover {
    color: var(--gold-light);
}

/* ===== Cart button ===== */
.cart-toggle {
    position: relative;
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
    margin-left: 1rem;
}
.cart-toggle:hover {
    background: var(--gold);
    color: var(--navy);
}
.cart-toggle i { width: 20px; height: 20px; }

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--gold);
    color: var(--navy);
    font-size: .7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    padding: 0 6px;
    display: none;
    align-items: center;
    justify-content: center;
}
.cart-badge.show { display: inline-flex; }

/* ===== Shop Hero ===== */
.shop-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    padding: 4rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(197,160,89,0.15), transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(197,160,89,0.10), transparent 50%);
    pointer-events: none;
}
.shop-hero > .container { position: relative; z-index: 1; }
.shop-hero-eyebrow {
    color: var(--gold);
    font-size: .85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}
.shop-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 2px;
    margin: 0 0 1rem;
}
.shop-hero-title .gold-text { color: var(--gold); }
.shop-hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 1.5rem;
}
.shop-hero-intro {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
    font-style: italic;
}

/* ===== Shop section ===== */
.shop-section {
    padding: 4rem 0 5rem;
}

.empty-shop {
    text-align: center;
    padding: 4rem 1rem;
    color: #666;
}
.empty-shop i {
    width: 64px; height: 64px;
    color: var(--gold);
    margin-bottom: 1rem;
}
.empty-shop h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    margin-bottom: .5rem;
}

.alert-box {
    background: #fff8e1;
    border: 1px solid #f4d27a;
    color: #7a5b16;
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
}
.alert-box code {
    background: rgba(0,0,0,0.05);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
}

/* ===== Cuadros grid ===== */
.cuadros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.cuadro-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .35s, box-shadow .35s;
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}
.cuadro-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.cuadro-card-img-link { display: block; }
.cuadro-card-img {
    aspect-ratio: 4/5;
    background: #f0eee9;
    overflow: hidden;
    position: relative;
}
.cuadro-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
    display: block;
}
.cuadro-card:hover .cuadro-card-img img { transform: scale(1.04); }

.badge-sold {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--navy);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: .7rem;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.cuadro-card-body {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.cuadro-card-artist {
    color: var(--gold);
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: .5rem;
    font-weight: 600;
}
.cuadro-card-title {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 1.25rem;
    margin: 0 0 .35rem;
    line-height: 1.3;
}
.cuadro-card-title a {
    color: inherit;
    text-decoration: none;
}
.cuadro-card-title a:hover { color: var(--gold); }
.cuadro-card-meta {
    color: #888;
    font-size: .85rem;
    margin-bottom: 1rem;
    flex: 1;
}
.cuadro-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: auto;
}
.cuadro-card-price {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 1.4rem;
    font-weight: 700;
}
.btn-icon-cart {
    background: var(--navy);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
}
.btn-icon-cart:hover {
    background: var(--gold);
    transform: scale(1.08);
}
.btn-icon-cart i { width: 18px; height: 18px; }

/* ===== Cuadro detail ===== */
.cuadro-detail {
    padding: 3rem 0 5rem;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color .25s;
}
.back-link:hover { color: var(--gold); }
.back-link i { width: 18px; height: 18px; }

.cuadro-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.cuadro-detail-main {
    aspect-ratio: 4/5;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cuadro-detail-main img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.cuadro-detail-thumbs {
    display: flex;
    gap: .75rem;
    margin-top: 1rem;
}
.thumb-btn {
    width: 80px; height: 80px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    background: #fff;
    transition: border-color .25s;
}
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.thumb-btn:hover { border-color: var(--gold); }

.cuadro-detail-info {
    padding-top: 1rem;
}
.cuadro-artist {
    color: var(--gold);
    font-size: .85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}
.cuadro-title {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.15;
    margin: 0 0 1.5rem;
}
.cuadro-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: #555;
    font-size: .9rem;
    margin-bottom: 1.5rem;
}
.cuadro-meta span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.cuadro-meta i {
    width: 16px; height: 16px;
    color: var(--gold);
}
.cuadro-price {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
}
.cuadro-description {
    color: #444;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.02rem;
}
.cuadro-stock {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.cuadro-stock i { width: 18px; height: 18px; }
.cuadro-stock.in-stock { color: #2e7d32; }
.cuadro-stock.out-of-stock { color: #b00020; }

.solidarity-note {
    background: linear-gradient(135deg, rgba(197,160,89,0.10) 0%, rgba(197,160,89,0.04) 100%);
    border-left: 3px solid var(--gold);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-top: 2rem;
    display: flex;
    gap: .75rem;
    align-items: start;
}
.solidarity-note i {
    color: var(--gold);
    width: 22px; height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}
.solidarity-note p {
    color: #555;
    font-size: .92rem;
    margin: 0;
    line-height: 1.5;
}

/* ===== Buttons ===== */
.btn-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .75rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s;
    text-align: center;
}
.btn-shop i { width: 18px; height: 18px; }
.btn-shop-primary {
    background: var(--gold);
    color: var(--navy);
}
.btn-shop-primary:hover:not(:disabled) {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197,160,89,0.35);
}
.btn-shop-secondary {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}
.btn-shop-secondary:hover {
    background: var(--navy);
    color: #fff;
}
.btn-shop-disabled,
.btn-shop:disabled {
    background: #ccc !important;
    color: #888 !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}
.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}
.btn-block { width: 100%; }

/* ===== Cart drawer ===== */
.cart-overlay {
    position: fixed; inset: 0;
    background: rgba(10,25,47,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s;
    z-index: 2000;
}
.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.cart-drawer {
    position: fixed;
    top: 0; right: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: #fff;
    z-index: 2001;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--line);
}
.cart-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    margin: 0;
    font-size: 1.5rem;
}
.cart-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    padding: .5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.cart-close:hover { background: #f0f0f0; color: var(--navy); }
.cart-close i { width: 22px; height: 22px; }

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}
.cart-loading,
.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #888;
}
.cart-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #888;
}
.cart-empty-state i {
    width: 56px; height: 56px;
    color: var(--gold);
    margin-bottom: 1rem;
}
.cart-empty-state p { margin-bottom: 1.5rem; }

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.cart-item-img {
    aspect-ratio: 1;
    background: #f5f3ee;
    border-radius: 6px;
    overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info h4 {
    font-family: 'Playfair Display', serif;
    margin: 0 0 .25rem;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.3;
}
.cart-item-meta {
    color: #888;
    font-size: .8rem;
    margin-bottom: .5rem;
}
.cart-item-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .5rem;
}
.cart-item-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #aaa;
    padding: .25rem;
    transition: color .2s;
}
.cart-item-remove:hover { color: #b00020; }
.cart-item-remove i { width: 18px; height: 18px; }

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: #fafafa;
}
.qty-btn {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--navy);
    transition: background .2s;
}
.qty-btn:hover { background: #eee; }
.qty-value {
    width: 28px;
    text-align: center;
    font-weight: 600;
    font-size: .85rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--line);
    background: #fafafa;
}
.cart-totals {
    margin-bottom: 1rem;
}
.totals-row {
    display: flex;
    justify-content: space-between;
    padding: .35rem 0;
    color: #555;
    font-size: .95rem;
}
.totals-total {
    border-top: 1px solid var(--line);
    margin-top: .5rem;
    padding-top: .75rem;
    color: var(--navy);
    font-weight: 700;
    font-size: 1.15rem;
    font-family: 'Playfair Display', serif;
}
.free-ship-note {
    background: rgba(197,160,89,0.10);
    color: #8c6d2a;
    padding: .5rem .75rem;
    border-radius: 6px;
    font-size: .8rem;
    text-align: center;
    margin: .5rem 0;
}
.cart-secure {
    margin-top: 1rem;
    color: #888;
    font-size: .8rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
}
.cart-secure i { width: 14px; height: 14px; color: #2e7d32; }

/* ===== Checkout modal ===== */
.checkout-modal {
    position: fixed; inset: 0;
    background: rgba(10,25,47,0.65);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}
.checkout-modal.open {
    display: flex;
}
.checkout-modal-inner {
    background: #fff;
    width: 100%;
    max-width: 1100px;
    max-height: 92vh;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}
.checkout-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--line);
    background: var(--navy);
    color: #fff;
}
.checkout-modal-header h2 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin: 0;
    font-size: 1.4rem;
}
.checkout-modal-header .cart-close { color: rgba(255,255,255,0.7); }
.checkout-modal-header .cart-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

.checkout-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}
.checkout-form {
    padding: 2rem;
    overflow-y: auto;
}
.checkout-summary {
    padding: 2rem;
    background: #fafafa;
    border-left: 1px solid var(--line);
    overflow-y: auto;
}
.checkout-summary h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    margin: 0 0 1rem;
    font-size: 1.2rem;
}
.summary-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
}
.summary-item img {
    width: 60px; height: 60px;
    object-fit: cover;
    border-radius: 6px;
}
.summary-item-title {
    font-size: .9rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 .15rem;
    line-height: 1.3;
}
.summary-item-meta { color: #888; font-size: .75rem; margin: 0; }
.summary-item-price { font-weight: 600; color: var(--navy); font-size: .95rem; }

.checkout-section-title {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    margin: 1.5rem 0 1rem;
    font-size: 1.15rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--line);
}
.checkout-section-title:first-child { margin-top: 0; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: .35rem;
    color: var(--navy);
    font-weight: 500;
    font-size: .85rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: .7rem .85rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: .95rem;
    transition: border-color .2s;
    background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197,160,89,0.15);
}

#payment-element {
    margin-bottom: 1rem;
    min-height: 60px;
}
.pm-placeholder {
    padding: 1rem;
    background: #fafafa;
    border: 1px dashed #ccc;
    border-radius: 6px;
    color: #888;
    font-size: .9rem;
    text-align: center;
}
.payment-message {
    padding: .75rem 1rem;
    border-radius: 6px;
    font-size: .9rem;
    margin-bottom: 1rem;
}
.payment-message.error {
    background: #ffebee;
    color: #b00020;
    border: 1px solid #f5c2c7;
}
.payment-message.info {
    background: #e3f2fd;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ===== Success modal ===== */
.success-modal {
    position: fixed; inset: 0;
    background: rgba(10,25,47,0.7);
    z-index: 3500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.success-modal.open { display: flex; }
.success-modal-inner {
    background: #fff;
    max-width: 480px;
    width: 100%;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.success-icon {
    width: 80px; height: 80px;
    margin: 0 auto 1.5rem;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.success-icon i {
    width: 48px; height: 48px;
    color: #2e7d32;
}
.success-modal h2 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    margin: 0 0 .75rem;
    font-size: 1.75rem;
}
.success-modal p { color: #555; margin: .35rem 0; }
.success-order-number {
    background: var(--cream);
    color: var(--navy);
    padding: .6rem 1rem;
    border-radius: 6px;
    margin: 1rem 0 !important;
    font-family: monospace;
    font-weight: 600;
}
.success-message {
    font-style: italic;
    color: var(--gold) !important;
    margin: 1rem 0 1.5rem !important;
}
.success-modal .btn-shop {
    margin: .5rem .35rem 0;
}

/* ===== Toast ===== */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    pointer-events: none;
}
.toast {
    padding: .85rem 1.25rem;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    font-size: .9rem;
    box-shadow: var(--shadow-md);
    transform: translateX(120%);
    transition: transform .35s, opacity .35s;
    pointer-events: auto;
    min-width: 200px;
    max-width: 320px;
}
.toast.show { transform: translateX(0); }
.toast-success { background: #2e7d32; }
.toast-error { background: #c62828; }
.toast-info { background: var(--navy); }

/* ===== Footer ===== */
.shop-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 4rem;
    font-size: .85rem;
}
.shop-footer a { color: var(--gold); text-decoration: none; }
.shop-footer a:hover { color: var(--gold-light); }
.shop-footer p { margin: .35rem 0; }

/* ===== Sezione PROGETTI sulla home ===== */
.progetti-section {
    background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
    padding: 6rem 0;
}
.progetti-section .section-title {
    text-align: center;
    color: var(--navy);
}
.progetti-section .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}
.progetti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.progetto-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .35s, box-shadow .35s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}
.progetto-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.progetto-img {
    aspect-ratio: 16/10;
    background: #f0eee9;
    overflow: hidden;
}
.progetto-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s;
}
.progetto-card:hover .progetto-img img { transform: scale(1.05); }
.progetto-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.progetto-title {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 1.5rem;
    margin: 0 0 .75rem;
    line-height: 1.25;
}
.progetto-description {
    color: #555;
    line-height: 1.7;
    font-size: .95rem;
    flex: 1;
    margin: 0 0 1.5rem;
}
.progetto-cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--gold);
    color: var(--navy);
    padding: .65rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .25s;
}
.progetto-cta:hover {
    background: var(--navy);
    color: var(--gold);
    transform: translateX(4px);
}
.progetto-cta i { width: 16px; height: 16px; }

.progetti-cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    padding: 3rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.progetti-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(197,160,89,0.20), transparent 60%);
}
.progetti-cta-banner > * { position: relative; z-index: 1; }
.progetti-cta-banner h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin: 0 0 1rem;
}
.progetti-cta-banner p {
    max-width: 600px;
    margin: 0 auto 1.75rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}
.progetti-cta-banner .btn-shop-primary {
    background: var(--gold);
    color: var(--navy);
}
.progetti-cta-banner .btn-shop-primary:hover {
    background: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .cuadro-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .checkout-summary {
        border-left: none;
        border-top: 1px solid var(--line);
    }
}
@media (max-width: 600px) {
    .cuadros-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
    .cuadro-card-body {
        padding: 1rem .75rem 1.25rem;
    }
    .cuadro-card-title { font-size: 1rem; }
    .cuadro-card-price { font-size: 1.1rem; }
    .btn-icon-cart { width: 36px; height: 36px; }
    .form-row { grid-template-columns: 1fr; }
    .checkout-form, .checkout-summary { padding: 1.25rem; }
    .shop-hero { padding: 2.5rem 0 3.5rem; }
    .shop-section { padding: 2.5rem 0 3.5rem; }
    .toast-container { right: 1rem; left: 1rem; bottom: 1rem; }
    .toast { max-width: 100%; }
    .cart-drawer { max-width: 100%; }
    .progetti-section { padding: 4rem 0; }
    .progetti-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   METODI DI PAGAMENTO (Stripe / Bonifico)
   ===================================================== */
.payment-methods-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.25rem;
}
.pm-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e3e3e3;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.pm-option:hover {
    border-color: #c5a059;
}
.pm-option input[type="radio"] {
    margin-top: 3px;
    accent-color: #c5a059;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.pm-option:has(input:checked) {
    border-color: #c5a059;
    background: #fdfaf3;
}
.pm-option-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pm-option-title {
    font-weight: 600;
    color: #0a192f;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}
.pm-option-title i {
    width: 17px;
    height: 17px;
    color: #c5a059;
}
.pm-option-desc {
    font-size: 12.5px;
    color: #777;
}

/* ----- Blocco dati bonifico ----- */
.bonifico-box {
    background: #f8f5f0;
    border: 1px solid #e8ddc6;
    border-radius: 8px;
    padding: 16px 18px;
}
.bonifico-box-title {
    margin: 0 0 12px;
    font-weight: 700;
    color: #0a192f;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}
.bonifico-box-title i {
    width: 17px;
    height: 17px;
    color: #c5a059;
}
.bonifico-data {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bonifico-data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8ddc6;
}
.bonifico-data-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.bonifico-data dt {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #8a7a55;
    font-weight: 600;
    flex-shrink: 0;
}
.bonifico-data dd {
    margin: 0;
    font-size: 14px;
    color: #0a192f;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}
#bd-iban {
    font-family: 'Courier New', monospace;
    letter-spacing: .5px;
}
.bd-copy {
    background: #c5a059;
    color: #fff;
    border: none;
    border-radius: 5px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s;
}
.bd-copy:hover { background: #b08e47; }
.bd-copy i { width: 14px; height: 14px; }
.bonifico-instructions {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #6b5d3e;
    background: #fff;
    border-left: 3px solid #c5a059;
    padding: 10px 12px;
    border-radius: 0 6px 6px 0;
}
.bonifico-hint {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 12.5px;
    color: #777;
    margin: 8px 0 0;
    line-height: 1.5;
}
.bonifico-hint i {
    width: 15px;
    height: 15px;
    color: #c5a059;
    flex-shrink: 0;
    margin-top: 1px;
}
#co-receipt {
    width: 100%;
    padding: 10px;
    border: 1px dashed #c5a059;
    border-radius: 6px;
    background: #fdfaf3;
    font-size: 13px;
    cursor: pointer;
}

/* Icona success "in attesa" (bonifico) */
.success-icon-pending {
    color: #f59e0b !important;
}
.success-icon-pending i {
    color: #f59e0b !important;
}
