/*
Theme Name: Miniture Child
Theme URI: http://miniture.novaworks.net
Description: This is a child theme for Miniture Theme.
Author: Novaworks
Author URI: http: //www.novaworks.net/
Template: miniture
Version: 1.2
*/

/* =============================================================================
   INDUSTRIAL GASES - CUSTOM STYLES
   ============================================================================= */

/* =============================================================================
   SHOP SIDEBAR - ENHANCED STYLING
   ============================================================================= */

/* Sidebar Container */
.nova-sidebar .nova-sidebar__container {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Widget Styling */
.nova-sidebar .widget {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.nova-sidebar .widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Widget Titles */
.nova-sidebar .widget-title,
.nova-sidebar .filter-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1a1a2e;
    color: #1a1a2e;
}

/* Category List Styling */
.nova-sidebar .product-categories,
.nova-sidebar .woocommerce-widget-layered-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nova-sidebar .product-categories li,
.nova-sidebar .woocommerce-widget-layered-nav-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.nova-sidebar .product-categories li:last-child,
.nova-sidebar .woocommerce-widget-layered-nav-list li:last-child {
    border-bottom: none;
}

.nova-sidebar .product-categories li:hover,
.nova-sidebar .woocommerce-widget-layered-nav-list li:hover {
    padding-left: 8px;
}

.nova-sidebar .product-categories a,
.nova-sidebar .woocommerce-widget-layered-nav-list a {
    color: #444;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.nova-sidebar .product-categories a:hover,
.nova-sidebar .woocommerce-widget-layered-nav-list a:hover {
    color: #e63946;
}

/* Product count badge */
.nova-sidebar .product-categories .count,
.nova-sidebar .woocommerce-widget-layered-nav-list .count {
    background: #f8f9fa;
    color: #666;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
}

/* Price Filter */
.nova-sidebar .widget_price_filter .ui-slider {
    background: #e9ecef;
    border-radius: 4px;
    height: 8px;
    margin: 15px 0;
}

.nova-sidebar .widget_price_filter .ui-slider .ui-slider-range {
    background: linear-gradient(90deg, #e63946, #f72585);
    border-radius: 4px;
}

.nova-sidebar .widget_price_filter .ui-slider .ui-slider-handle {
    background: #fff;
    border: 3px solid #e63946;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    top: -6px;
    cursor: grab;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nova-sidebar .widget_price_filter .button {
    background: #1a1a2e;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
}

.nova-sidebar .widget_price_filter .button:hover {
    background: #e63946;
    transform: translateY(-2px);
}

/* =============================================================================
   PRODUCT PAGE - TABS STYLING (SPECS + DELIVERY)
   ============================================================================= */

/* Tab Container */
.nova-woocommerce-tabs {
    margin-top: 50px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Tab Navigation */
.nova-woocommerce-tabs .tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
    border-bottom: 1px solid #e9ecef;
}

.nova-woocommerce-tabs .tabs-title {
    margin: 0;
    flex: 1;
}

.nova-woocommerce-tabs .tabs-title a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 30px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.nova-woocommerce-tabs .tabs-title a:hover {
    color: #1a1a2e;
    background: rgba(26, 26, 46, 0.03);
}

.nova-woocommerce-tabs .tabs-title.is-active a {
    color: #e63946;
    background: #fff;
    border-bottom-color: #e63946;
}

/* Tab Content */
.nova-woocommerce-tabs .tabs-content {
    padding: 0;
    background: #f8f9fa;
}

.nova-woocommerce-tabs .tabs-panel {
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
    background: #fff;
    border-radius: 12px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* =============================================================================
   CUSTOM PRODUCT TABS (In Description Content)
   ============================================================================= */

.product-tabs {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid #e9ecef;
}

.product-tabs .tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.product-tabs .tab-item {
    padding: 12px 24px;
    background: #f4f6f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
}

.product-tabs .tab-item:hover {
    background: #e9ecef;
    border-color: #ccc;
}

.product-tabs .tab-item.active {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    color: #fff;
    border-color: #1a1a2e;
}

.product-tabs .tab-content {
    display: none;
    padding: 30px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.product-tabs .tab-content.active {
    display: block;
}

.product-tabs .tab-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #e63946;
    display: inline-block;
}

.product-tabs .content-section {
    background: #fff;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    border-left: 4px solid #e63946;
    line-height: 2;
    color: #444;
}

.product-tabs .content-section:last-child {
    margin-bottom: 0;
}

.product-tabs .content-section strong {
    color: #1a1a2e;
    font-weight: 700;
}

.product-tabs .content-section a {
    color: #e63946;
    font-weight: 600;
    text-decoration: underline;
}

.product-tabs .content-section a:hover {
    color: #c62935;
}

/* =============================================================================
   SPECIFICATIONS TAB - CLEAN TABLE FORMAT
   ============================================================================= */

.specifications-tab-content {
    width: 100%;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.specs-table tr {
    transition: background 0.2s ease;
}

.specs-table tr:nth-child(odd) {
    background: #fff;
}

.specs-table tr:nth-child(even) {
    background: #f4f6f8;
}

.specs-table tr:hover {
    background: #eef2f7;
}

.specs-table th {
    text-align: left;
    padding: 20px 28px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 35%;
    border-right: 1px solid rgba(255,255,255,0.1);
    vertical-align: middle;
}

.specs-table td {
    padding: 20px 28px;
    color: #333;
    font-size: 15px;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 500;
    line-height: 1.7;
    vertical-align: middle;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

/* Single row table - option selector style */
.specs-table tr:only-child td {
    background: linear-gradient(145deg, #f8f9fa 0%, #fff 100%);
    border-left: 4px solid #e63946;
}

/* Better formatting for long cell content */
.specs-table td br {
    display: block;
    margin: 8px 0;
}

/* Extracted content from description */
.extracted-specs-content,
.custom-specs-content {
    margin-top: 45px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
    text-align: left;
}

.extracted-specs-content h2,
.extracted-specs-content h3,
.extracted-specs-content h4,
.custom-specs-content h2,
.custom-specs-content h3,
.custom-specs-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    margin: 40px 0 25px 0;
    padding: 14px 24px;
    border-left: 4px solid #e63946;
    border-radius: 0 8px 8px 0;
    display: block;
    text-align: left;
    box-shadow: 0 3px 15px rgba(26,26,46,0.15);
}

.extracted-specs-content h2:first-child,
.extracted-specs-content h3:first-child,
.extracted-specs-content h4:first-child,
.custom-specs-content h2:first-child,
.custom-specs-content h3:first-child,
.custom-specs-content h4:first-child {
    margin-top: 0;
}

.extracted-specs-content ul,
.custom-specs-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.extracted-specs-content li,
.custom-specs-content li {
    padding: 16px 24px 16px 50px;
    position: relative;
    color: #444;
    font-size: 15px;
    line-height: 1.8;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    margin-bottom: 12px;
    border-radius: 8px;
    text-align: justify;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.extracted-specs-content li:hover,
.custom-specs-content li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-color: #e63946;
}

.extracted-specs-content li:last-child,
.custom-specs-content li:last-child {
    margin-bottom: 0;
}

.extracted-specs-content li::before,
.custom-specs-content li::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 22px;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #e63946 0%, #f72585 100%);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(230,57,70,0.4);
}

.extracted-specs-content p,
.custom-specs-content p {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #ddd;
}

.extracted-specs-content strong,
.custom-specs-content strong {
    color: #1a1a2e;
    font-weight: 700;
}

/* =============================================================================
   DELIVERY TAB - INFO GRID
   ============================================================================= */

.delivery-tab-content {
    width: 100%;
    text-align: left;
}

.delivery-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

.delivery-item {
    background: linear-gradient(145deg, #ffffff 0%, #f4f6f8 100%);
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 35px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.delivery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #e63946;
}

.delivery-icon {
    font-size: 42px;
    margin-bottom: 18px;
    display: inline-block;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px;
    border-radius: 12px;
}

.delivery-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 14px 0;
}

.delivery-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.delivery-note {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border-left: 4px solid #ffc107;
    border-radius: 0 8px 8px 0;
    padding: 20px 25px;
    margin-top: 20px;
}

.delivery-note p {
    margin: 0;
    font-size: 14px;
    color: #856404;
}

.delivery-note a {
    color: #533f03;
    font-weight: 600;
    text-decoration: underline;
}

.delivery-note a:hover {
    color: #e63946;
}

/* Responsive Delivery Grid */
@media (max-width: 768px) {
    .delivery-info-grid {
        grid-template-columns: 1fr;
    }

    .nova-woocommerce-tabs .tabs-panel {
        padding: 30px 20px;
        max-width: 100%;
        margin: 15px 10px;
        border-radius: 8px;
    }

    .specs-table th,
    .specs-table td {
        padding: 14px 18px;
    }

    .extracted-specs-content li,
    .custom-specs-content li {
        padding: 14px 18px 14px 40px;
    }

    .extracted-specs-content li::before,
    .custom-specs-content li::before {
        left: 14px;
        top: 19px;
    }

    .extracted-specs-content h2,
    .extracted-specs-content h3,
    .extracted-specs-content h4,
    .custom-specs-content h2,
    .custom-specs-content h3,
    .custom-specs-content h4 {
        padding: 12px 18px;
        font-size: 15px;
    }

    /* Custom product tabs responsive */
    .product-tabs .tab-list {
        flex-direction: column;
    }

    .product-tabs .tab-item {
        text-align: center;
    }

    .product-tabs .tab-content {
        padding: 20px;
    }

    .product-tabs .content-section {
        padding: 15px 18px;
    }
}

/* =============================================================================
   RESPONSIVE TABS
   ============================================================================= */

@media (max-width: 600px) {
    .nova-woocommerce-tabs .tabs {
        flex-direction: column;
    }

    .nova-woocommerce-tabs .tabs-title a {
        padding: 18px 20px;
        border-left: 3px solid transparent;
        border-bottom: none;
        justify-content: flex-start;
    }

    .nova-woocommerce-tabs .tabs-title.is-active a {
        border-left-color: #e63946;
        border-bottom-color: transparent;
    }

    .specs-table th,
    .specs-table td {
        display: block;
        width: 100%;
    }

    .specs-table th {
        padding-bottom: 8px;
    }

    .specs-table td {
        padding-top: 8px;
        padding-bottom: 20px;
        background: #fff !important;
    }
}

/* =============================================================================
   SHOP PAGE - PRODUCT GRID ENHANCEMENTS
   ============================================================================= */

/* Product Card */
.products .product {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.products .product:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
    background: #1a1a2e;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: #e63946;
    color: #fff;
    transform: translateY(-2px);
}

.woocommerce .single_add_to_cart_button {
    background: #e63946;
    padding: 18px 45px;
    font-size: 16px;
}

.woocommerce .single_add_to_cart_button:hover {
    background: #c62935;
}

/* Price */
.woocommerce .price {
    color: #e63946;
    font-weight: 700;
}

.woocommerce .price del {
    color: #999;
    font-weight: 400;
}

.woocommerce .price ins {
    text-decoration: none;
}
