/**
 * Wishlist CSS Styles
 *
 * Stili per funzionalità wishlist/lista desideri
 *
 * @package Fedemodel
 * @version 1.0
 * @date 2025-10-09
 */

/* ============================================
   ICONA WISHLIST TOGGLE (Cuore) - Modern Design
   ============================================ */

.wishlist-toggle-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    padding: 10px 12px;
    font-size: 18px;
    color: #6c757d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.wishlist-toggle-btn:hover {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-color: #ff6b6b;
    color: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.25);
}

.wishlist-toggle-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Stato attivo (prodotto in wishlist) */
.wishlist-toggle-btn.active,
.wishlist-toggle-btn.in-wishlist {
    background: linear-gradient(135deg, #ff6b6b 0%, #e74c3c 100%);
    border-color: #e74c3c;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.wishlist-toggle-btn.active:hover,
.wishlist-toggle-btn.in-wishlist:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

.wishlist-toggle-btn.active svg,
.wishlist-toggle-btn.in-wishlist svg {
    animation: heartBeat 0.6s ease;
}

/* Stato loading */
.wishlist-toggle-btn.loading {
    pointer-events: none;
    opacity: 0.6;
}

.wishlist-toggle-btn.loading svg {
    animation: spin 1s linear infinite;
}

/* Animazione pulse al click */
.wishlist-toggle-btn.pulse-animation {
    animation: pulse 0.6s ease;
}

/* SVG icon styling */
.wishlist-toggle-btn svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.wishlist-toggle-btn:hover svg {
    filter: drop-shadow(0 2px 4px rgba(231, 76, 60, 0.3));
}

/* Animazioni */
@keyframes pulse {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.1) translateY(-2px); }
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1.05); }
    75% { transform: scale(1.15); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Icona su card prodotti (top-right) */
.wishlist-toggle-card {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ============================================
   HEADER WISHLIST LINK
   ============================================ */

.wishlist-header-link {
    position: relative;
    display: inline-block;
    margin-left: 15px;
    font-size: 20px;
    color: #333;
    transition: color 0.3s ease;
}

.wishlist-header-link:hover {
    color: #e74c3c;
}

.wishlist-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.4);
}

.wishlist-count-badge.bounce-animation {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.4); }
}

/* ============================================
   PAGINA WISHLIST
   ============================================ */

