/* ================================
   Store Page Layout
================================ */

.cv-store-page {
    padding: 22px 0 70px;
}

.cv-store-layout {
    display: grid;
    grid-template-columns: minmax(0, 720px) 280px;
    gap: 58px;
    align-items: start;
}

.cv-store-main {
    width: 100%;
}

.cv-store-desktop-sidebar {
    display: block;
}

.cv-store-mobile-sidebar,
.cv-store-description-mobile {
    display: none;
}

/* ================================
   Store Header
================================ */

.cv-store-header {
    margin-bottom: 24px;
}

.cv-store-mobile-head {
    display: block;
}

.cv-store-mobile-logo {
    display: none;
}

.cv-store-header h1 {
    max-width: 700px;
    margin: 0 0 13px;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 600;
    color: #151947;
}

.cv-store-description {
    max-width: 690px;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
    color: #151947;
}

.cv-store-description p {
    margin: 0;
}

.cv-store-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    margin: 25px 0 30px;
}

.cv-store-social a {
    font-size: 24px;
    line-height: 1;
    text-decoration: none;
    transition: .25s ease;
}

.cv-store-social a:hover {
    transform: translateY(-2px);
}

/* ================================
   Coupon Tabs
================================ */

.cv-store-tabs {
    display: flex;
    justify-content: center;
    gap: 34px;
    margin: 28px 0 30px;
}

.cv-store-tabs button {
    border: 0;
    background: transparent;
    color: #151947;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.cv-store-tabs button span {
    min-width: 16px;
    height: 16px;
    margin-left: 3px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: #ff4d86;
    color: #fff;
    font-size: 10px;
}

.cv-store-tabs button.active {
    color: #ff4d86;
}

/* ================================
   Coupon List / Card
================================ */

.cv-coupon-list {
    display: grid;
    gap: 12px;
}

.cv-store-coupon-card {
    position: relative;
    min-height: 118px;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) 165px;
    align-items: center;
    gap: 22px;
    background: #f4f4f4;
    border-radius: 6px;
    padding: 24px 28px;
    overflow: hidden;
}

.cv-store-coupon-discount {
    width: 110px;
    height: 110px;
    position: relative;
    border: 2px solid #ff4d86;
    border-radius: 50%;
    background: #fff;
    color: #151947;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
    flex-shrink: 0;
}

.cv-store-coupon-discount strong {
    font-size: 21px;
    line-height: 1;
    font-weight: 900;
    text-align: center;
}

.cv-store-coupon-discount span {
    margin-top: 5px;
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
}

.cv-store-coupon-discount i {
    margin-bottom: 10px;
    color: #ff4d86;
    font-size: 35px;
}

.cv-store-coupon-discount.is-shipping strong {
    font-size: 13px;
}

.cv-store-coupon-discount.is-shipping span {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 900;
}

.cv-store-coupon-discount.is-offer strong {
    font-size: 18px;
}

.cv-store-coupon-discount.is-offer i,
.cv-store-coupon-discount.is-shipping i {
    margin-bottom: 5px;
    font-size: 32px;
}

.cv-store-coupon-discount::after {
    content: "";
    width: 26px;
    height: 26px;
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 6px 6px 6px 0;
    background: #ff4d86;
}

.cv-store-coupon-discount::before {
    content: "";
    width: 7px;
    height: 7px;
    position: absolute;
    left: 50%;
    bottom: 0px;
    z-index: 2;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #fff;
}

.cv-store-coupon-content {
    min-width: 0;
}

.cv-store-coupon-content span {
    display: block;
    width: max-content;
    margin-bottom: 8px;
    padding: 1px 10px;
    border-radius: 5px;
    background: #ffffff;
    color: #ff4d86;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(255, 79, 134, .18);
}

.cv-store-coupon-content h3 {
    max-width: 360px;
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
    color: #151947;
}

.cv-store-coupon-action {
    text-align: right;
}

.cv-store-coupon-btn {
    width: 140px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ff4d86;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: .25s ease;
}

.cv-store-coupon-btn:hover {
    background: #670BFF;
    color: #fff;
}

/* ================================
   Coupon Tags
================================ */

.cv-coupon-exclusive-tag {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff5f8;
    color: #ff4f86;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(255, 79, 134, .18);
}

