﻿:root {
    --main-color: #C3002D;
    --hover-color: #C3002D;
    --hover-image-color: #5a55554d;
    --selected-menu-color: #FFC20E;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    direction: rtl;
    font-family: 'IRANSansX' !important;
    text-align: justify;
}

body.ltrBody {
    direction: ltr !important;
}

.bg {
    /* The image used */
    background-image: url("img_girl.jpg");
    /* Full height */
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.navbar-brand {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.navbar .nav-link {
    color: #fff !important;
}

.navbar .nav-link.selected {
    color: var(--selected-menu-color);
}

.container {
    padding-left: 0;
    padding-right: 0;
}
@media (min-width: 576px) {
    .navbar-expand-sm .navbar {
         padding: 0; 
    }

    .navbar-expand-md .navbar {
        padding: 0;
    }
}

.dropdown-toggle::after {
    margin-right: .255em;
}

.dropdown-menu[data-bs-popper] {
    left: unset;
    right: 0;
}

.dropdown-item {
    text-align: center;
}

.navbar-nav {
    gap: 10px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.navbar {
    background: transparent;
    border-bottom: 1px solid #efefef !important;
    z-index: 2;
    margin-bottom: 0 !important;
}

.header.scrolled {
    background: #fff;
}

.header {
    background: #ffffffb3;
}

.header.scrolled .navbar .nav-link,
.header.scrolled .subnav .subnavbtn,
.header .navbar .nav-link,
.header .subnav .subnavbtn{
    color: #222 !important;
}

.globe-icon,
.globe-icon.dark {
    content: url('/images/globe-dark.png') !important;
}

.logo-icon,
.logo-icon.dark {
    content: url('/images/logo.svg') !important;
    max-width: 150px;
    padding: 0 !important;
}

.section {
    padding: 50px 0;
}

.section > .title {
    font-size: 2em;
}

.section .list {
    display: grid;
    grid-template-areas: '. . . .';
    gap: 30px;
}

.section .list.list-one-row {
    display: flex;
    overflow-x: scroll;
    padding-bottom: 10px;
}

.section .list.list-one-row .item {
    min-width: 300px;
}

@media (max-width: 1200px) {
    .section .list:not(.list-one-row) {
        grid-template-areas: '. .';
    }
    .section {
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .section .list:not(.list-one-row) {
        grid-template-areas: '.';
    }

    .section {
        padding: 20px 0;
    }

    .section.sm-pb0 {
        padding-bottom: 0;
    }

    .section.sm-pt0 {
        padding-top: 0;
    }

    .section > .title {
        font-size: 1.5em;
    }

    .p-sm-3 {
        padding: 15px !important;
    }

    .m-sm-lf-100 > * {
        margin: 0 100px !important;
    }

    .section .list.list-one-row .item {
        min-width: 250px;
    }
}

.section .list .item img {
    width: 100%;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    line-height: 35px;
    text-align: justify;
}

.about-container > div {
    flex-grow: 1;
    flex-basis: 0;
}

.title {
    color: var(--main-color);
    font-size: 2em;
    text-transform: uppercase;
}

h1.title-normal {
    font-size: 1.7em;
}

.title-normal {
    color: var(--main-color);
    font-weight: bold;
}

.font-bold {
    font-size: 1.2em;
    font-weight: bold;
}

.list-item-title {
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
}

.list-item-title > .muted {
    font-weight: normal;
    font-size: 0.5em;
    margin-right: 5px;
}

.page-title {
    font-size: 4em;
    position: absolute;
    top: 30vh;
    width: 100%;
    text-align: center;
    color: #fff;
}

@media (max-width: 800px) {
    .page-title {
        font-size: 3em;
        top: 15vh;
    }
}

a {
    text-decoration: none !important;
    color: inherit !important;
}

a.link {
    text-decoration: underline dotted !important;
    text-underline-offset: 5px;
}

a:hover {
    color: var(--main-color);
}

.footer-index {
    display: grid;
    grid-template-areas: 'a a b c d e';
    line-height: 2.5em;
    column-gap: 40px;
}

.fa {
    grid-area: a;
}

.fb {
    grid-area: b;
}

.fc {
    grid-area: c;
}

.fd {
    grid-area: d;
}

.fe {
    grid-area: e;
}

.footer-index-row {
    display: flex;
    flex-direction: column;
    white-space: normal;
    padding: 10px;
}

.footer-index-row:first-of-type {
    padding: 10px 0;
}

@media (max-width: 900px) {
    .footer-index {
        grid-template-areas: 'a a' 'b c' 'd d' 'e e';
        padding: 10px;
    }
}

.footer {
    bottom: unset !important;
    background: #efefef;
    margin-top: 50px;
}

.copyright {
    border-top: 1px solid #ddd;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.hover {
    background: var(--hover-image-color);
}

.page-header-image img {
    width: 100%;
}

.page-header-image-mobile {
    display: none;
}

.page-header-image-mobile img {
    width: 100%;
}

@media (max-width: 600px) {
    .page-header-image {
        display: none;
    }

    .page-header-image-mobile {
        display: block;
    }
}

.breadcrumb {
    padding: 5px 20px;
    gap: 10px;
    background: #efefef;
    color: #888;
}

.catalog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.catalog-item {
    display: grid;
    grid-template-areas: 'a b' 'c c';
    margin-left: 15px;
    margin-right: 15px;
}

.weblog-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.weblog-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 15px;
    margin-right: 15px;
}

@media (max-width: 768px) {
    .catalog-list,
    .weblog-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*hover item*/
.hover-img {
    overflow: hidden;
    position: relative;
}

.hover-img * {
    box-sizing: border-box;
    transition: all 0.45s ease;
}

.hover-img::before,
.hover-img::after {
    background-color: var(--hover-image-color);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: '';
    transition: all 0.3s ease;
    z-index: 1;
    opacity: 0;
    transform: scaleY(2);
}

.hover-img img {
    vertical-align: top;
    max-width: 100%;
    backface-visibility: hidden;
}

.hover-img img[src='/images/icon-eye.png'],
.hover-img img[src='/images/icon-download.png'] {
    width: unset !important;
}

.hover-img .hover-button {
    align-items: center;
    z-index: 1;
    display: flex;
    gap: 5px;
    justify-content: center;
    line-height: 1.1em;
    opacity: 0;
    z-index: 2;
    transition-delay: 0.1s;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 10px;
    border-radius: 30px;
    width: 170px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 40px;
    backdrop-filter: blur(100px) contrast(0.7);
}

.hover-img:hover::before,
.hover-img:hover::after {
    transform: scale(1);
    opacity: 1;
}

.hover-img:hover > img {
    opacity: 0.7;
}

.hover-img:hover .hover-button {
    opacity: 1;
}
/*hover item end*/

.container.weblog {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 50px;
    padding-left: 15px;
    padding-right: 15px;
}

.muted {
    font-size: 0.8em;
    color: #888;
}

.tag {
    border: 1px solid #ddd;
    color: #888;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
}

.images-adds,
.videos-adds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .images-adds,
    .videos-adds {
        grid-template-columns: repeat(1, 1fr);
    }

    .container.weblog {
        grid-template-columns: 1fr;
    }

    .weblog-top {
        display: none;
    }
}

.lineheight3 {
    line-height: 3em;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.search-box > input {
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
}

.search-box > input.error {
    border-bottom: 2px solid red;
}

.product-images {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 50px;
}

.product-colors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    row-gap: 30px;
    padding: 20px;
    text-align: center;
}

.product-colors > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.product-colors img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ddd;
}

.product-colors .active img {
    border: 2px solid var(--main-color);
}

@media (max-width: 768px) {
    .product-images {
        grid-template-columns: 1fr;
    }
}

.product-info-box {
    background: #f8f8f8;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.product-infos {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 50px;
    border-top: 1px solid #ddd;
}

.product-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.playground {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 50px;
    row-gap: 10px;
    margin-top: 5%;
    margin-bottom: 10%;
}

.show-playground {
    background: #efefef;
    max-height: 600px;
    max-width: 600px;
    padding: 3px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(153,153,153,1);
    -moz-box-shadow: 0px 5px 10px 0px rgba(153,153,153,1);
    box-shadow: 0px 5px 10px 0px rgba(153,153,153,1);
}

@media (max-width: 1200px) {
    .playground {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .playground {
        grid-template-columns: 1fr;
        margin-top: 3%;
        margin-bottom: 5%;
    }

    .show-playground {
        min-height: 400px;
    }
}

.select-big {
    width: 100%;
}

.select2 select2-container .select2-container--default {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 100px !important;
    padding: 0px;
    border-color: #ddd !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
}

.no-image .select2-container--default .select2-selection--single {
    padding: 30px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 90px !important;
    right: 15px !important;
}

.select-container {
    margin-bottom: 20px;
}

.big-but {
    width: 100%;
    height: 45px;
    padding: 10px;
    color: #fff !important;
}

.small-but {
    height: 45px;
    padding: 10px;
    color: #fff !important;
}

.btn-primary {
    color: #fff !important;
    background: var(--hover-color) !important;
    border-color: var(--main-color) !important;
}

.show-playground {
    position: relative;
    width: 100%; /* عرض div */
    margin: 0 auto; /* قرار دادن div در مرکز صفحه */
}

#background-place {
    z-index: 1;
    max-height: 600px;
    max-width: 600px;
    width: 100%;
    height: 100%;
    border-radius: 3px;
}

#roset-place {
    z-index: 3;
    max-height: 400px;
    max-width: 400px;
    position: absolute;
    top: 100px;
    left: 0px;
    width: 100%;
}

@media (max-width: 768px) {
    #roset-place {
        max-height: 300px;
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    #roset-place {
        max-height: 250px;
        max-width: 250px;
    }
}

