/* ================================ */
/* 		Show & hide content	   	    */
/* ================================ */
#cgkit-tab-description {
    overflow: hidden !important; 
    position: relative;
    transition: height 0.4s ease;
}

#cgkit-tab-description.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1)); 
    pointer-events: none;
}
.toggle-desc-btn {
    display: block;
    margin: 20px auto;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}

.toggle-desc-btn:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

.toggle-desc-btn .icon {
    font-size: 12px;
    margin-left: 5px;
}

/* ================================ */
/* 		Technical specifications    */
/* ================================ */
@media (min-width: 992px) {
    #cgkit-tab-additional_information .shop_attributes tbody {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    #cgkit-tab-additional_information .shop_attributes tr {
        width: 50%;
        display: flex; 
        align-items: center;
        box-sizing: border-box;
        border-bottom: 1px solid #ececec; 
    }
    #cgkit-tab-additional_information .shop_attributes th {
        width: 35%; 
        flex-shrink: 0;
        padding: 10px;
        border: none; 
    }
    #cgkit-tab-additional_information .shop_attributes td {
        width: 65%;
        padding: 10px;
        border: none; 
    }
    #cgkit-tab-additional_information .shop_attributes tr:nth-child(odd) {
        border-right: 1px solid transparent; 
        padding-left: 15px; 
    }
    #cgkit-tab-additional_information .shop_attributes tr:nth-child(even) {
        padding-right: 15px; 
        border-right: none;
    }
    #cgkit-tab-additional_information .shop_attributes tr:nth-child(odd),
    #cgkit-tab-additional_information .shop_attributes tr:nth-child(even) {
        background: transparent;
    }
}

/* Fade-in for the whole table */
#cgkit-tab-additional_information .shop_attributes {
    opacity: 0;
    transform: translateY(10px);
    animation: specsFadeIn 0.6s ease-out forwards;
}

@keyframes specsFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effect on each row */
#cgkit-tab-additional_information .shop_attributes tr {
    transition: background-color 0.25s ease, transform 0.25s ease;
}

#cgkit-tab-additional_information .shop_attributes tr:hover {
    background-color: #fafafa;
    transform: translateX(-3px);
}

/* Highlight label on hover */
#cgkit-tab-additional_information .shop_attributes tr:hover th {
    color: #000;
    font-weight: 600;
}

/* Soft shadow separation per row */
#cgkit-tab-additional_information .shop_attributes tr {
    position: relative;
}

#cgkit-tab-additional_information .shop_attributes tr::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #e6e6e6, transparent);
}


/* ==================================== */
/* 			Reviews & Comments 			*/
/* ==================================== */
#cgkit-tab-reviews,
#cgkit-tab-additional_information {
    overflow: visible !important; 
    transform: none !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel,
.woocommerce-Tabs-panel--reviews,
.site-content,
.entry-content {
    transform: none !important;
}

#review_form_wrapper {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-top: 20px;
}
.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
}

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

#submit {
    width: 100%;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
	text-align: center;
}
#submit:hover {
    background: #ff5601;
}
@media (min-width: 992px) {
    .woocommerce-Reviews {
        display: flex;
        align-items: flex-start; 
        justify-content: space-between;
        gap: 30px; 
        position: relative;
    }
    .woocommerce-Reviews .clear {
        display: none;
    }
    #comments {
        flex: 0 0 60%; 
        width: 60%;
        margin: 0;
    }
	
    #review_form_wrapper {
        flex: 0 0 35%;
        width: 35%;
        margin-top: 0; 
        position: -webkit-sticky;
        position: sticky;
        top: 100px; 
        z-index: 9;
    }
}

/* ================================================================================== */
/* ۳. متا و اطلاعات محصول (Product Meta) */
/* ================================================================================== */
.shoptimizer-custom-product-meta {
	margin: 16px 0;
	padding: 12px 0;
	border-top: 1px solid #e2e2e2;
}

.shoptimizer-custom-product-meta .meta-item {
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.shoptimizer-custom-product-meta .meta-item:last-child {
	margin-bottom: 0;
}

.product-main-title {
	text-align: center;
}




.custom-tags-inside-description {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e6e6e6;
}

.custom-tags-inside-description .custom-tags-title {
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
}

.product-tags-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-tags-list li {
    display: inline-block;
    margin: 0 8px 10px 0;
}

.product-tag-item {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    background: #f4f4f4;
    color: #333;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.product-tag-item:hover {
    background: #ff5601;
/* 	#e0e0e0; */
    color: #111;
}











#commercekit-atc-tabs-wrap {
    --ck-brand-dark: #263238;   
    --ck-brand-accent: #ff6601; 
    --ck-text-main: #333333;   
    --ck-bg-light: #f4f6f8;    
}

#commercekit-atc-tabs-wrap {
    line-height: 1.8; 
    color: var(--ck-text-main);
    direction: rtl; 
}

#commercekit-atc-tabs-wrap h1 {
    color: var(--ck-brand-dark);
    border-bottom: 3px solid var(--ck-brand-accent); 
    padding-bottom: 15px;
    margin-bottom: 1.5em;
    font-weight: bold;
}

#commercekit-atc-tabs-wrap h2 {
    color: var(--ck-brand-dark);
/*     margin-top: 2em; */
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    font-weight: bold;
}

#commercekit-atc-tabs-wrap h2::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 1.2em; 
    background-color: var(--ck-brand-accent);
    margin-left: 12px; 
    border-radius: 4px;
}

#commercekit-atc-tabs-wrap h3 {
    color: var(--ck-brand-dark);
/*     margin-top: 1.5em; */
    margin-bottom: 0.8em;
    font-weight: bold;
}

#commercekit-atc-tabs-wrap p {
    margin-bottom: 1.5em;
	padding-right: 10px;
}

#commercekit-atc-tabs-wrap strong {
    color: var(--ck-brand-dark);
}

#commercekit-atc-tabs-wrap hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to left, rgba(0, 38, 58, 0), rgba(0, 38, 58, 0.2), rgba(0, 38, 58, 0));
    margin: 3em 0;
}

#commercekit-atc-tabs-wrap ul, 
#commercekit-atc-tabs-wrap ol {
    margin-bottom: 1.5em;
    padding-right: 1.5em;
/* 	padding-right: 0; */
}

#commercekit-atc-tabs-wrap li {
    margin-bottom: 0.5em;
	 padding-right: 10px;
}

#commercekit-atc-tabs-wrap li::marker {
    color: var(--ck-brand-accent);
    font-weight: bold;
}

#commercekit-atc-tabs-wrap blockquote {
    background-color: var(--ck-bg-light);
    border-right: 5px solid var(--ck-brand-accent);
    margin: 2.5em 0;
    padding: 1.5em;
    border-radius: 8px;
    font-style: italic;
    color: var(--ck-brand-dark);
}

#commercekit-atc-tabs-wrap .bikeup-cta-btn {
    display: block;
    width: fit-content;
    margin: 3em auto 1em;
    background-color: var(--ck-brand-accent);
    color: #ffffff !important;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 10px rgba(187, 2, 10, 0.2);
    transition: background-color 0.3s ease;
}

#commercekit-atc-tabs-wrap .bikeup-cta-btn:hover {
    background-color: var(--ck-brand-dark); 
    color: #ffffff !important;
}







