/* ================= PRODUCT DETAIL PAGE STYLES ================= */

/* Breadcrumb */
.product-breadcrumb {
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.product-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-breadcrumb li {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.product-breadcrumb li::after {
    content: '›';
    margin-left: 10px;
    color: #d4af37;
}

.product-breadcrumb li:last-child::after {
    display: none;
}

.product-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.product-breadcrumb a:hover {
    color: #d4af37;
}

.product-breadcrumb li[aria-current="page"] {
    color: #333;
    font-weight: 500;
}

/* Product Main Container */
.product-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
    align-self: start;
}

.main-image-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f9f5eb 0%, #fff 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.main-image-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    cursor: zoom-in;
}

.image-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    cursor: zoom-in;
    transition: background 0.3s;
}

.image-zoom-overlay:hover {
    background: rgba(0, 0, 0, 0.05);
}

.image-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-badges .badge {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge.featured {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
}

.badge.trending {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.badge.premium {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.thumbnail {
    aspect-ratio: 1/1;
    border-radius: 10px;
    overflow: hidden;
    background: #f9f5eb;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: #d4af37;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.05);
}

/* Product Features Icons */
.product-features-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.feature-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #f9f5eb 0%, #fff8e1 100%);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.feature-icon span {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Product Info */
.product-header {
    margin-bottom: 30px;
}

.product-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.product-category {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.product-sku {
    color: #888;
}

.product-rating-large {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.product-rating-large .stars {
    color: #ffd700;
    font-size: 18px;
}

.rating-value {
    font-weight: 600;
    color: #1a1a1a;
}

.rating-count {
    color: #666;
}

.view-reviews {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.view-reviews:hover {
    color: #b8941f;
    text-decoration: underline;
}

/* Product Pricing */
.product-pricing {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f9f5eb 0%, #fff8e1 100%);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
}

.original-price {
    font-size: 24px;
    color: #888;
    text-decoration: line-through;
}

.discount-badge-large {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 18px;
}

.price-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.price-save {
    color: #10b981;
    font-weight: 500;
    font-size: 16px;
}

.price-tax {
    color: #666;
    font-size: 14px;
}

/* Product Options */
.product-options {
    margin-bottom: 40px;
}

.option-group {
    margin-bottom: 30px;
}

.option-group h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.size-option {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
}

.size-option:hover {
    border-color: #d4af37;
    color: #d4af37;
}

.size-option.active {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    border-color: #d4af37;
    color: white;
}

.size-guide-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.size-guide-link:hover {
    text-decoration: underline;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.quantity-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: #f9f9f9;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #d4af37;
    color: white;
}

#quantityInput {
    width: 60px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    background: white;
}

#quantityInput:focus {
    outline: none;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    color: #10b981;
    font-weight: 500;
}

.stock-icon {
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Product Actions */
.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-add-to-cart,
.btn-buy-now,
.btn-wishlist {
    padding: 18px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    grid-column: span 1;
}

.btn-buy-now {
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: white;
    grid-column: span 1;
}

.btn-wishlist {
    background: white;
    color: #1a1a1a;
    border: 2px solid #e5e7eb;
    grid-column: span 2;
}

.btn-add-to-cart:hover {
    background: linear-gradient(135deg, #b8941f, #9a7c16);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #333, #1a1a1a);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-wishlist:hover {
    border-color: #d4af37;
    color: #d4af37;
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 20px;
}

/* Cart Animation Effect */
.cart-animation {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: cartPulse 0.5s ease-out;
    opacity: 0;
}

@keyframes cartPulse {
    0% {
        transform: scale(0.1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Product Highlights */
.product-highlights {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f9f5eb 0%, #fff8e1 100%);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.product-highlights h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
}

.product-highlights ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .product-highlights ul {
        grid-template-columns: 1fr;
    }
}

.product-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 15px;
}

.highlight-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Delivery Information */
.delivery-info {
    margin-bottom: 40px;
}

.delivery-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
}

.delivery-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .delivery-options {
        grid-template-columns: 1fr;
    }
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.delivery-option:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
}

.delivery-icon {
    font-size: 32px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.delivery-option strong {
    display: block;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.delivery-option p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Product Tabs */
.product-tabs {
    margin-bottom: 80px;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    background: none;
    border: none;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.tab-btn:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.tab-btn.active {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    border-radius: 3px 3px 0 0;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content-inner {
    padding: 30px;
    background: white;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

.tab-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
}

.tab-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px;
    color: #1a1a1a;
}

.tab-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 16px;
}

.tab-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.tab-content ul li {
    padding: 8px 0;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tab-content ul li::before {
    content: '•';
    color: #d4af37;
    font-size: 20px;
    line-height: 1;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f9f5eb 0%, #fff8e1 100%);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.feature-item .feature-icon {
    font-size: 32px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-item h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Specifications Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table th,
.specs-table td {
    padding: 15px;
    text-align: left;
    vertical-align: top;
}

.specs-table th {
    font-weight: 600;
    color: #1a1a1a;
    width: 30%;
    background: rgba(212, 175, 55, 0.05);
}

.specs-table td {
    color: #555;
}

/* Shipping Grid */
.shipping-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .shipping-grid {
        grid-template-columns: 1fr;
    }
}

.shipping-card {
    text-align: center;
    padding: 30px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.shipping-card:hover {
    border-color: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
}

.shipping-icon {
    font-size: 40px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shipping-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.shipping-card p {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.shipping-time {
    color: #d4af37 !important;
    font-weight: 500;
}

.return-info {
    background: linear-gradient(135deg, #f9f5eb 0%, #fff8e1 100%);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.return-info ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.return-info ul li {
    padding: 8px 0;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.return-info ul li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
}

/* Reviews */
.reviews-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f9f5eb 0%, #fff8e1 100%);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

@media (max-width: 768px) {
    .reviews-summary {
        grid-template-columns: 1fr;
    }
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.rating-stars {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 10px;
}

.rating-count {
    color: #666;
    font-size: 14px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rating-bar {
    display: grid;
    grid-template-columns: 60px 1fr 40px;
    align-items: center;
    gap: 15px;
}

.rating-bar span:first-child {
    color: #666;
    font-size: 14px;
}

.rating-bar span:last-child {
    color: #1a1a1a;
    font-weight: 500;
    text-align: right;
}

.rating-bar .bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar .fill {
    height: 100%;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    border-radius: 4px;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    padding: 25px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.reviewer-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.review-rating {
    color: #ffd700;
    font-size: 16px;
}

.review-date {
    color: #888;
    font-size: 14px;
}

.review-text {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* Related Products */
.related-products {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Related Product Card */
.related-product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.related-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
}

.related-product-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: linear-gradient(135deg, #f9f5eb 0%, #fff8e1 100%);
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    padding: 20px;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}

.related-product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.related-product-info {
    padding: 20px;
}

.related-product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-product-category {
    color: #d4af37;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.related-product-price .current {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.related-product-price .original {
    font-size: 14px;
    color: #888;
    text-decoration: line-through;
}

.related-product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.related-product-rating .stars {
    color: #ffd700;
    font-size: 14px;
}

.related-product-rating .count {
    color: #666;
    font-size: 12px;
}

.related-product-actions {
    display: flex;
    gap: 10px;
}

.related-product-actions .add-to-cart-btn {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.related-product-actions .add-to-cart-btn:hover {
    background: linear-gradient(135deg, #b8941f, #9a7c16);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.related-product-actions .view-details-btn {
    padding: 12px 20px;
    background: white;
    color: #1a1a1a;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.related-product-actions .view-details-btn:hover {
    border-color: #d4af37;
    color: #d4af37;
}

/* Premium Features Banner */
.premium-features-banner {
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: white;
    padding: 60px 20px;
    border-radius: 20px;
    margin-bottom: 80px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .features-container {
        grid-template-columns: 1fr;
    }
}

.feature {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.feature h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-main {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .product-header h1 {
        font-size: 32px;
    }
    
    .current-price {
        font-size: 36px;
    }
    
    .product-actions {
        grid-template-columns: 1fr;
    }
    
    .btn-wishlist {
        grid-column: span 1;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-features-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-detail-container {
        padding: 0 15px;
    }
    
    .product-header h1 {
        font-size: 28px;
    }
    
    .price-display {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-features-icons {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        border-radius: 8px;
    }
    
    .tab-btn.active::after {
        display: none;
    }
}

/* Cart Sidebar (Updated from existing) */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.cart-overlay.active {
    display: block;
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Notification Animation */
@keyframes cartShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Loading Animation */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Selection Animation */
@keyframes selectPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.size-option.active,
.thumbnail.active {
    animation: selectPulse 0.3s ease;
}

/* Simple Zoom Modal */
#zoomModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 99999;
}

#zoomModal.show {
    display: block;
}

#zoomedImage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

#zoomClose {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100000;
}

/* Product Description Section - Responsive */
.product-description-section {
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.description-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.description-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-align: center;
}

.description-content > p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.description-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.description-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #d4af37;
}

.description-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.description-item ul {
    list-style: none;
    padding: 0;
}

.description-item li {
    padding: 8px 0;
    font-size: 15px;
    color: #444;
    position: relative;
    padding-left: 20px;
}

.description-item li:before {
    content: "✓";
    color: #d4af37;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .description-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .product-description-section {
        margin: 40px auto;
        padding: 0 15px;
    }
    
    .description-content {
        padding: 30px 20px;
    }
    
    .description-content h3 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .description-content > p {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .description-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .description-item {
        padding: 20px;
    }
    
    .description-item h4 {
        font-size: 18px;
    }
    
    .description-item li {
        font-size: 14px;
        padding: 6px 0;
        padding-left: 18px;
    }
}

@media (max-width: 480px) {
    .product-description-section {
        margin: 30px auto;
        padding: 0 12px;
    }
    
    .description-content {
        padding: 25px 15px;
        border-radius: 12px;
    }
    
    .description-content h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .description-content > p {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .description-item {
        padding: 18px;
    }
    
    .description-item h4 {
        font-size: 17px;
    }
    
    .description-item li {
        font-size: 13px;
        padding: 5px 0;
    }
}

/* ================= RELATED PRODUCTS - SHOW ONLY ON MOBILE ================= */
.related-products {
    margin-bottom: 80px;
    padding: 0 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.section-header p {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* HIDE ON DESKTOP (Default) */
.related-products {
    display: none;
}

.related-products-grid {
    display: none;
}

/* SHOW ONLY ON MOBILE */
@media (max-width: 768px) {
    .related-products {
        display: block; /* Show on mobile */
        margin-bottom: 60px;
        padding: 0 15px;
    }
    
    .related-products-grid {
        display: grid; /* Show grid on mobile */
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Product card styles for mobile */
    .related-product-card {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border: 1px solid rgba(212, 175, 55, 0.1);
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .related-product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
    }
    
    /* Image container */
    .related-product-image {
        position: relative;
        width: 100%;
        aspect-ratio: 1/1;
        overflow: hidden;
        background: linear-gradient(135deg, #f9f5eb 0%, #fff8e1 100%);
    }
    
    .related-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        padding: 15px;
    }
    
    .related-product-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        background: linear-gradient(135deg, #d4af37, #b8941f);
        color: white;
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
    }
    
    /* Product info */
    .related-product-info {
        padding: 18px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    
    .related-product-title {
        font-family: 'Inter', sans-serif;
        font-size: 15px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 8px;
        line-height: 1.4;
        height: 42px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .related-product-category {
        font-size: 12px;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
        font-weight: 500;
    }
    
    /* Pricing */
    .related-product-price {
        margin: 10px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .related-product-price .current {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a1a;
    }
    
    .related-product-price .original {
        font-size: 14px;
        color: #999;
        text-decoration: line-through;
    }
    
    /* Rating */
    .related-product-rating {
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 10px 0;
    }
    
    .related-product-rating .stars {
        color: #ffc107;
        font-size: 14px;
    }
    
    .related-product-rating .count {
        font-size: 13px;
        color: #666;
    }
    
    /* Actions */
    .related-product-actions {
        display: flex;
        gap: 8px;
        margin-top: auto;
        padding-top: 15px;
        border-top: 1px solid #f0f0f0;
    }
    
    .add-to-cart-btn, 
    .view-details-btn {
        flex: 1;
        padding: 10px 12px;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
    }
    
    .add-to-cart-btn {
        background: linear-gradient(135deg, #1a1a1a, #333);
        color: white;
    }
    
    .add-to-cart-btn:hover {
        background: linear-gradient(135deg, #d4af37, #b8941f);
    }
    
    .view-details-btn {
        background: white;
        color: #1a1a1a;
        border: 2px solid #e0e0e0;
    }
    
    .view-details-btn:hover {
        background: #f8f8f8;
        border-color: #d4af37;
        color: #d4af37;
    }
}

/* Smaller mobile adjustments */
@media (max-width: 480px) {
    .related-products {
        padding: 0 12px;
        margin-bottom: 50px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .related-product-title {
        font-size: 14px;
        height: 40px;
    }
    
    .related-product-price .current {
        font-size: 16px;
    }
    
    .add-to-cart-btn, 
    .view-details-btn {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .related-product-actions {
        flex-direction: column;
        gap: 8px;
    }
}

/* Very small mobile */
@media (max-width: 360px) {
    .related-products-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
}