/*menu*/
.navbar a {
  color: white;
  padding: 5px 10px;
  text-decoration: none;
}

.subnav {
  overflow: hidden;
}

.subnav .subnavbtn {
  border: none;
  outline: none;
  color: white;
  padding: 5px 10px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.subnav .subnavbtn {
    text-align: right;
}

.ltrBody .subnav .subnavbtn {
    text-align: left;
}

.subnavbtn.dropdown-toggle {
    width: 100%;
}

.dropdown-menu {
    background-color: #888888cc;
}

.subnav-content {
  display: none;
  position: absolute;
  left: 0;
  background-color: #888888cc;
  width: 100%;
  z-index: 1;
  padding-top: 13px;
  overflow: auto;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: #eeeeee80;
}

.dropdown-item > a.nav-link:hover {
    background-color: transparent !important;
}

.header.scrolled .subnav-content,
.header.scrolled .dropdown-menu {
    background-color: #ffffffb3;
}

.subnav-content a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.subnav-content a > img {
    width: 200px;
}

.navbar a:hover,
.navbar button:hover,
.subnav-content a:hover {
  background-color: #eeeeee80;
}

.subnav:hover .subnav-content {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .subnav:hover .subnav-content {
        align-items: center;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .subnav {
        text-align: center;
    }

    .header {
        background-color: #ffffff !important;
    }

    .menu {
        left: -100px;
    }

    .subnav .subnavbtn,
    .navbar a {
        padding: 15px;
    }

    .product-menu {
        margin-top: -45px;
    }
}

.aboutus-image {
    width: 100%;
    border-radius: 10px;
}

@media (max-width: 800px) {
    .about-container {
        flex-direction: column;
    }

    .subnav-content a > img {
        width: 100px;
    }
}

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color .3s;
}

.custom-scrollbar:hover
{
    scrollbar-color: #ddd transparent;
}

.custom-scrollbar:not(:hover)::-webkit-scrollbar-thumb {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    border-radius: 5px;
    transition: background 0.3s;
    background: rgba(0, 0, 0, .75);
}

.p-10 {
    padding: 10px;
}

.p-rl-10 {
    padding-right: 10px;
    padding-left: 10px;
}

.p-rl-0 {
    padding-right: 0px;
    padding-left: 0px;
}

.m-rl-5 {
    margin-right: 5px;
    margin-left: 5px;
}

.m-rl-10 {
    margin-right: 10px;
    margin-left: 10px;
}

.m-rl-15 {
    margin-right: 15px;
    margin-left: 15px;
}

.modal-header .btn-close {
    margin: unset !important;
}

.custom-input-container {
    margin-bottom: 15px;
}

.custom-search-container > .filter-label,
.custom-search-container > .input-label,
.custom-input-container > .input-label {
    position: absolute;
    margin-top: -12px;
    font-weight: normal;
    font-size: 0.7em;
    margin-right: 5px;
    background: white;
    padding: 0px 5px;
    color: #888;
    z-index: 1;
}

.form-control.error {
    border-color: red;
}

.p-t-0 {
    padding-top: 0px !important;
}

.p-b-0 {
    padding-bottom: 0px !important;
}

.m-t-10 {
    margin-top: 10px !important;
}

.m-t-20 {
    margin-top: 20px !important;
}

.m-b-20 {
    margin-bottom: 20px !important;
}

.hidden {
    display: none;
}

.flex-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 700px !important;
    }
}

