@font-face {
    font-family: "peyda";
    src:
        url("../font/PEYDA-REGULAR.TTF") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "samsungsharpsans";
    src: url("../font/samsungsharpsans-regular.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "samsungsharpsans";
    src: url("../font/samsungsharpsans-bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}


body {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
    background: #eee;
    display: flex;
    justify-content: center;
    font-family: "peyda";
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    display: block;
}


:root {
    --cl-secondary: #5d5c5c;
    --cl-bg-primary: #f5f5f5;
    --cl-primary: #c0c0c0;
    --mobile-max-width: 426px;
    --ff-primary: "peyda";
    --ff--secondary: "samsungsharpsans";

}

.mobile-frame-container {
    max-width: var(--mobile-max-width);
    background-color: var(--cl-bg-primary);
    width: 100%;
    min-height: 100dvh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-frame {
    padding: 10px 30px;
}

header {
    background-color: #fff;
    font-family: var(--ff-primary);
    padding: 10px 25px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;


}

header .brand-logo img {
    max-width: 70px;
    height: auto;
}

.header-title {
    display: flex;
    font-size: 14px;
    gap: .5rem;
}

.header-title span {
    font-weight: bold;
    font-size: 24px;
}

.sub-header {
    margin-block: .5rem;
    border-radius: 10px;
    width: 100%;
}

.buttons-wrapper {
    font-family: var(--ff-primary);
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 4px;
    white-space: nowrap;
    scroll-behavior: smooth;
    direction: rtl;
    flex-wrap: nowrap;
    scrollbar-width: none;
}

.buttons-wrapper::-webkit-scrollbar {
    display: none;
}

.buttons-wrapper button {
    font-family: var(--ff-primary);

}

.category-btn {
    flex: 0 0 auto;
}

.btn {
    border-radius: 9rem;
    background-color: var(--cl-secondary);
    color: var(--cl-primary);
    outline: none;
    border: none;
    white-space: nowrap;
}

.btn-sm {
    padding: .4rem 2rem;
}

.category-btn {
    background-color: #ffffff;
    color: #333;
    cursor: pointer;
    position: relative;
    border: none;
    padding: 8px 17px;
    border-radius: 15px;
    font-size: 13px;
    white-space: nowrap;
    transition: 0.3s;
    flex: 0 0 auto;
}

.category-btn.active {
    background-color: #dddddd99;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    color: black;
}


.container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.card-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.category-card-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    width: 100%;
    min-height: 85px;

}

.category-logo {
    display: flex;
    align-items: center;
    justify-content: center;

}

.category-logo img {
    width: 40px;
    height: auto;
    object-fit: contain;
}

.category-title {
    margin-inline: 10px;
    font-weight: 600;
    font-size: 28px;
    color: #222;
    font-family: var(--ff--secondary);
    font-weight: 700;
}

.category-info {
    padding: 2px 15px;
    border-radius: 999px;
    background-image: linear-gradient(to left, #84bcdf 20%, #dee1e4 80%);
    color: #000000;
    font-size: 16px;
    white-space: nowrap;
    text-align: center;
    font-family: var(--ff--secondary);
    font-weight: 500;

}

.section-title {
    background: #ddd;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    margin: 15px 0 10px;
    display: inline-block;
}

.main-card-container {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-card-header {
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-end;
    text-align: left;

}

.main-card-header.left {
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-end;
    text-align: left;
    width: 160px;
}

.main-card-header-title {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    color: #111;
    gap: 4px;
}

.main-card-header-title.left {
    width: 115px;

}

.main-card-header-title span:nth-child(1) {
    font-family: var(--ff-primary);
    font-size: 22px;
}

.main-card-header-title span:nth-child(2) {
    font-weight: bold;
    font-size: 28px;
    font-family: var(--ff--secondary);
}

.main-card-header-meta {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-left: 15px;
    margin-top: 5px;
}

.main-card-header-meta .meta-item {
    font-size: 13px;
    color: #333;
    font-family: var(--ff--secondary);
}

.meta-item-detail {
    font-weight: 700;
    font-family: var(--cl-secondary);

}

.main-card-header-meta::before {
    content: "";
    position: absolute;
    left: -13px;
    top: 1px;
    bottom: 1px;
    width: 3px;
    background: #000;
    border-radius: 2px;
    height: 27px;
}

.main-card-header-meta.special::before {
    content: "";
    position: absolute;
    left: -13px;
    top: 1px;
    bottom: 1px;
    width: 3px;
    background: #ffab0c;
    border-radius: 2px;
    height: 27px;
}


.main-card {
    position: relative;
    border-radius: 14px;
    padding: 30px 20px 0px;
    margin-top: 10px;
    overflow: visible;
    min-height: 120px;
}


.main-card.left .main-img {
    left: -55px;
    right: auto;
}

.main-card.right .main-img {
    right: -55px;
    left: auto;
}

.main-card.left .card-info {
    margin-left: 6rem;
    margin-right: 0;
    text-align: right;
}



.main-card.right .card-info {
    margin-right: 6rem;
    margin-left: 0;
    text-align: left;
}


.main-img {
position: absolute;
    width: 240px;
    height: 240px;
    display: block;
    margin: 0 auto;
    top: -120px;
}

.main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.card-info {
    color: black;
}

.card-title {
    font-size: 22px;
    font-family: var(--ff-primary);
}

.card-price {
    font-size: 24px;
    margin-top: 5px;
    direction: ltr;
    unicode-bidi: bidi-override;
    display: flex;
    gap: .25rem;
    font-family: var(--ff--secondary);
    font-weight: 700;
}

.left-cart-price {
    justify-content: flex-end;
}

.secondary-slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 12px;
        height: 250px;
}

.secondary-list {
    transition: transform .3s ease;
    touch-action: pan-y;
    will-change: transform;
    gap: 16px;
    align-items: end;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;
    scrollbar-width: none;
    touch-action: pan-y;
    cursor: grab;
}

.secondary-list.special-list {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px !important;
}

.secondary-list::-webkit-scrollbar {
    display: none;
}

.secondary-list.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.small-card {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 0;
    scroll-snap-align: start;
    min-height: 220px;
    background: white;
    border-radius: 12px;
    padding: .75rem .5rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(140deg, #e5e5e5c7 0%, #ffffff 40%);
    gap: 10px;
    box-sizing: border-box;
    min-width: 0;

}

.small-card img {
    width: 85px;
    height: 110PX;
    object-fit: contain;
}

.small-card.short {
    position: relative;
    min-height: 160px !important;
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    overflow: visible;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    justify-content: flex-end;
    align-items: center;

}

.small-card.short img {
    position: absolute;
    top: -45px;
    width: 85px;
    height: 110PX;
    object-fit: contain;
    pointer-events: none;
}

.card-info-small {
    font-size: 16px;
    color: black;
}

.card-title-small {
    font-size: 12px;
    font-family: var(--ff-primary);
}

.card-price-small {
    font-size: 18px;
    margin-top: 10px;
    direction: ltr;
    unicode-bidi: bidi-override;
    display: flex;
    gap: .25rem;
    justify-content: center;
    font-family: var(--ff--secondary);
    font-weight: 600;
}

.price-small-detail {
    font-size: 14px;
    font-family: var(--ff--secondary);
    font-weight: 500;

}

.category-section {
    scroll-margin-top: 90px;
}

.s-d-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

}

.small-cart-description {
    display: flex;
    justify-content: center;
    gap: .25rem;
    align-items: center;
}

.small-description-title {
    display: flex;
    flex-direction: column;
}

.small-description-title span:nth-child(1) {
    font-family: var(--ff-primary);
    font-size: 20px;
}

.small-description-title span:nth-child(2) {
    font-weight: bold;
    font-size: 22px;
    font-family: var(--ff--secondary);
}

.soda-features {
    font-size: 10px;
    color: #555;
    letter-spacing: 1px;
    font-weight: 500;
}

.small-description-img img {
    width: 100%;
    height: 100%;
}

.small-description-img {
    width: 13px;
    height: 200px;
    object-fit: contain;
}
.swiper-pagination {
    position: absolute !important;
    display: flex !important;
    justify-content: center !important;
    gap: 5px !important;
}

.swiper-container, 
.product-slider-wrapped {
    padding-bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background-color: #ccc !important; 
    opacity: 1 !important;
    border-radius: 50% !important;
}
.swiper-pagination-bullet-active {
    background-color: #403f3f!important; 
}

.footer-container {
    width: 100%;
    display: flex;
    height: 200px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    flex-direction: column;
}

.footer-logo {
    width: 55px;
    height: 55px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand {
    width: 150px;
    height: auto;

}

.footer-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media(max-width:868px) {
    .category-title {
        font-size: 21px;
    }

    .category-info {
        padding: 2px 6px;
        font-size: 14px;
    }

    .category-logo img {
        width: 30px;

    }

    .main-card-header-title span:nth-child(1) {
        font-size: 20px;
    }

    .main-card-header-title span:nth-child(2) {
        font-size: 26px;
    }

    .small-card img {
        width: 80px;
    }

    .small-card.short img {

        width: 80px;

    }

}

.swiper-container, 
.product-slider-wrapped {
    padding-bottom: 30px !important;
}

.swiper-pagination {

    position: absolute !important;
}


.swiper-pagination-bullet {
    background-color: #ccc !important; 
    opacity: 1 !important;
}
.swiper-pagination-bullet-active {
    background-color: #242424 !important; 
}
