/* ========================================
   UJANA THEME - Toniq Luxury Style
   Black, White, Silver Color Scheme
   ======================================== */

/* ========== PRODUCT SLIDER ========== */
.latest-products .product-slider {
    display: flex;
    gap: 24px;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    padding-bottom: 16px;
}

.product-card {
    flex: 0 0 auto;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 24px;
    min-width: 260px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    scroll-snap-align: start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid #E8E8E8;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #C0C0C0;
}

.product-card h5 {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.product-card .price {
    color: #000000;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.product-card .btn-style {
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.product-card .btn-style:hover {
    background-color: #333333;
    transform: scale(1.02);
}

/* Hide scrollbar but keep functionality */
.product-slider::-webkit-scrollbar {
    display: none;
}

.product-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .product-card {
        min-width: 220px;
        padding: 20px;
    }
}

/* ========== PRODUCT SLIDER WRAPPER ========== */
.product-slider-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.product-slider {
    transition: all 0.4s ease;
}

.product-card {
    min-width: 240px;
    max-width: 240px;
    background: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    border: 1px solid #F0F0F0;
}

/* ========== SCROLL BUTTONS ========== */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: #000000;
    border: none;
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    cursor: pointer;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background: #333333;
    transform: translateY(-50%) scale(1.1);
}

.left-arrow {
    left: -18px;
}

.right-arrow {
    right: -18px;
}

.product-card img {
    height: 150px;
    object-fit: contain;
    margin-bottom: 16px;
}

/* ========== QUANTITY CONTROLS ========== */
.quantity-controls button {
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    background: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quantity-controls button:hover {
    background: #333333;
}

.quantity-controls .quantity {
    min-width: 40px;
    display: inline-block;
    text-align: center;
    font-weight: 600;
    color: #000000;
    font-size: 1rem;
}

/* ========== MOBILE RESPONSIVE ========== */
@media screen and (max-width: 768px) {
    .product-card {
        flex: 0 0 48%;
    }
    
    .scroll-btn {
        width: 36px;
        height: 36px;
    }
}

@media screen and (max-width: 480px) {
    .product-card {
        flex: 0 0 90%;
        min-width: 200px;
    }

    .scroll-btn {
        display: none;
    }
}

/* ========== ENHANCED PRODUCT CARD ========== */
.product-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 220px;
    border: 1px solid #EEEEEE;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #C0C0C0;
}

.product-card img {
    border-radius: 4px;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
}

.quantity-controls {
    min-width: 120px;
}

/* ========== PRODUCT ROW ========== */
.product-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 60px;
}

/* ========== MODAL STYLES ========== */
.product-modal {
    position: fixed;
    z-index: 9999;
    display: none;
    width: 90%;
    max-width: 440px;
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 24px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.product-modal img {
    width: 100%;
    border-radius: 4px;
}

.product-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 20px;
}

.product-modal .btn-close {
    border: none;
    background: none;
    font-size: 1.4rem;
    color: #000000;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.product-modal .btn-close:hover {
    transform: rotate(90deg);
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9998;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}

/* ========== SECTION TITLE ========== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #000000;
    margin-bottom: 48px;
    position: relative;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 3px;
    background: #000000;
    position: absolute;
    left: 50%;
    bottom: -16px;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* ========== CAROUSEL CONTROLS ========== */
.carousel-control-next {
    width: 3.5rem;
    height: 3.5rem;
    top: 40%;
    right: -1.5rem;
    background-color: #000000;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.carousel-control-next:hover {
    background-color: #333333;
    transform: scale(1.1);
}

.carousel-control-next-icon {
    background-size: 100% 100%;
}

/* ========== CUSTOM CURSOR ========== */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: top 0.05s, left 0.05s;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #000000;
    border-radius: 50%;
}

/* ========== ZOOM IMAGE ========== */
.zoom-img-wrapper {
    overflow: hidden;
    border-radius: 4px;
}

.zoom-img-wrapper img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoom-img-wrapper:hover img {
    transform: scale(1.15);
}

/* ========== BANNER CAROUSEL ========== */
#hummingHerbsBanner .carousel-item {
    height: auto;
    position: relative;
    background-color: #000000;
}

#hummingHerbsBanner .carousel-item img {
    object-fit: cover;
    height: auto;
    width: 100%;
    filter: brightness(65%) contrast(110%);
}

#hummingHerbsBanner .carousel-caption {
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    padding: 80px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
}

#hummingHerbsBanner .carousel-caption h2 {
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: -0.02em;
}

#hummingHerbsBanner .carousel-caption p {
    color: #E8E8E8;
    max-width: 600px;
}

