/* ============================================
   ORIENT BRANDS – HOT DEALS CAROUSEL
   Add this CSS to:
   Appearance > Customize > Additional CSS
   (paste at the bottom, below existing styles)
   ============================================ */

/* ---------- Section Wrapper ---------- */
.ob-deals-section {
    background: linear-gradient(135deg, #1a0a00 0%, #2d1200 50%, #1a0a00 100%);
    border: 2px solid #e8750a;
    border-radius: 12px;
    padding: 32px 20px 24px;
    margin: 0 0 48px 0;
    position: relative;
    overflow: hidden;
}

.ob-deals-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(232, 117, 10, 0.03) 40px,
        rgba(232, 117, 10, 0.03) 80px
    );
    pointer-events: none;
}

/* ---------- Header ---------- */
.ob-deals-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.ob-deals-fire {
    font-size: 28px;
    animation: ob-fire-pulse 0.8s ease-in-out infinite alternate;
}

@keyframes ob-fire-pulse {
    from { transform: scale(1) rotate(-5deg); }
    to   { transform: scale(1.25) rotate(5deg); }
}

.ob-deals-title {
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 0 20px rgba(232, 117, 10, 0.8), 0 0 40px rgba(232, 117, 10, 0.4);
    animation: ob-title-glow 1.5s ease-in-out infinite alternate;
}

@keyframes ob-title-glow {
    from { text-shadow: 0 0 10px rgba(232, 117, 10, 0.6); }
    to   { text-shadow: 0 0 25px rgba(232, 117, 10, 1), 0 0 50px rgba(232, 117, 10, 0.5); }
}

.ob-deals-subtitle {
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    letter-spacing: 1px;
    margin-top: -16px;
}

/* ---------- Carousel Wrapper ---------- */
.ob-deals-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ob-deals-track-outer {
    flex: 1;
    overflow: hidden;
}

.ob-deals-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* ---------- Nav Buttons ---------- */
.ob-deals-nav {
    background: #e8750a;
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-deals-nav:hover {
    background: #ff8c1a;
    transform: scale(1.1);
}

/* ---------- Deal Card ---------- */
.ob-deal-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 calc(33.333% - 11px);
    min-width: 220px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.25s, box-shadow 0.25s;
}

.ob-deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(232, 117, 10, 0.35);
}

/* ---------- Discount Badge ---------- */
.ob-deal-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e8750a;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.5px;
    animation: ob-badge-flash 1.2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(232, 117, 10, 0.7);
}

@keyframes ob-badge-flash {
    0%   { box-shadow: 0 0 0 0 rgba(232, 117, 10, 0.7); transform: scale(1); }
    50%  { box-shadow: 0 0 0 8px rgba(232, 117, 10, 0); transform: scale(1.08); }
    100% { box-shadow: 0 0 0 0 rgba(232, 117, 10, 0); transform: scale(1); }
}

/* ---------- Product Image ---------- */
.ob-deal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.ob-deal-no-img {
    height: 180px;
    background: #f5f0eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

/* ---------- Card Info ---------- */
.ob-deal-info {
    padding: 14px 16px 16px;
}

.ob-deal-name {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

.ob-deal-name a {
    color: #1a1a1a;
    text-decoration: none;
}

.ob-deal-name a:hover {
    color: #e8750a;
}

.ob-deal-prices {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.ob-deal-regular {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.ob-deal-sale {
    font-size: 17px;
    font-weight: 800;
    color: #e8750a;
}

/* ---------- WhatsApp Button ---------- */
.ob-deal-wa-btn {
    display: block;
    background: #25D366;
    color: #fff !important;
    text-align: center;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
}

.ob-deal-wa-btn:hover {
    background: #1ebe5c;
    transform: scale(1.02);
}

/* ---------- Dots ---------- */
.ob-deals-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
}

.ob-deals-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: none;
    padding: 0;
}

.ob-deals-dot.active {
    background: #e8750a;
    transform: scale(1.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .ob-deal-card {
        flex: 0 0 calc(50% - 8px);
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .ob-deal-card {
        flex: 0 0 85%;
        min-width: 0;
    }

    .ob-deals-nav {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}
