@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.product-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
}

.breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs::before {
    content: '🏠';
    font-size: 16px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.breadcrumbs a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.breadcrumbs a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.breadcrumbs a:hover::after {
    width: 100%;
}

.breadcrumbs a:hover {
    color: #000;
}

.breadcrumbs span {
    color: #999;
}

.product-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

/* Gallery Styles */
.product-gallery {
    display: flex;
    gap: 20px;
}

.thumbnails-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 90px;
}

.thumbnail-wrapper {
    cursor: pointer;
    border: 2px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.thumbnail-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-wrapper:hover::before {
    opacity: 1;
}

.thumbnail-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumbnail-wrapper.active {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.thumbnail-wrapper img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.thumbnail-wrapper:hover img {
    transform: scale(1.05);
}

.main-image-wrapper {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 16px;
    overflow: hidden;
    cursor: crosshair;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.main-image-wrapper:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.main-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a1a1a, #4a4a4a, #1a1a1a);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.main-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 500px;
    transition: transform 0.3s ease;
}

.product-info-column {
    padding-top: 10px;
}

.product-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.brand-name {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    animation: slideInRight 0.6s ease-out 0.1s both;
}

.brand-name span {
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-section {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: slideInRight 0.6s ease-out 0.2s both;
}

.current-price {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.current-price::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #000, #666);
    border-radius: 2px;
}

.stock-status {
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s ease-in-out infinite;
}

.stock-status.in-stock {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    box-shadow: 0 2px 8px rgba(21, 87, 36, 0.2);
}

.stock-status.out-of-stock {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    box-shadow: 0 2px 8px rgba(114, 28, 36, 0.2);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.description-box {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 30px;
    animation: slideInRight 0.6s ease-out 0.3s both;
}

/* Variant Selector */
.variant-selector {
    margin-bottom: 35px;
    animation: slideInRight 0.6s ease-out 0.4s both;
}

.variant-selector h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.size-box {
    width: 55px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    background: #fff;
    position: relative;
    overflow: hidden;
}

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

.size-box:hover::before {
    left: 100%;
}

.size-box:hover {
    border-color: #666;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.size-box.selected {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    border-color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

/* Color Selector Styles */
.color-selector {
    margin-bottom: 25px;
    animation: slideInRight 0.6s ease-out 0.45s both;
}

.color-selector h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
}

.color-options {
    display: flex;
    gap: 12px;
}

.color-btn {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    background: white;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.color-btn:hover {
    border-color: #666;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.color-btn.active {
    border-color: #000;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Utility to hide sizes that don't match the selected color */
.size-box.hidden {
    display: none;
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
    animation: slideInRight 0.6s ease-out 0.5s both;
}

.btn-add-cart,
.btn-buy-now {
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-cart::before,
.btn-buy-now::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-add-cart:hover::before,
.btn-buy-now:hover::before {
    left: 100%;
}

.btn-add-cart {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-add-cart:active {
    transform: translateY(-1px);
}

.btn-buy-now {
    background: #fff;
    color: #333;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-buy-now:hover {
    background: #fafafa;
    border-color: #d1d5db;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.btn-wishlist {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-wishlist::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 77, 77, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-wishlist:hover::before {
    width: 200px;
    height: 200px;
}

.btn-wishlist:hover {
    border-color: #ff4d4d;
    color: #ff4d4d;
    transform: scale(1.05);
}

.btn-wishlist i {
    position: relative;
    z-index: 1;
}

/* Delivery Info */
.delivery-info {
    border-top: 2px solid #f5f5f5;
    padding-top: 25px;
    animation: slideInRight 0.6s ease-out 0.6s both;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #555;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #fafafa;
    transform: translateX(5px);
}

.info-item i {
    font-size: 22px;
    color: #1a1a1a;
    width: 30px;
    text-align: center;
    animation: bounce 2s ease-in-out infinite;
}

.info-item:nth-child(1) i {
    animation-delay: 0s;
}

.info-item:nth-child(2) i {
    animation-delay: 0.2s;
}

.info-item:nth-child(3) i {
    animation-delay: 0.4s;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Related Products */
.related-products-section {
    padding-top: 40px;
}

.related-products-section h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.related-products-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a1a1a, #4a4a4a);
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card.small {
    padding: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.product-card.small a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card.small .info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.product-card.small:hover .info h3 {
    color: #000;
}

.product-card.small .info .price {
    font-size: 15px;
    font-weight: 600;
    color: #666;
}

.product-card.small:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.product-card.small img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.product-card.small:hover img {
    transform: scale(1.05);
}

/* Zoom Lens */
.zoom-lens {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid #1a1a1a;
    border-radius: 50%;
    cursor: none;
    display: none;
    background-repeat: no-repeat;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 10;
}

/* Responsive */
@media (max-width: 992px) {
    .product-main-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .btn-wishlist {
        grid-column: span 2;
    }

    .product-title {
        font-size: 28px;
    }

    .current-price {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .action-buttons {
        grid-template-columns: 1fr;
    }

    .btn-wishlist {
        grid-column: span 1;
    }

    .thumbnails-column {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }

    .product-gallery {
        flex-direction: column-reverse;
    }

    .thumbnail-wrapper {
        min-width: 70px;
    }
}











/* 
.product-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: #333;
    text-decoration: none;
}

.breadcrumbs span {
    color: #999;
}

.product-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}


.product-gallery {
    display: flex;
    gap: 20px;
}

.thumbnails-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80px;
}

.thumbnail-wrapper {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.thumbnail-wrapper.active {
    border-color: #333;
}

.thumbnail-wrapper img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.main-image-wrapper {
    flex: 1;
    position: relative;
    background: #f8f8f8;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 500px;
}


.product-info-column {
    padding-top: 10px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.brand-name {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.brand-name span {
    color: #333;
    font-weight: 600;
}

.price-section {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.current-price {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
}

.stock-status {
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.stock-status.in-stock {
    background: #e8f5e9;
    color: #2e7d32;
}

.stock-status.out-of-stock {
    background: #ffebee;
    color: #c62828;
}

.description-box {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.variant-selector {
    margin-bottom: 35px;
}

.variant-selector h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.size-box {
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.size-box:hover {
    border-color: #333;
}

.size-box.selected {
    background: #333;
    color: white;
    border-color: #333;
}


.action-buttons {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-add-cart,
.btn-buy-now {
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-add-cart {
    background: #333;
    color: white;
}

.btn-add-cart:hover {
    background: #444;
}

.btn-buy-now {
    background: #f0f0f0;
    color: #333;
}

.btn-buy-now:hover {
    background: #e5e5e5;
}

.btn-wishlist {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: all 0.2s;
}

.btn-wishlist:hover {
    border-color: #ff4d4d;
    color: #ff4d4d;
}

.delivery-info {
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #555;
}

.info-item i {
    font-size: 20px;
    color: #333;
    width: 25px;
    text-align: center;
}

.related-products-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card.small {
    padding: 15px;
}

.product-card.small img {
    height: 200px;
}


@media (max-width: 992px) {
    .product-main-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


.color-selector {
    margin-bottom: 20px;
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-btn {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background: white;
}

.color-btn.active {
    border-color: #333;
    background: #333;
    color: white;
}


.size-box.hidden {
    display: none;
}

.zoom-lens {
    position: absolute;
    width: 150px;          
    height: 150px;
    border: 2px solid #ccc;
    border-radius: 50%;    
    cursor: none;         
    display: none;         
    background-repeat: no-repeat;
    box-shadow: 0 0 10px rgba(0,0,0,0.25); 
    pointer-events: none;   
    z-index: 10;
}


@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .btn-wishlist {
        grid-column: span 2;
    }
} */