/* 
    Premium UI Upgrade - Sri Priyadharshini Traders
    Modern E-commerce Design 2026
    Author: Antigravity
*/

/* ========================================
   CSS VARIABLES & THEME
   ======================================== */
:root {
    /* Brand Colors */
    --primary-pink: #ed4290;
    --primary-pink-dark: #d63a7f;
    --dark-text: #222222;
    --white: #ffffff;

    /* Supporting Colors */
    --light-gray: #f8f8f8;
    --medium-gray: #e0e0e0;
    --text-gray: #666666;
    --success-green: #28a745;
    --warning-orange: #ff9800;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ed4290 0%, #d63a7f 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(237, 66, 144, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   HIDE OLD VERTICAL MENU (BLACK BOX)
   ======================================== */
/* Hide the vertical dropdown menu and toggle button */
.vertical-dropdown,
.vertical-header,
#nav_icon3,
#show-menu,
.menu-banner,
.position .container,
.wrap-banner .position,
.header-top .vertical-header,
.header-top .vertical-dropdown,
div[data-toggle="collapse"][data-target="#show-menu"],
.dropdown.vertical-dropdown.has-showmore,
.header-top .col-sm-8.col-md-4 .vertical-header {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Ensure logo area doesn't have the hamburger menu */
.header-top .align-items-center .vertical-header {
    display: none !important;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

/* Global Font Family - Applied to ALL elements */
* {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

/* Headings - Consistent Sizes */
h1,
.h1 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 2.5rem !important;
    /* 40px */
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem;
}

h2,
.h2 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 2rem !important;
    /* 32px */
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 0.875rem;
}

h3,
.h3 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.5rem !important;
    /* 24px */
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem;
}

h4,
.h4 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.25rem !important;
    /* 20px */
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 0.625rem;
}

h5,
.h5 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.125rem !important;
    /* 18px */
    font-weight: 600 !important;
    line-height: 1.5 !important;
    margin-bottom: 0.5rem;
}

h6,
.h6 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    /* 16px */
    font-weight: 600 !important;
    line-height: 1.5 !important;
    margin-bottom: 0.5rem;
}

/* Paragraphs and Text */
p,
.paragraph {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    /* 16px */
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem;
}

/* Links */
a {
    font-family: 'Poppins', sans-serif !important;
    font-size: inherit;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Lists */
ul,
ol,
li {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
}

/* Buttons */
button,
.btn,
input[type="button"],
input[type="submit"] {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    /* 16px */
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* Form Elements */
input,
textarea,
select,
option {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    /* 16px */
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

/* Labels */
label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.875rem !important;
    /* 14px */
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* Small Text */
small,
.small {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.875rem !important;
    /* 14px */
    font-weight: 400 !important;
}

/* Spans and Inline Elements */
span,
strong,
b,
em,
i {
    font-family: 'Poppins', sans-serif !important;
}

/* Table Elements */
table,
th,
td {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
}

/* Navigation */
nav,
nav a,
.nav-link {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    /* 16px */
    font-weight: 500 !important;
}

/* Breadcrumbs */
.breadcrumb,
.breadcrumb a,
.breadcrumb span {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.875rem !important;
    /* 14px */
    font-weight: 400 !important;
}

/* Product Titles */
.product-title,
.product-title a {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.125rem !important;
    /* 18px */
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* Product Prices */
.price,
.product-price {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.25rem !important;
    /* 20px */
    font-weight: 700 !important;
}

.regular-price,
del {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    /* 16px */
    font-weight: 400 !important;
}

/* Footer */
footer,
footer p,
footer a,
footer span {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.875rem !important;
    /* 14px */
}

/* Responsive Typography */
@media (max-width: 768px) {

    h1,
    .h1 {
        font-size: 2rem !important;
        /* 32px on mobile */
    }

    h2,
    .h2 {
        font-size: 1.75rem !important;
        /* 28px on mobile */
    }

    h3,
    .h3 {
        font-size: 1.375rem !important;
        /* 22px on mobile */
    }

    body,
    p {
        font-size: 0.9375rem !important;
        /* 15px on mobile */
    }
}

h2,
h3,
h4,
h5,
h6,
.title-block,
.title-product h2 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    color: var(--dark-text);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header-top {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header-top.scrolled {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo img {
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Menu Items */
.main-menu .menu-top li a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-text);
    padding: 25px 20px;
    position: relative;
    transition: var(--transition-smooth);
}

.main-menu .menu-top li a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-pink);
    transition: width 0.3s ease;
}

.main-menu .menu-top li a:hover::after,
.main-menu .menu-top li.active a::after {
    width: 60%;
}

.main-menu .menu-top li a:hover {
    color: var(--primary-pink);
}

/* Cart Badge */
.desktop_cart .header-cart span {
    background: var(--primary-pink);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ========================================
   HOMEPAGE - HERO BANNER
   ======================================== */
.tiva-slideshow-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    box-shadow: var(--shadow-md);
}

.tiva-slideshow-wrapper .nivo-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 40px;
    border-radius: 20px;
}

.tiva-slideshow-wrapper h2 {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   PRODUCT CATEGORY CARDS
   ======================================== */
.recent-post .item-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    margin-bottom: 30px;
}

.recent-post .item-post:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-pink);
}

