/*
Theme Name: Studiare Child Theme
Theme URI: https://www.rtl-theme.com/studiare-online-learning-wordpress-theme/
Author: Suncode
Author URI: https://www.rtl-theme.com/author/bagherpebs/
Description: The Studiare child theme is designed for your custom coding and styling needs. If you don't require it, activate the main theme and remove the child theme.
Version: 13.3
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: rtl-language-support, classes, courses, education, education center, learning center, tutoring, teaching, study, studying, learning, lessons, instructor, teacher, mentor
Text Domain: studiare
Template: studiare
*/


element {
}
.woocommerce-tabs .woocommerce-Tabs-panel *, .woocommerce-tabs .woocommerce-Tabs-panel p, .woocommerce-tabs .woocommerce-Tabs-panel li, .woocommerce-tabs .woocommerce-Tabs-panel h1, .woocommerce-tabs .woocommerce-Tabs-panel h2, .woocommerce-tabs .woocommerce-Tabs-panel h3, .woocommerce-tabs .woocommerce-Tabs-panel h4, .woocommerce-tabs .woocommerce-Tabs-panel h5, .woocommerce-tabs .woocommerce-Tabs-panel h6 {
  color: #f3efe5 !important;
}
.course-section {
  margin-bottom: 10px;
}
.course-section {
  background: linear-gradient(145deg,#0b1d3a,#0f2547);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 16px;
  margin-bottom: 18px;
  overflow: hidden;
  transition: all .35s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  -webkit-box-sizing: border-box;
  border: 0;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}
*, ::before, ::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.woocommerce-tabs .woocommerce-Tabs-panel {
  color: #f3efe5 !important;
}
:root .rtl {
  --e-a-font-family: 'iransansxv',iransansx ,sans-serif;
}
body.rtl, html[dir="rtl"] {
  --direction-multiplier: -1;
}
body.rtl, body.rtl table tr th, body.rtl .shop_table tfoot tr {
  text-align: right;
}
body.rtl, html[dir="rtl"] {
  --direction-multiplier: -1;
}
.elementor-kit-2679 {
}
body {
  font-family: IRANYekanXVFaNumVF;
  font-weight: 300;
  font-style: normal;
  color: #001033;
  font-size: 14px;
}
body {
  color: #7d7e7f;
  font-size: 15px;
  line-height: 1.75rem;
}
body, :not(.wp-core-ui) button, input, select, textarea {
  line-height: 1.5;
}
body {
  color: #212529;
  font-family: 'iransansxv',iransansx ,sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}
:root {
  --page-title-display: block;
}
:root {
  --direction-multiplier: 1;
}
:root {
  --navy: #07162d;
  --navy-2: #0b1d3a;
  --gold: #c8a862;
  --gold-soft: rgba(200,168,98,.18);
  --line: rgba(200,168,98,.35);
  --text: #f4efe2;
}
:root {
  --sc-brdcm-bg-background-color: #4ecdc4;
  --sc-brdcm-bg-background-repeat: ;
  --sc-brdcm-bg-background-size: ;
  --sc-brdcm-bg-background-attachment: ;
  --sc-brdcm-bg-background-position: ;
  --sc-brdcm-bg-background-image: ;
}
:root {
}
:root {
  --srm-btn-bg: #ffffff;
  --srm-btn-text: #0049f8;
  --srm-btn-border: #0049f8;
  --srm-fade-top: rgba(255,255,255,0);
  --srm-fade-bot: rgba(255,255,255,1);
  --srm-zindex: 10;
}
:root {
}
:root {
}
:root {
  --wp--preset--font-size--normal: 16px;
  --wp--preset--font-size--huge: 42px;
}
:root {
}
:root {
}
:root {
  --direction-multiplier: 1;
}
html {
  -webkit-text-size-adjust: 100%;
  font-family: sans-serif;
  line-height: 1.15;
}
html {
  --wp-admin--admin-bar--height: 32px;
}

/* =====================================
STUDIARE COURSE ACCORDION FINAL STYLE
===================================== */

.single-product .woocommerce-tabs #tab-course-content .course-section{
background:linear-gradient(145deg,#0b1d3a,#0f2547);
border:1px solid rgba(212,175,55,0.35);
border-radius:16px;
margin-bottom:18px !important;
overflow:hidden;
transition:all .35s ease;
box-shadow:0 12px 40px rgba(0,0,0,0.35);
}

.single-product .woocommerce-tabs #tab-course-content .course-section:hover{
transform:translateY(-3px);
box-shadow:0 18px 50px rgba(0,0,0,0.45);
}


