/* =====================================================
   OWL ELEMENTOR WIDGETS — oew-styles.css
   All classes prefixed with .oew- for zero conflicts
   ===================================================== */

/* ─── GLOBAL ─────────────────────────────────────── */
.oew-hero-carousel-wrap *,
.oew-category-carousel-wrap *,
.oew-product-grid-wrap *,
.oew-testi-wrap * {
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════
   1. HERO CAROUSEL
   ═══════════════════════════════════════════════════ */
.oew-hero-carousel-wrap { position: relative; }

.oew-hero-slide {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 50px 0;
    overflow: hidden;
}

.oew-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.oew-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.oew-hero-text {
    flex: 1.2;
    color: #ffffff;
}

.oew-hero-badge {
    font-size: 28px;
    font-weight: 900;
    display: block;
    margin-bottom: 8px;
}

.oew-hero-subtitle {
    font-size: 48px;
    font-weight: 400;
    margin: 0 0 10px 0;
    color: #fff;
}

.oew-hero-title {
    font-size: 100px;
    font-weight: 900;
    line-height: 0.9;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    color: #fff;
}

.oew-hero-desc {
    font-size: 26px;
    margin-bottom: 40px;
    font-weight: 400;
    opacity: 0.9;
    color: #fff;
}

.oew-hero-btn {
    padding: 15px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 22px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 2px solid transparent;
    color: #fff;
    cursor: pointer;
}
.oew-hero-btn:hover {
    background: transparent !important;
    border-color: #ffffff;
    transform: scale(1.05);
    color: #fff;
    text-decoration: none;
}

.oew-hero-image {
    flex: 1;
    text-align: right;
}

.oew-product-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 50px rgba(0,0,0,0.4));
}

/* Float animation */
@keyframes oew-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-20px); }
}
.oew-float { animation: oew-float 4s ease-in-out infinite; }

/* Hero owl nav */
.oew-hero-carousel-wrap .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 30px !important;
    transition: 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.oew-hero-carousel-wrap .owl-nav .owl-prev { left: 20px; }
.oew-hero-carousel-wrap .owl-nav .owl-next { right: 20px; }
.oew-hero-carousel-wrap .owl-nav button:hover { background: rgba(255,255,255,0.4) !important; }

.oew-hero-carousel-wrap .owl-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    margin: 0;
}
.oew-hero-carousel-wrap .owl-theme .owl-dots .owl-dot span {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    margin: 4px;
    transition: background 0.3s;
}

/* Hero Responsive */
@media (max-width: 991px) {
    .oew-hero-title    { font-size: 70px; }
    .oew-hero-subtitle { font-size: 36px; }
}
@media (max-width: 767px) {
    .oew-hero-slide    { min-height: 700px; padding: 40px 0; }
    .oew-hero-inner    { flex-direction: column; text-align: center; }
    .oew-hero-text     { order: 1; }
    .oew-hero-image    { order: 2; margin-top: 30px; }
    .oew-hero-title    { font-size: 55px; }
    .oew-hero-desc     { font-size: 20px; }
    .oew-hero-carousel-wrap .owl-nav { display: none; }
}


/* ═══════════════════════════════════════════════════
   2. CATEGORY CAROUSEL
   ═══════════════════════════════════════════════════ */
.oew-category-carousel-wrap { padding: 0; }

.oew-cat-item {
    text-align: center;
    padding: 15px;
    transition: all 0.3s ease;
}

.oew-cat-link {
    text-decoration: none;
    display: block;
}

.oew-cat-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid transparent;
    transition: border-color 0.3s ease;
}

.oew-cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.oew-cat-placeholder {
    font-size: 48px;
    font-weight: 700;
    color: #aaa;
}

.oew-cat-item:hover .oew-cat-image {
    border-color: #3498db;
}
.oew-cat-item:hover .oew-cat-image img {
    transform: scale(1.1);
}

.oew-cat-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 10px 0 0;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .oew-cat-image  { width: 130px; height: 130px; }
    .oew-cat-name   { font-size: 14px; }
}


