.address-add-button:hover,
.my-address-wrapper:hover {
    background-color: #efefef;
    transition: .4s
}

.button-label,
.form-control {
    font-size: 13px
}

.model-pro {
    padding: 10px 0;
    width: 100%;
    float: right
}

.add-pro-show .control-label {
    line-height: 30px;
    font-size: 13px
}

.button-label {
    background-color: #2196f3;
    margin-right: 0;
    padding: 0 25px;
    color: #fff
}

.button_label span {
    text-align: center;
    font-size: 12px;
    display: block;
    color: #333;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    border: 1px solid #ccc;
    padding: 0 5px !important
}

.button_label {
    float: left;
    min-width: 40px;
    margin-right: 3px;
    overflow: auto;
    cursor: pointer;
    line-height: 30px;
    padding: 0 !important
}

.field-title,
.field-value {
    line-height: 1.6rem;
    font-size: .9rem
}

#quantity {
    text-align: center
}

.text-right {
    text-align: right !important
}

.add-pro-show {
    border-bottom: 1px solid #efefef;
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
    display: flex;
    align-items: center
}

.add-pro-show input,
.add-pro-show span {
    display: inline-block;
    width: auto !important;
    text-align: center;
    vertical-align: middle
}

.quantity-left-minus1.btn.btn-number {
    border-radius: 0 5px 5px 0
}

.quantity-left-minus1.btn.btn-number,
.quantity-right-plus1.btn.btn-number {
    background-color: #dd0808 !important;
    border-color: #dd0808
}

#input-quantity {
    border-radius: 0 !important;
    padding: 7px;
    min-width: 60px;
    text-align: center
}

.quantity-right-plus1.btn.btn-number {
    border-radius: 5px 0 0 5px
}

.add-pro-show button {
    box-shadow: none !important;
    color: #fff !important
}

#search-frm {
    position: relative
}

/*.search-result {*/
/*  position: absolute;*/
/*  top: 32px;*/
/*  width: calc(100vw - 30%);  */
/*  height: 60vh;*/
/*  background-color: #fff;*/
/*  border-radius: 5px 5px 0 0;*/
/*  padding: 10px 20px;*/
/*  box-shadow: 6px 2px 5px #ccc;*/
/*  overflow-y: scroll;*/
/*  z-index: 10;  */
/*}*/

.p-0.search-result-list li {
  display: block;
  line-height: 2;
}

/*@media (min-width: 1200px) {*/
/*  .search-result {*/
/*    width: calc(100vw - 30%);  */
/*  }*/
/*}*/

.content-header,
.sidebar-nav-item {
    border-bottom: 1px solid #efefef
}

.favorite-item:last-of-type,
.order-item:last-of-type,
.point-item:last-of-type,
.sidebar-nav-item:last-of-type,
.ticket-item:last-of-type {
    border: none
}

.sidebar-nav-item-title {
    position: relative;
    font-size: .8rem;
    font-weight: 700;
    display: block;
    cursor: pointer;
    padding: .4rem 0;
    transition: .4s
}

.sidebar-nav-item-title i {
    position: absolute;
    left: 0;
    top: .6rem
}

.sidebar-nav-item-title:hover,
.sidebar-nav-sub-item-title:hover {
    color: #1a4b7b;
    transition: .4s
}

.sidebar-nav-item-title>a {
    display: block;
    text-decoration: none;
    color: inherit;
    text-shadow: inherit
}

.rotate-angle-left-90-degrees {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    padding-left: .4rem
}

.sidebar-nav-sub-item-title {
    padding: .3rem 1rem .3rem .6rem;
    font-size: .75rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    color: #333;
    margin-bottom: .1rem;
    transition: .4s
}

.sidebar-nav-sub-item-title a {
    text-decoration: none;
    color: inherit
}

.sidebar-nav-sub-item-title i {
    color: #999
}

.sidebar-nav-sub-item-title:hover i {
    color: inherit
}

.sidebar-nav-sub-sub-item {
    padding: .3rem 2rem;
    font-size: .75rem
}