.recent-post .item-post .thumbnail-img {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.recent-post .item-post .thumbnail-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.4s;
}

.recent-post .item-post:hover .thumbnail-img::after {
    opacity: 1;
}

.recent-post .item-post .thumbnail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.recent-post .item-post:hover .thumbnail-img img {
    transform: scale(1.15);
}

.recent-post .item-post .post-content {
    padding: 25px !important;
    background: white;
}

.recent-post .item-post .post-title h5 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--dark-text) !important;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.recent-post .item-post:hover .post-title h5 {
    color: var(--primary-pink) !important;
}

.recent-post .item-post .post-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   PRODUCT GRID CARDS
   ======================================== */
.product-miniature {
    background: white !important;
    border-radius: 16px !important;
    padding: 15px !important;
    box-shadow: var(--shadow-sm) !important;
    transition: var(--transition-smooth) !important;
    border: 1px solid var(--medium-gray) !important;
    position: relative;
    overflow: hidden;
}

.product-miniature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(237, 66, 144, 0.05), transparent);
    transition: left 0.5s;
}

.product-miniature:hover::before {
    left: 100%;
}

.product-miniature:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--primary-pink) !important;
}

.product-miniature .thumbnail-container {
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 15px !important;
    background: var(--light-gray);
    height: 250px;
    position: relative;
}

.product-miniature .thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-miniature:hover .thumbnail-container img {
    transform: scale(1.1);
}

/* Product Info */
.product-miniature .product-title a {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--dark-text) !important;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.product-miniature:hover .product-title a {
    color: var(--primary-pink) !important;
}

.product-miniature .product-price,
.product-miniature .price {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--primary-pink) !important;
    display: block;
    margin-top: 10px;
}

.product-miniature .regular-price {
    font-size: 0.9rem !important;
    color: #999 !important;
    text-decoration: line-through;
    margin-left: 8px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary,
.add-to-cart,
.btn.btn-primary {
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth) !important;
    box-shadow: 0 5px 15px rgba(237, 66, 144, 0.2) !important;
}

.btn-primary:hover,
.add-to-cart:hover,
.btn.btn-primary:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 10px 25px rgba(237, 66, 144, 0.3) !important;
}

/* ========================================
   TITLE BLOCKS
   ======================================== */
.title-block {
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px !important;
    font-size: 2rem !important;
}

.title-block::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-pink);
    border-radius: 2px;
}

/* ========================================
   FOOTER
   ======================================== */
footer.footer-one {
    background: var(--gradient-dark) !important;
    color: white !important;
    padding: 60px 0 20px !important;
}

footer .title-block {
    color: white !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    position: relative;
    padding-bottom: 15px;
    text-align: left !important;
}

