/******************************************
    File Name: custom.css
    Template Name: YourCoupon
    Created By: PSD Convert HTML Team
    Envato Profile: http://themeforest.net/user/psdconverthtml
    Website: https://psdconverthtml.com
    Version: 1.0
    Support: support@psdconverthtml.com
/******************************************/
header
{
    padding: 10px 0;
    box-shadow: 0 3px 4px 0 rgba(0,0,0,0.1);
}
.header .search-block input {
    padding: 10px 14px;
    border-radius: 100px;
    border: 1px solid #D0D5DD;
    background: #fff;
    padding-left: 36px;
    position: relative;
    color: #667085;
}

.w-100 {
    width: 100% !important;
}
.navbar-collapse {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
header {
    position: relative;
    z-index: 1020;
    background: var(--bs-body-bg);
}
.header, .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.logo {
    font-size: 24px;
    font-family: sans-serif;
}

.logo span {
    color: #008cba;
}

.search-box {
    margin: 0 20px;
    flex-grow: 1;
    display: block;
    justify-content: center;
}

.search-box input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    margin-right: 15px;
    text-decoration: none;
    color: #000;
    font-weight: 700;
}

.mobile-header {
    display: none;
    flex-direction: column;
    padding: 10px 20px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.mobile-header .logo {
    margin-bottom: 10px;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon div {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 4px 0;
}


.navbar > .container, .navbar > .container-fluid, .navbar > .container-sm, .navbar > .container-md, .navbar > .container-lg, .navbar > .container-xl, .navbar > .container-xxl {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: inherit;
    flex-wrap: inherit;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.navbar-brand {
    padding-top: var(--bs-navbar-brand-padding-y);
    padding-bottom: var(--bs-navbar-brand-padding-y);
    margin-right: var(--bs-navbar-brand-margin-end);
    font-size: var(--bs-navbar-brand-font-size);
    color: var(--bs-navbar-brand-color);
    white-space: nowrap;
}

.me-auto {
    margin-right: auto !important;
}
.navbar-nav-scroll {
    max-height: var(--bs-scroll-height, 75vh);
    overflow-y: auto;
}
.navbar-nav {
    --bs-nav-link-padding-x: 0;
    --bs-nav-link-padding-y: 0.25rem;
    --bs-nav-link-font-weight: ;
    --bs-nav-link-color: var(--bs-navbar-color);
    --bs-nav-link-hover-color: var(--bs-navbar-hover-color);
    --bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.navbar-expand-xl .navbar-nav{
    gap:15px
}
@media (min-width: 1200px) {
    .navbar-expand-xl .navbar-nav .nav-link {
        line-height: 40px;
        font-weight: 700;

    }
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
    .navbar-expand-xl .navbar-nav-scroll {
        overflow: visible;
    }
    .navbar-expand-xl .navbar-nav {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
    
    .navbar-expand-xl .navbar-brand .navbar-brand-item {
        height: 36px;
        display: block;
        width: auto;
    }
    .navbar-expand-xl .navbar-toggler {
        display: none;
    }
    .navbar-toggler .navbar-toggler-animation {
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-image: none;
        position: relative;
        height: 22px;
        width: 22px;
        display: inline-block;
        vertical-align: middle;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }
    .navbar-toggler .navbar-toggler-animation span:nth-child(1) {
        top: 6%;
    }
    .navbar-expand-xl .navbar-collapse {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
        justify-content: flex-end;
    }
    .px-xl-5 {
        padding-right: 3rem !important;
        /* padding-left: 3rem !important; */
    }
    .navbar-expand-xl {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
}

/* Seasonal Deal Animated Border - High Specificity */
.coupon-item.seasonal-deal-border {
    position: relative !important;
    border: 3px solid transparent !important;
    border-radius: 8px !important;
    overflow: visible !important;
    box-shadow: 0 0 0 2px transparent !important;
    animation: seasonalBorderPulse 2s ease-in-out infinite !important;
}

.coupon-item.seasonal-deal-border::before {
    content: '' !important;
    position: absolute !important;
    top: -3px !important;
    left: -3px !important;
    right: -3px !important;
    bottom: -3px !important;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700, #ff4081, #ff6b35) !important;
    background-size: 300% 300% !important;
    border-radius: 8px !important;
    z-index: -1 !important;
    animation: seasonalGradientMove 3s linear infinite !important;
}

@keyframes seasonalBorderPulse {
    0%, 100% {
        transform: scale(1) !important;
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4) !important;
    }
    50% {
        transform: scale(1.02) !important;
        box-shadow: 0 0 0 8px rgba(255, 107, 53, 0.1) !important;
    }
}

@keyframes seasonalGradientMove {
    0% {
        background-position: 0% 50% !important;
        opacity: 0.7 !important;
    }
    50% {
        background-position: 100% 50% !important;
        opacity: 1 !important;
    }
    100% {
        background-position: 0% 50% !important;
        opacity: 0.7 !important;
    }
}

/* Alternative simpler version if above doesn't work */
.seasonal-deal-border {
    border: 3px solid #ff6b35 !important;
    animation: simpleBorderFade 2s ease-in-out infinite !important;
}

/* Test Animation - Roman: Simple test animation to check if it works */
@keyframes testAnimation {
    0% {
        border-color: red !important;
    }
    50% {
        border-color: blue !important;
    }
    100% {
        border-color: green !important;
    }
}

/* Seasonal Deal Border - Roman: Seasonal deal ke liye border styling */
.seasonal-deal-border {
    border: 4px solid red !important;
    border-radius: 8px !important;
    animation: testAnimation 2s infinite !important;
}

/* Seasonal Deal Color Fade Animation - Roman: Bilkul light aur bilkul dark colors - difference clear dikhega */
@keyframes seasonalColorFade {
    0% {
        border-color: #ffeecc; /* Very light peach - Roman: Bilkul halka peach */
        box-shadow: 0 0 5px rgba(255, 238, 204, 0.5);
    }
    50% {
        border-color: #fff9e6; /* Very light yellow - Roman: Bilkul halka yellow */
        box-shadow: 0 0 8px rgba(255, 249, 230, 0.6);
    }
    51% {
        border-color: #8b0000; /* Very dark red - Roman: Bilkul gehra lal */
        box-shadow: 0 0 15px rgba(139, 0, 0, 0.8);
    }
    100% {
        border-color: #4b0000; /* Extremely dark red - Roman: Bahut zyada gehra lal */
        box-shadow: 0 0 20px rgba(75, 0, 0, 0.9);
    }
}

/* Additional class for seasonal deals - Roman: Seasonal deals ke liye extra styling */
.seasonal-deal-animated {
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
}

.seasonal-deal-animated:hover {
    /* Roman: Hover pe sirf thoda shadow badhega, size nahi badlega */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Backup animation - Roman: Agar upar wala animation kaam na kare to ye chalega */
.coupon-item.seasonal-deal-animated {
    border: 3px solid #ffeecc !important;
    border-radius: 8px !important;
    animation: seasonalColorFade 4s ease-in-out infinite !important;
    box-shadow: 0 0 5px rgba(255,238,204,0.5) !important;
}

@keyframes simpleBorderFade {
    0%, 100% {
        border-color: #ff6b35 !important;
        opacity: 0.6 !important;
    }
    50% {
        border-color: #ffd700 !important;
        opacity: 1 !important;
    }
}




/* ============================================
   SPECIAL COUPON 3 DESIGN - Roman: Coupon3 ke liye special design
   ============================================ */

.special-coupon-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 15px 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.special-coupon-container:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.special-coupon-content {
    /* display: flex; */
    align-items: center;
    padding: 0;
    background: #ffffff;
}

/* Left discount section - Roman: Dark blue gradient like image */
.discount-section {
    background: linear-gradient(
        180deg, #0f70b7 0%, #00bcd4 100%);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    color: white;
    min-width: 80px;
    margin-right: 20px;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
}

/* Default: Hide mobile action, show desktop action - Roman: Default me desktop style */
.mobile-action {
    display: none;
}

.desktop-action {
    display: block;
}

.discount-percentage {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 5px;
}

.discount-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.coupon-details-section {
    flex: 1;
    padding: 0 15px;
}

.coupon-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.info-icon {
    background: #e5e7eb;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 8px;
}

/* Bootstrap Style Badges - Roman: Small badges like Bootstrap */
.badge {
    display: inline-block;
    padding: 0.25em 0.5em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
    text-transform: capitalize;
}

.badge-primary {
    color: #fff;
    background-color: #0d6efd;
}

.badge-secondary {
    color: #fff;
    background-color: #6c757d;
}

.badge-success {
    color: #fff;
    background-color: #198754;
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
}

.badge-icon {
    font-size: 0.8em;
    font-weight: bold;
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

.badge-warning {
    color: #000;
    background-color: #ffc107;
}

.badge-info {
    color: #000;
    background-color: #0dcaf0;
}

.badge-light {
    color: #000;
    background-color: #f8f9fa;
}

.badge-dark {
    color: #fff;
    background-color: #212529;
}

.coupon-main-title {
    font-size: 18px;
    font-weight: bold;
    color: #111827;
    margin: 8px 0;
    line-height: 1.3;
}

.coupon-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

/* Clean design - old verified badge removed */

.tag.exclusive {
    background: #d6fee4;
    color: #000000;
}

.tag.interested {
    background: #f3f4f6;
    color: #6b7280;
}

.tag.limited {
    background: #fef3c7;
    color: #d97706;
}

.action-section {
    /* margin-left: 15px; */
}

/* Simple Button with Arrow - Roman: Nav pills gradient background with arrow */
.simple-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #0f70b7 0%, #00bcd4 100%);
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
}

.simple-button:hover {
    background: linear-gradient(90deg, #0d5a94 0%, #00a3b8 100%);
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(15, 112, 183, 0.3);
}

.simple-button i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.simple-button:hover i {
    transform: translateX(2px);
}

/* Clean modern design without legacy code */

/* Legacy action button for compatibility */
.action-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
}

.action-button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.see-details-section {
    padding: 12px 20px;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
    text-align: right;
}

.see-details-link {
    color: #6b7280;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.see-details-link:hover {
    color: #374151;
    text-decoration: none;
}

/* Seasonal Deal Border - Black Friday style */
.seasonal-special-border {
    border: 2px solid #ff3f3f !important;
    animation: websiteBorderAnimation 3s ease-in-out infinite !important;
    position: relative;
    border-radius: 15px !important;
}

.seasonal-special-border::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #000000, #1a1a1a, #2d2d2d, #000000, #1a1a1a, #000000);
    background-size: 400% 400%;
    border-radius: 20px;
    z-index: -1;
    animation: websiteGradientMove 3s linear infinite;
}

@keyframes websiteBorderAnimation {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
    }
}

@keyframes websiteGradientMove {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 25% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 75% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ============================================
   RESPONSIVE DESIGN - Roman: Har device ke liye responsive
   ============================================ */

/* Mobile Devices (up to 576px) - Roman: Image jaisa mobile layout */
@media (max-width: 576px) {
    .special-coupon-container {
        margin: 10px 5px;
        border-radius: 16px;
        overflow: hidden;
    }
    
    .seasonal-special-border {
        border-radius: 16px !important;
    }
    
    .special-coupon-content {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    /* Top section with discount and details - Roman: Upar wala section */
    .mobile-top-section {
        display: flex;
        padding: 20px 16px 16px 16px;
        background: #ffffff;
        gap: 16px;
    }
    
    .discount-section {
        margin-right: 0;
        margin-bottom: 0;
        min-width: 80px;
        max-width: 80px;
        padding: 16px 12px;
        border-radius: 12px;
        flex-shrink: 0;
        box-shadow: 0 3px 10px rgba(44, 90, 160, 0.4);
    }
    
    .discount-percentage {
        font-size: 24px !important;
        font-weight: bold;
    }
    
    .discount-label {
        font-size: 11px !important;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    
    .coupon-details-section {
        padding: 0;
        text-align: left;
        flex: 1;
    }
    
    .coupon-info-header {
        margin-bottom: 6px;
    }
    
    .coupon-main-title {
        font-size: 16px !important;
        line-height: 1.4;
        margin: 6px 0 8px 0;
        font-weight: 600;
    }
    
    .coupon-tags {
        justify-content: flex-start;
        margin-top: 6px;
    }
    
    .badge {
        font-size: 0.7em !important;
        padding: 0.25em 0.5em;
    }
    
    /* Hide desktop action, show mobile action - Roman: Mobile pe desktop button hide kro */
    .desktop-action {
        display: none !important;
    }
    
    .mobile-action {
        display: block !important;
        padding: 0;
        background: transparent;
    }
    
    .mobile-action .simple-button {
        width: 100%;
        justify-content: center;
        padding: 18px 20px;
        font-size: 16px !important;
        font-weight: 600;
        border-radius: 0 0 12px 12px;
        margin: 0;
        background: linear-gradient(90deg, #4a90e2 0%, #00bcd4 100%);
        border: none;
    }
    
    .mobile-action .simple-button:hover {
        background: linear-gradient(90deg, #3a7bc8 0%, #00a3b8 100%);
    }
    
    .mobile-action .simple-button i {
        font-size: 14px;
    }
}

/* Small Tablets (577px to 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    .special-coupon-container {
        margin: 12px 8px;
    }
    
    .special-coupon-content {
        padding: 0;
    }
    
    .mobile-top-section {
        display: flex;
        padding: 18px;
        background: transparent;
        gap: 15px;
    }
    
    .discount-section {
        min-width: 70px;
        margin-right: 15px;
    }
    
    .discount-percentage {
        font-size: 24px !important;
    }
    
    .coupon-details-section {
        flex: 1;
        min-width: 250px;
    }
    
    .coupon-main-title {
        font-size: 17px !important;
    }
    
    /* Show desktop action, hide mobile action - Roman: Tablet pe desktop button style */
    .desktop-action {
        display: block !important;
        margin-left: auto;
        margin-top: auto;
    }
    
    .mobile-action {
        display: none !important;
    }
    
    .desktop-action .simple-button {
        padding: 12px 18px;
        font-size: 13px !important;
        width: auto;
        border-radius: 6px;
    }
}

/* Large Tablets (769px to 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .special-coupon-content {
        padding: 0;
    }
    
    .mobile-top-section {
        display: flex;
        padding: 20px;
        background: transparent;
        gap: 18px;
        
    }
    
    .discount-section {
        min-width: 75px;
        margin-right: 18px;
    }
    
    .discount-percentage {
        font-size: 26px !important;
    }
    
    .coupon-main-title {
        font-size: 17px !important;
    }
    
    /* Show desktop action, hide mobile action - Roman: Large tablet pe desktop button style */
    .desktop-action {
        display: block !important;
        margin-left: 15px;
    }
    
    .mobile-action {
        display: none !important;
    }
    
    .desktop-action .simple-button {
        padding: 12px 20px;
        font-size: 14px !important;
        width: auto;
        border-radius: 6px;
    }
}

/* Desktop (993px and up) */
@media (min-width: 993px) {
    .special-coupon-content {
        padding: 0;
    }
    
    .mobile-top-section {
        display: flex;
        padding: 20px;
        background: transparent;
        gap: 20px;
        align-items: center;
    }
    
    .discount-section {
        min-width: 80px;
        margin-right: 0px;
    }
    
    .discount-percentage {
        font-size: 28px !important;
    }
    
    .coupon-main-title {
        font-size: 18px !important;
    }
    
    /* Show desktop action, hide mobile action - Roman: Desktop pe mobile button hide kro */
    .desktop-action {
        display: block !important;
        margin-left: 15px;
    }
    
    .mobile-action {
        display: none !important;
    }
    
    .desktop-action .simple-button {
        padding: 12px 20px;
        font-size: 14px !important;
        width: auto;
        border-radius: 6px;
    }
}