/* ===============================
SECTION HEADER
=============================== */

.single-product #tab-course-content .sc-course-lesson-toggle-wrapper{
display:flex;
align-items:center;
justify-content:space-between;
padding:18px 22px;
cursor:pointer;
background:rgba(255,255,255,0.02);
transition:.3s ease;
position:relative;
}

.single-product #tab-course-content .sc-course-lesson-toggle-wrapper:hover{
background:rgba(212,175,55,0.08);
}

.single-product #tab-course-content .course-section-title{
font-size:16px;
font-weight:700;
color:#ffffff;
margin:0;
letter-spacing:.3px;
}


/* ===============================
GOLD SEPARATOR
=============================== */

.single-product #tab-course-content .sc-course-lesson-toggle-wrapper:after{
content:"";
position:absolute;
bottom:0;
left:0;
width:100%;
height:1px;
background:linear-gradient(to right,transparent,#d4af37,transparent);
opacity:.6;
}


/* ===============================
TOGGLE ICON
=============================== */

.single-product #tab-course-content .sc-course-lesson-toggle{
width:34px;
height:34px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
background:rgba(212,175,55,0.15);
transition:.35s ease;
}

.single-product #tab-course-content .sc-course-lesson-toggle i{
color:#d4af37;
font-size:14px;
transition:.35s ease;
}

.single-product #tab-course-content .active_tab_by_suncode .sc-course-lesson-toggle i{
transform:rotate(180deg);
}

.single-product #tab-course-content .active_tab_by_suncode{
background:linear-gradient(145deg,#102b52,#0b1d3a);
box-shadow:0 0 0 1px rgba(212,175,55,0.6),
0 15px 45px rgba(212,175,55,0.15);
}


/* ===============================
LESSON ROW
=============================== */

.single-product #tab-course-content .course-panel-heading{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 22px;
border-top:1px solid rgba(255,255,255,0.05);
background:rgba(255,255,255,0.02);
transition:.25s ease;
}

.single-product #tab-course-content .course-panel-heading:hover{
background:rgba(212,175,55,0.07);
}

.single-product #tab-course-content .course-panel-heading h4{
font-size:14px;
color:#ffffff;
margin:0;
font-weight:600;
}

.single-product #tab-course-content .course-panel-heading i{
color:#d4af37;
margin-left:8px;
}


/* ===============================
BADGE
=============================== */

.single-product #tab-course-content .badge-item{
background:#d4af37;
color:#0b1d3a;
font-size:11px;
padding:3px 8px;
border-radius:6px;
margin-right:6px;
font-weight:600;
}


/* ===============================
CONTENT
=============================== */

.single-product #tab-course-content .panel-content{
background:rgba(0,0,0,0.35);
padding:22px;
color:#ddd;
animation:accordionFade .35s ease;
}

@keyframes accordionFade{
from{
opacity:0;
transform:translateY(-5px);
}
to{
opacity:1;
transform:translateY(0);
}
}


/* ===============================
LOCKED LESSON
=============================== */

.single-product #tab-course-content .private-lesson{
background:rgba(212,175,55,0.15);
color:#d4af37;
padding:4px 10px;
border-radius:8px;
font-size:12px;
display:flex;
align-items:center;
gap:6px;
}/* =========================================
   STUDIARE COURSE ACCORDION - FINAL
   Scoped to single product curriculum tab
========================================= */

