/* public/assets/css/customer/product-detail.css */
.product-detail-wrapper {
    padding: 30px 0 60px;
    background: #f8fafc;
}

.product-main-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

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

.main-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
}

.main-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
}

.thumb-item {
    width: 60px;
    height: 60px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    padding: 5px;
    transition: all 0.2s;
}

.thumb-item.active {
    border-color: var(--navy-800);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Info */
.product-detail-info {
    padding-left: 20px;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #64748b;
}

.product-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-price-large {
    font-size: 28px;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 25px;
}

/* Quantity and Buttons */
.purchase-options {
    margin-bottom: 30px;
}

.qty-selector-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Color Picker */
.color-picker-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.color-label {
    font-size: 14px;
    color: #94a3b8;
    min-width: 45px;
}

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

.color-item {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.color-item:hover {
    transform: scale(1.15);
}

.color-item.active {
    border-color: var(--navy-800);
    padding: 2px;
    background-clip: content-box;
}

.color-item.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.color-item.light-color.active::after {
    color: #000;
}


.qty-label {
    font-size: 14px;
    color: #64748b;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8fafc;
    color: #64748b;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #f1f5f9;
}

.qty-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.total-price-wrap {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 25px;
}

.total-price-wrap span {
    color: var(--navy-800);
    font-size: 22px;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.btn-buy-now {
    flex: 1;
    height: 48px;
    background: #ff8a00;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-add-cart {
    flex: 1;
    height: 48px;
    background: var(--navy-800);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-wishlist-detail {
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.btn-wishlist-detail:hover,
.btn-wishlist-detail.active {
    color: #ef4444;
    border-color: #fecaca;
    background: #fef2f2;
}

/* Sidebar Badges */
.trust-badges-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.trust-badge-item:last-child {
    border-bottom: none;
}

.trust-badge-item img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

.trust-badge-item span {
    font-size: 13px;
    color: #64748b;
}

/* Store Info */
.store-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.store-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.store-logo {
    width: 50px;
    height: 50px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

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

.store-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.store-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.stat-item {
    text-align: center;
}

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

.stat-label {
    font-size: 12px;
    color: #64748b;
}

.btn-chat-vendor {
    width: 100%;
    height: 42px;
    background: var(--navy-800);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Tabs and Content */
.product-tabs-wrap {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.tab-btn {
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border: none;
    transition: all 0.2s;
}

.tab-btn.active {
    background: var(--navy-800);
    color: #fff;
}

.tab-content {
    padding: 30px;
}

.description-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.description-text {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

/* More from Store */
.more-from-store h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.more-from-store h4 a {
    font-size: 12px;
    color: var(--navy-800);
    text-decoration: none;
}

.side-product-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-product-item {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    text-decoration: none;
    transition: all 0.2s;
}

.side-product-item:hover {
    border-color: var(--navy-800);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.side-product-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.side-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.side-product-info {
    flex: 1;
}

.side-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-800);
}

/* Floating Actions */
.floating-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
}

.float-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.float-btn:hover {
    background: var(--navy-800);
    color: #fff;
}