footer .title-block::after {
    left: 0 !important;
    transform: none !important;
    width: 50px;
    height: 3px;
    background: var(--primary-pink);
}

footer .footer-ul li {
    margin-bottom: 12px;
}

footer .footer-ul li a {
    color: #ccc !important;
    transition: var(--transition-smooth);
    display: inline-block;
}

footer .footer-ul li a:hover {
    color: var(--primary-pink) !important;
    transform: translateX(5px);
}

/* Social Icons */
#social-block .social ul li a {
    background: rgba(255, 255, 255, 0.1) !important;
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: var(--transition-smooth) !important;
}

#social-block .social ul li a:hover {
    background: var(--primary-pink) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(237, 66, 144, 0.3);
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp1 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp1 h5,
.whatsapp1 a {
    background: #25D366 !important;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4) !important;
    padding: 15px 20px !important;
    border-radius: 50px !important;
    transition: var(--transition-smooth) !important;
}

.whatsapp1:hover h5,
.whatsapp1:hover a {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5) !important;
}

/* ========================================
   OWL CAROUSEL
   ======================================== */
.owl-nav button {
    background: white !important;
    box-shadow: var(--shadow-md) !important;
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
    border-radius: 50% !important;
    transition: var(--transition-smooth) !important;
}

.owl-nav button:hover {
    background: var(--primary-pink) !important;
    color: white !important;
    transform: scale(1.1);
}

/* ========================================
   MODALS
   ======================================== */
.modal-content {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: var(--shadow-xl) !important;
}

.modal-header {
    border-bottom: 1px solid var(--medium-gray) !important;
    padding: 25px 30px !important;
}

.modal-body {
    padding: 30px !important;
}

/* ========================================
   FORMS
   ======================================== */
.form-control:focus {
    border-color: var(--primary-pink) !important;
    box-shadow: 0 0 0 3px rgba(237, 66, 144, 0.1) !important;
}

.custom-control-input:checked~.custom-control-label::before {
    background-color: var(--primary-pink) !important;
    border-color: var(--primary-pink) !important;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .mobile-top-menu {
        background: white;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        border-radius: 0 20px 20px 0;
    }

    .mobile-logo img {
        max-width: 150px;
    }

    .product-miniature {
        margin-bottom: 20px !important;
    }

    .recent-post .item-post {
        margin-bottom: 25px !important;
    }

    .main-menu .menu-top li a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--medium-gray);
    }

    .tiva-slideshow-wrapper h2 {
        font-size: 1.8rem !important;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

/* Loading shimmer effect */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.shadow-xl {
    box-shadow: var(--shadow-xl) !important;
}

.text-primary {
    color: var(--primary-pink) !important;
}

.bg-primary {
    background: var(--primary-pink) !important;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.rounded-lg {
    border-radius: 16px !important;
}

.rounded-xl {
    border-radius: 24px !important;
}

.rounded-full {
    border-radius: 9999px !important;
}

/* ========================================
   MOBILE APP-LIKE BOTTOM MENU
   ======================================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    /* Hidden by default, shown via d-md-none */
    justify-content: space-around;
    padding: 8px 0;
    z-index: 99999;
    border-top: 1px solid #f0f0f0;
}

@media (max-width: 991px) {
    .mobile-bottom-nav {
        display: flex !important;
    }

    /* Push floating elements up and reset top positioning */
    .back-to-top,
    .whatsapp1,
    .whatsapp2,
    .whatsapp3 {
        top: auto !important;
        bottom: 80px !important;
    }

    /* Ensure footer content isn't hidden */
    footer.footer-one {
        padding-bottom: 80px !important;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    color: #666;
    font-size: 11px;
    font-weight: 500;
    width: 25%;
    transition: color 0.3s ease;
}

.mobile-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

.mobile-nav-item.active {
    color: #ed4290;
    /* Brand Pink */
    font-weight: 600;
}

.mobile-nav-item:hover {
    color: #ed4290;
}

.mobile-nav-item:active i {
    transform: scale(0.9);
}