.single-product .woocommerce-tabs #tab-course-content .course-section{
  background: linear-gradient(145deg, #07162e 0%, #0b2242 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 18px;
  margin-bottom: 18px !important;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.single-product .woocommerce-tabs #tab-course-content .course-section:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  border-color: rgba(212, 175, 55, 0.45);
}


/* =========================================
   SECTION HEADER
========================================= */

.single-product .woocommerce-tabs #tab-course-content .sc-course-lesson-toggle-wrapper{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  transition: background .25s ease;
}

.single-product .woocommerce-tabs #tab-course-content .sc-course-lesson-toggle-wrapper:hover{
  background: rgba(212, 175, 55, 0.08);
}

.single-product .woocommerce-tabs #tab-course-content .sc-course-lesson-toggle-wrapper::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,175,55,0.65), transparent);
  opacity: .75;
}

.single-product .woocommerce-tabs #tab-course-content .course-section-title{
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #f8f4e8;
  font-weight: 700;
  letter-spacing: .2px;
}


/* =========================================
   TOGGLE ICON
========================================= */

.single-product .woocommerce-tabs #tab-course-content .sc-course-lesson-toggle{
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.single-product .woocommerce-tabs #tab-course-content .sc-course-lesson-toggle i{
  color: #d4af37;
  font-size: 14px;
  transition: transform .3s ease;
}

.single-product .woocommerce-tabs #tab-course-content .active_tab_by_suncode .sc-course-lesson-toggle{
  background: rgba(212, 175, 55, 0.22);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.25), 0 8px 20px rgba(212,175,55,0.12);
}

.single-product .woocommerce-tabs #tab-course-content .active_tab_by_suncode .sc-course-lesson-toggle i{
  transform: rotate(180deg);
}


/* =========================================
   LESSON LIST WRAPPER
========================================= */

.single-product .woocommerce-tabs #tab-course-content .panel-group{
  background: rgba(3, 12, 27, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


/* =========================================
   LESSON ROW
========================================= */

.single-product .woocommerce-tabs #tab-course-content .course-lesson{
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transition: background .22s ease, transform .22s ease;
}

.single-product .woocommerce-tabs #tab-course-content .course-lesson:hover{
  background: rgba(255, 255, 255, 0.03);
}

.single-product .woocommerce-tabs #tab-course-content .course-panel-heading{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
}

.single-product .woocommerce-tabs #tab-course-content .panel-heading-left{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.single-product .woocommerce-tabs #tab-course-content .course-lesson-icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #d4af37, #b88f1f);
  box-shadow: 0 8px 18px rgba(212,175,55,0.18);
  flex: 0 0 auto;
}

.single-product .woocommerce-tabs #tab-course-content .lesson-number{
  color: #07162e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.single-product .woocommerce-tabs #tab-course-content .title{
  min-width: 0;
  flex: 1 1 auto;
}

.single-product .woocommerce-tabs #tab-course-content .title h4{
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.single-product .woocommerce-tabs #tab-course-content .title h4:hover{
  color: #f4e2a1;
}


/* =========================================
   BADGE
========================================= */

.single-product .woocommerce-tabs #tab-course-content .badge-item{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.single-product .woocommerce-tabs #tab-course-content .badge-item.video{
  background: rgba(80, 164, 255, 0.15);
  color: #7ec0ff;
  border: 1px solid rgba(80, 164, 255, 0.25);
}


/* =========================================
   RIGHT SIDE EMPTY BLOCK
========================================= */

.single-product .woocommerce-tabs #tab-course-content .panel-heading-right{
  flex: 0 0 auto;
  min-width: 28px;
}


/* =========================================
   OPTIONAL: ACTIVE SECTION STATE
========================================= */