.sidebar-nav-sub-sub-item a {
    text-decoration: none;
    display: block;
    color: #333;
    transition: .4s
}

.sidebar-nav-sub-sub-item:hover a {
    text-decoration: none;
    color: #1a4b7b;
    transition: .4s
}

.sidebar-input-text,
.sidebar-price-range input {
    font-size: .8rem;
    padding: .5rem;
    border-radius: .25rem;
    border: none;
    outline: 0;
    background-color: rgba(0, 0, 0, .1);
    width: 100%;
    display: inline-block
}

.content-wrapper,
.sidebar-input-text:focus,
.sidebar-price-range input:focus {
    box-shadow: 0 0 .2rem .1rem rgba(0, 0, 0, .1)
}

.sidebar-brand-wrapper {
    max-height: 16rem;
    overflow: auto;
    padding-left: .3rem;
    padding-right: .3rem
}

.sidebar-brand-item {
    font-size: .8rem;
    transition: .4s
}

.active-item {
    background-color: #999
}

.address-add-button,
.my-address-wrapper {
    display: block;
    width: 100%;
    background-color: #fcfcfc;
    transition: .4s
}

.content-header-title {
    font-size: 1rem;
    font-weight: 700
}

.content-header-title-small {
    font-size: .8rem
}

.content-header-title span {
    border-bottom: 2px solid #1a4b7b;
    padding: .3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, .3)
}

.content-header-link * {
    text-decoration: none;
    color: #666
}

.content-header-link a:hover {
    text-decoration: none;
    color: #111;
    transition: .4s
}

.favorite-item,
.order-item,
.point-item,
.ticket-item {
    border-bottom: 1px solid #dedede;
    padding: .6rem 0
}

.favorite-item i,
.order-item i,
.point-item i,
.ticket-item i,
.wallet-item i {
    color: #999;
    display: inline-block;
    width: 2rem;
    text-align: center
}

.favorite-item-date,
.favorite-item-id,
.favorite-item-status,
.order-item-date,
.order-item-id,
.order-item-status,
.point-item-date,
.point-item-id,
.point-item-status,
.ticket-item-date,
.ticket-item-id,
.ticket-item-status,
.wallet-item-date,
.wallet-item-id,
.wallet-item-status {
    font-size: .9rem;
    margin-bottom: .4rem
}

.favorite-item-products,
.order-item-products,
.point-item-products,
.ticket-item-products,
.wallet-item-products {
    margin-top: .4rem;
    margin-bottom: .4rem
}

.favorite-item-products a,
.order-item-products a,
.point-item-products a,
.ticket-item-products a {
    text-decoration: none;
    margin-left: .4rem;
    padding: .1rem;
    display: inline-block;
    border: 1px solid #f7f7f7;
    border-radius: .25rem
}

.favorite-item-products a img,
.order-item-products a img,
.point-item-products a img,
.ticket-item-products a img,
.wallet-item-products a img {
    width: 4rem
}

.favorite-item-link a,
.order-item-link a,
.point-item-link a,
.ticket-item-link a,
.wallet-item-link a {
    text-decoration: none;
    color: #999;
    font-size: .9rem;
    font-weight: 700;
    transition: .4s
}

.favorite-item-link a:hover,
.order-item-link a:hover,
.point-item-link a:hover,
.ticket-item-link a:hover,
.wallet-item-link a:hover {
    color: #ff253a;
    transition: .4s
}

.wallet-item {
    bwallet-bottom: 1px solid #dedede;
    padding: .6rem 0
}

.wallet-item:last-of-type {
    bwallet: none
}

.wallet-item-products a {
    text-decoration: none;
    margin-left: .4rem;
    padding: .1rem;
    display: inline-block;
    bwallet: 1px solid #f7f7f7;
    bwallet-radius: 0.25rem
}

.my-address-wrapper {
    position: relative;
    border-radius: .25rem;
    border: 2px solid #dedede;
    font-size: .8rem;
    color: #333
}

