/* Premium Cart Summary Styles - Dark Theme */

.premium-cart-hero-section {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(15, 15, 15, 0.95) 0%,
        rgba(10, 10, 10, 0.98) 50%,
        rgba(30, 30, 30, 0.95) 100%);
    overflow: hidden;
    padding: 1.5rem 0;
}

.premium-cart-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    padding: 3rem 0;
}

.premium-cart-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(198, 166, 100, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(214, 198, 177, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.premium-cart-section > .container {
    position: relative;
    z-index: 2;
}

/* Hero Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary), transparent);
    opacity: 0.08;
    animation: floatElement 8s ease-in-out infinite;
}

.el-1 {
    width: 250px;
    height: 250px;
    top: -120px;
    right: -80px;
    animation-delay: 0s;
}

.el-2 {
    width: 180px;
    height: 180px;
    bottom: 80px;
    left: -40px;
    animation-delay: 2s;
}

.el-3 {
    width: 120px;
    height: 120px;
    top: 35%;
    right: 15%;
    animation-delay: 4s;
}

.el-4 {
    width: 90px;
    height: 90px;
    bottom: 120px;
    right: 12%;
    animation-delay: 6s;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 75%, rgba(198, 166, 100, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(214, 198, 177, 0.08) 0%, transparent 50%);
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    33% { transform: translateY(-15px) rotate(120deg) scale(1.05); }
    66% { transform: translateY(8px) rotate(240deg) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.brand-presentation {
    margin-bottom: 2rem;
}

.logo-glow {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
    border-radius: 50%;
    margin: 0 auto 1rem;
    opacity: 0.3;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.1); }
}

.brand-title {
    font-family: 'Unica One', cursive;
    color: var(--text-on-dark);
    margin-bottom: 1rem;
}

.title-main {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-on-dark) 0%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-subtitle {
    display: block;
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--text-muted-dark);
    text-transform: uppercase;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 1rem 0;
}

.divider-line {
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.divider-line:last-child {
    background: linear-gradient(90deg, transparent, var(--gold-primary));
}

.divider-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-primary);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.hero-tagline {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    color: var(--text-muted-dark);
    line-height: 1.6;
    font-weight: 300;
    max-width: 350px;
    margin: 0 auto;
}

/* Cart Content Layout */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.premium-cart-item {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-dark);
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.5rem;
    align-items: start;
    transition: all 0.3s ease;
}

.premium-cart-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(198, 166, 100, 0.2);
    background: var(--bg-card-hover);
}

/* Selected Size Info */
.selected-size-info {
    margin: 0.5rem 0;
    padding: 0.75rem;
    background: rgba(198, 166, 100, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--gold-primary);
    color: var(--text-on-dark);
}

.selected-size-info strong {
    color: var(--gold-light);
    font-size: 0.9rem;
}

/* Cart Item Image */
.cart-item-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.premium-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.premium-cart-item:hover .premium-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #FF6B6B, #EE5A24);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

/* Cart Item Details */
.cart-item-details {
    flex: 1;
}

.product-name {
    font-family: 'Unica One', cursive;
    font-size: 1.3rem;
    color: var(--text-on-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.product-description {
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-label {
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.8rem;
    min-width: 60px;
}

.spec-value {
    color: var(--text-on-dark);
    font-size: 0.9rem;
}

.product-price {
    margin-top: 1rem;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-muted-dark);
    font-size: 0.9rem;
}

.price-new {
    color: #FF6B6B;
    font-weight: 700;
    font-size: 1.2rem;
}

.price-current {
    color: var(--text-on-dark);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Quantity & Actions */
.cart-item-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 150px;
}

.quantity-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quantity-label {
    color: var(--text-muted-dark);
    font-size: 0.8rem;
    font-weight: 600;
}

.quantity-select {
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    background: var(--bg-dark);
    color: var(--text-on-dark);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quantity-select:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(198, 166, 100, 0.1);
    outline: none;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-premium, .btn-premium-outline {
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    justify-content: center;
}

.btn-premium {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-dark);
}

.btn-premium-outline {
    background: transparent;
    color: var(--text-muted-dark);
    border: 1px solid var(--border-dark);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(198, 166, 100, 0.3);
}

.btn-premium-outline:hover {
    background: #ff6b6b;
    color: var(--white);
    border-color: #ff6b6b;
}

/* Cart Summary */
.cart-summary {
    position: sticky;
    top: 2rem;
}

.summary-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-dark);
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(198, 166, 100, 0.2);
}

.summary-title {
    font-family: 'Unica One', cursive;
    font-size: 1.5rem;
    color: var(--text-on-dark) !important;
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-dark);
    margin-bottom: 1.5rem;
}

.total-label {
    color: var(--text-on-dark) !important;
    font-weight: 600;
    font-size: 1.1rem;
}

.total-amount {
    font-family: 'Unica One', cursive;
    font-size: 1.8rem;
    color: var(--gold-primary) !important;
    font-weight: 700;
}

.summary-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted-dark) !important;
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--gold-primary) !important;
    font-size: 1rem;
}

.feature-item span {
    color: var(--text-muted-dark) !important;
}

.btn-premium.full-width, .btn-premium-outline.full-width {
    width: 100%;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-premium.full-width {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-dark) !important;
    border: none;
}

.btn-premium-outline.full-width {
    background: transparent;
    color: var(--gold-primary) !important;
    border: 1px solid var(--gold-primary);
}

.btn-premium.full-width:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(198, 166, 100, 0.3);
}

.btn-premium-outline.full-width:hover {
    background: var(--gold-primary);
    color: var(--text-dark) !important;
    transform: translateY(-2px);
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 6rem 2rem;
}

.empty-content {
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon-container {
    position: relative;
    margin-bottom: 2rem;
}

.empty-icon {
    font-size: 4rem;
    color: var(--border-dark);
    margin-bottom: 1.5rem;
}

.empty-glow {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    animation: glowPulse 3s ease-in-out infinite;
}

.empty-title {
    font-family: 'Unica One', cursive;
    font-size: 2rem;
    color: var(--text-on-dark);
    margin-bottom: 1rem;
}

.empty-subtitle {
    color: var(--text-muted-dark);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-actions .btn-premium,
.empty-actions .btn-premium-outline {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.empty-actions .btn-premium {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-dark);
}

.empty-actions .btn-premium-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

.empty-actions .btn-premium:hover,
.empty-actions .btn-premium-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(198, 166, 100, 0.3);
}

.empty-actions .btn-premium-outline:hover {
    background: var(--gold-primary);
    color: var(--text-dark);
}

/* Animation for cart items */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cart-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .premium-cart-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .cart-item-image {
        width: 150px;
        margin: 0 auto;
    }
    
    .cart-item-actions {
        min-width: auto;
    }
    
    .action-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .empty-actions {
        flex-direction: column;
    }
    
    .premium-cart-hero-section {
        min-height: 30vh;
    }
    
    .title-main {
        font-size: 1.8rem;
    }
    
    .summary-card {
        padding: 1.5rem;
    }
    
    .cart-content {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .premium-cart-item {
        padding: 1.25rem;
    }
    
    .summary-card {
        padding: 1.25rem;
    }
    
    .total-amount {
        font-size: 1.5rem;
    }
    
    .summary-title {
        font-size: 1.3rem;
    }
    
    .btn-premium.full-width, 
    .btn-premium-outline.full-width {
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .empty-actions .btn-premium,
    .empty-actions .btn-premium-outline {
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
    }
}