.single-product .woocommerce-tabs #tab-course-content .active_tab_by_suncode{
  background: linear-gradient(145deg, rgba(12, 35, 68, 0.95), rgba(7, 22, 46, 0.98));
}


/* =========================================
   OPTIONAL: COLLAPSED/OPEN ANIMATION HELP
========================================= */

.single-product .woocommerce-tabs #tab-course-content .panel-group{
  transition: all .3s ease;
}









/* =====================================================
   WOO CART FIX – TARGETING EXACT HTML YOU SENT
   ===================================================== */

/* Kill all theme/elementor white backgrounds for cart */
body.woocommerce-cart .woocommerce,
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .shop_table,
body.woocommerce-cart table.shop_table,
body.woocommerce-cart .woocommerce-cart-form__contents,
body.woocommerce-cart .woocommerce-cart-form__cart-item,
body.woocommerce-cart table.shop_table thead tr,
body.woocommerce-cart table.shop_table tbody tr {
    background: transparent !important;
}


/* ===== THE MAIN CART TABLE ===== */
body.woocommerce-cart table.shop_table {
    background: rgba(7,22,46,0.55) !important;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 16px;
    overflow: hidden;
}

/* Table head */
body.woocommerce-cart table.shop_table thead th {
    color: #f4e2a1 !important;
    border: none !important;
    font-weight: 700;
    padding: 15px 10px;
    background: transparent !important;
}

/* Table rows */
body.woocommerce-cart table.shop_table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* Table cells */
body.woocommerce-cart table.shop_table tbody td,
body.woocommerce-cart table.shop_table tbody th.product-name {
    padding: 16px 12px !important;
    color: #ffffff !important;
    border: none !important;
}

/* Product name (TH inside row!) */
body.woocommerce-cart th.product-name a {
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
}
body.woocommerce-cart th.product-name a:hover {
    color: #f4e2a1 !important;
}

