/* Product Detail Page Styles */

.container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb with Navigation */
.breadcrumb-section {
    background: #f5f5f5;
    padding: 15px 0;
}

.breadcrumb-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.size-btn {
    pointer-events: auto !important;
    cursor: pointer;
}

.btn-primary {
    pointer-events: auto !important;
    cursor: pointer;
}

.back-btn,
.share-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.back-btn:hover,
.share-btn:hover {
    border-color: #333;
    background: #f9f9f9;
}

.back-btn i,
.share-btn i {
    font-size: 14px;
    color: #333;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #666;
    flex: 1;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: #999;
}

.breadcrumb a {
    color: #666;
    transition: color 0.3s;
}

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

/* Product Detail Layout */
.product-detail-page {
    background: #fff;
    padding: 40px 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Product Images Section */
.product-images {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    background: #f5f5f5;
    overflow: hidden;
    border-radius: 8px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-btn-large {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wishlist-btn-large:hover {
    background: #fff;
    transform: scale(1.1);
}

.wishlist-btn-large i {
    font-size: 20px;
    color: #333;
}

.wishlist-btn-large.active i {
    color: #ff0000;
}

.wishlist-btn-large.active i::before {
    content: '\f004';
    font-weight: 900;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    aspect-ratio: 3/4;
    background: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover {
    border-color: #333;
}

.thumbnail.active {
    border-color: #000;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Section */
.product-info-section {
    padding: 0 20px;
}

.product-header {
    margin-bottom: 30px;
}

.product-name {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #000;
}

.product-brand {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.product-price-section {
    margin-top: 15px;
}

.product-price {
    font-size: 32px;
    font-weight: 600;
    color: #000;
}

/* Size Selection */
.size-selection {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.size-header {
    margin-bottom: 15px;
}

.size-header label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

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

.size-btn {
    min-width: 60px;
    height: 48px;
    padding: 0 20px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.size-btn:hover {
    border-color: #333;
    background: #f9f9f9;
}

.size-btn.selected {
    background: #000;
    color: #fff;
    border-color: #000;
}

.size-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-add-to-cart,
.btn-add-to-wishlist {
    flex: 1;
    height: 56px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-add-to-cart {
    background: #000;
    color: #fff;
}

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

.btn-add-to-cart i {
    font-size: 18px;
}

.btn-add-to-wishlist {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.btn-add-to-wishlist:hover {
    background: #f9f9f9;
}

.btn-add-to-wishlist i {
    font-size: 18px;
}

/* Product Details Accordion */
.product-details {
    margin-top: 30px;
}

.detail-section {
    border-bottom: 1px solid #e0e0e0;
}

.detail-toggle {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    transition: color 0.3s;
}

.detail-toggle:hover {
    color: #666;
}

.detail-toggle i {
    font-size: 14px;
    color: #666;
    transition: transform 0.3s;
}

.detail-toggle.active i {
    transform: rotate(180deg);
}

.detail-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.detail-content.show {
    max-height: 2000px;
    padding-bottom: 20px;
}

.detail-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.detail-item {
    font-size: 13px;
    color: #333;
}

.detail-specs {
    margin-top: 20px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.spec-label {
    color: #666;
}

.spec-value {
    color: #000;
    font-weight: 500;
}

.size-guide-link,
.shipping-link,
.returns-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    text-decoration: underline;
    margin-top: 10px;
}

.size-guide-link:hover,
.shipping-link:hover,
.returns-link:hover {
    color: #666;
}

.shipping-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 15px 0;
}

.shipping-option {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.shipping-option i {
    font-size: 24px;
    color: #333;
    margin-top: 5px;
}

.shipping-option strong {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #000;
}

.shipping-option p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Similar Items Section */
.similar-items-section {
    background: #f8f8f8;
    padding: 60px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #000;
}

.similar-items-slider {
    position: relative;
}

.similar-items-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: #fff;
    border-color: #333;
}

.slider-btn.prev {
    left: -24px;
}

.slider-btn.next {
    right: -24px;
}

.slider-btn i {
    font-size: 16px;
    color: #333;
}

/* Product Card */
.product-card {
    background: #fff;
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 8px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card .product-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-options {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    color: #000;
}

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

.product-card .product-brand {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
    font-weight: 400;
}

.product-card .product-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card .product-price {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

.discount {
    font-size: 14px;
    color: #e60000;
    margin-left: 8px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-layout {
        gap: 40px;
    }

    .similar-items-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

    .product-images {
        position: relative;
        top: 0;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .similar-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container-full {
        padding: 0 15px;
    }

    .product-name {
        font-size: 22px;
    }

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

    .action-buttons {
        flex-direction: column;
    }

    .btn-add-to-cart,
    .btn-add-to-wishlist {
        width: 100%;
    }

    .similar-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .slider-btn {
        display: none;
    }

    .section-title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .breadcrumb-wrapper {
        gap: 10px;
    }

    .breadcrumb {
        font-size: 11px;
        gap: 5px;
    }

    .breadcrumb li:not(:last-child)::after {
        margin-left: 5px;
    }

    .product-info-section {
        padding: 0 10px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .size-options {
        flex-wrap: wrap;
    }

    .size-btn {
        min-width: 50px;
        height: 44px;
        font-size: 14px;
    }
}