/* Fix Layout - Forza larghezza corretta */
.wishlist-area {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.wishlist-area .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.wishlist-page-header {
    text-align: center;
    padding: 40px 0 20px;
}

.wishlist-page-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.wishlist-page-header p {
    font-size: 16px;
    color: #7f8c8d;
}

/*
 * NOTA: Gli stili delle card prodotto sono ora gestiti da product-card.css
 * che viene caricato globalmente tramite product-card-renderer.php
 */

/* ============================================
   CARD PRODOTTO - DIMENSIONI INGRANDITE WISHLIST (+33%)
   ============================================ */

/* Card più grandi nella wishlist - Aumentate di 1/3 rispetto alle dimensioni ridotte originali */
.wishlist-area .product-card-content {
    padding: 14px !important; /* Aumentato da 10px → 14px (+40%) */
}

.wishlist-area .product-card-title {
    font-size: 15px !important; /* Aumentato da 12px → 15px (+25%) */
    min-height: 42px !important; /* Aumentato da 32px → 42px (+31%) */
    margin-bottom: 8px !important; /* Aumentato da 6px → 8px */
}

.wishlist-area .product-meta-inline {
    font-size: 11px !important; /* Aumentato da 9px → 11px (+22%) */
    margin-bottom: 10px !important; /* Aumentato da 8px → 10px */
}

.wishlist-area .product-meta-inline svg {
    width: 14px !important; /* Aumentato da 11px → 14px (+27%) */
    height: 14px !important;
}

.wishlist-area .product-card-price-wrapper {
    min-height: 66px !important; /* Aumentato da 50px → 66px (+32%) */
    gap: 4px !important; /* Aumentato da 3px → 4px */
}

.wishlist-area .product-card-price {
    font-size: 24px !important; /* Aumentato da 18px → 24px (+33%) */
}

.wishlist-area .product-card-price-original {
    font-size: 17px !important; /* Aumentato da 13px → 17px (+31%) */
}

.wishlist-area .product-card-price-discount {
    font-size: 24px !important; /* Aumentato da 18px → 24px (+33%) */
}

.wishlist-area .product-card-discount-badge {
    font-size: 14px !important; /* Aumentato da 11px → 14px (+27%) */
    padding: 5px 10px !important; /* Aumentato da 4px 8px → 5px 10px */
}

.wishlist-area .product-save-amount {
    font-size: 12px !important; /* Aumentato da 9px → 12px (+33%) */
    padding: 3px 8px !important; /* Aumentato da 2px 6px → 3px 8px */
}

.wishlist-area .preorder-date-highlight {
    font-size: 13px !important; /* Aumentato da 10px → 13px (+30%) */
    padding: 8px 12px !important; /* Ritornato alle dimensioni standard */
}

.wishlist-area .preorder-date-highlight svg {
    width: 17px !important; /* Aumentato da 13px → 17px (+31%) */
    height: 17px !important;
}

.wishlist-area .product-card-actions {
    margin-top: 14px !important; /* Aumentato da 10px → 14px */
    padding-top: 14px !important; /* Aumentato da 10px → 14px */
}

.wishlist-area .btn-add-to-cart {
    padding: 11px 18px !important; /* Aumentato da 8px 14px → 11px 18px (+~33%) */
    font-size: 14px !important; /* Aumentato da 11px → 14px (+27%) */
    border-radius: 7px !important; /* Aumentato da 6px → 7px */
}

.wishlist-area .btn-add-to-cart svg {
    width: 17px !important; /* Aumentato da 13px → 17px (+31%) */
    height: 17px !important;
}

.wishlist-area .btn-wishlist {
    width: 45px !important; /* Aumentato da 34px → 45px (+32%) */
    height: 45px !important;
    min-width: 45px !important;
}

.wishlist-area .btn-wishlist::before {
    width: 26px !important; /* Aumentato da 20px → 26px (+30%) */
    height: 26px !important;
}

/* Badge sulla card */
.wishlist-area .badge-primary,
.wishlist-area .badge-status {
    font-size: 12px !important; /* Aumentato da 9px → 12px (+33%) */
    padding: 4px 10px !important; /* Aumentato da 3px 8px → 4px 10px */
}

.wishlist-area .discount-ribbon {
    width: 106px !important; /* Aumentato da 80px → 106px (+32%) */
    height: 106px !important;
}

.wishlist-area .discount-ribbon-content {
    top: 21px !important; /* Aumentato da 16px → 21px (+31%) */
    right: -32px !important; /* Aumentato da -24px → -32px */
    width: 160px !important; /* Aumentato da 120px → 160px (+33%) */
    padding: 10px 0 !important; /* Aumentato da 8px 0 → 10px 0 */
}

.wishlist-area .discount-percentage {
    font-size: 20px !important; /* Aumentato da 15px → 20px (+33%) */
}

.wishlist-area .discount-label {
    font-size: 10px !important; /* Aumentato da 8px → 10px (+25%) */
}

/* Hover overlay */
.wishlist-area .btn-view-details {
    padding: 13px 26px !important; /* Aumentato da 10px 20px → 13px 26px (+30%) */
    font-size: 15px !important; /* Aumentato da 12px → 15px (+25%) */
}

.wishlist-area .btn-view-details svg {
    width: 17px !important; /* Aumentato da 13px → 17px (+31%) */
    height: 17px !important;
}

/* Responsive - Mobile con dimensioni proporzionate */
@media (max-width: 768px) {
    .wishlist-area .product-card-title {
        font-size: 13px !important; /* Aumentato da 11px → 13px */
        min-height: 36px !important; /* Aumentato da 28px → 36px */
    }

    .wishlist-area .product-card-price,
    .wishlist-area .product-card-price-discount {
        font-size: 20px !important; /* Aumentato da 16px → 20px */
    }

    .wishlist-area .btn-add-to-cart {
        padding: 9px 15px !important; /* Aumentato da 7px 12px → 9px 15px */
        font-size: 12px !important; /* Aumentato da 10px → 12px */
    }
}

/* ============================================
   CAROUSEL WISHLIST - NASCONDE FRECCE
   ============================================ */

/* Nasconde completamente le frecce di navigazione nei carousel wishlist */
.wishlist-area .products-swiper-button-prev,
.wishlist-area .products-swiper-button-next {
    display: none !important;
}

/* ============================================
   FIX ALTEZZA CAROUSEL E SLIDE - INGRANDITE
   ============================================ */

/* Altezza minima aumentata per card più grandi (+33%) */
.wishlist-area .swiper-slide {
    min-height: 530px !important; /* Aumentato da 400px → 530px (+32.5%) */
}

/* Mobile: altezza minima aumentata proporzionalmente */
@media (max-width: 768px) {
    .wishlist-area .swiper-slide {
        min-height: 465px !important; /* Aumentato da 350px → 465px (+33%) */
    }
}

/* ============================================
   SEZIONI CATEGORIA E SOTTOCATEGORIA
   ============================================ */

.wishlist-category-section {
    margin-bottom: 50px;
}

.wishlist-category-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f3bb27;
}