/* Thumbnail */
body.woocommerce-cart td.product-thumbnail img {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Remove button */
body.woocommerce-cart a.remove {
    background: rgba(212,175,55,0.15) !important;
    color: #d4af37 !important;
    border-radius: 50% !important;
    width: 28px;
    height: 28px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-decoration: none !important;
}
body.woocommerce-cart a.remove:hover {
    background: rgba(212,175,55,0.25) !important;
    color: #fff !important;
}

/* Quantity box */
body.woocommerce-cart .quantity {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}
body.woocommerce-cart .quantity input.qty {
    width: 60px;
    text-align: center;
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(212,175,55,0.25) !important;
    color: #fff !important;
    border-radius: 10px;
}
body.woocommerce-cart .quantity button {
    background: rgba(212,175,55,0.15) !important;
    border: none !important;
    padding: 4px 10px;
    color: #fff;
    border-radius: 8px;
}

/* Coupon row */
body.woocommerce-cart .coupon input#coupon_code {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(212,175,55,0.25) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 10px 15px !important;
}
body.woocommerce-cart .coupon button.button {
    background: linear-gradient(135deg,#d4af37,#b88b24) !important;
    color: #07162e !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    border: none !important;
}

/* Update cart button */
body.woocommerce-cart button[name="update_cart"] {
    background: #132a54 !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 10px 22px !important;
}

/* Disabled state fix */
body.woocommerce-cart button[disabled] {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

/* Subtotal & price coloring */
body.woocommerce-cart td.product-price span.amount,
body.woocommerce-cart td.product-subtotal span.amount {
    color: #d4af37 !important;
    font-weight: 700;
}

/* Button hover */
body.woocommerce-cart button.button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Mobile fixes */
@media(max-width:768px){
    body.woocommerce-cart table.shop_table thead { display:none!important; }

    body.woocommerce-cart table.shop_table tbody tr {
        display: block !important;
        background: rgba(7,22,46,0.4) !important;
        margin-bottom: 20px;
        border-radius: 12px;
        padding: 10px;
    }

    body.woocommerce-cart table.shop_table tbody td,
    body.woocommerce-cart table.shop_table tbody th.product-name {
        display: block !important;
        padding-left: 40% !important;
        position: relative;
        border: none !important;
    }

    body.woocommerce-cart table.shop_table tbody td:before,
    body.woocommerce-cart table.shop_table tbody th.product-name:before {
        content: attr(data-title);
        position:absolute;
        right: 10px;
        top:10px;
        color: #d4af37;
        font-weight: bold;
    }
}


/* ===============================
   EMPTY CART STYLE
================================ */

body.woocommerce-cart .scemptycart{
    text-align:center;
    padding:80px 20px;
}

/* آیکون */
body.woocommerce-cart .cart_empty_icon svg{
    max-width:220px;
    margin-bottom:30px;
}

body.woocommerce-cart .cart_empty_icon svg .emptycartclr{
    stroke:#d4af37 !important;
}

/* پیام سبد خالی */
body.woocommerce-cart .cart-empty{
    background: rgba(7,22,46,0.55) !important;
    backdrop-filter: blur(16px);
    border:1px solid rgba(212,175,55,0.25);
    border-radius:14px;
    padding:25px 30px;
    color:#fff !important;
    font-size:18px;
    margin-bottom:25px;
}

/* دکمه برگشت به فروشگاه */
body.woocommerce-cart .return-to-shop a.button{
    background: linear-gradient(135deg,#d4af37,#b88b24) !important;
    color:#07162e !important;
    font-weight:700;
    padding:12px 26px;
    border-radius:12px;
    border:none !important;
    transition:all .25s ease;
}

body.woocommerce-cart .return-to-shop a.button:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(212,175,55,.35);
}

body {
    background: linear-gradient(135deg, #07162e 0%, #0c1f3f 100%);
}



/* =========================
MINI CART GLASS STYLE
========================= */

.woocommerce-mini-cart{
    background: rgba(7,22,46,0.92);
    backdrop-filter: blur(16px);
    border:1px solid rgba(212,175,55,0.25);
    border-radius:14px;
    padding:20px;
}

/* آیتم محصول */

.woocommerce-mini-cart-item{
    display:flex;
    gap:12px;
    padding:12px 0;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.woocommerce-mini-cart-item:last-child{
    border-bottom:none;
}

/* تصویر */

.cart-item-image img{
    width:60px;
    border-radius:8px;
}

/* عنوان محصول */

.product-title{
    color:#fff;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

.product-title:hover{
    color:#d4af37;
}

/* قیمت */

.woocommerce-mini-cart .quantity{
    color:#d4af37;
    font-size:13px;
}

/* دکمه حذف */

.remove_from_cart_button{
    color:#d4af37 !important;
    font-size:18px;
    margin-left:6px;
}

.remove_from_cart_button:hover{
    color:#ff4d4d !important;
}

/* فوتر */

.woocommerce-mini-cart__footer{
    margin-top:15px;
    border-top:1px solid rgba(255,255,255,0.08);
    padding-top:15px;
}

/* مجموع */

.woocommerce-mini-cart__total{
    color:#fff;
    font-size:15px;
    margin-bottom:10px;
}

/* دکمه ها */

.woocommerce-mini-cart__buttons .button{
    width:100%;
    text-align:center;
    border-radius:10px;
    padding:10px 14px;
    font-weight:600;
}

/* دکمه مشاهده سبد */

.woocommerce-mini-cart__buttons .button:first-child{
    background:#0c1f3f;
    border:1px solid rgba(212,175,55,0.35);
    color:#fff;
}

/* دکمه تسویه */

.woocommerce-mini-cart__buttons .checkout{
    background:linear-gradient(135deg,#d4af37,#b88b24);
    color:#07162e;
}

/* حالت hover */

.woocommerce-mini-cart__buttons .button:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(212,175,55,.25);
}

