/* =======================
   General Wrapper & Card
======================= */


:root {

  --cmp-primary-color: #F2295B;
  --cmp-secondary-color: #ff6a3d;
  --cmp-text-color: #333;
  --cmp-light-bg: #fafafa;
  --cmp-border-color: #eee;

}

.cmp-wrapper {
    display: grid;
    gap: 20px;
}

.cmp-card-cupn{
display:flex;
align-items:center;
background:#f5f5f5;
border-radius:10px;
padding:20px;
margin-bottom:15px;

/* margin-left:15px;
margin-right:15px; */
position:relative;
flex-wrap: wrap;

    box-shadow: 0px 0px 14px 0px;
    justify-content: center;
    align-items: center;

}


.cmp-card-cupn:hover{

background:var(--cmp-primary-color);
color : #fff;
}

.cmp-card-cupn:hover{

background:var(--cmp-primary-color);
color: #fff;
}


.cmp-card-cupn:hover .cmp-btn{
position: relative;
    background: #fff;
    color: var(--cmp-primary-color);

}




.cmp-card-cupn:hover .cmp-percent{
color: var(--cmp-border-color);
}



@media (max-width:768px){



    /* =========================
COUPON WRAPPER
========================= */

.cmp-wrapper{
display:flex;
flex-direction:column;
gap:20px;
width:100%;
}

/* =========================
COUPON CARD
========================= */

.cmp-card-cupn{
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;

padding:20px;
background:#fff;
border-radius:10px;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

/* discount */

.cmp-discount{
min-width:90px;
text-align:center;
background:#f5f5f5;
padding:10px;
border-radius:6px;
}

.cmp-percent{
font-size:24px;
font-weight:700;
display:block;
color:#ff4d4f;
}

/* content */

.cmp-card-content{
flex:1;
}

.cmp-card-content h3{
font-size:18px;
margin-bottom:6px;
}

.cmp-card-content p{
font-size:14px;
color:#666;
}

/* meta */

.cmp-meta{
display:flex;
gap:15px;
font-size:12px;
margin-top:10px;
}

.verified{
color:#2ecc71;
}

/* action button */

.cmp-action{
min-width:160px;
text-align:right;
}

.cmp-btn{
background:#ff5722;
color:#fff;
border:none;
padding:12px 18px;
border-radius:6px;
cursor:pointer;
font-weight:600;
}

/* =========================
STORE CAROUSEL
========================= */

.cmp-carousel-wrapper{
position:relative;
width:100%;
overflow:hidden;
}

.cmp-store-slider{
display:flex;
gap:20px;
overflow-x:auto;
scroll-behavior:smooth;
padding:10px 0;
}

.cmp-store-card{
min-width:200px;
background:#fff;
border-radius:10px;
padding:20px;
text-align:center;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.cmp-store-logo img{
max-width:100px;
margin-bottom:10px;
}

/* arrows */

.cmp-prev,
.cmp-next{
position:absolute;
top:40%;
transform:translateY(-50%);
background:#fff;
border:none;
font-size:20px;
padding:8px 12px;
cursor:pointer;
box-shadow:0 2px 10px rgba(0,0,0,0.2);
}

.cmp-prev{ left:0; }
.cmp-next{ right:0; }

/* =========================
TABLET
========================= */

@media (max-width:992px){

.cmp-card-cupn{
flex-wrap:wrap;
}

.cmp-action{
width:100%;
text-align:left;
margin-top:10px;
}

}

/* =========================
MOBILE
========================= */

@media (max-width:768px){

.cmp-card-cupn{
flex-direction:column;
align-items:flex-start;
gap:15px;
}

.cmp-discount{
display:none;
}

.cmp-action{
width:100%;
}

.cmp-btn{
width:100%;
}

.cmp-meta{
flex-direction:column;
gap:5px;
}

.cmp-store-card{
min-width:160px;
padding:15px;
}

}

/* =========================
SMALL MOBILE
========================= */

@media (max-width:480px){

.cmp-card-content h3{
font-size:16px;
}

.cmp-btn{
font-size:14px;
padding:10px;
}

}

/* 88888888888888888888888888888888888888888888888 */


.cmp-banner-content{
    flex-direction:column;
    align-items:flex-start;
    text-align:left;
    padding:25px;
}



.cmp-store-logo{
    max-width:120px;
}

.cmp-store-info{
    max-width:100%;
}

.cmp-store-info h1{
    font-size:24px;
}

    .cmp-store-banner {
        margin:  0px !important;
        width: 250px;
       
    }


    .cmp-store-card {
    display: flex;
    flex-direction: column;
    width: 150px;
    margin: 10px;
   }


   .cmp-tabs {
    margin: 20px 0px;
    width: 250px;
}

    .store-desc h3 {
    font-weight: 600;
    font-size: 22px;
}

    .store-desc p {
    font-size: 14px;
    width: 250px !important;
}

    .other-stores h3 {
    font-weight: 600;
    font-size: 22px !important;
}

 .cmp-discount{
display: none;
}

.cmp-card-cupn{

justify-content: start;
padding: 20px 10px;
gap: 20px;
width: 250px;
}

}

/* LEFT DISCOUNT */
.cmp-discount{
width:120px;
text-align:center;
border-right:1px dashed #ccc;
padding-right:15px;
}

.cmp-percent{
font-size:40px;
font-weight:700;
color:var(--cmp-primary-color);
display:block;
}

.cmp-label{
font-size:12px;
letter-spacing:1px;
color:#333;
}

/* CONTENT */
.cmp-card-content{
flex:1;
padding:0 20px;
}

.cmp-card-content h3{
margin:0;
font-size:18px;
color:#1a3ea1;
}

.cmp-card-content p{
margin:6px 0;
color:#555;
font-size:14px;
}

.cmp-meta{
font-size:12px;
color:#777;
}

.verified{
color:green;
font-weight:600;
margin-right:10px;
}

/* BUTTON */

.cmp-action{
width:170px;
text-align:right;
}





.cmp-btn{
background:var(--cmp-primary-color);
color:#fff;
padding:12px 20px;
border:none;
border-radius:5px;
text-decoration:none;
font-weight:600;
cursor:pointer;
}

.cmp-btn:hover{
background:var(--cmp-primary-color);
}

/* TOP BADGE */

.cmp-top{
position:absolute;
top:-8px;
left:10px;
background:var(--cmp-primary-color);
color:#fff;
font-size:11px;
padding:4px 8px;
border-radius:3px;
}

/* =======================
   Expiry Date
======================= */
.cmp-expiry {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

/* =======================
   Footer (Buttons)
======================= */
.cmp-code-area {
    display: flex;
    justify-content: flex-end; /* button right */
    margin-top: 15px;
}

/* =======================
   Coupon Button
======================= */

.cmp-card-cupn:hover .coupon-btn {
    position: relative;
    

background:#fff;
color: var(--cmp-primary-color);

}
.coupon-btn {
    position: relative;
    background: #ff5a5f;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s ease, color 0.3s ease;
}

/* Corner Slide */
.coupon-btn .btn-corner {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: 0.4s ease;
}

/* Hover Animation */
.coupon-btn:hover .btn-corner {
    width: 100%;
}

/* Revealed Code Style */
.coupon-btn.revealed {
    background: #f4f4f4;
    color: #333;
    cursor: default;
}

/* =======================
   Deal Button
======================= */
.deal-btn {
    background: #28a745;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s ease;
}

.deal-btn:hover {
    background: #218838;
}

/* =======================
    Badge
======================= */
.cmp-badges {
    display: flex;
    gap: 5px;
}

/* =======================
   Top Badge
======================= */
.cmp-card {
    position: relative; /* needed for badge */
}

.cmp-top-badge {
   position: relative;
   width: 50px;
    margin-bottom:10px;
    background: #ffbf00;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


/* =======================
   Coupon / Deal Badge
======================= */
.cmp-type-badge {
    position: relative;
     width: 50px;
    margin-bottom:10px;
    
   
    padding: 5px 10px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.coupon-badge {
    background: #ff5a5f; /* red */
}

.deal-badge {
    background: #28a745; /* green */
}

/* =======================
   Store Styles
======================= */


.cmp-store-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cmp-store-group {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
}

.cmp-store-letter {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: bold;
}

.cmp-store-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    max-height: 80px; /* default: 2 rows approx */
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.cmp-store-list.expanded {
    max-height: 1000px; /* enough to show all rows */
}

.cmp-store-item {
    background: #f4f4f4;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.cmp-see-all-btn {
    margin-top: 10px;
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    background: #0073aa;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}

.cmp-see-all-btn:hover {
    background: #005177;
}


/* ===============================
   Alphabet Index
================================ */
.cmp-alphabet-index {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.cmp-alphabet-index a {
    padding: 6px 10px;
    background: #f4f4f4;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    transition: 0.3s ease;
}

.cmp-alphabet-index a:hover {
    background: #0073aa;
    color: #fff;
}

/* ===============================
   Store Group
================================ */
.cmp-store-group {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.cmp-store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cmp-store-header h3 {
    margin: 0;
    font-size: 20px;
}

/* Toggle Button */
.cmp-toggle-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
}

/* ===============================
   Grid
================================ */

.cmp-store-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    overflow: hidden;
    max-height: 120px;
    transition: max-height 0.4s ease;
}

/* expanded state */
.cmp-store-list.expanded {
    max-height: 1000px;
}

.cmp-store-item {
    background: #fafafa;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    transition: 0.3s ease;
        font-size:14px !important;
}

/*.cmp-store-item a{*/

/*}*/
.cmp-store-item:hover {
    background: #f0f0f0;
}

.cmp-store-item img {
    max-width: 80px;
    height: auto;
    margin-bottom: 8px;
}

/* ===============================
   Mobile
================================ */

@media (max-width:768px){

    .cmp-store-list {
        grid-template-columns: repeat(2,1fr);
    }

    .cmp-store-header{
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

}

/* ===============================
STORE BANNER
================================ */

.cmp-store-banner{
    width:100%;
    min-height:220px;
    position:relative;
    border-radius:12px;
    overflow:hidden;
    margin:10px 20px;

    background:url("https://images.pexels.com/photos/32203209/pexels-photo-32203209.jpeg")
    center/cover no-repeat;
}

/* overlay */

.cmp-banner-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,var(--cmp-primary-color) 0%, rgba(0,0,0,0.8) 60%);
}

/* content container */

.cmp-banner-content{
    position:relative;
    z-index:2;

    display:flex;
    align-items:center;
    gap:40px;

    padding:40px;
}

/* ===============================
STORE CARD
================================ */

.cmp-store-card{
    background:#fff;
    padding:25px;
    border-radius:12px;

    width:260px;
    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.cmp-store-logo{
    max-width:160px;
    margin-bottom:15px;
}

/* rating */

.cmp-store-rating{
    font-size:14px;
    color:#444;
}

.cmp-store-rating span{
    margin-left:6px;
}

/* ===============================
STORE INFO
================================ */

.cmp-store-info{
    color:#fff;
    max-width:600px;
}

.cmp-store-info h1{
    font-size:30px;
    margin-bottom:10px;
}

.cmp-store-info p{
    line-height:1.6;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* ===============================
TABLET
================================ */

@media (max-width:992px){

.cmp-banner-content{
    gap:25px;
    padding:30px;
}

.cmp-store-card{
    width:220px !important;
}

.cmp-store-info h1{
    font-size:26px;
}

}

/* ===============================
MOBILE
================================ */

/* ===============================
SMALL MOBILE
================================ */

@media (max-width:480px){

.cmp-banner-content{
    padding:20px;
}

.cmp-store-card{
    padding:18px;
}

.cmp-store-info h1{
    font-size:20px;
}

.cmp-store-info p{
    font-size:14px;
}

}

/* ===============================
   TABS
================================ */


.other-stores{
    margin:35px;
}

.other-stores h3 {
    font-weight: 600;
      font-size: 28px;}

.store-desc h3 {
    font-weight: 600;
     font-size: 28px;
}

.store-desc p {
    font-size: 18px;
}


.store-desc{
    margin:35px;
}



.cmp-tabs{
    margin: 20px 30px;
}



/* Hide all tab content */
.cmp-tab-content {
    display: none;
}
.cmp-tabs .tabs-head {
    font-weight: 600;
    font-size: 28px;
}
.cmp-tabs h4 {
    font-weight: 400;
    font-size: 18px;
}
/* Show active tab */
.cmp-tab-content.active {
    display: block !important;
}

/* Button styling */
.cmp-tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.cmp-tab-btn {
    padding: 10px 20px;
    border: none;
    background: #eee;
    cursor: pointer;
    border-radius: 6px;
    border-radius: 100px;
    margin-bottom: 50px;
}

.cmp-tab-btn.active {
    background:var(--cmp-primary-color )!important;
    color: #fff;
}


/* =======================
   Optional: Responsive
======================= */
.cmp-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cmp-store-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
}

.cmp-store-slider::-webkit-scrollbar {
    display: none;
}

.cmp-store-card {
    display: flex;
    flex-direction: column;
    width: 250px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 6px 8px 25px rgb(0 0 0 / 22%);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cmp-store-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
}

.cmp-store-logo img {
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 5px;
}

.cmp-view-store {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

.cmp-prev,
.cmp-next {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 50%;
}

/* =======================
   Optional: Responsive
======================= */
@media (max-width: 768px) {
    .cmp-wrapper {
        grid-template-columns: 1fr;
    }
}


/* ===============================
   Category Group
================================ */

.cmp-category-group{
    margin-bottom:30px;
    border-bottom:1px solid #eee;
    padding-bottom:15px;
}

/* ===============================
   Category Header
================================ */

.cmp-category-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.cmp-category-header h3{
    margin:0;
    font-size:20px;
}

/* Toggle Button */

.cmp-toggle-btn{
    background:var(--cmp-primary-color);
    color:#fff;
    border:none;
    padding:6px 14px;
    border-radius:4px;
    cursor:pointer;
    transition:.3s;
}

.cmp-toggle-btn:hover{
    background:#000;
}


/* ===============================
   Category Grid
================================ */

/* Category Grid */
.cmp-category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;

    overflow: hidden;
    max-height: 120px; /* default collapsed height */

    transition: max-height 0.5s ease;
}

/* Expanded */
.cmp-category-list.expanded {
    max-height: 1000px; /* large enough for animation */
}

/* ===============================
   Category Card
================================ */

.cmp-category-item{
    background:#fafafa;
    padding:12px;
    text-align:center;
    border-radius:8px;
    transition:.3s ease;
    cursor:pointer;
    width: 100px;
}

.cmp-category-item:hover{
    background:#f0f0f0;
    transform:translateY(-2px);
}


/* Category Image */

.cmp-category-item  a img{
    width:80px !important;
    height:auto !important;
    margin-bottom:2px;
    max-width:80px !important;
    border-radius:10px;
}


/* Category Name */

.cmp-category-item span{
    display:block;
    font-size:14px;
    font-weight:500;
    color:#333;
}


/* ===============================
   Alphabet Index
================================ */

.cmp-alphabet-index{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:20px;
}

.cmp-alphabet-index a{
    padding:6px 10px;
    background:#f5f5f5;
    border-radius:4px;
    text-decoration:none;
    color:#333;
    font-size:14px;
    transition:.3s;
}

.cmp-alphabet-index a:hover{
    background:#0073aa;
    color:#fff;
}



/* ===============================
        Top Vouchers
================================ */

.cmp-top-coupons {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 20px;
}

.cmp-card {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    transition: transform .2s ease;
        display: flex;
    flex-direction: column;
       box-shadow: 0px 0px 14px 0px;
       justify-content: start;
       align-items: start;
}

a{
   text-decoration: none!important;
}


.cmp-card strong{
    font-size: 18px;
    font-weight: 700;
}


.cmp-card:hover {
    transform: translateY(-4px);
}

.cmp-card-header {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 10px;
}

.cmp-card button {
padding: 12px 18px;
    background:var(--cmp-primary-color);
    border: none;
    border-radius: 20px;
    color: #fff;
}

.cmp-card a {
padding: 12px 18px;
    background: red;
    border: none;
    border-radius: 20px ;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.cmp-card p {

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 2px;
}


.cmp-card h3{

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin: 0px 0px;
}
/* ===============================
   Mobile
================================ */

@media(max-width:768px){

    .cmp-category-list{
        grid-template-columns:repeat(2,1fr);
    }

    .cmp-category-header{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

}