/* Modern Product Details Custom Styles */

:root {
    --primary-color: #d4af37;
    --primary-hover: #b8941f;
    --secondary-color: #2c3e50;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
    --white: #ffffff;
}

/* Product Image Section */
.product-layout-img {
    position: relative;
}

.zoompro-wrap {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.zoompro-wrap:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-labels {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.product-labels .lbl {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c9a22e 100%);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Product Info Section */
.product-single-meta {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.product-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-price {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    margin: 20px 0;
}

.product-price .price {
    color: var(--primary-color);
    font-weight: 800;
    display: block;
}

/* Product Info List */
.product-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.product-info p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.product-info p:last-child {
    border-bottom: none;
}

.product-info p .text {
    font-weight: 600;
    color: var(--text-dark);
}

.product-stock .stockLbl {
    background: var(--success-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Product Action Buttons */
.product-action {
    margin-top: 30px;
    gap: 15px;
}

.product-form-quantity {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 5px;
}

.qtyField {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qtyBtn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.qtyBtn:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
}

.product-form-input {
    width: 60px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Add to Cart Button */
.product-cart-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c9a22e 100%);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.3);
}

.product-cart-submit:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #a67c1a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(212, 175, 55, 0.4);
}

.product-cart-submit:active {
    transform: translateY(0);
}

/* Info Links */
.infolinks {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.infolinks a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.infolinks a:hover {
    color: var(--primary-color);
}

.infolinks a i {
    font-size: 1.1rem;
}

/* Product Description */
.sort-description {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
    color: var(--text-gray);
    line-height: 1.7;
}

/* Sidebar Features */
.product-sidebar {
    position: sticky;
    top: 20px;
}

.store-info-item {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.store-info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.store-info-item .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c9a22e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.store-info-item .title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.store-info-item .text {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Related Products */
.product-box {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    transition: transform 0.5s ease;
}

.product-box:hover .product-image img {
    transform: scale(1.1);
}

.product-details {
    padding: 20px;
}

.product-name a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-price {
    margin-top: 10px;
}

.product-price .price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Admin Upload Section */
.admin-upload-section {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    border: 2px dashed var(--border-color);
}

.admin-upload-section input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
}

.admin-upload-section input[type="submit"],
.admin-upload-section button {
    width: 100%;
    margin-top: 10px;
}

/* Review Section */
.spr-reviews {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.spr-review {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.spr-review-header-title {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.spr-review-body {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Review Form */
.spr-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.spr-form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Modals */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c9a22e 100%);
    color: var(--white);
    border-radius: 15px 15px 0 0;
    padding: 20px 25px;
}

.modal-title {
    font-weight: 700;
    font-size: 1.25rem;
}

.modal-body {
    padding: 30px;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--white);
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.breadcrumbs a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs .main-title {
    color: var(--text-dark);
    font-weight: 600;
}

/* Full Width Layout (No Sidebar) */
.product-layout-img-info {
    max-width: 1400px;
    margin: 0 auto;
}

/* Ensure columns display side by side */
.product-layout-img-info > .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.product-layout-img {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
}

.product-layout-info {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
}

/* Add trust badges below product info when no sidebar */
.trust-badges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.trust-badge-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.trust-badge-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.trust-badge-card .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c9a22e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.trust-badge-card .content {
    flex: 1;
}

.trust-badge-card .title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.trust-badge-card .text {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .product-single-meta {
        margin-top: 30px;
    }
    
    .product-sidebar {
        position: static;
        margin-top: 30px;
    }
    
    .trust-badges-container {
        grid-template-columns: 1fr;
    }
    
    /* Stack columns on tablet */
    .product-layout-img,
    .product-layout-info {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .product-layout-img-info > .row {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .product-main-title {
        font-size: 1.5rem;
    }
    
    .product-action {
        flex-direction: column;
    }
    
    .product-form-submit {
        width: 100%;
    }
    
    .infolinks {
        flex-direction: column;
        gap: 15px;
    }
    
    .store-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .store-info-item .icon {
        margin: 0 auto 15px;
    }
    
    /* Mobile: Full width columns */
    .product-layout-img,
    .product-layout-info {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-single-meta,
.product-sidebar,
.related-products {
    animation: fadeInUp 0.6s ease-out;
}

/* WhatsApp Button */
.btn-success {
    background: #25d366;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