.wishlist-category-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
}

.wishlist-subcategory-section {
    margin-bottom: 30px;
}

.wishlist-subcategory-title {
    font-size: 20px;
    font-weight: 600;
    color: #34495e;
    margin: 0 0 20px 0;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #f3bb27;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wishlist-count-badge-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    background: linear-gradient(135deg, #f3bb27 0%, #f39c27 100%);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: 0 2px 4px rgba(243, 187, 39, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .wishlist-category-title {
        font-size: 22px;
    }

    .wishlist-subcategory-title {
        font-size: 18px;
        padding: 10px 15px;
    }

    .wishlist-count-badge-small {
        min-width: 24px;
        height: 24px;
        font-size: 12px;
        padding: 0 8px;
    }
}

/* ============================================
   PANNELLO CONDIVISIONE SOCIAL
   ============================================ */

.wishlist-share-panel {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0 40px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.wishlist-share-panel:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.share-panel-header {
    display: flex;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.share-panel-header:hover {
    background: rgba(0, 0, 0, 0.02);
    padding: 10px 16px;
    margin: -10px -16px 0 -16px;
    border-radius: 8px 8px 0 0;
}

.share-panel-header svg {
    color: #6c757d;
    flex-shrink: 0;
}

.share-panel-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding-top: 0;
}

.share-panel-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: -0.3px;
}

.share-panel-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 60px;
}

.btn-share::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-share:hover::before {
    left: 100%;
}

.btn-share svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-share:hover svg {
    transform: scale(1.15);
}

.btn-share:active {
    transform: scale(0.95);
}

/* WhatsApp */
.btn-share-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
}

.btn-share-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

/* Facebook */
.btn-share-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
    color: #fff;
}

