/**
 * Wine Club Gifts Styles - Josetta Saffirio Design System
 * 
 * Stili per la pagina delle idee regalo del Wine Club
 * Design Apple-style minimalistico e touch-friendly
 * Version: 1.0.0
 */

/* CSS Variables - Coerenti con il design system */
:root {
    --primary-beige: #EAE5D9;
    --accent-gold: #A39067;
    --text-dark: #333333;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --border-light: #E5E7EB;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-elegant: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Wine Club Gifts Section */
.wine-club-gifts {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.wine-club-gifts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(234, 229, 217, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
    z-index: 0;
}

.gifts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Gift Item */
.gift-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-elegant);
    transition: var(--transition);
    border: 1px solid rgba(163, 144, 103, 0.1);
}

.gift-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.gift-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.gift-item:nth-child(even) .gift-image {
    order: 2;
}

.gift-item:nth-child(even) .gift-content {
    order: 1;
}

/* Gift Image */
.gift-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Barolo Gift Image - Stesso stile del carosello */
.barolo-gift .gift-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.barolo-gift .gift-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-elegant);
}

.gift-preview {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Bottle Styles */
.bottle-magnum {
    width: 80px;
    height: 200px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    border-radius: 40px 40px 8px 8px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.bottle-magnum:hover {
    transform: perspective(1000px) rotateY(-5deg) scale(1.05);
}

.bottle-standard {
    width: 60px;
    height: 150px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    border-radius: 30px 30px 6px 6px;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.bottle-standard:hover {
    transform: perspective(1000px) rotateY(-5deg) scale(1.05);
}

/* Bottle Label */
.bottle-label {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 50%;
    background: var(--white);
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.label-content {
    text-align: center;
    padding: 0.5rem;
    width: 100%;
}

.wine-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.wine-year {
    font-size: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.wine-origin {
    font-size: 0.45rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0.3rem;
}

.custom-text {
    font-size: 0.4rem;
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 500;
    min-height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-text em {
    font-style: italic;
    color: var(--accent-gold);
}

/* Wooden Box */
.wooden-box {
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
}

.wooden-box:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.wooden-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        rgba(255, 255, 255, 0.1) 1px,
        transparent 2px
    );
    border-radius: 8px;
}

.box-text {
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Gift Content */
.gift-content {
    padding: 1rem 0;
}

.gift-header {
    margin-bottom: 2rem;
}

.gift-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.gift-subtitle {
    font-size: 1.2rem;
    color: var(--accent-gold);
    font-style: italic;
    font-weight: 400;
    margin: 0;
}

.gift-description {
    margin-bottom: 2rem;
}

.gift-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 300;
}

.gift-description p:last-child {
    margin-bottom: 0;
}

/* Gift Pricing */
.gift-pricing {
    background: rgba(163, 144, 103, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(163, 144, 103, 0.1);
}

.price-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(163, 144, 103, 0.1);
}

.price-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.price-label {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-details {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    padding-top: 0.25rem;
}

.price-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
    min-width: 70px;
    text-align: right;
    font-family: 'Playfair Display', serif;
}

/* Gift Actions */
.gift-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.gift-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.gift-btn.primary {
    background: var(--accent-gold);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(163, 144, 103, 0.3);
}

.gift-btn.primary:hover {
    background: #8B7A5A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(163, 144, 103, 0.4);
}

.gift-btn.secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.gift-btn.secondary:hover {
    background: var(--accent-gold);
    color: var(--white);
    transform: translateY(-2px);
}

/* Guest Message */
.wine-club-gifts-guest {
    padding: 6rem 0;
    background: var(--white);
    text-align: center;
}

.guest-message {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(163, 144, 103, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(163, 144, 103, 0.1);
}

.guest-message h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.guest-message p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.guest-actions {
    display: flex;
    justify-content: center;
}

/* Customization Modal */
.customization-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-elegant);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(163, 144, 103, 0.1);
    color: var(--accent-gold);
}

/* Customization Form */
.customization-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    transition: var(--transition);
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(163, 144, 103, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.btn-primary,
.btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--white);
}

.btn-primary:hover {
    background: #8B7A5A;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--border-light);
    color: var(--text-dark);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    border: 1px solid;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #bbf7d0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .gift-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .gift-item:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .gift-item:nth-child(even) .gift-image {
        order: 1;
    }
    
    .gift-item:nth-child(even) .gift-content {
        order: 2;
    }
    
    .gift-header h2 {
        font-size: 2rem;
    }
    
    .gift-actions {
        flex-direction: column;
    }
    
    .gift-btn {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .wine-club-gifts {
        padding: 4rem 0;
    }
    
    .gifts-container {
        padding: 0 1rem;
    }
    
    .gift-item {
        padding: 1.5rem;
        margin-bottom: 4rem;
    }
    
    .gift-header h2 {
        font-size: 1.8rem;
    }
    
    .gift-subtitle {
        font-size: 1rem;
    }
    
    .gift-description p {
        font-size: 0.95rem;
    }
    
    .price-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .price-amount {
        text-align: left;
        font-size: 1rem;
    }
    
    .price-details {
        font-size: 0.85rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .customization-form {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* Custom Gift Display Styles */
.custom-gift-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    perspective: 1000px;
}

.gift-boxes {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    transform: rotateY(-10deg);
    transition: var(--transition);
}

.gift-boxes:hover {
    transform: rotateY(0deg) scale(1.05);
}

.gift-box {
    position: relative;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.gift-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.gift-box.cardboard {
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    border: 2px solid #654321;
}

.gift-box.wooden {
    width: 100px;
    height: 80px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    border: 2px solid #654321;
}

.gift-box.wooden-small {
    width: 60px;
    height: 50px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
    border: 2px solid #654321;
}

.gift-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        rgba(255, 255, 255, 0.1) 1px,
        transparent 2px
    );
    border-radius: 6px;
}

.box-label {
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
}

.handwritten-note {
    background: #fef7e0;
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: rotate(-2deg);
    transition: var(--transition);
}

.handwritten-note:hover {
    transform: rotate(0deg) scale(1.05);
}

.handwritten-note::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #d4af37, #f4e4bc, #d4af37);
    border-radius: 12px;
    z-index: -1;
}

.note-text {
    font-family: 'Brush Script MT', cursive;
    font-size: 0.9rem;
    color: #8B4513;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

/* Custom Gift Details */
.custom-gift-details {
    background: rgba(163, 144, 103, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(163, 144, 103, 0.1);
}

.custom-gift-details h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(163, 144, 103, 0.2);
    padding-bottom: 0.5rem;
}

.packaging-list,
.compositions-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.packaging-list li,
.compositions-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.packaging-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23A39067'%3E%3Cpath d='M12 2L2 7v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7l-10-5zM4 8.5V7l8-4 8 4v1.5L12 4 4 8.5zM20 19H4v-8h16v8z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.compositions-list li::before {
    display: none;
}

.compositions-list {
    margin-bottom: 0;
}

.compositions-list li {
    padding-left: 0;
}

/* Checkout Modal Styles */
.checkout-modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.checkout-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.checkout-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 0.5rem;
}

.order-summary {
    background: var(--white);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-gold);
    border-top: 2px solid var(--accent-gold);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.summary-label {
    color: var(--text-dark);
}

.summary-value {
    color: var(--accent-gold);
    font-weight: 600;
}

.btn-loading {
    display: none;
}

@media (max-width: 576px) {
    .gift-item {
        padding: 1rem;
    }
    
    .gift-header h2 {
        font-size: 1.6rem;
    }
    
    .bottle-magnum {
        width: 60px;
        height: 150px;
    }
    
    .bottle-standard {
        width: 45px;
        height: 120px;
    }
    
    .wooden-box {
        width: 100px;
        height: 60px;
    }
    
    .wine-name {
        font-size: 0.6rem;
    }
    
    .wine-year,
    .wine-origin {
        font-size: 0.4rem;
    }
    
    .custom-text {
        font-size: 0.35rem;
    }
    
    .box-text {
        font-size: 0.5rem;
    }
    
    .checkout-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .checkout-sections {
        gap: 1.5rem;
    }
    
    .checkout-section {
        padding: 1rem;
    }
    
    .custom-gift-display {
        gap: 1.5rem;
    }
    
    .gift-boxes {
        gap: 0.5rem;
        transform: rotateY(-5deg);
    }
    
    .gift-box.cardboard {
        width: 60px;
        height: 45px;
    }
    
    .gift-box.wooden {
        width: 80px;
        height: 60px;
    }
    
    .gift-box.wooden-small {
        width: 45px;
        height: 35px;
    }
    
    .box-label {
        font-size: 0.5rem;
    }
    
    .handwritten-note {
        padding: 0.8rem;
    }
    
    .note-text {
        font-size: 0.8rem;
    }
    
    .custom-gift-details {
        padding: 1rem;
    }
    
    .custom-gift-details h4 {
        font-size: 1rem;
    }
    
    .packaging-list li {
        font-size: 0.8rem;
        padding-left: 1.8rem;
    }
    
    .compositions-list li {
        font-size: 0.8rem;
        padding-left: 0;
    }
}

/* Magnum Carousel Styles */
.magnum-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.indicator.active {
    background-color: var(--accent-gold);
    border-color: var(--white);
    transform: scale(1.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .magnum-carousel {
        max-width: 100%;
    }
    
    .carousel-container {
        height: 400px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* Custom Gift Carousel Styles */
.custom-gift-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
}

.custom-gift-carousel .carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

/* Contact Info Styles */
.contact-info {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-beige) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-message {
    text-align: center;
}

.contact-message p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.email-container {
    display: flex;
    gap: 0.5rem;
    max-width: 300px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(163, 144, 103, 0.1);
}

.copy-btn {
    padding: 0.75rem 1.5rem;
    background: var(--accent-gold);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.copy-btn:hover {
    background: #8B7A4F;
    transform: translateY(-1px);
}

.copy-btn:active {
    transform: translateY(0);
}

/* Responsive Contact Info */
@media (max-width: 768px) {
    .custom-gift-carousel {
        max-width: 100%;
    }
    
    .custom-gift-carousel .carousel-container {
        height: 400px;
    }
    
    .barolo-gift .gift-image {
        max-width: 100%;
    }
    
    .barolo-gift .gift-image img {
        height: 400px;
    }
    
    .email-container {
        flex-direction: column;
        max-width: 100%;
    }
    
    .copy-btn {
        width: 100%;
    }
}

/* Gifts Hero Background - Specifica per questa pagina */
section.hero.gifts-hero-bg {
    background-image: url('../images/hero-regali.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

section.hero.gifts-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

section.hero.gifts-hero-bg::after {
    display: none !important;
}

section.hero.gifts-hero-bg .hero-content {
    position: relative;
    z-index: 2;
}

section.hero.gifts-hero-bg .hero-title h1 {
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: calc(4rem - 2px) !important;
}

section.hero.gifts-hero-bg .hero-description p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Events Hero Background - Specifica per la pagina eventi */
section.hero.events-hero-bg {
    background-image: url('../images/hero_esperieze_wine_club.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

section.hero.events-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

section.hero.events-hero-bg::after {
    display: none !important;
}

section.hero.events-hero-bg .hero-content {
    position: relative;
    z-index: 2;
}

section.hero.events-hero-bg .hero-title h1 {
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: calc(4rem - 2px) !important;
}

section.hero.events-hero-bg .hero-description p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Read More Button Styles */
.read-more-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
}

.read-more-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.read-more-arrow {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.description-extended {
    margin-top: 1rem;
}

.description-extended p {
    margin-bottom: 0.8rem;
}

.description-extended p:last-child {
    margin-bottom: 0;
}

