/*
Theme Name: AKASCO
Theme URI: https://akasco.com
Author: AKASCO
Author URI: https://akasco.com
Description: Premium WooCommerce Theme for AKASCO
Version: 1.0.0
Text Domain: akasco
*/

/* ============================================
   RESET & GLOBAL
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #F5F5F5;
    color: #2C2C2C;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

.container, .akasco-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   BLACK TOP BAR - FIXED
   ============================================ */
.black-top-bar {
    background: #000000;
    color: #FFFFFF;
    padding: 8px 0;
    font-size: 12px;
    width: 100%;
    position: relative;
    z-index: 1001;
}

.top-bar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-message {
    color: #FFFFFF;
    font-size: 12px;
}

.top-bar-separator {
    color: #4A4A4A;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 12px;
}

.top-bar-link:hover {
    opacity: 0.7;
}

/* ============================================
   MAIN HEADER - FIXED
   ============================================ */
.site-header {
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px 20px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo a {
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    color: #1A1A1A;
    letter-spacing: 2px;
}

.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.primary-menu a {
    text-decoration: none;
    color: #2C2C2C;
    font-size: 14px;
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.search-toggle, .account-link, .cart-link {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #2C2C2C;
    font-size: 13px;
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #C5A572;
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #2C2C2C;
    margin: 4px 0;
}

/* ============================================
   PRODUCT PAGE - MAIN LAYOUT
   ============================================ */
.akasco-product-page {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
}

.product-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-block {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 0;
}

/* ============================================
   TWO COLUMN LAYOUT - FIXED
   ============================================ */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* LEFT: GALLERY - FIXED */
.product-images-side {
    position: relative;
}

.vertical-gallery {
    display: flex;
    gap: 20px;
    flex-direction: row;
}

.vertical-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80px;
    flex-shrink: 0;
}

.vertical-thumb {
    width: 80px;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E8E8E8;
}

.vertical-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.vertical-thumb.active {
    border-color: #C5A572;
}

.vertical-main-image {
    flex: 1;
    background: #F9F9F9;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-main-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 500px;
}

/* RIGHT: PRODUCT INFO */
.product-info-side {
    padding: 0;
}

.product-brand .brand-name {
    font-size: 12px;
    color: #9B9B9B;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 32px;
    font-weight: 500;
    margin: 15px 0;
    color: #1A1A1A;
}

.product-reviews-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars-wrapper {
    display: flex;
    gap: 3px;
}

.star {
    font-size: 16px;
    color: #E0E0E0;
}

.star.filled {
    color: #C5A572;
}

.product-price {
    font-size: 28px;
    font-weight: 600;
    color: #C5A572;
    margin-bottom: 25px;
}

/* Variation Buttons */
.product-variations {
    margin: 20px 0;
}

.variation-group {
    margin-bottom: 20px;
}

.variation-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4A4A4A;
}

.variation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.variation-triangle {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: #4A4A4A;
}

.variation-triangle:hover,
.variation-triangle.selected {
    background: #C5A572;
    border-color: #C5A572;
    color: #FFFFFF;
}

/* Add to Cart Button */
.product-add-to-cart {
    margin: 25px 0;
}

.single_add_to_cart_button,
.woocommerce button.button.alt {
    background: #1A1A1A !important;
    color: #FFFFFF !important;
    padding: 16px 32px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 40px !important;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.single_add_to_cart_button:hover {
    background: #C5A572 !important;
    transform: translateY(-2px);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #F0F0F0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6B6B6B;
}

.trust-badge svg {
    flex-shrink: 0;
}

/* ============================================
   TABS SECTION
   ============================================ */
.tabs-wrapper {
    width: 100%;
}

.tabs-navigation {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 25px;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    color: #9B9B9B;
    cursor: pointer;
    position: relative;
}

.tab-button.active {
    color: #1A1A1A;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #C5A572;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-content-inner {
    color: #6B6B6B;
    line-height: 1.6;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table tr {
    border-bottom: 1px solid #F0F0F0;
}

.specifications-table th,
.specifications-table td {
    padding: 12px 0;
    text-align: left;
}

.specifications-table th {
    font-weight: 600;
    width: 30%;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 25px;
}

.no-reviews {
    text-align: center;
    padding: 40px;
    background: #F9F9F9;
}

.write-review-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    background: #1A1A1A;
    color: white;
    text-decoration: none;
    font-size: 13px;
}

/* Comment Form */
#respond {
    margin-top: 40px;
}

#reply-title {
    font-size: 18px;
    margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E0E0E0;
    margin-bottom: 15px;
    font-family: inherit;
}

.form-submit .submit {
    background: #1A1A1A;
    color: white;
    padding: 12px 28px;
    border: none;
    cursor: pointer;
}

/* ============================================
   RELATED PRODUCTS - John Lewis Premium Style
   ============================================ */

.product-related-block {
    padding: 40px !important;
}

.related-title {
    font-size: 22px;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 30px;
    letter-spacing: -0.3px;
}

/* Related Products Grid */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Product Card */
.related-product-card {
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.related-product-card:hover {
    transform: translateY(-4px);
}

.related-product-link {
    text-decoration: none;
    display: block;
}

/* Product Image */
.related-product-image {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #F9F9F9;
}

.related-product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.03);
}

/* Sale Badge */
.related-product-card .onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #E53E3E;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

/* Product Title - Clean and medium weight */
.related-product-title {
    font-size: 14px;
    font-weight: 500;
    color: #2C2C2C;
    margin-bottom: 6px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.related-product-card:hover .related-product-title {
    color: #C5A572;
}

/* Product Price - Clean and elegant */
.related-product-price {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #1A1A1A;
}

/* Sale Price Styling */
.related-product-price del {
    color: #9B9B9B;
    font-size: 13px;
    font-weight: 400;
    text-decoration: line-through;
    margin-right: 6px;
}

.related-product-price ins {
    background: none;
    text-decoration: none;
    font-weight: 500;
    color: #E53E3E;
}

/* Add to Cart Button on Hover */
.related-product-card .add-to-cart-hover {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1A1A1A;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 15;
}

.related-product-card:hover .add-to-cart-hover {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
}

.add-to-cart-hover:hover {
    background: #C5A572;
    color: #FFFFFF;
}

/* Responsive */
@media (max-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .product-related-block {
        padding: 24px !important;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .related-product-title {
        font-size: 13px;
    }
    
    .related-product-price {
        font-size: 14px;
    }
    
    .add-to-cart-hover {
        display: none;
    }
}

@media (max-width: 480px) {
    .related-products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .related-product-image {
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #FFFFFF;
    padding: 50px 0 30px;
    margin-top: 50px;
    border-top: 1px solid #F0F0F0;
}

.footer-widgets {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-widget h3 {
    font-size: 14px;
    margin-bottom: 20px;
    color: #4A4A4A;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    text-decoration: none;
    color: #9B9B9B;
    font-size: 13px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 30px auto 0;
    padding: 20px 20px 0;
    text-align: center;
    border-top: 1px solid #F0F0F0;
    font-size: 12px;
    color: #9B9B9B;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .vertical-gallery {
        flex-direction: column;
    }
    
    .vertical-thumbnails {
        flex-direction: row;
        width: 100%;
        order: 2;
    }
    
    .vertical-thumb {
        width: 60px;
    }
    
    .vertical-thumb img {
        height: 60px;
    }
    
    .vertical-main-image {
        order: 1;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .top-bar-left {
        display: none;
    }
    
    .top-bar-right {
        width: 100%;
        justify-content: center;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 10px;
    }
}