
@font-face {
    font-family: 'IranSanse';
    src: url("../fonts/IRANSansWeb.eot") format('eot');
    src: url("../fonts/IRANSansWeb.ttf") format('ttf');
    src: url("../fonts/IRANSansWeb.woff") format('woff');
}
:root {
    --primary: #1976d2;
    --bg: #f5f5f5;
    --surface: #ffffff;
    --text: #222;
    --selected:#0F2854;
    --gradiantup: linear-gradient(lightgray, gray);
    --gradiantdown: linear-gradient(gray, lightgray);
    --bgColorMenu : #1d1d27;
    --duration: .7s;
    --timeOut: .7s;
}

body.dark {
    --bg: #121212;
    --surface: #1e1e1e;
    --text: #eee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: IranSanse,sans-serif;
}

html, body {
    height: 100%;
    background: var(--bg);
    color: var(--text);
}
body {
    height: 100%;
    display: grid;
    grid-template-rows: 60px 1fr 64px;
    background: var(--bg);
    color: var(--text);
}

/* Header */
.header {
    height: 60px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding: 0 16px;*/
}

.header button {
    background: none;
    border: none;
    font-size: 20px;
    color: white;
}

/* Content */
.content {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding-bottom: 90px;
}

.page {
    position: absolute;
    inset: 0;
    padding: 10px;
    overflow-y: auto;
    top: 0;
    left: 0;
}



/* Bottom Nav */
.bottom-nav {

    height: 64px;
    width: 100%;
    background: var(--bg);
    display: flex;
    border-top: 1px solid #ccc;
    padding: 0 10px;
}

.nav-item {
    position: relative;
    flex: 1;
    border: 1px solid gray;
    background: var(--gradiantup);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #777;
    font-size: 12px;
    overflow: hidden;
    border-radius: 5px;
}

.nav-item svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.nav-item:hover  {
    color: var(--primary);
    background: var(--gradiantdown);

}

.nav-item.active {
    color: var(--primary);
}

/* indicator */
.indicator {
    position: absolute;
    top: 0;
    height: 3px;
    width: 25%;
    background: var(--primary);
    transition: transform 0.3s ease;
}

/* Ripple */
.ripple {
    position: absolute;
    background: rgba(25,118,210,.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(6);
        opacity: 0;
    }
}


.list-type5{
    height: 100%;
    width:100%;
    margin:0 0;
    max-width: 100%;
    padding: 0;
}
.list-type5 ol {
    list-style-type: none;
    list-style-type: decimal !ie; /*IE 7- hack*/
    padding: 0;
    counter-reset: li-counter;
    margin: 0 0 40px 0;
}
.list-type5 ol li{
    position: relative;

}
.list-type5 li {
    height: 40px;
}

.list-type5 a{
    text-decoration:none;
    color:black;
    font-size:15px;
    font-family: 'IranSanse', sans-serif;
}
.list-type5 .li-row{
    position: relative;
    border: 1px solid gray;
    height: 100%;
    display: grid;
    grid-template-columns: 35% 65%;
    align-items: center;
    font-size: 1.2rem;
    width: 100%;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-align: right;
}

.list-type5 .li-button{
    position: relative;
    border: 1px solid gray;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    font-size: 1.2rem;
    width: 100%;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-align: right;
}
.list-type5 .basket-li {
    height: fit-content;
}
.list-type5 .basket-row{
    position: relative;
    border: 1px solid gray;
    height: 100%;
    display: grid;
    grid-template-columns: 2fr 6fr 10fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 0;
    align-items: center;
    font-size: 1.2rem;
    width: 100%;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-align: right;

}

.list-type5 .basket-row .div1 { grid-area: 1 / 4 / 3 / 5; }
.list-type5 .basket-row .div2 {
    border-bottom: 1px solid var(--primary);
    grid-area: 1 / 3 / 2 / 4;
}

.list-type5 .basket-row .div3 { grid-area:2 / 3 / 3 / 4; }
.list-type5 .basket-row .div4 {
    font-size: 16px;
    font-weight: bold;
    grid-area: 1 / 2 / 2 / 3;
}
.list-type5 .basket-row .div5 {
    font-size: 14px;
    grid-area: 2 / 2 / 3 / 3;
}
.list-type5 .basket-row .div6 {
    height: 100%;
    width: 100%;
    justify-content: center;
    align-content: center;
    font-size: 25px;
    color: var(--primary);
    grid-area: 1 / 1 / 3 / 2;
}
.list-type5 .basket-row .div6:hover {
    font-size: 30px;
    color: var(--secondary);
    grid-area: 1 / 1 / 3 / 2;
}

.currency-type{
    font-family: IRANSansWeb,sans-serif;
    font-size: 1.0rem;
    font-weight: bold;
    text-align: right;
}
.list-type5 .li-title{
    background:linear-gradient(lightgray, gray);
    border-radius: 5px 5px 0 0;
    text-align: center;
    font-size: 1.2rem;
}
.little_button{
    background-color: lightgray;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    margin: auto auto;
    padding: 0;
}
.get-number{
    display: grid;grid-template-columns: 25% 50% 25%; align-items: center;justify-content: center;
}

.little_button:hover{
    background-color: var(--primary);
}

.list-type5 li:hover{
    background-color: var(--primary);
    -webkit-transition: background-color 0.5s; /* For Safari 3.1 to 6.0 */
    transition: background-color 0.5s;
}
.list-type5 li[data-no-hover]:hover{
    background-color: transparent;

}