.my-address-wrapper a {
    position: absolute;
    left: .4rem;
    top: .4rem;
    text-decoration: none;
    font-size: .9rem;
    margin: .2rem;
    color: #999;
    background-color: inherit;
    transition: .4s
}

@media(max-width:998px) {
    .edit_btn {
        top: 1.8rem !important
    }
}

.my-address-wrapper:hover a {
    color: #00b3c3;
    transition: .4s
}

.field-title {
    font-weight: 700
}

.address-add-button {
    text-align: center;
    border-radius: .25rem;
    border: 1px dashed #dedede;
    color: #666;
    font-size: .8rem;
    line-height: 4rem;
    padding-top: .3rem
}

.address-add-button:hover {
    border: 1px dashed #cdcdcd;
    color: #333;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, .3)
}

.card,
.product-box .item {
    border-radius: 15px;
    position: relative
}

.green-btn {
    background: linear-gradient(to right, #fbb08f, #dd0808);
    box-shadow: 0 10px 10px -10px #0c1
}

.card {
    background: #fff;
    min-height: 50px;
    box-shadow: 0 .15rem 1.75rem 0 rgba(33, 40, 50, .15)
}

.card-header {
    border-bottom: 1px solid #dee2e6;
    padding: 15px;
    font-weight: 700;
    font-size: 18px;
    color: #333
}

.icon-font {
    display: inline-block;
    font-family: icon-font;
    font-style: normal;
    font-weight: 400;
    font-size: 1em;
    color: inherit;
    transition: .2s
}

.icon-font-basket-plus:before {
    content: "\0284"
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #1d3460;
    border-color: #1d3460
}

.product-box .item {
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: #ffff
}

.product-box .offer {
    background-color: red
}

.product-box .old-cost {
    color: #8e8e8e;
    font-size: 12px;
    text-decoration: line-through
}


.call-for-price-button {
    display: inline-block;
    padding: 7px 20px;
    background-color: #d20422;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    height: 37px;
    width: 102px;
}

.float {
    position: fixed;
    bottom: 10px;
    right: 5px;
    z-index: 10;
    padding: 0;
    text-align: center;
}

.float li {
    display: block;
    margin-top: 5px;
}


@media screen and (min-width:768px) {

    .icon-product-box div {
        list-style: none;
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }

    .icon-product-box {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 3;
    }
}




.sweet-btn {
    margin: 0px auto;
    padding: 1rem 1.5rem;
    background-color: #d90022 !important;
    border-radius: 8px;
    color: #fff !important;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
    width: 160px;
}

.sweet-card {
    background: #fff;
    min-height: 50px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(33, 40, 50, 0.15);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    padding: 1.5rem !important;
}

.sweet-box {
    background: #fff;
    min-height: 50px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(33, 40, 50, 0.15);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    padding: 1rem;
    height: 280px;
    transition: .3s ease-out;
}

.sweet-box:hover {
    transform: scale(1.05);
}

.sweet-shadow {
    box-shadow: 0px 2px 80px -5px rgb(29 52 96 / 45%);
}

.sweet-input {
    border-radius: 8px;
    border: none;
    padding: 0.75rem;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
}

.sweet-radius {
    border-radius: 8px !important;
}


/* sidebar */

.panel-side {
    position: sticky;
    top: 0;
}
.content-box:nth-last-child(1) {
    margin-bottom: 0;
}
.content-box {
    background-color: #fff;
    box-shadow: var(--shadow-box);
    padding: 20px 0px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.panel-box {
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
    margin-bottom: 10px;
}

.img-profile-panel {
    width: 50px;
    height: 50px;
    object-fit: cover;
}
.shadow-md {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.profile-box-nav ul li.active {
    background-color: var(--main-color-one-shadow);
}

.profile-box-nav ul li {
    width: 100%;
    position: relative;
    padding: 0px 5px;
    border-radius: 5px;
    transition: 0.3s ease-out;
    margin-bottom: 3px;
}


.container.list-holder .filters {
    width: 350px;
    min-height: 200px;
    background-color: #fff;
    border-radius: 22px;
    padding: 20px;
}

.filters>.title h1 {
    font-size: 14px;
    margin-right: 5px;
    color: #005C7C;
}


.filters>.description {
    margin-top: 15px;
    font-size: 12px;
    text-align: right;
    font-weight: 700;
    color: #959595!important;
    line-height: 2;
}


.article-img{
    height:295px;
    object-fit:cover;
    width:100%;
}


@media(min-width:996px){
    .div-mrg {
    margin-top: 110px;
}
}

@media(max-width:995px){
    .div-mrg {
    margin-top: 90px;
}
}





/* new styles for search page */

.box-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.5s ease;
}

.box-item:hover img {
    filter: none;
}

.box-item .item .img-pro img {
    transition: transform 0.4s;
}

.box-item .item:hover .img-pro img {
    transform: scale(1.2);
}

.box-item .item:hover .p-list{
  opacity: 1;
}

.box-item .p-list {
    opacity: 0;
}

.box-item img {
   max-width: 100%;
}




/*-----------   پلن ها -----------*/

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1f2937;
    --gray: #6b7280;
}

/* استایل پایه */
.plan-card-modern {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.plan-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.15);
}

