/* Product Details Specific Styles */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 5%;
    flex: 1;
}

.product-details-container {
    padding-top: 24px;
    padding-bottom: 60px;
}

/* Breadcrumb */
.product-breadcrumb {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.product-breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 500;
}

/* Hero Section */
.product-hero-section {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

/* Gallery */
.product-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image-wrapper {
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    height: 500px;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnails-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.thumbnail-item {
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: 8px;
    background: var(--surface);
    padding: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    overflow: hidden;
}

.thumbnail-item.active {
    border-color: var(--primary-color);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Info */
.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-badges-container {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.product-badge-info {
    background: #eef2ff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.product-badge-info.featured {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

/* Metadata section */
.product-meta-attributes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    transition: all 0.2s ease;
}

.meta-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.meta-icon {
    width: 20px;
    height: 20px;
    color: #64748b;
    flex-shrink: 0;
}

.meta-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.meta-item.highlighted {
    background: #f0fdf4;
    border-color: #bbf7d0;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.05);
}

.meta-item.highlighted .meta-icon,
.meta-item.highlighted .meta-value {
    color: #166534;
}

.meta-item.low-stock .meta-value {
    color: #dc2626;
}

.meta-item.low-stock {
    background: #fef2f2;
    border-color: #fecaca;
}

@media (max-width: 600px) {
    .product-meta-attributes {
        grid-template-columns: 1fr;
    }
}

.selected-value {
    color: var(--primary-color);
    font-weight: 700;
}

.product-title-lg {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px 0;
}

.product-rating-reviews {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 24px;
}

.stars {
    color: #facc15;
    margin-right: 8px;
    font-size: 16px;
}

.rating-value {
    font-weight: 700;
    margin-right: 8px;
}

.separator {
    color: var(--gray-200);
    margin-right: 8px;
}

.reviews-link {
    color: var(--primary-color);
    font-weight: 500;
}

.reviews-link:hover {
    text-decoration: underline;
}

.product-pricing-lg {
    display: flex;
    align-items: baseline;
    margin-bottom: 24px;
}

.current-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-right: 16px;
}

.original-price {
    font-size: 18px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-description-lg {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 32px;
}

/* Options */
.product-options {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.option-group {
    display: flex;
    flex-direction: column;
}

.option-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.option-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
}

.size-guide {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

.color-selector,
.size-selector {
    display: flex;
    gap: 12px;
}

.color-circle-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.color-circle-wrapper.active {
    border-color: var(--primary-color);
}

.color-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #000;
}

.size-btn {
    padding: 10px 20px;
    border: 1px solid var(--gray-200);
    background: var(--surface);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s;
}

.size-btn:hover {
    border-color: var(--primary-color);
}

.size-btn.active {
    border-color: var(--primary-color);
    background: #f0f6ff;
    color: var(--primary-color);
}

/* Actions */
.quantity-and-cart-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 32px 0;
}

.quantity-selector-lg {
    display: flex;
    align-items: center;
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
    border: 1px solid #e2e8f0;
}

.qty-btn-lg {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn-lg:hover {
    color: #0f172a;
    transform: scale(1.1);
}

.qty-value-lg {
    min-width: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.cart-actions-lg {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.btn-add-to-cart-lg {
    flex: 1;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(15, 98, 254, 0.2);
}

.btn-add-to-cart-lg:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 98, 254, 0.3);
}

.btn-wishlist-lg {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-wishlist-lg:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: var(--text-light);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-icon {
    color: #10b981;
}

/* Tabs */
.product-tabs-section {
    margin-bottom: 60px;
}

.tabs-header {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 32px;
}

.tab-link {
    background: none;
    border: none;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tab-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-link:hover {
    color: var(--text-dark);
}

.tab-information-grid {
    display: flex;
    gap: 60px;
}

.tab-info-left {
    flex: 1;
}

.info-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 16px 0;
}

.info-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.check-icon {
    color: var(--primary-color);
    font-weight: bold;
}

.tab-info-right {
    flex: 1;
}

.specs-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 32px;
}

.specs-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 24px 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
}

.specs-table tr:last-child td {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-label {
    color: var(--text-light);
    width: 30%;
}

.spec-value {
    color: var(--text-dark);
    font-weight: 500;
    text-align: right;
}

@media (max-width: 900px) {

    .product-hero-section,
    .tab-information-grid {
        flex-direction: column;
    }
}