/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/



/* لایه داخلی ویجت heading */
.title-line .elementor-widget-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    position: relative;
}

/* خطوط چپ و راست */
.title-line .elementor-widget-container:before,
.title-line .elementor-widget-container:after {
    content: "";
    flex: 1;
    max-width: 90px;
    height: 2px;
    background: linear-gradient(to right, transparent, #b4004e);
}

.title-line .elementor-widget-container:before {
    background: linear-gradient(to left, transparent, #b4004e);
}

.title-line .elementor-heading-title {
    margin: 0;
    padding: 0 6px;
    white-space: nowrap;
}


/* خطوط تزئینی چپ و راست برای H2 مثل H6 */
h2.elementor-heading-title::before,
h2.elementor-heading-title::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 1px;
}

h2.elementor-heading-title::before {
    right: 0;
    background: linear-gradient(to right, var(--wd-primary-color) 0, var(--wd-primary-color) 35%, var(--wd-primary-color) 65%, transparent 100%);
}

h2.elementor-heading-title::after {
    left: 0;
    background: linear-gradient(to left, var(--wd-primary-color) 0, var(--wd-primary-color) 35%, var(--wd-primary-color) 65%, transparent 100%);
}

h2.elementor-heading-title {
    position: relative;
    display: inline-block;
    padding-right: 70px;
    padding-left: 70px;
}







/* ===== WRAPPER ===== */
.karmania-slider {
  width: 100%;
  position: relative;
  margin: 40px 0 60px;
  direction: rtl;
}

/* ===== SLIDES ===== */
.karmania-slider .slide { 
  display: none; 
}

.karmania-slider .slide.active { 
  display: block; 
}

/* ===== MAIN BOX ===== */
.rounded-box {
  display: grid;
  grid-template-columns: 54% 46%;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  direction: ltr !important;
  position: relative;
}

/* ===== IMAGE ===== */
.slide-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* ===== BLUE TEXT AREA ===== */
.slide-text {
  background: #013252;
  padding: 70px 60px 170px;
  color: white;
  direction: rtl !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

.slide-text h2 {
  color: #ffffff;
  font-size: 34px;
  margin-bottom: 6px;
  font-weight: 700;
}

.slide-text .en-title {
  font-size: 17px;
  opacity: .9;
  margin-bottom: 22px;
  color: #b9dcff;
  font-weight: 500;
}

/* ===== SLIDE DESCRIPTION ===== */
.slide-text p {
  color: #dfe9f3;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 30px;
  max-width: 380px;
}

/* ===== BUTTON BEAUTIFIED ===== */
.karmania-btn {
  background: #C8102E;
  color: #fff;
  padding: 12px 34px;
  border-radius: 50px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.25s;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(200,16,46,0.25);
}

.karmania-btn:hover {
  background: #E31234;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(200,16,46,0.35);
}

/* ============================================
   CONTROLS — INSIDE BLUE BOX UNDER TEXT
============================================ */
.karmania-controls {
  position: absolute;
  bottom: 40px;
  right: 60px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ===== ARROWS REDESIGNED (Superfrost style) ===== */
.karmania-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .25s;
  backdrop-filter: blur(3px);
}

.karmania-arrow:hover {
  background: #C8102E;
  border-color: #C8102E;
  color: #fff;
  transform: scale(1.09);
}

/* ============================================
     SUPERFROST NUMBER STYLE — Redefined
============================================ */

.karmania-numbers {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}

.karmania-numbers::before,
.karmania-numbers::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 65px;
  height: 2px;
  background: rgba(255,255,255,0.20);
}
.karmania-numbers::before { right: calc(100% + 12px); }
.karmania-numbers::after  { left: calc(100% + 12px); }

.karmania-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: .25s ease-out;
}

.karmania-dot:hover {
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

.karmania-dot.active {
  background: #C8102E;
  border-color: #C8102E;
  color: #fff;
  transform: scale(1.16);
  box-shadow: 0 4px 14px rgba(200,16,46,0.55);
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {

  .rounded-box {
    grid-template-columns: 100%;
  }

  .slide-image img {
    height: 270px;
  }

  .slide-text {
    padding: 35px 24px 150px;
  }

  .karmania-controls {
    right: 24px;
    bottom: 32px;
  }

  .karmania-numbers::before,
  .karmania-numbers::after {
    width: 28px;
  }

  .karmania-dot {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}