input[type="radio"] {
    /* remove standard background appearance */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* create custom radiobutton appearance */
    display: inline-block;
    width: 25px;
    height: 25px;
    padding: 3px;
    /* background-color only for content */
    background-clip: content-box;
    border: 1px solid #bbb;
    background-color: #e7e6e7;
    border-radius: 50%;
    margin: 0 5px;
}

/* appearance for checked radiobutton */
input[type="radio"]:checked {
    background-color: var(--primary);
}

.my-button-class{
    border-radius: 5px;
    background-color: white;
    /*padding: 3px 5px;*/
    border: 1px solid black;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    height: 30px;


}
.discount_button{
    background-color: lightgray;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 24px;
    margin: auto auto;
    padding: 0;
}

.labels_rotate {
    text-align: center;
    vertical-align: center;
    horiz-align: center;

    color: white;

    writing-mode: vertical-lr;
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);

    font-size: 13px;
    background-color: var(--primary);
    height: 100%;
    border-radius: 5px;
}

.free-shipping-btn {
    position: relative;
    width: 100%;
    height: 36px;
    border-radius: 999px;
    background: var(--gradiantup);
    overflow: hidden;
    cursor: default;
    user-select: none;
    margin-bottom: 10px;
}

.progress-fill {
    position: absolute;
    inset: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--selected),var(--primary));
    transition: width 0.5s ease;
}

.btn-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 14px;
    color: white;
    font-weight: bold;
    text-shadow: black 1px 1px;
}

.free-shipping-btn.active .btn-text {
    color: white;
}

.package-header{
    height: 60px;
    background: var(--primary);
    color: white;
    align-items: center;
    margin: 4px 10px;
    border-radius: 32px;
    display: grid;
    grid-template-columns: 6fr 10fr 3fr;
    text-align: center;
    justify-items: center;

}

.mobile-alert {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    min-width: 60%;
    max-width: 80%;
    padding: 12px 16px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    border-radius: 12px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    border: 1px white dashed;
    height: 45px;
}

/* حالت نمایش */
.mobile-alert.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.icons{
    font-size: 25px;
}



.menu{
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
    font-size: 1.7em;
    align-items: center;
    justify-content: center;
    background-color: var(--bgColorMenu);
    height: 90px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.menu__item{
    all: unset;
    flex-grow: 1;
    z-index: 100;
    display: flex;
    cursor: pointer;
    position: relative;
    border-radius: 50%;
    align-items: center;
    will-change: transform;
    justify-content: center;
    padding: 0.55em 0 0.85em;
    transition: transform var(--timeOut , var(--duration));

}

.menu__item::before{

    content: "";
    z-index: -1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: absolute;
    transform: scale(0);
    transition: background-color var(--duration), transform var(--duration);

}


.menu__item.active {

    transform: translate3d(0, -.8em , 0);

}



.icon{

    width: 64px;
    height: 64px;
    stroke: white;
    fill: transparent;
    stroke-width: 1pt;
    stroke-miterlimit: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;

}

.menu__item.active .icon {

    animation: strok 1.5s reverse;

}

@keyframes strok {
    100% {
        stroke-dashoffset: 400;
    }
}

.menu__border{
    left: 0;
    bottom: 99%;
    width: 40%;
    height: 30%;
    position: absolute;
    clip-path: url(#menu);
    will-change: transform;
    background-color: var(--bgColorMenu);
    transition: transform var(--timeOut , var(--duration));

}

.svg-container {
    width: 0;
    height: 0;
}
.image-container img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.top-row {
    &:after {
        content: "";
        display: table;
        clear: both;
    }

    > div {
        float:left;
        width:48%;
        margin-right:4%;
        &:last-child {
            margin:0;
        }
    }
}

.marquee-container {
    width: 100%;
    height: 60px;
    background: #007bff;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.marquee-text {
    white-space: nowrap;
    position: absolute;
    left: 100%;
    top: 5px;
    font-size: 14px;
    font-weight: bold;
    animation: scroll-left 20s linear infinite;

}

@keyframes scroll-left {
    0% {
        left: -200%;
    }
    100% {
        left: 200%; /* حرکت تا خارج سمت چپ */
    }
}

.my_container {
    text-align: center;
    background: transparent;
    padding: 40px 30px;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    margin: auto;
}

h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
h2 {
    color: #2c3e50;

    line-height: 1.6;
    margin-bottom: 20px;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(45deg, #0057b7, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.0rem;
    }

    .my_container {
        padding: 30px 20px;
    }
}
.signup-btn {
    display: flex;
    padding: 14px 32px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
    animation: pulse 2s infinite;
    width: fit-content;
    margin: auto;
}

.signup-btn:hover {
    /*transform: translateY(-3px);*/
    box-shadow: 0 10px 24px rgba(52, 152, 219, 0.6);
}
.signup-btn:disabled {
  background: #95a5a6 !important;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.7;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(52, 152, 219, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
}

.signup-input {
    display: flex;
    padding: 14px 32px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
    cursor: text;
    outline: none;
    width: 300px;
    box-sizing: border-box;
    margin: auto;

}

.signup-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}
.small-signup-input {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    padding: 0 6px;
    /*background: linear-gradient(90deg, #3498db, #2980b9);*/
    color: var(--primary);
    border: none;
    border-radius: 12px; /* گوشههای گرد کوچکتر */
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.4);
    cursor: text;
    outline: none;
    text-align: center;
    transition: all 0.3s ease;
    margin: 0 10px;
}








