/* ========== GENERAL STRUCTURE ========== */

.color-swatch-group,
.frame-swatch-group {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.frame-swatch-group {
    margin-top: 15px;
}

form.cart {
    display: block !important;
}

section.related.products {
    display: none !important;
}

/* ========== PRODUCT PAGE LAYOUT ========== */

.woocommerce-product-gallery {
    width: 40% !important;
}

.summary.entry-summary {
    width: 55% !important;
}

.woocommerce-js div.product .product_title {
    font-size: 28px;
    font-weight: bold;
}

.product_meta,
.quantity,
button.single_add_to_cart_button,
.woocommerce-js div.product div.summary .single-product-category {
    display: none !important;
}

/* ========== COLOR SWATCHES ========== */

span.color-circle,
.tabbed-color-swatches span.color-circle {
    display: inline-block;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

span.color-circle {
    width: 50px;
    height: 50px;
}

.tabbed-color-swatches span.color-circle {
    width: 30px;
    height: 30px;
}

label.color-swatch-label {
    margin: 0;
    cursor: pointer;
    display: inline-block;
    margin: 3px;
}

span.color-name {
    display: block;
    text-align: center;
}

.color-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ccc;
}

.color-swatch-label input:checked + .color-circle,
.color-swatch-label .color-circle.selected {
    border-color: #000;
}

.color-swatch-label input:checked + .color-circle:after {
    content: '';
    background-image: url(/wp-content/uploads/2025/07/tyu.png);
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
    left: 0;
    top: 0;
}

/* ========== TABS NAVIGATION ========== */

.tabs-nav {
    display: flex;
    gap: 5px;
}

.tabs-nav button.tab-btn {
    padding: 15px 20px;
    border: 1px solid #ccc;
    border-radius: 0;
    background-color: #04223F;
    color: #FFFFFF;
    cursor: pointer;
}

.tabs-nav button.tab-btn.active {
    background-color: #FCD13C;
    color: #fff;
    font-weight: bold;
}

/* ========== TAB GROUP CONTAINER ========== */

.custom-product-tabs {
    margin-top: 40px;
}

.wc-tabbed-product-groups {
    margin-top: 30px;
}

.wc-tab-nav {
    list-style: none;
    display: flex;
    gap: 10px;
    padding-left: 0;
}

.wc-tab-nav li a {
    display: block;
    padding: 8px 16px;
    background: #f3f3f3;
    border: 1px solid #ddd;
    text-decoration: none;
}

.wc-tab-nav li a.active {
    background: #fff;
    border-bottom: none;
}

.wc-tab-content {
    display: none;
    padding: 15px;
    border: 1px solid #ddd;
    margin-top: -1px;
}

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

/* ========== PRODUCTS INSIDE TABS ========== */

.tab-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
/* 	justify-content: space-between; */
}

.tabbed-product {
    box-sizing: border-box;
    display: inline-block;
    width: 180px;
    padding: 10px;
    text-align: center;
    vertical-align: top;
    border: 1px solid #ddd;
    transition: all 0.2s;
	flex: 0 0 calc(25% - 24px);
	
}

.tabbed-product.selected {
    border-color: #15de00;
    background: #15de0033;
}

.tabbed-product input[type="checkbox"] {
    display: block;
    margin: 0 auto 5px;
}

.tabbed-product-thumb img {
    max-width: 100%;
    height: auto;
    background-color: #fff;
    margin-bottom: 5px;
}

.product-checkbox-wrapper {
    cursor: pointer;
    display: block;
}

.product-title {
    margin-top: 5px;
    font-weight: 600;
}

.qty-label {
    display: block;
    margin-top: 20px;
}

div#custom-product-options legend {
    font-size: 16px;
    margin-top: 20px;
}

.tabbed-color-swatches {
    margin: 20px 0 0;
}

div#tab_related button.tab-btn {flex: 1;}

div#tab_related .tabs-nav {
    justify-content: space-between;
}

div#tab_related .tab-content {
    border: 1px solid #e8e8e8;
    padding: 30px;
    border-top: 0;
}