.btn-share-facebook:hover {
    background: linear-gradient(135deg, #0C63D4 0%, #084D9F 100%);
    box-shadow: 0 4px 16px rgba(24, 119, 242, 0.4);
    transform: translateY(-2px);
}

/* Instagram */
.btn-share-instagram {
    background: linear-gradient(135deg, #E1306C 0%, #C13584 70%, #833AB4 100%);
    color: #fff;
}

.btn-share-instagram:hover {
    background: linear-gradient(135deg, #C13584 0%, #833AB4 70%, #5B51D8 100%);
    box-shadow: 0 4px 16px rgba(225, 48, 108, 0.4);
    transform: translateY(-2px);
}

/* Twitter */
.btn-share-twitter {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #fff;
}

.btn-share-twitter:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* TikTok */
.btn-share-tiktok {
    background: linear-gradient(135deg, #000000 0%, #EE1D52 50%, #69C9D0 100%);
    color: #fff;
}

.btn-share-tiktok:hover {
    background: linear-gradient(135deg, #EE1D52 0%, #000000 50%, #69C9D0 100%);
    box-shadow: 0 4px 16px rgba(238, 29, 82, 0.4);
    transform: translateY(-2px);
}

/* Copia Link */
.btn-share-copy {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: #fff;
}

.btn-share-copy:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    box-shadow: 0 4px 16px rgba(108, 117, 125, 0.4);
    transform: translateY(-2px);
}

.btn-share-copy.copied {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    animation: copySuccess 0.6s ease;
}

@keyframes copySuccess {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .wishlist-share-panel {
        padding: 20px 16px;
        margin: 20px 0 30px 0;
    }

    .share-panel-title {
        font-size: 16px;
    }

    .share-panel-buttons {
        gap: 10px;
        justify-content: space-around;
    }

    .btn-share {
        padding: 12px 14px;
        font-size: 13px;
        min-width: auto;
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .btn-share {
        padding: 10px 12px;
    }
}

/* ============================================
   WISHLIST VUOTA
   ============================================ */

.empty-wishlist-message {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.empty-wishlist-message h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.empty-wishlist-message p {
    font-size: 16px;
    margin-bottom: 30px;
}

.empty-wishlist-message .btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #f3bb27 0%, #f39c27 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-wishlist-message .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 187, 39, 0.4);
}

/* ============================================
   TOAST NOTIFICHE
   ============================================ */

.wishlist-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    min-width: 280px;
    max-width: 400px;
}

.wishlist-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.wishlist-toast.toast-success {
    border-left: 4px solid #27ae60;
}

.wishlist-toast.toast-success i {
    color: #27ae60;
    font-size: 20px;
}

.wishlist-toast.toast-error {
    border-left: 4px solid #e74c3c;
}

.wishlist-toast.toast-error i {
    color: #e74c3c;
    font-size: 20px;
}

.wishlist-toast span {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .wishlist-toggle-btn {
        padding: 8px 10px;
        min-width: 40px;
        min-height: 40px;
        font-size: 16px;
    }

    .wishlist-products-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .wishlist-product-title {
        font-size: 14px;
    }

    .wishlist-product-price {
        font-size: 18px;
    }

    .wishlist-toast {
        right: 10px;
        left: 10px;
        min-width: auto;
    }

    .wishlist-page-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .wishlist-toggle-btn {
        padding: 6px 8px;
        min-width: 36px;
        min-height: 36px;
        font-size: 14px;
    }

    .wishlist-products-container {
        grid-template-columns: 1fr;
    }

    .wishlist-toggle-card {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

/* ============================================
   PRIVACY CONTROL PANEL - PUBLIC WISHLIST
   ============================================ */

.privacy-control-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e3e6ea;
    border-radius: 14px;
    padding: 28px;
    margin: 25px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.privacy-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

/* Toggle Switch */
.privacy-toggle-label {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    user-select: none;
}

.privacy-toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.privacy-toggle-slider {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
    background-color: #cbd5e0;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.privacy-toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.privacy-toggle-input:checked + .privacy-toggle-slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.4);
}

.privacy-toggle-input:checked + .privacy-toggle-slider::before {
    transform: translateX(26px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.privacy-toggle-text {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    letter-spacing: -0.2px;
}

/* Status Badge */
.privacy-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.privacy-status-badge svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.privacy-status-badge.status-private {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-color: #fc8181;
    color: #c53030;
}

.privacy-status-badge.status-public {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border-color: #68d391;
    color: #2f855a;
}

#privacy-status-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Public URL Box */
.public-url-box {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    margin-top: 16px;
    transition: all 0.3s ease;
}

.public-url-box.show {
    border-style: solid;
    border-color: #667eea;
    background: linear-gradient(135deg, #faf5ff 0%, #e9d8fd 100%);
    animation: slideIn 0.4s ease;
}

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

.public-url-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    color: #4a5568;
    background: #ffffff;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.public-url-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-copy-url {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
}

.btn-copy-url:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

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

.btn-copy-url.copied {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Wishlist Stats */
.wishlist-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    border: 2px solid #fdba74;
    border-radius: 10px;
    margin-top: 16px;
}

.wishlist-stats svg {
    width: 20px;
    height: 20px;
    color: #c2410c;
    flex-shrink: 0;
}

.wishlist-stats-text {
    font-size: 14px;
    font-weight: 600;
    color: #9a3412;
}

.wishlist-stats-count {
    font-size: 18px;
    font-weight: 700;
    color: #7c2d12;
    margin-left: 6px;
}

/* Copy Link Enhanced Button */
.copy-link-wrapper {
    margin-top: 20px;
    text-align: center;
}

.btn-copy-link-enhanced {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    min-width: 250px;
}

.copy-hint-text {
    margin-top: 12px;
    font-size: 13px;
    color: #6c757d;
    font-style: italic;
}

.btn-copy-link-enhanced:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

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

.btn-copy-link-enhanced.copied {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    animation: successPulse 0.6s ease;
}

.btn-copy-link-enhanced svg {
    flex-shrink: 0;
}

/* Share Buttons Container Animation */
#share-buttons-container {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 20px;
}

/* Responsive - Privacy Controls */
@media (max-width: 768px) {
    .privacy-control-section {
        padding: 20px 16px;
    }

    .privacy-toggle-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .privacy-status-badge {
        align-self: flex-start;
    }

    .public-url-box {
        flex-direction: column;
        gap: 12px;
    }

    .btn-copy-url {
        width: 100%;
    }

    .privacy-toggle-text {
        font-size: 15px;
    }

    .btn-copy-link-enhanced {
        min-width: auto;
        width: 100%;
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .privacy-control-section {
        padding: 18px 14px;
        margin: 20px 0;
    }

    .privacy-toggle-slider {
        width: 50px;
        height: 26px;
    }

    .privacy-toggle-slider::before {
        width: 20px;
        height: 20px;
    }

    .privacy-toggle-input:checked + .privacy-toggle-slider::before {
        transform: translateX(24px);
    }

    .privacy-toggle-text {
        font-size: 14px;
    }

    #privacy-status-text {
        font-size: 13px;
    }

    .public-url-input {
        font-size: 12px;
        padding: 10px 12px;
    }
}
