@font-face {
  font-family: 'Gudea';
  src: url('/fonts/Gudea-Bold.ttf') format('truetype');
  
  font-family: 'FiraSans';
  src: url('/fonts/FiraSans-Regular.ttf') format('truetype');
  
  font-family: 'AlegreyaSans';
  src: url('/fonts/AlegreyaSans-Bold.ttf') format('truetype');
  
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Regular.ttf') format('truetype');
  
   font-family: 'JosefinSans';
  src: url('/fonts/JosefinSans-Regular.ttf') format('truetype');
font-display: swap;
}

a{
    font-family: 'Poppins', sans-serif;
    font-size : 20px;
}
h1{
    font-family: 'AlegreyaSans', sans-serif;
    font-size : 35px;
}

h2{
    font-family: 'Gudea', sans-serif;
    font-size : 30px;
} 

h3{
    font-family: 'Rajdhani', sans-serif;
    font-size : 25px;
} 

h4{
    font-family: 'JosefinSans', sans-serif;
    font-size : 20px;
}

p{
    font-family: 'FiraSans', sans-serif;
  
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global scroll management - single scroll context */
html {

    width: 100%;
    height: 100%;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
}

/* Unified scroll lock system - single class for all scroll blocking */
body.scroll-locked { 
    overflow: hidden !important; 
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Laptop/Nest Hub widths: prevent horizontal overflow */
@media (min-width: 1024px) and (max-width: 1366px) {
    html, body { 
        overflow-x: hidden; 
        max-width: 100vw;
    }
    
    .main-content,
    .main-content-area,
    .sidebar-container {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .coupon-grid, 
    .stores-grid, 
    .category-coupons-grid {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Mobile overflow safeguards - prevent horizontal scroll on mobile */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure all containers respect viewport width */
    .main-content,
    .main-content-area,
    .sidebar-container,
    .coupon-filter,
    .coupons-grid {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    /* Prevent grids from causing horizontal overflow */
    .coupon-grid,
    .stores-grid,
    .category-coupons-grid {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Fix mobile layout issues */
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure hero sections don't overflow */
    .hero-section,
    .website-heading,
    .page-header {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Fix coupon cards on mobile */
    .coupons-promo-discounts-codes {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

img, picture, video, svg {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'FiraSans', sans-serif;
	background-color: #f5f5f5;
}

header {
    width: 100%;
    background-color: #000066;
}

/* Top bar alignment for right-side links */
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-bar-right { margin-left: auto; display: flex; gap: 20px; align-items: center; }
.top-link { color: #ffffff; text-decoration: none; font-size: 13px; transition: color 0.3s ease; }
.top-link:hover { color: #c5c5fc; }

.container {
    
    justify-content: space-between;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo img {
    
    width: 130px;
    height: 73px;
    margin: 25px 0 25px 81px;
    object-fit:contain;
}

nav ul {
    display: flex;
}

nav ul li {
    list-style-type: none;
    margin-bottom:5px;
}

nav ul li a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    margin: 0 10px;
    padding: 10px;
}

nav ul li a:hover {
    color: #c5c5fc;
}

/* Full-screen overlay navigation when menu is toggled open (works on mobile and desktop) */
/* Support multiple possible toggle conventions without changing JS */
nav.open ul,
nav.active ul,
nav[aria-expanded="true"] ul,
.menu-open nav ul,
.nav-open nav ul,
nav ul.open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    max-height: 100vh;
    background: #000066;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding: 96px 24px 24px 24px; /* space for header */
    overflow-y: auto; /* internal scroll only */
    overscroll-behavior: contain; /* prevent scroll chaining to page */
    max-height: 100vh; /* prevent overflow */
    -webkit-overflow-scrolling: touch;
    z-index: 3000;
}

/* Larger tap targets inside overlay */
nav.open ul li a,
nav.active ul li a,
nav[aria-expanded="true"] ul li a,
.menu-open nav ul li a,
.nav-open nav ul li a,
nav ul.open li a {
    font-size: 18px;
    padding: 12px 8px;
    margin: 0;
    display: block;
}

/* Legacy support - redirect to unified scroll lock */
body.menu-open,
body.nav-open,
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

.bold{
    font-weight:bold;
}
.textcolor{
    color:#000066;
}
.unl{
    text-decoration: underline;
}
.justtext{
    text-align:justify;
}
.highlight {
  background-color: #c5c5fc; 
}

.faq-item li {
    list-style: none; 
    position: relative; 
    padding-left: 10px;
    text-align: justify;
    padding-bottom: 20px;
    padding-right: 10px;
    font-size: 15px;
}

.faq-item li::before {
    content: "★ ";
    position: relative;
    left: 0;
    color: #000066;
}

.search-container {
    display: flex;
    align-items: center;
    border-style: solid;
    border-color: rgb(218, 217, 217);
    border-top-left-radius: 28px;
    border-bottom-left-radius: 28px;
    border-top-right-radius: 28px;
    border-bottom-right-radius: 28px;
    position: relative;

}
.search-container input[type="text"] {
    width: 450px;
    height: 50px;
    border: none;
    padding: 0 10px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

.search-container button {
    height: 50px;
    background-color: #c5c5fc;
    border: none;
    padding: 0 50px;
    font-weight: bold;
    color: #000066;
    cursor: pointer;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

.search-container button:hover {
    background-color: #000066;
    color: #ffffff;
    box-shadow: 0 0 5px #ffffff;
}

.search-result {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  border-radius: 5px;
}


#search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 999;
}

.search-results-container {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 40px;
  padding: 5px;
  max-width: 75%;
  /*max-height: 200px;
  overflow-y: auto;*/
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  left: 10%; /* Center the dropdown */
}

.store-result {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 5px 10px; /* Increase padding for better spacing */
  border-radius: 3px;
  transition: background-color 0.2s ease-in-out;
}

.store-result:hover {
  background-color: #c5c5fc;
}

.store-image {
   margin-top: 10px;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 4px;
}

.store-name {
  font-weight: bold;
  color: #333;
  text-align: center;
}



/* website heading section */

.website-heading {
    min-height: 160px;
    background: linear-gradient(135deg, #000066 0%, #1a1a8c 50%, #2d2da0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}
.website-heading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.04)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.04)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}
.website-heading-container { position: relative; z-index: 1; }
.website-heading h1 { color: #ffffff; }

.info {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 15px;
}

.total-coupons, .last-update {
    display: flex;
    align-items: center;
    
}
.last-update {
margin-left:10px;
    
}
.last-update a{
    font-size: 14px;
    color: #000066;
    gap: 7px;
}
.label {
    font-weight: bold;
    margin-right: 5px;
}

.value {
    font-size: 15px;
}




/* sidebar & coupons sections css */


.space-after-heading {
    margin-top: 30px;
}

.main-content ,.about-main {
    display: flex;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 20px;
    overflow: visible; /* ensure no inner scrolling container */
}

.main-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: visible;
}
/* sidebar css */

.sidebar-container {
  display: flex;
  flex-direction: column;
  	
  

}

/* Sidebar enhancements: spacing, typography, and contrast */
.sidebar-container {
    gap: 16px;
}

.sidebar-container .store-information {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
}

.sidebar-container .store-information .start-shopping-btn {
    font-size: 15px;
    font-weight: 700;
    background: #000066;
    color: #ffffff;
    border: 1px solid #000066;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    margin: 16px 0;
    transition: background-color .2s ease, color .2s ease, transform .1s ease, box-shadow .2s ease;
}
.sidebar-container .store-information .start-shopping-btn:hover {
    background: #1a1a8c;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

/* Metrics block */
.sidebar-container .store-metrics { gap: 8px; margin: 10px 0 4px 0; }
.sidebar-container .store-metrics .metric-item { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; }
.sidebar-container .store-metrics .metric-label { font-size: 13px; color: #334155; }
.sidebar-container .store-metrics .metric-value { font-size: 13px; color: #0f172a; }

/* Quick actions and info sections */
.sidebar-container .store-links { gap: 14px; padding: 14px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px; }
.sidebar-container .store-links .section-title { font-size: 14px; font-weight: 800; color: #0f172a; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .3px; }
.sidebar-container .store-links .store-link { font-size: 14px; color: #0f172a; border: 1px solid #e5e7eb; background: #ffffff; }
.sidebar-container .store-links .store-link:hover { background: #000066; color: #ffffff; border-color: #000066; }
.sidebar-container .store-links .url-text { display: inline-block; padding: 10px 12px; border-radius: 8px; }

/* Follow title */
.sidebar-container .follow-title { font-size: 16px; color: #0f172a; background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 10px; }

/* Social icons spacing inside sidebar */
.sidebar-container .social-icons { gap: 8px; }

/* Sidebar coupon statistics block */
.sidebar-container .coupon-statistics { padding: 18px; }
.sidebar-container .coupon-statistics h2 { font-size: 18px; color: #0f172a; }
.sidebar-container .coupon-list li { background: #eef2ff; color: #0f172a; border-left-color: #000066; }

/* Desktop sticky sidebar */
@media (min-width: 1024px) {
  .sidebar-container { position: sticky; top: 120px; align-self: start; }
  .main-content-area { min-width: 0; }

}

/* Store metrics in sidebar */
.store-metrics {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 0 20px 0;
}

.store-metrics .metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.store-metrics .metric-label {
    font-size: 14px;
    color: #495057;
    font-weight: 600;
}

.store-metrics .metric-value {
    font-size: 16px;
    color: #000066;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-information, .coupon-statistics {
    width: 335px;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.store-information {
   /* Adjust this value if needed */
  display: flex;
  flex-direction: column;
  align-items: center;
  
}


.coupon-statistics {
  margin-top: 20px;
  margin-bottom: 0;
}
.coupon-statistics h2 {
  font-size: 20px;
  margin: 10px 0 10px;
  text-align: center;
}

.coupon-list {
  list-style-type: none;
  padding: 0;
  text-align: center;	
}

.coupon-list li {
  margin-bottom: 7px;
}

.statistics { margin-top: 20px; margin-bottom: 10px; }

.stat { margin: 6px 0; }

.values { margin-left: 6px; white-space: nowrap; }


.store-logo img {
width:100%;
height: 130px;
object-fit:contain;
    
    
}

.start-shopping-btn {
    background-color: #c5c5fc;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    color: #000;
    margin-bottom: 26px;
	border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

/* Removed basic .store-links/.store-link styles to avoid conflicts with enhanced block below */

.store-link-icon {
    font-size: 20px;
}

.follow-title {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 25px;
}

.social-icon {
    text-decoration: none;
    font-size: 24px;
    

}

/* Removed duplicate star rating base styles; keeping enhanced block later */

/* Rating info styling */
.rating-info {
    text-align: center;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 1px solid #a8a8f0;
}

.rating-text, .vote-text {
    display: block;
    margin: 5px 0;
    font-size: 14px;
    color: #000066;
    font-weight: 500;
}

.rating-text strong, .vote-text strong {
    color: #000066;
    font-weight: 700;
    font-size: 16px;
}
/* coupon codes css */ 
.coupons-promo-discounts-codes {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    min-height: 120px;
    height: auto;
    transition: box-shadow 0.2s ease-in-out, transform 0.15s ease-in-out;
	margin-bottom: 20px;
    overflow: visible;
    display: flex;
    flex-direction: column;
}
.coupons-promo-discounts-codes::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #000066 0%, #6b72ff 100%);
}

.coupons-promo-discounts-codes:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); transform: translateY(-2px); }

/* Top bar: discount tag and expiry */
.coupon-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 0 16px;
}

/* existing .discount-tag already defined; reused */

/* content body */
.content-wrapper { display: none; } /* hide legacy verified/expiry row inside header on normal cards */

.coupon-content {
    padding-left: 16px;
    padding-right: 180px;
    text-align: center;
}
.coupon-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
}
.coupon-info { text-align: left; }
.coupon-actions-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* Footer row: verified and used */
.coupon-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 14px 16px;
    border-top: 1px dashed #e5e7eb;
    width: 100%;
    box-sizing: border-box;
    align-self: stretch;
    text-align: left;
}
.verified-label { color: #0f172a; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.verified-label::before { content: ""; width: 16px; height: 16px; background: url('/store/images/VerifiedIcone.webp') no-repeat center/contain; display: inline-block; }
.coupon-used { display: inline-flex; align-items: center; padding: 4px 10px; font-size: 12px; color: #1e3a8a; background-color: #eef2ff; border: 1px solid #c7d2fe; border-radius: 999px; font-weight: 600; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .coupon-row { grid-template-columns: 1fr; }
    .coupon-actions-stack { align-items: stretch; }
    .coupon-content { padding-right: 16px; }
    .coupon-footer { padding: 10px 12px 12px 12px; }
}

/* Mobile refinements: spacing and button sizing */
@media (max-width: 480px) {
    /* Ensure inner content doesn't touch the left edge */
    .coupon-content { padding: 12px 12px 0 12px; }
    .coupon-footer { padding: 10px 12px 12px 12px; }
    /* Reset ad-hoc left margins so spacing is uniform via padding */
    .coupon-title,
    .coupon-description,
    .coupon-code-title { margin-left: 0; }
    /* Avoid absolute positioning overlap on tight heights */
    .button-container { position: static; right: auto; top: auto; transform: none; margin-top: 10px;  margin-left: 10px;
        margin-right: 10px;}
    /* Make action buttons more compact on phones */
    .get-code,
    .get-deal,
    .static-coupon { font-size: 13px; padding: 8px 12px; border-radius: 10px; }
}

.coupon-title { font-size: 20px; margin-top: 0; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }


.coupon-description { font-size: 15px; line-height: 1.5; margin-bottom: 4px; color: #374151; }

.coupon-code-title { font-size: 15px; margin: 0; display: inline; }

.get-code,
.static-coupon,
.get-deal {
    background-color: #c5c5fc;
    border: none;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: #000066;
    cursor: pointer;
    font-size: 15px;
    padding: 8px 16px;
    transition: background-color 0.3s, color 0.3s;
    margin: 2px;
}

.get-code {
    position: relative;
    border: 2px dashed #000066;
}

.get-code::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent #c5c5fc;
    transform: translateY(-50%);
}

.get-code:hover,
.static-coupon:hover,
.get-deal:hover {
    background-color: #000066;
    color: #ffffff;
}



.button-container { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
/* Ensure absolutely-positioned button does not overlay the footer on small heights */
.coupons-promo-discounts-codes { padding-bottom: 8px; }

.coupon-used {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    color: #1e3a8a;
    background-color: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    font-weight: 600;
    margin-left: auto;
}

/* Hidden state for lazy-revealed coupons */
.coupon-item.hidden { display: none; }

/* Coupon item wrapper enhancement if used outside main card */
.coupon-item {
    margin-bottom: 16px;
}

.coupon-filter { margin-bottom: 6px; }

.filter-nav { list-style-type: none; display: flex; justify-content: center; padding: 0; margin: 0; gap: 8px; }
.filter-nav li { margin: 0; padding: 0; }

.filter-option { padding: 8px 14px; background-color: #c5c5fc; margin: 0; cursor: pointer; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; border: 1px solid #9aa0ff; border-radius: 999px; font-weight: 600; }

.filter-option:hover { background-color: #b0b5ff; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }

.filter-option.active {
    background-color: #000066;
    color: #ffffff;
    border-color: #000066;
}

/* Dropdown-style filter (enhanced) */
/* (deduped) filter menu styles live with enhanced block further below */

.modal {
        position: fixed;
        z-index: 2000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .modal-content {
        background-color: #fff;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        max-width: 600px;
        max-height: calc(100vh - 160px);
        overflow-y: auto;
    }

    .modal .close {
        color: #c5c5fc;
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
    }

    .modal .close:hover,
    .modal .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.code-modal {
        position: fixed;
        z-index: 2000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .code-modal-content {
        background-color: #000066;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 30%;
        text-align: center;
        z-index: 2100;
        max-height: calc(100vh - 160px);
        overflow-y: auto;
    }

    .code-modal-content h2,
    .code-modal-content .code-copied,
    .code-modal-content .coupon-title,
    .code-modal-content .coupon-description {
        color: #fefefe;
        padding-bottom: 10px;
    }

    .code-modal-content .code-copied {
        font-weight: bold;
    }

    .code-box {
        display: inline-block;
        border: 2px dashed #c5c5fc;
        padding: 10px 20px;
        margin-bottom: 20px;
        font-weight: bold;
        color: #c5c5fc;
    }

    .go-to-website {
        display: inline-block;
        background-color: #c5c5fc;
        color: #000066;
        padding: 10px 20px;
        text-decoration: none;
        font-weight: bold;
        margin-bottom: 20px;
        margin-left: 20px;
    }

    .go-to-website:hover {
        background-color: #b0b0eb;
    }

    .store-image {
        width: 100% !important;
        height: auto !important;
        max-width: 200px;
        margin-bottom: 20px;
        object-fit:contain;
    }


    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
    }

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }


.show-more-button {
        display: block;
        width: auto;
        max-width: 420px;
        margin: 15px auto 2px;
        padding: 12px 24px;
        background-color: #000066;
        color: #ffffff;
        border: 1px solid #000066;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        transition: background-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .show-more-button:hover { background-color: #1a1a88; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }


.about-store-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  text-align: justify;
  width: 100%;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.about-store-container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}


.about-store-container h2 {
  font-size: 20px;
  font-weight: bold;
  text-decoration: underline;
  text-align: center;
  margin-bottom: 5px;
}

.coupon-table-container{
	display: block;
    width: 100%;
    }

.trending-coupons-container, .expired-coupon-container{
  margin-top: 16px;
  width: 100%;
  border: 2px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  overflow: hidden;
  transition: all 0.3s ease;
  overflow-x: auto; /* allow horizontal scroll on narrow screens */
  -webkit-overflow-scrolling: touch;
}

.trending-coupons-container:hover, .expired-coupon-container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.trending-coupons-container h2, .expired-coupon-container h2 {
  font-size: 30px;
  font-weight: bold;
  color: white;
  background-color: #000066;
  padding: 12px 14px;
  text-align: center;
  margin-bottom: 5px;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

table th {
  background: #000066;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 20px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table tr:nth-child(odd) { 
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); 
}
table tr:nth-child(even) { 
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); 
}
table tr:hover { 
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  transform: scale(1.01);
  transition: all 0.3s ease;
}

.view-more-details{
    font-size: 15px;
    color: #000066;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-more-details:hover {
    color: #1a1a8c;
    text-decoration: underline;
}

table td { 
  font-size: 15px; 
  padding: 16px 20px; 
  border-bottom: 1px solid #e5e7eb; 
  transition: all 0.3s ease;
}

table a {
    font-size: 15px;
    color: #000066;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

table a:hover {
    color: #1a1a8c;
    text-decoration: underline;
}

.email-subscribe-container{
	display: block;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    }
.subscribe-container {
  margin: 30px auto;
  width: 100%;
}

.subscribe-background {
  background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 102, 0.3);
}

.subscribe-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid #e5e7eb;
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.subscribe-box h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000066;
}

.subscribe-box form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.subscribe-box input[type="email"] {
  padding: 12px 20px;
  font-size: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  outline: none;
  min-width: 300px;
  transition: all 0.3s ease;
}

.subscribe-box input[type="email"]:focus {
  border-color: #000066;
  box-shadow: 0 0 0 3px rgba(0, 0, 102, 0.1);
}

.subscribe-box button {
  background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
  color: #ffffff;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 102, 0.3);
}

.subscribe-box button:hover {
  background: linear-gradient(135deg, #1a1a8c 0%, #000066 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 102, 0.4);
}
.about-store-container li{margin-left:20px}

.video-container {
    width: 1052px;
    background-color: #000066;
    border: 2px solid #e3e1e1;
    border-radius: 20px;
    box-shadow: 0px 3px 6px black;
    padding: 20px;
    color: white;
    margin:20px auto;
    text-align: center;
}

.video-title {
    font-size: 20pt;
}

.video-box {
    width: 975px;
    border: 1px solid #e3e1e1;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%; /* for 16:9 aspect ratio */
}

.youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-description {
    font-size: 15pt;
    margin-top: 20px;
}

.faq-container{
	display: block;
    width: 100%;
    }

.store-faq-container {
  margin: 0px auto;
  width: 100%;
  border: 2px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  overflow: hidden;
  transition: all 0.3s ease;
}

.store-faq-container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.title-and-summary-container {
  background-color: #000066;

}

.store-faq-container h2 {
  font-size: 28px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
  padding: 20px 24px;
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.summary-container {
  width: 98%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  margin: 0 auto 15px;
  position: relative;
  border-radius: 12px;
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.box-container {
  display: flex;
  justify-content: space-between;
  padding: 0px;

}

.inner-box {
  width: 500px;
  height: auto;
  background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
  margin: 8px;
  color: white;
  font-size: 18px;
  text-decoration: none;
  position: relative;
  padding: 16px 20px 16px 35px; 
  display: inline-block;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 102, 0.3);
  transition: all 0.3s ease;
}

.inner-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 102, 0.4);
}
.inner-box ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  margin-bottom: 15px;
}
.inner-box a::before {
 content: "★ "; 
  position: absolute;
  left: 0;
  color: white;

}
.inner-box a{
  color: white;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  padding-left: 20px; 
  display: inline-block;
}
.inner-box li:not(:last-child) {
  margin-bottom: 10px;
}

.summary-box {
  width: 415px;
  height: 40px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #000066;
  border-radius: 12px;
  border: 2px solid #000066;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.summbg{
    background-color: #000066;
    height: 2px;
    margin-bottom: 30px;
}
.faq-content {
  display: flex;
  justify-content: space-between;
}

.faq-column {
  width: calc(50% - 2.5px);
  display: flex;
  flex-direction: column;
  padding-left: 5px;
}

.faq-divider {
  width: 5px;
  background-color: #000066;
  margin-top: 15px;
  margin-bottom: 15px;
}

.faq-item h3 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: center;
  text-transform: uppercase;

}

.faq-item p {
  font-size: 15px;
  margin-bottom: 20px;
  text-align: justify;	
  padding: 10px;

}
.faq-item a {
 font-size: 15px;    
 color:#000066;
 text-decoration:underline;
 font-weight:bold;
}

.about-store-container a{
     font-size: 15px;    
 color:#000066;
 text-decoration:underline;
 font-weight:bold;
}
.bgimg-container{
  width: 100%;
  background-image:url('/images/bg.webp');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  min-height: 500px;
  width: 100%;
  position: relative;
}

.social-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.social-media h3 {
  font-size: 20px;
  color: white;
  margin-bottom: 10px;
}

.social-media-icons {
  display: flex;
  justify-content: center;
}

.social-media-icons a {
  margin: 0 10px;
}

.copyright {
  font-size: 15px;
  color: white;
  margin-top: 40px;
  	
}




@media (min-width: 820px) and (max-width: 1180px) {
  /* Your styles for iPad Air go here */
.container {
        flex-direction: column;
    }

    .logo {
        margin: 0px 0;
        order: 1;
    }

    .logo img {
        margin: 0px 0;
    }

    nav {
        order:2;
        
    }

    nav ul {
        justify-content: center;
        flex-direction:row;
        padding:5px;
    }

    .search-container {
        order: 2;
        margin: 25px 0;
    }

    .search-container input[type="text"] {
        width: 100%;
    }
    .website-heading-container {
        padding: 0 20px;
    }

    .website-heading h1 {
        font-size: 25px;
		display: contents;
        margin-bottom: 10px;
        max-width: 100%;
    }

    .info {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .total-coupons, .last-update {
        margin: 0;
    }

    .total-coupons {
        margin-bottom: 10px;
    }

    .total-coupons, .last-update {
        margin-left: 0;
        margin-right: 0;
    }
	
	 .coupons-promo-discounts-codes {
        width: 100%;
        height: auto; /* Update the height to auto for smaller screens */
        padding: 20px; /* Add some padding for better spacing */
    }

	.coupon-title h2{
    font-size: 10px;
    margin-top: 2px;
    margin-bottom: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coupon-description {
    font-size: 5px;
    margin-bottom: 25px;
}


    .sidebar-container {
    order:4;    
    width: 100%;
  }

  .store-information, .coupon-statistics {
    width: 100%;
  }

  .store-information {
    margin-left: 0;
	  
  }
	.coupon-statistics{
		margin-left: 0;
		
	}	
	.about-store-container{
		width: 100%;
		
	}
	.coupon-table-container{
		width: 100%;
		
	}
	.trending-coupons-container, .expired-coupon-container{
		width: 100%;
		
	}
    

	table {
    display: block;
    position: relative;
    width: 100%;
  }

  table thead {
    display: none;
  }

  table tr {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
  }

  table td {
    display: flex;
    flex-basis: calc(100% / 4);
    justify-content: space-between;
    border: none;
    padding: 10px;
    box-sizing: border-box;
  }

  table td:before {
    content: attr(data-label);
    display: inline-block;
    font-weight: bold;
    padding-right: 5px;
  }

  table td:nth-child(1) {
    flex-basis: 50%;
    padding-right: 15px;
  }

  table td:nth-child(2) {
    flex-basis: 50%;
    padding-right: 15px;
  }

  table td:nth-child(3) {
    flex-basis: 50%;
    padding-right: 15px;
  }

  table td:nth-child(4) {
    flex-basis: 50%;
    padding-right: 15px;
  }



.video-container {
        width: 90%;
    }

	
	.store-faq-container{
		width: 100%;
		display: flex;
		flex-direction: column;
	}
	.faq-content {
 	 display: flex;
  	 flex-direction: column;
	 width: 100%;	
	}
    .summary-container {
    width: 98%;
  }

  .box-container {
    flex-direction: column;
    align-items: center;
  }

  .inner-box {
    width: 98%;
    margin: 4px 0;
    padding-left: 45px;
  }

  .summary-box {
    width: 80%;
  }

	.faq-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 5px;
}

	.faq-divider {
	  display: none;
	}
	
	.email-subscribe-container, .subscribe-container, .subscribe-background,.subscribe-box{
		width: 100%;
		}
	.subscribe-box input[type="email"]{
		width: 100%;
	}
	.subscribe-box button{
		width: 100%;
	}
	.bgimg-container{
		width: 100%;
	}
 
}
@media (max-width: 768px) and (max-width: 1024px) {
    .container {
        flex-direction: column;
        padding:0px;
    }

    .logo {
        margin: 0px 0;
        order: 1;
    }

    .logo img {
        margin: 0px 0;
    }

    nav {
        order:2;
    }

    nav ul {
        justify-content: center;
        flex-direction:row;
        padding:0px;
    }
    
    nav ul li{
        padding-bottom:5px;
    }
    nav ul li a{
        padding:0;
        font-size:70%;
        margin: 0 10px;
        }
    .search-container {
        order: 2;
        margin-bottom:20px;
    }

    .search-container input[type="text"] {
        width: 100%;
        height:25px;
        font-size:70%;
    }
    
    .search-container button {
        height:25px;
        font-size:70%;
        }
        
    .website-heading{
        height:150px;
    }    
    .website-heading-container {
        padding: 0 20px;
    }

    .website-heading h1 {
        font-size: 20px;
        margin-bottom: 10px;
        max-width: 100%;
        padding: 0px;
    }

    .info {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .total-coupons, .last-update {
        margin: 0;
    }

    .total-coupons {
        margin-bottom: 10px;
    }

    .total-coupons, .last-update {
        margin-left: 0;
        margin-right: 0;
    }
    .sidebar-container {
    order:4;    
    width: 100%;
  }

  .store-information, .coupon-statistics {
    width: 100%;
  }
  .coupon-title{
      font-size:20px;
      white-space: break-spaces;
      margin-left: 15px;
  }    
  
  .coupon-code-title{
    margin-left: 15px;
    display: inline;
  }

  .store-information {
    margin-left: 0;
	  
  }
  .show-more-button {
   font-size:15px;
  }
	.coupon-statistics{
		margin-left: 0;
		
	}	
	.about-main{
	    padding: 0 20px;
	}
	.about-store-container{
		width: 100%;
		
	}
	.coupon-table-container{
		width: 100%;
		padding: 0 20px;
		
	}
	.trending-coupons-container, .expired-coupon-container{
		width: 100%;
		border: 5px solid #cccccc;
		
	}
	.trending-coupons-container h2, .expired-coupon-container h2{
	    font-size : 20px;
	}
	.store-faq-container h2 {
	    font-size:20px;
	}
	.faq-container{
	    padding: 0 20px;
	}
	 table {
    display: block;
    position: relative;
    width: 100%;
  }

  table thead {
    display: none;
  }

  table tr {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
  }

  table td {
    display: flex;
    flex-basis: calc(100% / 4);
    justify-content: space-between;
    border: none;
    padding: 10px;
    box-sizing: border-box;
  }

  table td:before {
    content: attr(data-label);
    display: inline-block;
    font-weight: bold;
    padding-right: 5px;
  }

  table td:nth-child(1) {
    flex-basis: 50%;
    padding-right: 15px;
  }

  table td:nth-child(2) {
    flex-basis: 50%;
    padding-right: 15px;
  }

  table td:nth-child(3) {
    flex-basis: 50%;
    padding-right: 15px;
  }

  table td:nth-child(4) {
    flex-basis: 50%;
    padding-right: 15px;
  }


.video-container, .video-box {
        width: 100%;
    }

    .video-title {
        font-size: 18pt;
    }

    .video-description {
        font-size: 13pt;
    }


	
	.store-faq-container{
		width: 100%;
		display: flex;
		flex-direction: column;
		border: 5px solid #cccccc;
	}
	.faq-content {
 	 display: flex;
  	 flex-direction: column;
	 width: 100%;	
	}
	.faq-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 5px;
}

.summary-container {
    width: 98%;
  }

  .box-container {
    flex-direction: column;
    align-items: center;
  }

  .inner-box {
    width: 98%;
    margin: 4px 0;
    padding-left: 10px;
  }

  .summary-box {
    width: 80%;
    font-size:15px;
  }


	.faq-divider {
	  display: none;
	}
	
	.email-subscribe-container, .subscribe-container, .subscribe-background,.subscribe-box{
		width: 100%;
		}
	.email-subscribe-container{
	    padding: 0 20px;
	}	
	.subscribe-box input[type="email"]{
		width: 100%;
		font-size:50%;
	}
	.subscribe-box button{
		width: 100%;
		font-size:50%;
	}
	.subscribe-box h3{
 font-size: 80%;
 font-weight: 400;
}
	.bgimg-container{
		width: 100%;
	}
 	
}

@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
        align-items: center;
    }

    .store-information {
        margin-left: 0;
        margin-bottom: 30px;
    }
    table {
    display: block;
    position: relative;
    width: 100%;
  }

  table thead {
    display: none;
  }

  table tr {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
  }

  table td {
    display: flex;
    flex-basis: calc(100% / 4);
    justify-content: space-between;
    border: none;
    padding: 10px;
    box-sizing: border-box;
  }

  table td:before {
    content: attr(data-label);
    display: inline-block;
    font-weight: bold;
    padding-right: 5px;
  }


.video-box{
    width: 100%;
}
.subscribe-box h3{
 font-size: 80%;
 font-weight: 400;
}

.subscribe-box input[type=email], .subscribe-box button{
font-size:50%
}
}

@media (max-width: 768px) {
    .main-content {
        padding: 0 20px;
    }

    .store-information {
        width: 100%;
    }
    
    .about-store-container,
    .trending-coupons-container,
    .expired-coupon-container,
    .store-faq-container {
        width: 100%;
        margin: 10px 0;
        padding: 16px;
    }
    
    .subscribe-box input[type="email"] {
        min-width: 250px;
        width: 100%;
    }
    
    .subscribe-box form {
        flex-direction: column;
        gap: 10px;
    }
    
    .inner-box {
        width: 100%;
        margin: 4px 0;
        padding: 12px 16px 12px 25px;
    }
    
    .summary-box {
        width: 90%;
        height: 35px;
        font-size: 16px;
    }
    .website-heading {
    height:150px;
        
    }
    .coupons-promo-discounts-codes {
        width: 100%;
        height: auto; /* Update the height to auto for smaller screens */
        
    }
    .code-modal-content {
        width:100%;
        }
    .coupon-content {
        padding-right: 100px; /* Reduce the right padding to fit the content better */
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .button-container {
        right: 15px; /* Reduce the right position of the button container for better spacing */
    }
      table {
    display: block;
    position: relative;
    width: 100%;
  }

  table thead {
    display: none;
  }

  table tr {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
  }

  table td {
    display: flex;
    flex-basis: calc(100% / 4);
    justify-content: space-between;
    border: none;
    padding: 10px;
    box-sizing: border-box;
  }

  table td:before {
    content: attr(data-label);
    display: inline-block;
    font-weight: bold;
    padding-right: 5px;
  }

  
.video-container, .video-box {
        width: 100%;
    }

    .video-title {
        font-size: 18pt;
    }

    .video-description {
        font-size: 13pt;
    }




}

@media (max-width: 480px) {
    .content-wrapper {
        flex-direction: row;
    }

    .days-left {
        margin-top: 0px;
    }

    .coupon-content {
        padding-right: 0;
        padding-left: 0;
    }

    .button-container {
        position: static;
        transform: none;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
    }
    table {
    display: block;
    position: relative;
    width: 100%;
  }

  table thead {
    display: none;
  }

  table tr {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
  }

  table td {
    display: flex;
    flex-basis: calc(100% / 4);
    justify-content: space-between;
    border: none;
    padding: 10px;
    box-sizing: border-box;
  }

  table td:before {
    content: attr(data-label);
    display: inline-block;
    font-weight: bold;
    padding-right: 5px;
  }

  table td:nth-child(1) {
    flex-basis: 100%;
  }

  table td:nth-child(2) {
    flex-basis: 100%;
  }

  table td:nth-child(3) {
    flex-basis: 100%;
    padding-right: 15px;
  }

  table td:nth-child(4) {
    flex-basis: 100%;
    padding-right: 15px;
  }
.video-title {
        font-size: 16pt;
    }

    .video-description {
        font-size: 11pt;
    }
    
    

}

@media screen and (min-width: 280px) and (max-width: 499px) {
 

.main-content {
    padding: 0 20px;
} 
 
.store-information, .coupon-statistics {
    width: 100%;
}
.store-logo{
    width:100%;
}
.stat {
    margin-left: 0px;
    margin-bottom: 7px;
    
    left: -40px;
    display: inherit;
    font-size: 12px;
}

.values {
    margin-left: 0px;
    left: 147px;
    white-space: nowrap;
}


.social-media h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
    font-size: 80%;
}

.copyright {
    font-size: 15px;
    color: #fff;
    margin-top: 30px;
    margin-bottom: 25px;
    font-size: 70%;
}

}
@media screen and (min-width: 1024px) and (max-width: 1367px) {

  body {
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .container {
        flex-direction: row;
    }

    .logo {
        margin: 25px 0;
        order: 1;
    }

    .logo img {
        margin: 25px 0;
    }

    nav {
        order: 2;
    }

    nav ul {
        justify-content: center;
		flex-direction:row;
        padding:5px;
    }

    .search-container {
        order: 3;
        margin: 25px 0;
    }

    .search-container input[type="text"] {
        width: 100%;
    }
    .website-heading h1 {
        padding : 0 40px;
    }
    .about-store-container {
    width: 83%;
}
.trending-coupons-container, .expired-coupon-container{
    width:83%;
 }
 .store-faq-container{
     width:83%;
 }
 .subscribe-container {
 width:83%;
     
 }
}

/* Enhanced Navigation Menu Styles */
.store-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.store-links .store-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.store-links .store-link:hover {
    background: #000066;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,102,0.3);
    border-color: #000066;
}

.store-links .store-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,102,0.2);
}

/* Quick Navigation Links in Header */
.website-heading-container .store-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    margin: 4px;
    background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,102,0.2);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.website-heading-container .store-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.website-heading-container .store-link:hover::before {
    left: 100%;
}

.website-heading-container .store-link:hover {
    background: linear-gradient(135deg, #1a1a8c 0%, #000066 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,102,0.4);
    border-color: #ffffff;
}

.website-heading-container .store-link:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0,0,102,0.3);
}

/* Enhanced Social Icons Navigation */
.social-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    padding: 20px;
 }

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,102,0.3);
    border-color: #000066;
}

.social-icon img {
    position: relative;
    z-index: 1;
    transition: filter 0.3s ease;
}

.social-icon:hover img {
    filter: brightness(0) invert(1);
}

/* Enhanced Follow Title */
.follow-title {
    font-size: 18px;
    font-weight: 700;
    color: #000066;
    margin: 25px 0 15px 0;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid #000066;
    text-align: center;
}

/* Enhanced Star Rating Navigation */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    padding: 20px;
    background-color: #c5c5fc;
    border-radius: 25px;
    border: 2px solid #a8a8f0;
    box-shadow: 0 2px 8px rgba(197, 197, 252, 0.3);
}

.star {
    width: 25px;
    height: 25px;
    fill: #8a8a8a;
    transition: all 0.3s ease;
    cursor: pointer;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.star:hover {
    fill: #000066;
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.star-rating {
    position: relative;
    z-index: 1;
    overflow: visible;
}

.star-rating .star {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

@media (max-width: 768px) {
  .star-rating {
    padding: 12px;
    gap: 6px;
  }
  .star-rating .star {
    width: 22px;
    height: 22px;
  }
}

/* Enhanced Statistics Navigation */
.statistics {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #dee2e6;
}

.statistics h2 {
    color: #000066;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #000066;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin: 8px 0;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.stat:hover {
    background: #000066;
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,102,0.2);
}

.stat .values {
    font-weight: 600;
    color: #000066;
    transition: color 0.3s ease;
}

.stat:hover .values {
    color: #ffffff;
}

/* Enhanced Coupon List Navigation */
.coupon-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.coupon-list li {
    padding: 12px 16px;
    margin: 8px 0;
    background: #c5c5fc;
    border-radius: 8px;
    border-left: 4px solid #000066;
    font-weight: 600;
    color: #000066;
    transition: all 0.3s ease;
}

.coupon-list li:hover {
    background: linear-gradient(135deg, #000066 0%, #000066 100%);
    transform: translateX(5px);
    box-shadow: 0 6px 16px rgba(0, 0, 102, 0.35);
   color: #ffffff;
   border-left: 4px solid #c5c5fc;
}

/* Enhanced Start Shopping Button */
.start-shopping-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,102,0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.start-shopping-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.start-shopping-btn:hover::before {
    left: 100%;
}

.start-shopping-btn:hover {
    background: linear-gradient(135deg, #1a1a8c 0%, #000066 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,102,0.4);
    border-color: #ffffff;
}

.start-shopping-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,102,0.3);
}

/* Enhanced Store Logo Container */
.store-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    border: 2px solid #e9ecef;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.store-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #000066;
}

.store-logo img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Enhanced Store Information Container */
.store-information {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Enhanced Coupon Statistics */
.coupon-statistics {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.coupon-statistics h2 {
    color: #000066;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #000066;
}

/* Responsive Navigation Adjustments */
@media (max-width: 768px) {
    .website-heading-container .store-link {
        font-size: 11px;
        padding: 6px 10px;
        margin: 1px;
        border-radius: 20px;
        min-width: auto;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .store-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
        margin: 15px 0;
    }
    
    .store-links .store-link {
        font-size: 12px;
        padding: 8px 12px;
        flex: 1;
        min-width: 120px;
        max-width: 150px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .social-icons {
        gap: 6px;
        padding: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .start-shopping-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .website-heading-container .store-link {
        font-size: 10px;
        padding: 5px 8px;
        margin: 1px;
        border-radius: 15px;
    }
    
    .store-links {
        flex-direction: column;
        gap: 6px;
        padding: 10px;
    }
    
    .store-links .store-link {
        font-size: 11px;
        padding: 6px 10px;
        flex: none;
        min-width: auto;
        max-width: none;
        width: 100%;
    }
    
    .social-icons {
        gap: 4px;
        padding: 10px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .start-shopping-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Enhanced Filter Navigation */
.coupon-filter {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 20px;
    margin: 16px 0;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    position: relative; /* allow dropdown to anchor reliably */
    overflow: visible; /* no inner scroll */
    z-index: 1;
    backdrop-filter: saturate(180%) blur(6px);
}

/* removed shimmering top border for simpler look */
/* .coupon-filter::before removed */

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.filter-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.filter-option {
    padding: 20px 36px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    color: #495057;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
    user-select: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 90px;
    min-height: 35px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.filter-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.filter-option:hover::before {
    left: 100%;
}

.filter-option::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0,0,102,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.filter-option:hover::after {
    width: 300px;
    height: 300px;
}

.filter-option:hover {
    background: linear-gradient(145deg, #000066, #1a1a8c);
    color: #ffffff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 30px rgba(0,0,102,0.4),
        0 6px 15px rgba(0,0,102,0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border-color: #ffffff;
    letter-spacing: 1px;
}

.filter-option.active {
    background: linear-gradient(145deg, #000066, #1a1a8c);
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 
        0 8px 25px rgba(0,0,102,0.4),
        0 4px 15px rgba(0,0,102,0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-2px);
    position: relative;
}

.filter-option.active::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, #c5c5fc);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255,255,255,0.3);
}

.filter-option:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 6px 20px rgba(0,0,102,0.3),
        0 3px 10px rgba(0,0,102,0.2);
    transition: all 0.1s ease;
}

/* Removed emoji icons for a simpler filter button look */

/* Filter option focus states for accessibility */
.filter-option:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(0,0,102,0.3),
        0 4px 15px rgba(0,0,0,0.1);
}

.filter-option:focus-visible {
    outline: 2px solid #000066;
    outline-offset: 2px;
}

/* Responsive Filter Navigation */
@media (max-width: 768px) {
    .coupon-filter {
        padding: 16px;
        margin: 15px 0;
        border-radius: 12px;
    }
    
    .filter-nav {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 5px;
    }
    
    .filter-option {
        padding: 12px 20px;
        font-size: 12px;
        min-width: 90px;
        min-height: 45px;
        letter-spacing: 0.2px;
        border-radius: 25px;
        box-shadow: 
            0 2px 8px rgba(0,0,0,0.08),
            inset 0 1px 0 rgba(255,255,255,0.6);
    }
    
    .filter-option:hover {
        transform: translateY(-1px) scale(1.01);
        box-shadow: 
            0 4px 12px rgba(0,0,102,0.2),
            0 2px 6px rgba(0,0,102,0.1);
    }
    
    .filter-option.active {
        transform: translateY(0);
        box-shadow: 
            0 3px 10px rgba(0,0,102,0.25),
            0 1px 4px rgba(0,0,102,0.15);
    }
    
    .filter-option.active::before {
        width: 20px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .coupon-filter {
        padding: 12px;
        margin: 10px 0;
        border-radius: 10px;
    }
    
    .filter-nav {
        gap: 6px;
        padding: 0 2px;
    }
    
    .filter-option {
        padding: 10px 16px;
        font-size: 11px;
        min-width: 80px;
        min-height: 40px;
        letter-spacing: 0.1px;
        border-radius: 20px;
        text-transform: none;
        font-weight: 600;
    }
    
    .filter-option:hover {
        transform: translateY(0) scale(1.005);
    }
    
    .filter-option.active {
        transform: translateY(0);
    }
    
    .filter-option.active::before {
        width: 15px;
        height: 2px;
    }
}

@media (max-width: 360px) {
    .filter-nav {
        gap: 4px;
    }
    
    .filter-option {
        padding: 8px 12px;
        font-size: 10px;
        min-width: 70px;
        min-height: 36px;
        border-radius: 18px;
    }
}

/* New two-column layout inside coupon-content */
.coupon-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
}
.coupon-info {
    text-align: left;
}
.coupon-actions-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.discount-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 32px;
    padding: 0 10px;
    margin-bottom: 6px;
    background: #c5c5fc;
    color: #000066;
    border: 2px dashed #000066;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .coupon-row { grid-template-columns: 1fr; }
    .coupon-actions-stack { align-items: stretch; }
}

/* Modern Coupon Grid Layout */
.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    align-items: stretch;
    overflow: visible;
}

/* Modern Coupon Card */
.coupons-grid .coupons-promo-discounts-codes {
    background: white;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s ease;
    margin-bottom: 0;
    height: 100%;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.coupons-grid .coupons-promo-discounts-codes:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Remove the left border accent for modern look */
.coupons-grid .coupons-promo-discounts-codes::before {
    display: none;
}

/* Badge System */
.badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-right: 6px;
    margin-bottom: 4px;
    font-weight: 600;
}

.badge.code {
    background: #eef2ff;
    color: #000066;
    border: 1px solid #c7d2fe;
}

.badge.deal { 
    background: #eef2ff;
    color: #000066;
    border: 1px solid #c7d2fe;
}

.badge.ship { 
    background: #eef2ff;
    color: #000066;
    border: 1px solid #c7d2fe;
}

.badge.verified {
    background: #eef2ff;
    color: #000066;
    border: 1px solid #c7d2fe;
}

.badge.new { 
    background: #eef2ff;
    color: #000066;
    border: 1px solid #c7d2fe;
}

.badge.trending { 
    background: #eef2ff;
    color: #000066;
    border: 1px solid #c7d2fe;
}

.badge.expire-soon {
    background: #eef2ff;
    color: #000066;
    border: 1px solid #c7d2fe;
}

/* Badge Container */
.badge-container {
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* Header row for left/right alignment of badges */
.badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* Modern Coupon Content */
.coupons-grid .coupon-content {
    flex: 1;
    padding: 0;
    text-align: left;
}

.coupons-grid .coupon-title {
    font-weight: 600;
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.4;
    color: #1f2937;
}

/* Keyword heading inside cards */
.coupons-grid .coupon-code-title { font-size: 0.95rem; color: #0f172a; font-weight: 700; margin: 4px 0 6px 0; }

/* Hashtag chips below title */
.keyword-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px 0; }
.keyword-chip { display: inline-flex; align-items: center; padding: 3px 10px; font-size: 0.82rem; font-weight: 700; color: #000066; background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 999px; }

.coupons-grid .coupon-description {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Expiry Badge */
.expires {
    font-size: 0.82rem;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 8px;
    color: #374151;
    border: 1px solid #e5e7eb;
}

/* Meta row holding expiry and hashtags */
.coupon-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 4px 0 8px 0; }
.coupon-meta .keyword-chips { margin: 0; gap: 6px; }

/* Modern Footer */
.coupons-grid .coupon-footer {
    margin-top: auto;
    display: flex;
    gap: 10px;
    padding: 0;
    border-top: none;
    justify-content: space-between;
    align-items: center;
}

/* Modern Buttons */
.coupons-grid .btn {
    flex: 1;
    padding: 10px 14px;
    text-align: center;
    border-radius: 8px;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    font-weight: 600;
    min-height: 35px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.coupons-grid .btn.primary {
    background: #c5c5fc;
    color: #000066;
}

.coupons-grid .btn.primary:hover {
    background: #b8b8f7;
    transform: translateY(-1px);
}

.coupons-grid .btn.outline { 
    border: 1px solid #ccc; 
    background: white; 
    color: #374151;
}

.coupons-grid .btn.outline:hover { 
    background: #f9fafb; 
    border-color: #9ca3af;
}

/* Distinct styling for Get Code vs Get Deal */
/* Get Code (has data-code attribute) */
.coupons-grid .btn.primary[data-code] {
    background: #eef2ff;
    color: #000066;
    border: 2px dashed #000066;
    position: relative;
    font-weight: 700;
    padding: 8px 12px; /* compensate dashed border so height matches solid button */
    min-height: 35px;
}
.coupons-grid .btn.primary[data-code]::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-style: solid;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent #ffffff;
}
.coupons-grid .btn.primary[data-code]:hover {
    background: #000066;
    color: #ffffff;
    border-color: #000066;
    transform: translateY(-1px);
}

/* Get Deal (no data-code): keep solid primary look; add gentle elevation on hover */
.coupons-grid .btn.primary:not([data-code]) {
    background: #000066;
    color: #ffffff;
}
.coupons-grid .btn.primary:not([data-code]):hover {
    background: #1a1a8c;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* Update existing button classes to match new design */
.coupons-grid .get-code,
.coupons-grid .get-deal,
.coupons-grid .static-coupon {
    background: #059669;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.2s;
    flex: 1;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.coupons-grid .get-code:hover,
.coupons-grid .get-deal:hover,
.coupons-grid .static-coupon:hover {
    background: #047857;
    transform: translateY(-1px);
}

/* Remove old button positioning */
.coupons-grid .button-container {
    position: static;
    right: auto;
    top: auto;
    transform: none;
    margin: 0;
}

/* Modern Coupon Used Badge */
.coupons-grid .coupon-used {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 0.8rem;
    color: #000066;
    background-color: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    font-weight: 700;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .coupons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .coupons-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .coupons-grid .coupons-promo-discounts-codes {
        padding: 12px;
    }
    
    .coupons-grid .coupon-footer {
        flex-direction: column;
        gap: 6px;
    }
    
    .coupons-grid .btn {
        width: 100%;
    }
}

/* Simple filter buttons: scoped override (does not affect other buttons) */
.coupon-filter .filter-nav .filter-option {
    background: #f3f4f6;
    color: #0f172a;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .1s ease;
}

.coupon-filter .filter-nav .filter-option:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.coupon-filter .filter-nav .filter-option:active {
    transform: translateY(0);
}

.coupon-filter .filter-nav .filter-option.active {
    background: #000066;
    color: #ffffff;
    border-color: #000066;
}

.coupon-filter .filter-nav .filter-option:focus-visible {
    outline: 2px solid #9aa0ff;
    outline-offset: 2px;
}

/* Enhanced filter UI (search + type + sort) */
.filter-wrapper { position: relative; display: flex; justify-content: center; margin-bottom: 0; }
.filter-group { display: grid; align-items: center; gap: 12px; grid-template-columns: 1fr auto auto; width: 100%; max-width: 1200px; }
.filter-search { position: relative; display: inline-flex; align-items: center; }
.filter-search input { height: 36px; padding: 6px 28px 6px 10px; border: 1px solid #e5e7eb; border-radius: 8px; outline: none; background: #ffffff; color: #0f172a; }
.filter-search input::placeholder { color: #6b7280; }
.filter-search input:focus { border-color: #c7d2fe; box-shadow: 0 0 0 3px rgba(199,210,254,0.4); }
.filter-search button { position: absolute; right: 4px; height: 28px; width: 28px; border: 0; background: transparent; color: #6b7280; border-radius: 6px; cursor: pointer; }
.filter-search button:hover { background: #f3f4f6; }
.filter-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid #d1d5db; border-radius: 10px; background: #ffffff; font-size: 0.9rem; cursor: pointer; transition: all 0.2s ease; color: #0f172a; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.filter-btn:hover { background: #eef2ff; border-color: #c7d2fe; color: #000066; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.filter-btn:focus-visible { outline: 2px solid rgba(0,0,102,0.25); outline-offset: 2px; box-shadow: 0 0 0 3px rgba(0,0,102,0.15); }
.filter-icon { width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 2px; transform: rotate(90deg); color: #000066; }
.filter-menu { display: none; position: absolute; margin-top: 6px; background: #ffffff; border: 1px solid #c7d2fe; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); min-width: 200px; padding: 6px 0; z-index: 5000; right: 0; overflow: hidden; }
.filter-menu.active { display: block; }
.filter-menu button { width: 100%; background: none; border: none; text-align: left; padding: 10px 14px; font-size: 0.92rem; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; color: #0f172a; }
.filter-menu button:hover { background: #eef2ff; color: #000066; }
.filter-menu button.active { font-weight: 700; color: #000066; background: #eef2ff; position: relative; }
.filter-menu button.active::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #000066; }

/* Inline button groups */
/* Tabs (React-like) */
.type-tabs { display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.type-tabs .tab { background: #ffffff; color: #0f172a; border: 2px solid #e5e7eb; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14px; line-height: 1; box-shadow: 0 1px 2px rgba(0,0,0,0.04); transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .08s ease; }
.type-tabs .tab:hover { border-color: #c7d2fe; background: #eef2ff; color: #000066; box-shadow: 0 2px 6px rgba(0,0,0,0.08); transform: translateY(-1px); }
.type-tabs .tab.active { color: #ffffff; background: #000066; border-color: #000066; box-shadow: 0 6px 14px rgba(0,0,0,0.12); }
.type-tabs .tab:focus-visible { outline: 2px solid rgba(0,0,102,0.35); outline-offset: 2px; }

/* Layout: search | tabs | sort */
.filter-search { justify-self: start; }
.type-tabs { justify-self: center; }
.sort-block { position: relative; justify-self: end; z-index: 10; }

@media (max-width: 768px) {
    .filter-group { grid-template-columns: 1fr; justify-items: center; }
    .filter-search { width: 100%; }
    .filter-search input { width: 100%; }
    .sort-block { justify-self: center; }
}