/* Mobile Product Page Styles */
:root {
    --primary-color: #f6cc00;
    --primary-dark: #e6b900;
    --secondary-color: #333333;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Desktop vs Mobile Display Control */
.mobile-only {
    display: none;
}

/* Breadcrumb styles */
.breadcrumbs {
    background-color: var(--light-gray);
    padding: 10px 0;
    font-size: 14px;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    position: relative;
    padding-right: 20px;
    margin-right: 5px;
}

.breadcrumb-list li:not(:last-child)::after {
    content: ">";
    position: absolute;
    right: 5px;
    opacity: 0.5;
}

.breadcrumb-list a {
    color: var(--text-color);
    text-decoration: none;
}

.breadcrumb-list .active {
    font-weight: 500;
}

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

.product-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.product-brand {
    margin-bottom: 20px;
}

.brand-logo {
    height: 30px;
    width: auto;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
}

.product-image-main {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}

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

.zoom-icon {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

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

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

/* Product Info */
.product-info {
    flex: 1;
    min-width: 300px;
}

.product-title {
    font-size: 24px;
    margin: 0 0 10px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.product-meta {
    display: flex;
    margin-bottom: 15px;
    font-size: 14px;
    color: #777;
}

.product-sku {
    margin-right: 20px;
}

.product-stock {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.product-stock.available {
    color: var(--success-color);
}

.product-stock svg {
    margin-right: 5px;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    color: #f6cc00;
    margin-right: 5px;
}

.count {
    font-size: 14px;
    color: #777;
}

.product-price-container {
    margin-bottom: 15px;
}

.product-price {
    display: flex;
    flex-direction: column-reverse;
}

.price-current {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
}

.price-old {
    font-size: 16px;
    color: #777;
    text-decoration: line-through;
}

.shipping-info {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.shipping-threshold-notice {
    color: var(--secondary-color);
}

.free-shipping-notice {
    display: flex;
    align-items: center;
    color: var(--success-color);
}

.free-shipping-notice svg {
    margin-right: 8px;
}

.product-delivery-options {
    margin-bottom: 20px;
}

.delivery-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.delivery-option svg {
    margin-right: 10px;
    color: var(--secondary-color);
}

.product-short-desc {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.product-actions {
    margin-bottom: 20px;
}

.quantity-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.quantity-container label {
    margin-right: 10px;
    font-weight: 500;
}

.quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.quantity button {
    width: 40px;
    height: 40px;
    border: none;
    background-color: var(--light-gray);
    cursor: pointer;
}

.quantity input {
    width: 50px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 16px;
}

.order-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.order-now-btn:hover {
    background-color: var(--primary-dark);
}

.trust-elements {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.trust-element {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 120px;
    margin-bottom: 10px;
}

.trust-element svg {
    color: var(--secondary-color);
}

.trust-text {
    font-size: 14px;
    color: #777;
}

/* Product Tabs */
.product-tabs {
    margin-top: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.tabs-navigation {
    display: flex;
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--border-color);
}

.tab-link {
    padding: 15px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
}

.tab-link.active {
    background-color: white;
    border-bottom: 3px solid var(--primary-color);
}

.tab-content {
    display: none;
    padding: 20px;
    background-color: white;
}

.tab-content.active {
    display: block;
}

/* Specifications Table */
.specifications-table {
    width: 100%;
}

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

.specifications-table th, 
.specifications-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.specifications-table th {
    background-color: var(--light-gray);
    width: 40%;
}

/* Reviews */
.reviews-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.review {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.reviewer-name {
    font-weight: 500;
}

.review-date {
    color: #777;
    font-size: 14px;
}

.review-rating {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
}

.write-review h3 {
    margin-bottom: 15px;
}

.rating-select {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.product-info-sticky {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sticky-product-name {
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.sticky-product-price {
    font-weight: 700;
    font-size: 16px;
}

.sticky-actions {
    display: flex;
}

.sticky-add-to-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

/* Recommended Products */
.recommended-products {
    padding: 40px 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 22px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

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

.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.product-card-img {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: var(--light-gray);
}

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

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

.product-card-title {
    font-size: 14px;
    margin: 0 0 10px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
}

.product-card-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.product-card-price {
    margin-bottom: 15px;
}

.card-price-regular {
    font-weight: 700;
    font-size: 16px;
}

.card-price-old {
    font-size: 14px;
    color: #777;
    text-decoration: line-through;
    margin-left: 5px;
}

.product-card-button {
    display: block;
    width: 100%;
    padding: 8px 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .product-brand.mobile-only {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .product-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-gallery,
    .product-info {
        width: 100%;
    }
    
    .product-image-main {
        height: 250px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .price-current {
        font-size: 24px;
    }
    
    .trust-elements {
        flex-direction: column;
        gap: 15px;
    }
    
    .trust-element {
        width: 100%;
    }
    
    .tabs-navigation {
        flex-wrap: wrap;
    }
    
    .tab-link {
        font-size: 14px;
        padding: 12px 10px;
    }
    
    .specifications-table th,
    .specifications-table td {
        padding: 10px;
        font-size: 14px;
    }
    
    .mobile-sticky-cta {
        display: block;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .breadcrumb-list {
        font-size: 12px;
    }
    
    .breadcrumb-list li {
        padding-right: 15px;
        margin-right: 3px;
    }
    
    .product-image-main {
        height: 200px;
    }
    
    .thumb {
        width: 50px;
        height: 50px;
    }
    
    .product-title {
        font-size: 18px;
    }
    
    .trust-text {
        font-size: 12px;
    }
    
    .tab-link {
        font-size: 12px;
        padding: 10px 5px;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    .review-header {
        flex-direction: column;
    }
    
    .rating-select {
        flex-direction: column;
        gap: 5px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card-img {
        height: 150px;
    }
}




/* Mobile Header Styles - Mixal Design */
:root {
    --primary-yellow: #f6cc00;
    --dark-text: #333;
}

.mobile-header {
    display: none;
}

/* Yellow top bar */
.mobile-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-yellow);
    padding: 10px 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-logo img {
    height: 30px;
    width: auto;
}

.top-actions {
    display: flex;
    align-items: center;
}

.search-icon, 
.mobile-cart {
    color: var(--dark-text);
    margin-right: 15px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: white;
    color: var(--dark-text);
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.menu-btn {
    background: none;
    border: none;
    padding: 8px 10px;
    font-weight: bold;
    color: var(--dark-text);
    cursor: pointer;
    font-size: 14px;
}

/* Mobile Menu Panel */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background-color: white;
    z-index: 1002;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.mobile-menu-panel.active {
    right: 0;
}

/* Contact Section */
.mobile-contact-section {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-item svg {
    color: var(--primary-yellow);
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

/* Login/Register Section */
.mobile-auth-section {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.auth-link {
    display: flex;
    align-items: center;
    color: var(--dark-text);
    text-decoration: none;
}

.auth-link svg {
    margin-right: 15px;
}

/* Navigation Menu */
.mobile-nav {
    padding: 15px;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #eee;
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
}

/* Mobile Responsive Toggle */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .mobile-header {
        display: block;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open .mobile-menu-overlay {
        display: block;
    }
}


/* Mobile Header Styles - Mixal Design */
:root {
    --primary-yellow: #f6cc00;
    --dark-text: #333;
    --border-color: #eee;
}

.mobile-header {
    display: none;
}

/* Yellow top bar */
.mobile-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-yellow);
    padding: 12px 15px;
    position: fixed;
    top: 0;
    z-index: 1000;
    height: 60px;
    width: 100%;
}

.mobile-logo img {
    height: 32px;
    width: auto;
}

.top-actions {
    display: flex;
    align-items: center;
}

.mobile-cart {
    color: var(--dark-text);
    margin-right: 20px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: white;
    color: var(--dark-text);
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.menu-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    font-weight: bold;
    color: var(--dark-text);
    cursor: pointer;
    font-size: 14px;
}

.menu-btn svg {
    margin-right: 5px;
}

/* Mobile Menu Panel */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background-color: white;
    z-index: 1002;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.mobile-menu-panel.active {
    right: 0;
}

/* Contact Section */
.mobile-contact-section {
    padding: 20px 15px;
    border-bottom: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-item svg {
    color: var(--primary-yellow);
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text strong, 
.contact-text span {
    line-height: 1.4;
}

/* Login/Register Section */
.mobile-auth-section {
    padding: 20px 15px;
    border-bottom: 1px solid var(--border-color);
}

.auth-link {
    display: flex;
    align-items: center;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 16px;
}

.auth-link svg {
    margin-right: 15px;
}

/* Navigation Menu */
.mobile-nav {
    padding: 0;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
    display: block;
    padding: 15px;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

/* Contact Email Section */
.mobile-contact-email {
    padding: 20px 15px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

/* Mobile Responsive Toggle */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .mobile-header {
        display: block;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open .mobile-menu-overlay {
        display: block;
    }
}




/* Enhanced Mobile Product Styles */
:root {
    --primary-color: #f6cc00;
    --primary-dark: #e6b900;
    --secondary-color: #333333;
    --accent-color: #4CAF50; /* Green for availability */
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --light-text: #757575;
    --border-color: #e0e0e0;
    --shadow: 0 2px 5px rgba(0,0,0,0.1);
    --card-radius: 8px;
    --btn-radius: 4px;
}

/* Desktop vs Mobile Display Control */
.mobile-only {
    display: none;
}

/* Breadcrumbs styles */
.product-breadcrumbs {
    padding: 10px 0;
    margin-bottom: 10px;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    font-size: 12px;
}

.breadcrumb-list li {
    position: relative;
    padding-right: 15px;
    margin-right: 5px;
}

.breadcrumb-list li:not(:last-child)::after {
    content: ">";
    position: absolute;
    right: 5px;
    opacity: 0.5;
}

.breadcrumb-list a {
    color: var(--light-text);
    text-decoration: none;
}

/* Product Section */
.product-section {
    padding: 10px 0 30px;
}

.product-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

/* Product Gallery */
.product-gallery {
    flex: 1 1 100%;
    min-width: 280px;
}

.product-main-image {
    position: relative;
    margin-bottom: 10px;
    border-radius: var(--card-radius);
    overflow: hidden;
    background-color: white;
    box-shadow: var(--shadow);
}

.image-wrapper {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.zoom-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 2;
}

.product-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.thumb {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background-color: white;
    transition: border-color 0.2s ease;
}

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

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

/* Product Info */
.product-info {
    flex: 1 1 100%;
}

.product-title {
    font-size: 22px;
    margin: 0 0 15px;
    line-height: 1.3;
    color: var(--secondary-color);
    font-weight: 600;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.product-sku {
    font-size: 14px;
    color: var(--light-text);
}

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

.stars {
    display: flex;
    align-items: center;
}

.star {
    width: 16px;
    height: 16px;
    stroke: var(--primary-color);
    stroke-width: 1px;
    fill: none;
}

.star.filled {
    fill: var(--primary-color);
}

.rating-count {
    font-size: 13px;
    color: var(--light-text);
}

/* Price Section */
.product-price-section {
    margin-bottom: 15px;
}

.product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.current-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary-color);
}

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

.discount-badge {
    display: inline-block;
    padding: 4px 8px;
    background-color: #f44336;
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--btn-radius);
}

/* Shipping Badge */
.shipping-badge {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: var(--btn-radius);
    margin-bottom: 20px;
    color: var(--accent-color);
}

.shipping-badge svg {
    margin-right: 8px;
    color: var(--accent-color);
}

/* Key Features */
.key-features {
    margin-bottom: 20px;
    background-color: var(--light-gray);
    border-radius: var(--card-radius);
    padding: 15px;
}

.key-features h3 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.key-features ul {
    margin: 0;
    padding-left: 20px;
}

.key-features li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

/* Purchase Options */
.purchase-options {
    margin-bottom: 20px;
}

.quantity-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.quantity-container label {
    font-weight: 500;
}

.quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--btn-radius);
    overflow: hidden;
}

.quantity button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.quantity input {
    width: 50px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 16px;
}

.buy-actions {
    display: flex;
    gap: 10px;
}

.order-now-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--btn-radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.wishlist-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--btn-radius);
    cursor: pointer;
}

/* Delivery Options */
.delivery-options {
    margin-bottom: 20px;
}

.delivery-option {
    display: flex;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    margin-bottom: 10px;
}

.delivery-option svg {
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    color: var(--secondary-color);
}

.option-content {
    flex: 1;
}

.option-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.option-desc {
    font-size: 13px;
    color: var(--light-text);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.trust-badge {
    flex: 1 1 calc(33% - 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
    background-color: var(--light-gray);
    border-radius: var(--card-radius);
}

.trust-badge svg {
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.trust-badge span {
    font-size: 13px;
    font-weight: 500;
}

/* Product Tabs */
.product-tabs {
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.tabs-navigation {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-link {
    flex: 1;
    padding: 14px 10px;
    text-align: center;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

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

.tab-content {
    display: none;
    padding: 20px;
    background-color: white;
}

.tab-content.active {
    display: block;
}

/* Reviews Section */
.reviews-section h3 {
    font-size: 18px;
    margin: 0 0 20px;
}

.reviews-summary {
    display: flex;
    margin-bottom: 30px;
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: var(--card-radius);
}

.rating-large {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.rating-stars {
    display: flex;
    margin-bottom: 5px;
}

.review-count {
    font-size: 14px;
    color: var(--light-text);
}

.reviews-list {
    margin-bottom: 30px;
}

.review-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.reviewer-name {
    font-weight: 600;
}

.review-date {
    font-size: 13px;
    color: var(--light-text);
}

.review-rating {
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    line-height: 1.5;
}

.no-reviews {
    font-style: italic;
    color: var(--light-text);
}

.write-review-action {
    margin-bottom: 20px;
    text-align: center;
}

.write-review-btn {
    padding: 12px 24px;
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--btn-radius);
    font-weight: 600;
    cursor: pointer;
}

.write-review-form {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: var(--card-radius);
    margin-top: 20px;
}

.rating-stars-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-stars-input input[type="radio"] {
    display: none;
}

.rating-stars-input label {
    cursor: pointer;
    width: 30px;
    font-size: 30px;
    color: var(--medium-gray);
}

.rating-stars-input svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-color);
    stroke-width: 1px;
    fill: none;
    transition: fill 0.2s ease;
}

.rating-stars-input input[type="radio"]:checked ~ label svg,
.rating-stars-input input[type="radio"]:checked + label svg,
.rating-stars-input label:hover ~ label svg,
.rating-stars-input label:hover svg {
    fill: var(--primary-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--btn-radius);
    font-family: inherit;
    font-size: 14px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn-cancel, .btn-submit {
    flex: 1;
    padding: 12px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    cursor: pointer;
}

.btn-cancel {
    background-color: white;
    border: 1px solid var(--border-color);
}

.btn-submit {
    background-color: var(--primary-color);
    border: none;
    color: var(--secondary-color);
}

/* Ask Question */
.ask-question-section {
    margin-bottom: 30px;
}

.ask-question-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    gap: 8px;
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    font-weight: 600;
    cursor: pointer;
}

/* Related Products */
.related-products {
    margin-bottom: 30px;
    padding: 30px 0;
    background-color: var(--light-gray);
}

.section-title {
    font-size: 20px;
    margin: 0 0 20px;
    text-align: center;
    font-weight: 600;
}

.product-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.product-card {
    position: relative;
    flex: 0 0 230px;
    background-color: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f44336;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

.product-card-img {
    display: block;
    height: 180px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

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

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

.product-card-title {
    font-size: 14px;
    margin: 0 0 10px;
    line-height: 1.3;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.product-card-price .current-price {
    font-size: 18px;
    font-weight: 700;
}

.product-card-price .old-price {
    font-size: 14px;
}

.product-card-button {
    display: block;
    width: 100%;
    padding: 10px 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    border-radius: var(--btn-radius);
    font-weight: 600;
    text-decoration: none;
}

/* Recently Viewed */
.recently-viewed {
    margin-bottom: 80px; /* Extra bottom margin for sticky CTA */
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.product-info-sticky {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sticky-product-details {
    overflow: hidden;
}

.sticky-product-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.sticky-product-price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 16px;
}

.sticky-actions {
    display: flex;
}

.sticky-add-to-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--btn-radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

/* Specifications Table */
.specifications-table {
    width: 100%;
}

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

.specifications-table th, 
.specifications-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.specifications-table th {
    background-color: var(--light-gray);
    width: 40%;
    font-weight: 600;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .mobile-sticky-cta {
        display: block;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .image-wrapper {
        height: 250px;
    }
    
    .thumb {
        flex: 0 0 50px;
        height: 50px;
    }
    
    .current-price {
        font-size: 22px;
    }
    
    .trust-badges {
        gap: 5px;
    }
    
    .trust-badge {
        padding: 10px 5px;
    }
}

@media (max-width: 480px) {
    .product-section {
        padding: 0 0 30px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .product-title {
        font-size: 18px;
    }
    
    .image-wrapper {
        height: 220px;
    }
    
    .thumb {
        flex: 0 0 45px;
        height: 45px;
    }
    
    .tab-link {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    .key-features h3 {
        font-size: 15px;
    }
    
    .delivery-option {
        padding: 10px;
    }
    
    .option-title {
        font-size: 14px;
    }
    
    .option-desc {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .product-card {
        flex: 0 0 200px;
    }
    
    .product-card-img {
        height: 150px;
    }
}



/* Image Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    z-index: 1;
}

.modal-content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.placeholder-message {
    padding: 20px;
    text-align: center;
    color: var(--light-text);
    font-style: italic;
}