.cv-coupon-exclusive-tag i {
    font-size: 10px;
}

.cv-coupon-sale-tag {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ff4d86;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.cv-coupon-sale-tag i {
    font-size: 11px;
}

/* ================================
   Sidebar
================================ */

.cv-store-sidebar {
    padding-top: 8px;
    margin: 0 auto;
}

.cv-sidebar-store-logo {
    width: 170px;
    height: 170px;
    margin: 0 auto 36px;
    border: 3px solid #ff4d86;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 12px rgba(0,0,0,.16);
    overflow: hidden;
}

.cv-sidebar-store-logo img {
    max-width: 78%;
    max-height: 60%;
    object-fit: contain;
}

.cv-sidebar-store-logo span {
    padding: 14px;
    text-align: center;
    font-weight: 800;
    color: #151947;
}

.cv-sidebar-block {
    margin-bottom: 34px;
}

.cv-sidebar-block h3 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
    color: #151947;
}

.cv-sidebar-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cv-sidebar-list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #151947;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.cv-sidebar-list a:hover {
    color: #ff4d86;
}

.cv-sidebar-list i {
    margin-top: 2px;
    min-width: 16px;
    color: #151947;
}

/* ================================
   Sidebar Stores / Blogs
================================ */

.cv-sidebar-store-grid,
.cv-sidebar-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 110px);
    gap: 28px 26px;
}

.cv-store-card-small {
    width: 110px;
    height: 110px;
    border: 2px solid #ff4d86;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,.14);
}

.cv-store-card-small img {
    max-width: 78%;
    max-height: 58%;
    object-fit: contain;
}

.cv-store-card-small span {
    padding: 8px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #151947;
}

.cv-sidebar-blog {
    color: #151947;
    text-decoration: none;
}

.cv-sidebar-blog img {
    width: 110px;
    height: 110px;
    margin: 0 auto 10px;
    display: block;
    border: 2px solid #ff4d86;
    border-radius: 50%;
    object-fit: cover;
}

.cv-sidebar-blog span {
    display: block;
    font-size: 12px;
    line-height: 1.18;
    text-align: center;
}

/* ================================
   Store Content / Popular Stores
================================ */

.cv-store-content {
    margin-top: 34px;
    color: #151947;
    font-size: 15px;
    line-height: 1.65;
}

.cv-store-content h2,
.cv-store-content h3 {
    margin: 22px 0 10px;
    color: #151947;
    font-weight: 900;
}

.cv-store-content h2 {
    font-size: 24px;
}

.cv-store-content h3 {
    font-size: 18px;
}

.cv-store-content p {
    margin: 0 0 14px;
}

.cv-store-content ul,
.cv-store-content ol {
    margin: 0 0 16px 20px;
    padding: 0;
}

.cv-store-content img {
    max-width: 260px;
    height: auto;
    display: block;
    margin: 16px 0;
}

.cv-store-popular {
    margin-top: 34px;
}

.cv-store-popular h2 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 900;
    color: #151947;
}

.cv-store-popular-list {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

/* ================================
   FAQs
================================ */

.cv-store-faqs {
    margin-top: 34px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--cv-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .08);
}

.cv-store-faqs h2 {
    margin: 0 0 18px;
    color: #11143d;
    font-size: 24px;
    font-weight: 900;
}

.cv-store-faq-item {
    border-top: 1px solid #eef0f4;
}

.cv-store-faq-item:first-of-type {
    border-top: 0;
}