/* حالت گرید (صفحه index) */
.plan-card-grid {
    padding: 16px;
    height: 100%;
}

/* حالت شو (صفحه show) */
.plan-card-show {
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

/* بقیه استایل‌ها مانند قبل */
.plan-icon-wrapper {
    text-align: center;
    margin-bottom: 12px;
}

.plan-icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(99,102,241,0.3);
}

.plan-icon-circle i {
    font-size: 28px;
    color: white;
}

.plan-title {
    text-align: center;
    margin-bottom: 12px;
}

.plan-title h2 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-title .duration {
    font-size: 11px;
    color: var(--gray);
    margin-top: 4px;
}

.price-section {
    background: white;
    border-radius: 20px;
    padding: 10px 12px;
    margin-bottom: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.price-main {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
}

.price-main small {
    font-size: 11px;
    font-weight: normal;
    color: var(--gray);
}

.price-original {
    font-size: 14px;
    color: var(--gray);
    text-decoration: line-through;
    margin-left: 8px;
}

.discount-chip {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 8px;
}

.features-modern {
    background: white;
    border-radius: 20px;
    padding: 12px;
    margin-bottom: 12px;
}

.features-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    padding: 4px 0;
    color: var(--gray);
}

.feature-item i {
    color: var(--success);
    font-size: 12px;
}

.discounts-section {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    border-radius: 20px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #fde68a;
}

.discounts-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.discounts-header i {
    font-size: 16px;
    color: var(--warning);
}

.discounts-header h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    color: #92400e;
}

.discount-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.discount-badge-item {
    background: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
}

.discount-badge-item span {
    color: var(--success);
    margin-left: 4px;
}

.exclusions-section {
    background: #f1f5f9;
    border-radius: 20px;
    padding: 12px;
    margin-bottom: 12px;
}

.exclusions-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.exclusions-header i {
    font-size: 16px;
    color: var(--danger);
}

.exclusions-header h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    color: var(--dark);
}

.exclusion-group {
    margin-bottom: 10px;
}

.exclusion-group:last-child {
    margin-bottom: 0;
}

.exclusion-group .group-title {
    font-size: 10px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 6px;
}

.exclusion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.exclusion-tag {
    background: white;
    padding: 3px 8px;
    border-radius: 14px;
    font-size: 10px;
    color: var(--dark);
    border: 1px solid #e2e8f0;
}

.buy-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    padding: 10px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99,102,241,0.3);
}

.active-plan-alert {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: 16px;
    padding: 8px 12px;
    text-align: center;
    margin-top: 12px;
    font-size: 11px;
}

@media (max-width: 768px) {
    .plan-card-grid {
        padding: 12px;
    }
    .price-main {
        font-size: 22px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}