#gallery-modal .modal-dialog {
    max-width: 90% !important;
}

.banner-lg {
    display: block !important;
}

.banner-sm {
    display: none !important;
}

@media (max-width: 768px) {
    .banner-lg {
        display: none !important;
    }

    .banner-sm {
        display: block !important;
    }
}

.nav-item.dropdown.flex {
    display: flex;
    align-items: center;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.categories-box {
    border-top: 1px solid #efefef;
    padding-top: 20px;
    border-bottom: 1px solid #efefef;
}

.btn.disabled, .btn:disabled, fieldset:disabled {
    opacity: 0.15;
}

.footer-logo {
    width: 200px;
}

#searchproducts {
    padding-right: 0;
    padding-left: 0;
}

.product-menu {
    flex-direction: column;
    position: absolute;
    left: unset;
    background: none;
    background-color: transparent !important;
}

.menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 150px;
    background-color: #ffffff;
    margin-top: -1px;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(207,207,207,1);
    -moz-box-shadow: 2px 2px 5px 0px rgba(207,207,207,1);
    box-shadow: 2px 2px 5px 0px rgba(207,207,207,1);
}
.menu > li {
position: relative;
}
.menu a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    background-color: #ffffff;
}
.menu a:hover {
    background-color: #efefef;
}

.submenu {
    display: none;
    position: absolute;
    left: -100%;
    top: 0;
    list-style-type: none;
    padding: 0;
    margin: 0;
    background-color: #ffffff;
    width: 150px;
}