.cv-store-faq-question {
    width: 100%;
    min-height: 54px;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: transparent;
    color: #11143d;
    font-size: 16px;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

.cv-store-faq-question i {
    color: #ff4f86;
    font-size: 13px;
    transition: transform .2s ease;
}

.cv-store-faq-answer {
    display: none;
    padding: 0 0 16px;
    color: #172554;
    font-size: 14px;
    line-height: 1.7;
}

.cv-store-faq-answer p {
    margin: 0 0 10px;
}

.cv-store-faq-answer p:last-child {
    margin-bottom: 0;
}

.cv-store-faq-item.active .cv-store-faq-answer {
    display: block;
}

.cv-store-faq-item.active .cv-store-faq-question i {
    transform: rotate(180deg);
}

/* ================================
   Tablet / Mobile Layout
================================ */

@media (max-width: 991px) {
    .cv-store-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cv-store-main {
        max-width: 100%;
    }

    .cv-store-desktop-sidebar {
        display: none;
    }

    .cv-store-mobile-sidebar {
        display: block;
        margin-top: 34px;
    }

    .cv-store-mobile-sidebar .cv-store-sidebar {
        display: block;
        width: 100%;
        padding-top: 0;
        margin: 0;
    }
}

@media (max-width: 575px) {
    
    .cv-coupon-exclusive-tag {
        position: static !important;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: start;
        margin: 0px 6px 0px 0px;
    }

    .cv-store-coupon-content {
        grid-column: 2;
        grid-row: 1;
   
    }

    .cv-store-coupon-discount {
        grid-row: 1 / 3;
    }


    
    
    .cv-store-popular-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 14px;
    justify-items: center;
    }
    
    .cv-coupon-sale-tag{
    gap: 4px;
    padding: 4px 8px;
    }
    
    .cv-store-coupon-discount::after{
        width: 20px;
    height: 20px;
    }
    
    .cv-store-coupon-discount.is-offer strong{
        font-size: 14px;
    }
    .cv-store-page {
        padding: 18px 0 50px;
    }

    .cv-store-header {
        text-align: left;
        margin-bottom: 18px;
    }

    .cv-store-mobile-head {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 16px;
        align-items: center;
        margin-bottom: 14px;
    }

    .cv-store-mobile-logo {
        width: 82px;
        height: 82px;
        border: 2px solid #ff4d86;
        border-radius: 50%;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .cv-store-mobile-logo img {
        max-width: 78%;
        max-height: 60%;
        object-fit: contain;
    }

    .cv-store-mobile-head h1 {
        max-width: 100%;
        margin: 0;
        font-size: 18px;
        line-height: 1.3;
        text-align: left;
        font-weight: 500;
    }

    .cv-store-description-desktop {
        display: none;
    }

    .cv-store-description-mobile {
        display: block;
        max-width: 100%;
        margin: 26px 0 0;
        color: #151947;
        font-size: 13px;
        line-height: 1.6;
        font-weight: 500;
        text-align: left;
    }

    .cv-store-social {
        display: none;
        justify-content: center;
        gap: 12px;
        margin: 22px 0 24px;
    }

    .cv-store-social a {
        font-size: 22px;
    }

    .cv-store-tabs {
        gap: 20px;
        margin: 20px 0 22px;
    }

    .cv-store-tabs button {
        font-size: 13px;
    }

    .cv-store-coupon-card {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 5px;
        min-height: auto;
        padding: 12px 0px;
    }

    .cv-store-coupon-discount {
        width: 85px;
        height: 85px;
    
    }

    .cv-store-coupon-discount strong {
        font-size: 17px;
    }

    .cv-store-coupon-discount span {
        font-size: 13px;
    }

    .cv-store-coupon-discount i {
        font-size: 22px !important;
    }

    .cv-store-coupon-content h3 {
        max-width: 100%;
        padding-bottom: 8px;
        font-size: 15px;
        line-height: 1.4;
    }

  .cv-store-coupon-action {
        grid-column: 2 / -1;
        margin-top: 0px;
        text-align: center;
    }

 .cv-store-coupon-btn {
    width: 120px;     /* pehle 100% tha */
    max-width: 100%;
    height: 26px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

    .cv-store-content {
        font-size: 14px;
        line-height: 1.6;
    }

    .cv-store-content img {
        max-width: 100%;
    }

    .cv-store-mobile-sidebar .cv-sidebar-store-logo {
        display: none;
    }

    .cv-store-mobile-sidebar .cv-sidebar-block {
        margin: 34px 0 0;
    }

    .cv-store-mobile-sidebar .cv-sidebar-store-grid,
    .cv-store-mobile-sidebar .cv-sidebar-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 14px;
        justify-items: center;
    }

    .cv-store-mobile-sidebar .cv-store-card-small,
    .cv-store-mobile-sidebar .cv-sidebar-blog img {
        width: 110px;
        height: 110px;
    }

    .cv-store-mobile-sidebar .cv-sidebar-blog span {
        font-size: 10px;
        line-height: 1.15;
    }
}