/* ═══════════════════════════════════════════════════
   3. PRODUCT GRID SLIDER
   ═══════════════════════════════════════════════════ */
.oew-product-grid-wrap { position: relative; }

.oew-pg-card { background: #fff; text-align: center; }

.oew-pg-img-wrap {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}

.oew-pg-img-wrap img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.oew-pg-card:hover .oew-pg-img-wrap { background: #e9f0e8; }
.oew-pg-card:hover .oew-pg-img-wrap img { transform: scale(1.06); }

.oew-pg-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.oew-pg-add-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #345c2c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    width: 85%;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}
.oew-pg-card:hover .oew-pg-add-btn { opacity: 1; }
.oew-pg-add-btn:hover { color: #fff; text-decoration: none; }

.oew-pg-info { padding: 15px 5px; }

.oew-pg-name {
    font-size: 16px;
    font-weight: 600;
    margin: 5px 0;
    color: #333;
}

.oew-pg-pricing { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }

.oew-pg-price     { font-weight: bold; font-size: 18px; color: #000; }
.oew-pg-old-price { text-decoration: line-through; color: #999; font-size: 14px; }

/* Product Grid Arrows */
.oew-product-grid-wrap .owl-nav button {
    position: absolute;
    top: 35%;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
    color: #333 !important;
    transition: box-shadow 0.2s;
    border: none;
}
.oew-product-grid-wrap .owl-nav button:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18) !important;
}
.oew-product-grid-wrap .owl-prev { left: -15px; }
.oew-product-grid-wrap .owl-next { right: -15px; }

/* Progress Bar */
.oew-pg-progress-container {
    width: 100%;
    height: 2px;
    background: #eee;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}
.oew-pg-progress-line {
    height: 100%;
    background: #000;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 2px;
}


/* ═══════════════════════════════════════════════════
   4. TESTIMONIALS CAROUSEL
   ═══════════════════════════════════════════════════ */
.oew-testi-wrap { }

.oew-testi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.oew-testi-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.oew-testi-header-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.oew-testi-counter {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.oew-testi-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
    outline: none;
}
.oew-testi-nav-btn:hover { background: #f5f5f5; }
.oew-testi-nav-btn svg   { width: 18px; height: 18px; fill: #444; }

/* Owl shadow clip fix */
.oew-testi-wrap .owl-stage-outer { padding: 10px; margin: -10px; }

.oew-testi-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    overflow: hidden;
    height: auto;
}

.oew-testi-card-inner {
    display: flex;
    min-height: 350px;
}

.oew-testi-img-col {
    position: relative;
    width: 40%;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 300px;
}
.oew-testi-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
}

.oew-testi-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 60%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

.oew-testi-person-overlay {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

.oew-testi-content-col {
    width: 60%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.oew-testi-content-col.oew-testi-no-img {
    width: 100%;
}

.oew-testi-person-name {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0 0 12px;
}

.oew-testi-stars {
    display: flex;
    gap: 4px;
    color: #2ecc71;
    font-size: 16px;
    margin-bottom: 20px;
}

.oew-testi-text {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    font-weight: 400;
}

.oew-testi-product-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fcfcfc;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 12px;
    max-width: 320px;
    margin-top: auto;
}

.oew-testi-product-box img {
    width: 50px !important;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.oew-testi-product-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin: 0 0 5px;
}
.oew-testi-product-info p {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.oew-testi-old-price {
    color: #888;
    text-decoration: line-through;
    margin-left: 8px;
    font-size: 13px;
}

/* Testimonial Responsive */
@media (max-width: 768px) {
    .oew-testi-card-inner     { flex-direction: column; }
    .oew-testi-img-col        { width: 100%; min-height: 220px; position: relative; }
    .oew-testi-img-col img    { position: relative; width: 100%; height: 220px; }
    .oew-testi-content-col    { width: 100%; padding: 20px; }
    .oew-testi-section-title  { font-size: 24px; }
    .oew-testi-product-box    { max-width: 100%; }
}