.submenu li a {
padding: 10px;
}

.menu > li:hover .submenu {
display: block;
}

.stars-container {
    font-size: 1.5rem;
    color: gray;
}

.star {
    cursor: pointer;
}

.star.active {
    color: gold;
}

.comment-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid #efefef;
    padding: 5px 11px;
}
.variant-table-wrap { overflow-x: auto; border: 1px solid #e6e8e7; border-radius: 14px; box-shadow: 0 8px 28px rgba(30,45,40,.06); }
.variant-table { margin: 0; min-width: 600px; width: 100%; }
.variant-table thead { background: #eef4f1; color: #29463b; }
.variant-table th, .variant-table td { padding: .9rem .75rem; text-align: center; vertical-align: middle; border-color: #e8eeeb; white-space: nowrap; }
.variant-table tbody tr:nth-child(even) { background: #fafcfb; }
.product-variants { min-width: 0; }
.variant-units { color: #65736c; font-size: .9rem; }
.variant-code { font-weight: 600; }
.variant-made-to-order { font-size: .9rem; }
.variant-table-wrap:focus-visible { outline: 2px solid var(--main-color); outline-offset: 3px; }
.product-gallery-thumbnails { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.product-gallery-thumbnails button { border: 1px solid #e6e8e7; background: white; border-radius: 8px; padding: 4px; }
.product-gallery-thumbnails img { width: 80px; height: 80px; object-fit: contain; }
#productimage { max-height: 560px; object-fit: contain; }

/* Category ImageId is the editable Platinum page header. */
.platinum-page-header img { height: clamp(180px, 26vw, 400px); object-fit: cover; object-position: center; }
