/* Wine Collection Section Styles */
.wine-collection-section {
    margin-top: 60px;
    padding: 0;
}

.wine-collection-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.collection-title h2 {
    font-family: 'Visuelt Pro', sans-serif;
    font-weight: 400;
    font-size: 44px;
    color: #000;
    margin: 0;
    text-align: left;
    line-height: 1.2;
}

.collection-nav {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.collection-nav-btn {
    width: 48px;
    height: 48px;
    border: 1px solid #E5E5E5;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #000;
}

.collection-nav-btn:hover {
    background: #f5f5f5;
    border-color: #C80D22;
    color: #C80D22;
}

.collection-nav-btn svg {
    width: 24px;
    height: 24px;
}

.collection-subtitle {
    margin-bottom: 40px;
}

.collection-subtitle p {
    font-family: 'Visuelt Pro', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #7F7F7F;
    line-height: 1.5;
    margin: 0;
    max-width: 1313px;
}

.collection-subtitle p strong {
    color: #000;
    font-weight: 500;
}

.collection-carousel {
    position: relative;
    overflow: hidden;
}

.collection-cards {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.collection-cards::-webkit-scrollbar {
    display: none;
}

.collection-cards.show-gradient::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.95) 100%);
    pointer-events: none;
    z-index: 10;
}

.collection-card-wrapper {
    flex: 0 0 319px;
    display: flex;
    flex-direction: column;
}

.collection-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.point-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: #C80D22;
    border-radius: 50%;
}

.reserve-year {
    font-family: 'Visuelt Pro', sans-serif;
    font-weight: 500;
    font-size: 32px;
    color: #000;
    line-height: 1.2;
}

.collection-card {
    flex: 1;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.collection-card.card-disabled {
    opacity: 0.7;
}

.collection-card-image {
    width: 100%;
    aspect-ratio: 171/253;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-card .wine-item-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.collection-card .wine-item-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180%;
    height: 150%;
    background: var(--wine-stain, transparent);
    border-radius: 50% 45% 55% 40% / 50% 55% 45% 50%;
    filter: blur(18px);
    z-index: 0;
    pointer-events: none;
}

.collection-card .wine-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: relative;
    z-index: 1;
}

.collection-card-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 8px;
}

.collection-card-price .price-old {
    font-family: 'Visuelt Pro', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.collection-card-price .price-current {
    font-family: 'Visuelt Pro', sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: #000;
}

.collection-card-stock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: #F4F4F4;
    border-radius: 8px;
}

.collection-card-stock span {
    font-family: 'Visuelt Pro', sans-serif;
    font-weight: bold;
    font-size: 14px;
    color: #000;
    letter-spacing: -0.32px;
}

.collection-card-stock svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.collection-card-stock.stock-available svg {
    color: #28A745;
}

.collection-card-stock.stock-low svg {
    color: #D4A024;
}

.collection-card-stock.stock-out svg {
    color: #DC3545;
}

.collection-card-quantity {
    margin-bottom: 0;
}

.collection-qty-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    overflow: hidden;
    height: 48px;
}

.collection-qty-controls.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.collection-qty-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: #fff;
    cursor: pointer;
    color: #333;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.collection-qty-btn svg {
    width: 18px;
    height: 18px;
}

.collection-qty-btn:hover:not(:disabled) {
    background: #F5F5F5;
}

.collection-qty-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.collection-qty-input {
    flex: 1;
    height: 48px;
    border: none !important;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Visuelt Pro', sans-serif;
    color: #000;
    background: #fff;
}

.collection-qty-input::-webkit-outer-spin-button,
.collection-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.collection-qty-input:disabled {
    background: #f5f5f5;
    color: #999;
}

.card-add-btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 30px;
    font-family: 'Visuelt Pro', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.k-button.primary {
    background: #C80D22;
    color: #fff;
}

.k-button.primary:hover {
    background: #a00b1a;
}

.k-button.primary:disabled {
    background: #E5E5E5;
    color: #999;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .collection-card-wrapper {
        flex: 0 0 280px;
    }

    .reserve-year {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .wine-collection-section {
        padding: 0 15px;
    }

    .wine-collection-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .collection-title h2 {
        font-size: 28px;
    }

    .collection-nav {
        align-self: flex-end;
        position: absolute;
        right: 15px;
        top: 0;
    }

    .wine-collection-header {
        position: relative;
    }

    .collection-nav-btn {
        width: 40px;
        height: 40px;
    }

    .collection-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .collection-subtitle p {
        font-size: 14px;
    }

    .collection-cards {
        gap: 12px;
    }

    .collection-card-wrapper {
        flex: 0 0 260px;
    }

    .collection-card {
        padding: 14px;
    }

    .reserve-year {
        font-size: 22px;
    }

    .collection-card-price .price-current {
        font-size: 24px;
    }

    .collection-card-price .price-old {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .collection-card-wrapper {
        flex: 0 0 220px;
    }

    .collection-card {
        padding: 12px;
        gap: 10px;
    }

    .reserve-year {
        font-size: 18px;
    }

    .point-icon {
        width: 12px;
        height: 12px;
    }

    .collection-card-price .price-current {
        font-size: 20px;
    }

    .card-add-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .collection-qty-controls {
        height: 42px;
    }

    .collection-qty-btn {
        width: 42px;
        height: 42px;
    }

    .collection-qty-input {
        height: 42px;
        font-size: 16px;
    }
}