/* ========== GALLERY THUMBNAIL ========== */
.gallery-thumb {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.gallery-thumb:hover {
    border: 2px solid #000000;
    transform: scale(1.05);
}

/* ========== CUSTOM CARD ========== */
.custom-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FFFFFF;
    border: 1px solid #F0F0F0;
    border-radius: 8px;
}

.custom-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    border-color: #C0C0C0;
}

.custom-icon {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 1.5rem;
}

.card-body {
    text-align: center;
}

/* ========== BUTTONS ========== */
.buy-now-btn {
    background-color: #000000;
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 14px 32px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: 2px solid #000000;
}

.buy-now-btn:hover {
    background-color: #FFFFFF;
    color: #000000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

#buyNowBtn:hover {
    background-color: #333333;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* ========== HEADER STYLES ========== */
.white-header {
    background-color: #FFFFFF !important;
    color: #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid #F0F0F0;
}

.white-header .nav-link,
.white-header .navbar-brand,
.white-header .fa-shopping-cart {
    color: #000000 !important;
    font-weight: 500;
}

.white-header .nav-link:hover,
.white-header .nav-link.active {
    color: #666666 !important;
}

#site-header {
    transition: all 0.3s ease;
}

/* ========== WHATSAPP WIDGET ========== */
.whatsapp-widget {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
}

.whatsapp-button {
    width: 64px;
    height: 64px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.whatsapp-button:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    background: #333333;
}

.whatsapp-button i {
    font-size: 34px;
    color: #FFFFFF;
}

.whatsapp-pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* ========== WHATSAPP MODAL ========== */
.whatsapp-modal {
    position: fixed;
    bottom: 110px;
    right: 32px;
    z-index: 10000;
    animation: slideUp 0.3s ease;
}

.whatsapp-modal-content {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    width: 340px;
    overflow: hidden;
    border: 1px solid #E8E8E8;
}

.whatsapp-modal-header {
    background: #000000;
    color: #FFFFFF;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-modal-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.whatsapp-modal-header h3 i {
    margin-right: 8px;
}

.whatsapp-close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.whatsapp-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.whatsapp-modal-body {
    padding: 20px;
}

.whatsapp-modal-body p {
    margin: 0 0 12px 0;
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.whatsapp-modal-body label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000000;
    font-size: 0.9rem;
}

.whatsapp-modal-body textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E8E8E8;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
    min-height: 80px;
}

.whatsapp-modal-body textarea:focus {
    outline: none;
    border-color: #000000;
}

.whatsapp-modal-footer {
    padding: 0 20px 20px;
}

.whatsapp-send-btn {
    width: 100%;
    background: #000000;
    color: #FFFFFF;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whatsapp-send-btn:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-send-btn i {
    font-size: 18px;
}

/* ========== QUICK REPLIES ========== */
.quick-replies {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.quick-reply-btn {
    background: #F8F8F8;
    border: 1px solid #E8E8E8;
    padding: 10px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333333;
}

.quick-reply-btn:hover {
    background: #000000;
    color: #FFFFFF;
    border-color: #000000;
}

.quick-reply-btn i {
    color: inherit;
    font-size: 0.9rem;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE WHATSAPP ========== */
@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 24px;
        right: 24px;
    }

    .whatsapp-button {
        width: 56px;
        height: 56px;
    }

    .whatsapp-button i {
        font-size: 28px;
    }

    .whatsapp-modal {
        bottom: 90px;
        right: 12px;
        left: 12px;
    }

    .whatsapp-modal-content {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
}

/* ========== HOMEPAGE SECTIONS ========== */
.ujana-homepage {
    background: #FFFFFF;
}

.ujana-hero-section {
    margin-bottom: 0;
}

.ujana-text-section {
    padding: 80px 0;
    background: #F8F8F8;
    text-align: center;
}

.ujana-categories-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.ujana-products-section {
    padding: 80px 0;
    background: #FAFAFA;
}

.ujana-bestsellers-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.ujana-news-section {
    padding: 80px 0;
    background: #F8F8F8;
}

.ujana-polls-section {
    padding: 60px 0;
    background: #FFFFFF;
}

.ujana-bottom-section {
    padding: 60px 0;
    background: #000000;
    color: #FFFFFF;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ujana-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.ujana-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #000000;
}

@media (max-width: 768px) {
    .ujana-text-section,
    .ujana-categories-section,
    .ujana-products-section,
    .ujana-bestsellers-section,
    .ujana-news-section {
        padding: 50px 0;
    }

    .ujana-section-title {
        font-size: 1.8rem;
    }
}
/* Checkout Step Visibility */
.form-step { display: none !important; }
.form-step.active { display: block !important; }

/* ========== TEXT SELECTION STYLING ========== */
::selection {
    background: #1a1a1a;
    color: #ffffff;
}

::-moz-selection {
    background: #1a1a1a;
    color: #ffffff;
}
