/* Fonts & Global Styles */

@font-face {
    font-family: "DIN";
    src: url("../fonts/DIN NEXT™ ARABIC REGULAR.otf");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DIN";
    src: url("../fonts/DIN NEXT™ ARABIC MEDIUM.otf");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

*:lang(ar){
    font-family: "DIN";
}

*:lang(en){
    font-family: "Poppins", sans-serif;
}

body{
    overflow-y: scroll;
}

/* General Styles */

.btn {
    background: #FFA20C;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 19px;
    transition: all 0.3s ease;
    border: 1px #FFA20C solid;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    opacity: 1;
}

.btn:lang(ar) {
    padding-bottom: 15px;
}

.disabled-btn {
    background: #F0F0F0;
    color: #FFA20C;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 19px;
    border: 1px #FFA20C solid;
    outline: none;
    cursor:not-allowed;
    -webkit-appearance: none;
    opacity: 1;
}

.btn:hover {
    background: white;
    color: #FFA20C;
}

.title {
    width: 25%;
    margin: auto;
    margin-bottom: 50px;
    text-align: center;
}

.title h1 {
    font-size: 30px;
    font-weight: normal;
    position: relative;
}

.title h1:lang(ar) {
    padding-bottom: 10px;
}

.title h1:before {
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    background: black;
    position: absolute;
    right: 75%;
    top: 50%;
}

.title h1:after {
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    background: black;
    position: absolute;
    left: 75%;
    top: 50%;
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    box-shadow: 0 10px 10px -2px rgba(0, 0, 0, .2);
    z-index: 1000;
    background: white;
}

a {
    color: black;
    text-decoration: none;
}

.header-container {
    display: flex;
    width: 80%;
    margin: auto;
    justify-content: space-between;
    align-items: center;
}

.links {
    display: flex;
}

header .mobile {
    display: none;
}

.links {
    list-style: none;
    margin-right: 40px;
}

.link {
    margin-left: 30px;
    font-size: 20px;
    padding-bottom: 2px;
    color: black;
    border-bottom: 0px #FFA20C solid;
    transition: border 0.2s;
}

nav .link:hover {
    border-bottom: 3px #FFA20C solid;
}

.logo-container {
    display: flex;
    align-items:center;
    padding: 15px 0px 15px 0px;
}

.logo-text h1, .logo-text h2{
    font-family: 'Quicksand', sans-serif;
}

.logo-text h2{
    font-weight: 300;
    font-size: 33px;
}

.logo-text h1{
    font-weight: normal; 
    font-size: 37px;
}

.logo-text{
    display: flex;
    align-items: baseline;
}

.logo-container img{
    width: 42px;
    margin-right: 10px;
    border-radius: 2px;
}

.cart {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top:10px;
    right: -10px;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
}

.cart p {
    font-weight: bold;
}

.cart img {
    width: 35px;
}

.cart a {
    display: flex;
    align-items: center;
}

.cart a p{
    position: absolute;
    visibility: hidden;
    opacity: 0;
    bottom: -10px;
    left: 50px;
    padding: 1.5px 2.5px;
    font-size: 13px;
    -webkit-transition: visibility 0.3s, opacity 0.3s linear; 
    transition: visibility 0.3s, opacity 0.3s linear;
}

.cart a:hover p{
    opacity: 0.8;
    visibility: visible;
}

.menu-icon {
    margin-left: 10px;
    margin-right: 0px;
    display: none;
}

.menu-icon img {
    width: 40px;
}

nav {
    display: flex;
    align-items: center;
}

input[type = "submit"]{
    -webkit-appearance: none;
}

.cart-page input[type = "submit"]{
    border-radius: 0px;
} 

/* FOOTER */

footer {
    background: black;
    padding-bottom: 15px;
    color: white;
}

.copy {
    margin-top: 30px;
    font-size: 14px;
    padding-right: 18px; 
    width:100%; 
    text-align:center
}

.copy:lang(ar) {
    padding-right: 10px;
}

.footer-container {
    width: 50%;
    margin: auto;
    padding-top: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
}

.footer-contact .logo-container img{
    margin: 0px;
}

.footer-container .col-4{
    width: 100px;
}

.col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.logo-contact p{
    margin: 5px 0px;
}

.logo-contact p:first-child{
    font-weight: bold;
    font-size: 16px;
}

.col .logo-container{
    padding-top: 0px;
}

.col .logo-container img{
    width: 65px;
}

.footer-container .link {
    color: white;
}

.bigger img {
    transition: width 0.3s ease;
    width: 40px;
    margin-bottom: 5px;
}

.bigger img:hover {
    width: 45px;
}

nav .bigger a:hover img{
    width: 45px;
}

.footer-container .col-4{
    justify-content: space-around;
}

.footer-links{
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-links a{
    color: #fff;
    margin-bottom: 10px;
}

.footer-links a:hover{
    text-decoration: underline;
}

/* PRODUCTS PAGE */

main {
    padding-bottom: 15rem;
}

.container {
    width: 85%;
    margin: auto;
}

.row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-container {
    margin: auto;
    margin-top: 4%;
}

.col-4 {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    margin-top: 10px;
}

.product img {
    width: 100%;
}

.product .index-image {
    visibility: hidden;
    position: absolute;
}

.product-index-image {
    border: 2px solid #E7E7E7;
    padding-bottom: 30px;
    position: relative;
}

.product-index-image > a > img {
    margin-bottom: 15px;
}

.product-index-image .product-colors {
    justify-content: center;
    margin-top: 100%;
    margin-left: 0px;
}

.product-index-image .product-colors:lang(ar) {
    margin-right: 0px;
}

.best-sellar-index:lang(ar)::before, .best-sellar-product:lang(ar)::before {
    content: "الأفضل مبيعا";
    width: 60px;
    height: 60px;
    background-color: #FFA20C;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    border: 2px solid #E7E7E7;
}

.best-sellar-index:lang(en)::before, .best-sellar-product:lang(en)::before {
    content: "Best Sellar";
    width: 60px;
    height: 60px;
    background-color: #FFA20C;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    border: 2px solid #E7E7E7;
}

.product-index-details {
    margin-top: 10px;
}

@keyframes spinner {
    0% {
      transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }
    100% {
      transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}
.spin::before {
    animation: 1s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 5px #cfd0d1;
    border-bottom-color: #FFA20C;
    border-radius: 50%;
    content: "";
    height: 40px;
    width: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.product-price .discount:lang(ar) {
    order: 1;
    margin-left: 15px;
}

.product-price .discount:lang(en) {
    margin-right: 15px;
}

.discount-timer {
    display: flex;
    justify-content: center;
    margin: auto;
    color: white;
    font-weight: bold;
    font-size: 1.25em;
    margin-bottom: 40px;
    background-color: red;
    padding: 8px 13px 8px 13px;
    width: fit-content;
    max-width: 300px;
}

.discount-timer p {
    margin-right: 5px;
}

.discount-timer p:lang(ar) {
    margin-right: 0px;
    margin-left: 5px;
    order: 2;
    padding-bottom: 5px;
}

.product-price:lang(ar) {
    justify-content: flex-end;
}

.product {
    width: 25%;
    margin: 0px 50px;
    text-align: center;
    margin-bottom: 75px;
    transition: transform 0.5s;
    position: relative;
}

.product h3 {
    font-weight: normal;
    font-size: 22px;
    margin-bottom: 5px;
}

.product > p {
    font-size: 16px;
}

.out-of-stock {
    margin-bottom: 15px;
    font-size: 20px;
    color: red;
}

.out-of-stock:lang(ar) {
    padding-bottom: 5px;
}

.product-bundle .product-index-image {
    padding-bottom: 100%;
}

.product-bundle {
    width: 20vw
}

.bundle-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18.5px;
    background-color: rgb(243, 18, 18);
    color: white;
    font-weight: bold;
    padding: 5px;
}

.bundle-timer > p {
    margin-right: 10px;
    font-size: 18.5px;
}

.bundle-timer p:lang(ar){
    margin-right: 0px;
    margin-left: 10px;
    order: 2;
    padding-bottom: 5px;
}

.bundle-timer span:lang(ar) {
    padding-bottom: 3px;
}

.bundle-offer-text {
    background-color: rgb(243, 18, 18);
    color: white;
    font-weight: bold;
    padding: 5px;
    font-size: 20px;
    left: -2px;
}

.on-sale{
    color: #fff;
    background: rgb(243, 18, 18);
    width: 100px;
    height: 30px;
    border-bottom: 2.5px solid #E7E7E7;
    position: absolute;
    top: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.on-sale:lang(en){
    left: 2px;
    border-bottom-right-radius: 15px;
    border-right: 2.5px solid #E7E7E7;
}

.on-sale:lang(ar){
    right: 2px;
    border-bottom-left-radius: 15px;
    border-left: 2.5px solid #E7E7E7;
}

.selected-image .on-sale:lang(ar) {
    top: 0;
    right: 0;
}

.selected-image .on-sale:lang(en) {
    top: 0;
    left: 0;
}

.image-slider {
    width: 100%;
    height: 25vw;
    margin: auto;
    position: relative;
    overflow: hidden;
    margin-top: 4%;
}

.slide {
    opacity: 0;
    inset: 0;
    position: absolute;
    transition: 200ms opacity ease-in-out;
    transition-delay: 200ms;
    right: 0;
    left: 0;
    z-index: -1;
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.slide[data-active] {
    opacity: 1;
    list-style: none;
    transition-delay: 0;
    z-index: 1;
}

.slider-button {
    position: absolute;
    z-index: 2;
    background: none;
    border: none;
    font-size: 3rem;
    top: 50%;
    transform: translateY(-50%);
    color: #E7E7E7;
    cursor: pointer;
    border-radius: 0.25rem;
    padding: 0 .5rem;
    background-color: rgba(0, 0, 0, .5);
}

.slider-button.prev {
    left: 8%;
}

.slider-button.next {
    right: 8%;
}

.selected-image .slider-button {
    background-color: rgba(0, 0, 0, 0.7);
}

.selected-image .slider-button.prev {
    left: -25px;
}

.selected-image .slider-button.next {
    right: -25px;
}

ul[data-slides-indices] {
    display: flex;
    list-style: none;
    z-index: 2;
    justify-content: center;
    margin-top: 1%;
}

.slide-index button {
    border-radius: 100%;
    width: 18px;
    height: 18px;
    margin-right: 7px;
    margin-left: 7px;
    border: 3px solid #858383;
    background: #f5f5f5;
    cursor: pointer;
    transition: border 300ms ease-in-out;
}

.slide-index[data-active] button{
    border-color: #FFA20C;
}

.on-sale h2{
    font-size: 16px;
}

.on-sale h2:lang(ar) {
    padding-bottom: 5px;
}

.info-text {
    margin: 50px auto 0px auto;
    padding: 10px;
    width: 30%;
    text-align: center;
    font-size: 18px;
}

.inline-link {
    color: #FFA20C;
    border-bottom: 0px #FFA20C solid;
    transition: border 0.15s;
}

.inline-link:lang(ar){
    margin-right: 1px;
}

.inline-link:hover {
    border-bottom: 3px #FFA20C solid;
}

.forgot{
    margin: 0px; 
    text-align: right; 
}

.forgot a{
    font-size: 14px;
}

.forgot:lang(ar){
    text-align: left;
}

.forgot-form{
    margin: 0 0 0 20px;
}

.forgot-form:lang(ar){
    margin: 0 20px 0 0;
}

.price{
    display: flex;
    justify-content: center;
    font-weight: 500;
}

.price:lang(ar){
    font-weight: bold;
}

.price .amount:lang(en){
    order: 2;
}

.cart-container .price .amount:lang(en), .new-order .price .amount:lang(en){
    margin-right: 5px;
}

.price .currency:lang(en){
    order: 3;
}

.price .amount:lang(ar){
    order: 2;
}

.cart-container .price .amount:lang(ar), .new-order .price .amount:lang(ar){
    margin-left: 5px;
}

.price .currency:lang(ar){
    order: 1;
}

.price .head-text:lang(en){
    order: 1;
    margin-right: 5px;
}

.price .head-text:lang(ar){
    order: 3;
    margin-left: 5px;
}

.product-price .discount .currency, .product-price .discount .amount{
    margin: 0;
}

.product-price .price:not(.discount) .currency, .product-price .price:not(.discount) .amount{
    font-size: 25px;
    margin: 0;
}

.product-index-details .price:not(.discount) .currency, .product-index-details .price:not(.discount) .amount{
    font-size: 20px;
}

.product-index-details .discount .currency, .product-index-details .discount .amount{
    margin: 0;
}

.discount{
    text-decoration: line-through; 
    color: red;
    font-size: 17px;
}

.cart-page .price{
    font-weight: normal;
}

.blur {
    position: absolute;
    width: 100%;
    left: 0px;
    opacity: 60%;
}

.coupon-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
}

.coupon-input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.coupon-input-container > input {
    width: 40%;
    height: 40px;
    margin-right: 20px;
    outline: none;
    padding: 0px 15px;
    border-radius: 0;
    border: 1px solid black;
    transition: border 0.2s linear;
}

.coupon-input-container > input:focus, .coupon-input-container > input:not(:placeholder-shown) {
    border: 2px solid #FFA20C;
}

.coupon-input-container > input:lang(ar) {
    order: 2;
    margin-right: 0;
    margin-left: 20px;
    direction: rtl;
}

.coupon-input-container .btn {
    border-radius: 0;
    padding: 5px 10px;
    font-size: 15px;
    height: 40px;
}

.coupon-input-container .btn:lang(ar) {
    padding-bottom: 15px;
}

.coupon-discount {
    color: red;
    display: none;
}

.coupon-applied {
    color:#FFA20C;
    font-weight: bold;
}

.coupon-invalid {
    color:red;
}


/* About Page */

.small-container {
    margin: auto;
    width: 40%;
}

.small-container h2 {
    margin: 25px 0px 5px;
}

.small-container p:lang(ar):not(.notification){
    text-align: right;
}

.small-container hr {
    width: 100px;
}

.small-container hr:last-child {
    display: none;
}

.orange-title:lang(en) {
    border-left: 5px solid #FFA20C; 
    padding-left: 8px;
}

.orange-title:lang(ar){
    border-right: 5px solid #FFA20C; 
    padding-right: 8px;
    text-align: right;
}

hr {
    width: 50%;
    margin: 40px auto;
    border: 1px solid #d3d1d1;
    background: #d3d1d1;
}

/* Contact Page */

.contact-form .mini-form {
    margin-bottom: 25px;
}

.mini-form {
    width: 100%;
    position: relative;
    height: 50px;
    overflow: hidden;
}

.mini-form input,
.textarea textarea {
    width: 100%;
    height: 100%;
    border: none;
    color: #555;
    padding-top: 20px;
    outline: none;
    resize: none;
    caret-color: #555;
}

.mini-form input:lang(ar), .textarea textarea:lang(ar){
    direction: rtl;
}

.mini-label {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-bottom: 1px solid black;
}

.mini-label::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    border-bottom: 3px solid #FFA20C;
    bottom: -2px;
    transition: all 0.3s ease;
}

.mini-label:lang(en)::after {
    left: 0px;
    transform: translateX(-100%);
}

.mini-label:lang(ar)::after {
    right: 0px;
    transform: translateX(100%);
}

.mini-content {
    position: absolute;
    bottom: 5px;
    transition: all 0.3s ease;
}

.mini-content:lang(en){
    left: 0px;
}

.mini-content:lang(ar){
    right: 0px;
}

.mini-form input:focus + .mini-label .mini-content,
.mini-form input:-webkit-autofill + .mini-label .mini-content,
.mini-form input:not(:placeholder-shown) + .mini-label .mini-content {
    transform: translateY(-100%);
    font-size: 14px;
    color: #FFA20C;
}

.mini-form input:focus + .mini-label::after,
.mini-form input:-webkit-autofill + .mini-label::after,
.mini-form input:not(:placeholder-shown) + .mini-label::after {
    transform: translateX(0%);
}

.textarea {
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.date{
    display: flex;
}

.date:lang(ar){
    justify-content: flex-end;
}

.date select{
    margin-right: 15px;
}

.date select:last-child{
    margin-right: 0px;
}

textarea {
    width: 100%;
    height: 200px;
    margin-top: 5px;
    color: #555;
    resize: none;
    border: none;
    outline: none;
    padding-top: 20px;
}

.ta-label {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-bottom: 1px solid black;
}

.ta-label::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    border-bottom: 3px solid #FFA20C;
    bottom: -2px;
    transition: all 0.3s ease;
}

.ta-label:lang(en)::after {
    left: 0px;
    transform: translateX(-100%);
}

.ta-label:lang(ar)::after {
    right: 0px;
    transform: translateX(100%);
}

.ta-content {
    position: absolute;
    top: 20px;
    transition: all 0.3s ease;
}

.ta-content:lang(en){
    left: 0px;
}

.ta-content:lang(ar){
    right: 0px;
}

.textarea textarea:focus + .ta-label .ta-content,
.textarea textarea:not(:placeholder-shown) + .ta-label .ta-content {
    transform: translateY(-100%);
    font-size: 14px;
    color: #FFA20C;
}

.textarea textarea:focus + .ta-label::after,
.textarea textarea:not(:placeholder-shown) + .ta-label::after {
    transform: translateX(0%);
}

.sbmt {
    border-radius: 0px;
    cursor: pointer;
    width: 100%;
    margin-top: 50px;
    font-size: 16px;
}

.guest{
    background: rgb(148, 147, 147);
    border: 1px solid rgb(148, 147, 147);
}

.guest:hover{
    background: #fff;
    color: rgb(148, 147, 147);
}

/* PRODUCT PAGE */

.product-images {
    width: 470px;
    position: sticky;
    top: 125px;
}

.product-images:lang(ar){
    order: 2;
}

.product-text:lang(ar){
    order: 1;
    text-align: right;
}

.product-showcase {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 80%;
    margin: auto;
}

.product-text {
    width: 40%;
}

.col-2 {
    display: flex;
    flex-direction: column;
    margin: 0px 40px;
    /*position: relative;*/
}

.selected-image {
    border: 2px solid #E7E7E7;
    margin-bottom: 10px;
    padding-bottom: 100%;
    position: relative;
}

.product-image {
    position: absolute;
    display: block;
    visibility: hidden;
}

.image-row {
    display: flex;
    justify-content: space-between;
}

.small-image-col {
    cursor: pointer;
    border: 2px solid #E7E7E7;
    height: 115px;
}

.small-image {
    height: 100%;
    visibility: hidden;
}

.product-text h1 {
    font-size: 35px;
}

.input-container {
    position: relative;
    margin-bottom: 20px;
}

.product-extra-info-container{
    margin-bottom: 15px;
}

.product-extra-info{
    display: flex;
    align-items: center;
    color: rgb(55, 150, 55);
    width: 100%;
    font-size: 16px;
    margin-bottom: 10px;
}

.product-extra-info:last-of-type{
    margin-bottom: 0;
}

.product-extra-info:lang(ar){
    flex-direction: row-reverse;
    text-align: right;
}

.product-extra-info:lang(ar) p{
    padding-bottom: 5px;
}

.product-extra-info img {
    margin-right: 5px;
    width: 22px;
}

.product-extra-info:lang(ar) img {
    margin-right: 0px;
    margin-left: 5px;
}

.related-products{
    width: 35%; 
    margin-top:125px
}

.product-qty input[type='number'] {
    width: 40px;
    height: 45px;
    font-size: 17px;
    text-align: center;
    margin-right: 30px;
    padding-left: 10px;
}

.product-qty{
    display: flex;
}

.product-video{
    width: 800px;
    height: 400px;
}

.row .related-products{
    margin: 100px auto 50px auto;
}

.product-qty .square-input{
    margin-right: 0px;
    height:45px;
    width: 50px;
}

.product-qty .qty-change{
    height: 45px;
    width: 30px;
}

.qty-change{
    font-family: "Poppins", sans-serif;
    background: #F0F0F0;
}

.qty-disabled{
    cursor: not-allowed;
}

.product-qty:first-child{
    margin-right: 0;
    border-right:none; 
}

.product-qty:last-child{
    margin-left:0;
    border-left:none; 
}

.product-qty:lang(ar){
    order: 1;
    margin-left: 30px;
}

.product-qty:lang(en){
    margin-right: 30px;
}

.select-style{
    border: 1px solid #000;
    outline: none;
    width: 120px;
    height: 40px;
    font-size: 13px;
    padding-left: 10px;
    display: block;
    margin-top: 10px;
    transition: border 0.3s ease;
}

.select-style:lang(ar) {
    padding-bottom: 5px;
}

.account-form .select-style:lang(ar){
    float: right;
}

.product-input {
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.product-input:lang(ar){
    justify-content: flex-end;
}

.product-input .btn , .product-input .disabled-btn{
    height: 45px;
    line-height: 0;
}

.product-input .disabled-btn:lang(ar) {
    padding-bottom: 15px;
}

.qty-label {
    width: 40px;
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.col-2 h1 {
    margin-bottom: 18px;
}

.col-2 .product-subtitle {
    margin-bottom: 10px;
    font-size: 18px;
}

.desc {
    width: 100%;
    margin-top: 30px;
}

.desc h3 {
    margin-bottom: 14px;
    padding-bottom: 4px;
    border-bottom: 1px solid black;
}

.desc p {
    color: black;
    font-size: 14px;
    margin-bottom: 0px;
}

.product-colors{
    display: flex;
    margin-left: 3.5px;
}

.product-color{
    display: flex;
}

.product-colors:lang(ar){
    flex-direction: row-reverse;
    margin-left: 0px;
    margin-right: 3.5px;;
}

.product-colors label{
    width: 30px;
    height: 30px;
    margin-right: 25px;
    border-radius: 50px;
    box-shadow: 0px 0px 0px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: box-shadow 0.25s ease;
}

.product-colors label:lang(ar){
    margin-right: 0px;
    margin-left: 25px;
}

.product-color:last-child label{
    margin-right: 0px;
}

.product-color:last-child label:lang(ar){
    margin-left: 0px;
}

.product-colors input[type = "radio"]:checked + label{
    box-shadow: 0px 0px 0px 4px #FFA20C;
}

/* Cart Page */

.cart-page table {
    width: 100%;
    margin: 50px auto 30px auto;
    border-collapse: collapse;
}

th {
    background: #FFA20C;
    text-align: left;
    padding: 5px;
    color: white;
}

.cart-product {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.cart-product:lang(ar){
    justify-content: flex-end;
}

.cart-product img {
    width: 95px;
    height: 95px;
    margin-right: 15px;
    border: 2px solid #E7E7E7;
}

.cart-product img:lang(ar){
    margin-right: 0px;
    margin-left: 15px;
}

td {
    padding: 10px 5px;
}

.square-input {
    width: 40px;
    height: 40px;
    font-size: 17px;
    border: 1px solid #FFA20C;
    outline: none;
    margin-left: 12px;
    opacity: 1;
    text-align: center;
}

.product-info p {
    padding: 0;
    margin: 0;
    font-weight: normal;
}

.product-info form small {
    color: #FFA20C;
    cursor: pointer;
}

.product-info form button{
    background: none;
    border: none;
    font-size: 15px;
}

th:last-child,
td:last-child {
    text-align: right;
}

.cart-container{
    display: flex;
    justify-content: center;
    width: 80%;
    margin:auto;
    margin-top: 30px;
    box-shadow: 0 0px 10px 10px rgba(0, 0, 0, .08);
    padding: 20px;
    padding-bottom: 70px;
    border-radius: 20px;
}

.cart-container .checkout-page{
    width: 100%;
    margin: 50px 100px 0px auto;
}

.cart-container .cart-page{
    width: 140%;
}

.total-price {
    border-top: 3px solid #FFA20C;
    width: 100%;
}

.total-price table {
    width: 100%;
    margin: 0px;
}

.qty-change{
    width:30px; 
    text-align:center; 
    height: 40px; 
    padding:0;
    cursor: pointer;
    border: 1px solid #FFA20C;
}

.cart-qty{
    margin: 0; 
    color:black; 
    text-align:center; 
    padding:0;
    -webkit-appearance: none;
    border-radius: 0px;
    opacity: 1;
    font-family: "Poppins", sans-serif;
}

.qty-form{
    display: flex;
}

.empty{
    text-align: center;
    color: #b3b2b2;
    margin-top: 80px;
    margin-bottom: 20vh;
}

.head-text{
    text-align: center;
    color: black;
    font-weight: normal;
}

.new-order{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 85px;
}

.new-order h1{
    font-weight: bold;
}

#payment-button {
    display: none;
}

.select-info {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 5px;
    border: 1px solid #555;
    color: #555;
    font-size: 13px;
}

.select-payment-info {
    display: none;
}

.select-info:lang(ar) {
    font-size: 15px;
    text-align: right;
}

/* Login Page */

.login {
    margin-top: 120px;
    width: 500px;
    box-shadow: 0 0px 10px 10px rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0px 50px;
    border-radius: 30px;
}

.login .btn {
    width: 80%;
    border-radius: 50px;
    margin-top: 30px;
}

.login h1 {
    font-size: 40px;
    padding-bottom: 5px;
    text-align: center;
}

.login h1:lang(ar){
    font-size: 33px;
}

.login h3 {
    width: 100%;
    font-weight: normal;
    font-size: 16px;
}

.login .mini-form, .register-checkbox {
    margin-bottom: 25px;
    width: 80%;
}

.login .error, .login .success {
    margin-top: 25px;
}

.register-checkbox {
    font-size: 13px;
}

.register-checkbox input {
    float: left;
    margin-right: 5px;
    margin-top: 3px;
    border: 1px solid black;
    border-radius: 3px;
    width: 13px;
    height: 13px;
    position: relative;
    cursor: pointer;
}

.register-checkbox input:lang(ar) {
    margin-top: 5px;
    float: right;
    margin: 0 0 0 5px;
    margin-top: 5px;
}

.register-checkbox:lang(ar) {
    text-align: right;
}

.verify{
    margin-top: 50px; 
    margin-bottom: 250px
}

.verify .mini-form{
    margin-top: 10px;
    margin-bottom: 5px
}

.verify .mini-form:lang(ar){
    text-align:right;
}

.verify h1:lang(ar){
    width: 100%;
    text-align: right;
}

.verify-link{
    width: 100%;
    margin:0px; 
    padding:0px; 
    text-align:left;
    font-size: 16px;
}

.verify-link:lang(ar){
    text-align: right;
}

.error{
    color:rgb(222, 85, 85);
    background-color: rgba(253, 171, 171, 0.435);
    border: 1px solid rgb(222, 85, 85);
}

.success{
    color: rgb(55, 150, 55);
    background-color: rgba(177, 253, 177, 0.521);
    border: 1px solid rgb(87, 182, 87);
}

.notification{
    text-align: center; 
    width: fit-content;
    margin: auto;
    margin-top: 15px;
    margin-bottom: 10px;
    padding: 10px 20px 10px 20px;
}

/* Account Page */

.orders-container{
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: auto;
    margin-top: 30px;
}

.order-box{
    background: #eaecf16e;
    border-left: 3px solid #FFA20C;
    padding: 20px 30px 20px 30px;
    width: 70%;
    margin:auto;
    border-radius: 3px;
    margin-bottom: 40px;
}

.order-box:lang(ar){
    border-left: none;
    border-right: 3px solid #FFA20C;
}

.order-box:last-child{
    margin-bottom: 0px;
}

.status{
    display: flex;
    align-items: center;
}

.status:lang(ar){
    justify-content: flex-end;
}

.status-color{
    border-radius: 100px;
    margin-right: 7px;
    width: 10px;
    height: 10px;
}

.status-color:lang(ar){
    order: 1;
    margin-right: 0px;
    margin-left: 7px;
}

.status-text{
    color: rgba(84, 84, 84, 0.805);
    font-size: 15px;
}

.order-details h2{
    color: rgba(84, 84, 84, 0.805);
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.order-details{
    display: flex;
    margin-top: 10px;
}

.order-products{
    display: flex;
    flex-direction: column;
    width: 70%;
}

.order-products:lang(ar){
    order: 2;
}

.order-product{
    background: white;
    padding: 20px 30px 20px 30px;
    display: flex;
    align-items: center;
    border: 1.5px solid #E7E7E7;
    border-top: none;
}

.order-product:lang(ar){
    justify-content: flex-end;
}

.order-product:first-child{
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-top: 1.5px solid #E7E7E7;
}

.order-product:last-child{
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.order-product-details{
    color:#858383
}

.order-product-details:lang(ar){
    text-align: right;
}

.order-product-details h3{
    margin-bottom: 5px;
}

.order-options{
    margin-left: 30px;
    width: 30%;
}

.order-options:lang(ar){
    margin-left: 0px;
    margin-right: 30px;
}

.order-options .btn{
    border-radius: 5px;
    width: 100%;
    margin-bottom: 20px;
}

.order-options .btn:hover{
    color: white;
    background: #FFA20C;
}

.order-options .no-bg{
    background: white;
    color: #FFA20C;
}

.order-options .no-bg:hover{
    background: white;
    color: #FFA20C;
}

.order-product img{
    border: 2px solid #E7E7E7;
    width: 100px;
    margin-right: 15px;
}

.order-product img:lang(ar){
    order: 2;
    margin-left: 15px;
    margin-right: 0px;
}

.account-links{
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    margin-top: 50px;
}

.account-links a{
    padding: 5px 20px 5px 20px;
    border: 2px solid #FFA20C;
}

.account-links a:last-child{
    border-left: none;
}

.account-selected{
    background: #FFA20C;
    color: white;
}

.account-form{
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.account-form img{
    margin-right: 15px;
    margin-top: 10px;
    stroke: #FFA20C;
}

.account-form img:lang(ar){
    order: 1;
    margin-right: 0px;
    margin-left: 15px;
}

.custom-select {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.custom-select:lang(ar) {
    text-align: right;
}

.custom-select .custom-options {
    border: 2px solid #FFA20C;
    max-height: 0; 
    opacity:0;
    width: 100%;
    transition: all 0.4s;
    overflow: hidden;
}

.custom-select .custom-options.active {
    max-height: 240px;
    opacity: 1;
    overflow-y: scroll;
    margin-top: 54px;
}

.custom-select .option, .custom-selected{
    padding: 12px;
    cursor: pointer;
}

.custom-selected{
    border: 1px solid #000;
    font-size: 14px;
    margin-bottom: 10px;
    transition: border 0.3s ease;
}

.custom-selected.active{
    border: 2px solid #FFA20C;
}

.custom-select .option:hover {
    background: #E7E7E7
}

.custom-select label {
    cursor: pointer;
}

.custom-select .option .custom-select-radio {
    display: none;
}

.search-box{
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
}

.search-box input:lang(ar) {
    text-align: right;
}

.search-box input{
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    z-index: 100;
    border: 1px solid black;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s;
}

.search-box input:focus {
    outline: none;
}

.custom-select .custom-options.active ~ .search-box input {
    opacity: 1;
    pointer-events: auto;
}

select:lang(ar){
    text-align: right;
}

.update{
    width: 65%;
    margin-right: 20px;
}

.update:lang(ar){
    margin-right: 0px;
    margin-left: 20px;
    order: 1;
}

.log-out{
    background: rgb(233, 37, 37);
    border: 1px solid rgb(233, 37, 37);
    transition: all 0.3s ease;
    text-align: center;
    width: 35%;
}

.log-out:hover{
    color: rgb(233, 37, 37);
    background:white;
}

.buttons{
    display: flex;
}

/* Policy Page */

.policy-container {
    width: 55%;
    margin: auto;
    margin-top: 50px;
}

.policy-container h1 {
    margin-bottom: 20px;
    font-size: 25px;
}

.policy-block {
    margin-bottom: 25px;
}

.policy-container:lang(ar) {
    text-align: right;
}

/* Media Queries (Responsive Design) */

@media screen and (max-width:1550px){
    .cart-container{
        width: 90%;
    }

    .cart-container .checkout-page{
        margin-right: 100px;
    }

    .product{
        width: 35%;
    }

    .product-bundle {
        width: 37%
    }

    .title h1:after{
        left: 95%;
    }

    .title h1:before{
        right: 95%;
    }
}

@media screen and (max-width:1400px) {
    .footer-container {
        width: 100%;
    }

    .info-text {
        width: 100%;
        font-size: 17px;
    }

    .verify-link{
        font-size: 16px;
    }
    
    .small-container {
        width: 65%;
    }

    .product-text{
        padding: 0px;
    }

    .orders-container{
        width: 100%;
    }

    .order-box{
        width: 80%;
    }
}

/* 2 columns for mobile test
@media screen and (max-width:1000px) {
    .product{
        width: 45%;
        margin: 0 2% 2% 2%;
    }

    .col-4{
        width: 100%;
    }
}
*/

@media screen and (max-width:1300px){
    .cart-container .cart-page{
        width: 170%;
    }

    .cart-container .checkout-page{
        width: 120%;
        margin-right: 30px;
    }

    .policy-container {
        width: 70%;
    }
}

@media screen and (max-width:1150px){
    .cart-container .checkout-page{
        margin-right: 10px;
    }
}


@media screen and (max-width:1100px){
    .cart-container{
        flex-direction: column;
        box-shadow: none;
    }

    .cart-container .cart-page{
        order: 1;
        width: 100%;
    }

    .cart-container .checkout-page{
        order: 2;
        width: 70%;
        margin: auto;
        margin-top: 40px;
    }

    .product-showcase{
        margin:auto;
        width: 100%;
    }

    .product-showcase {
        flex-direction: column;
        align-items: center;
    }

    .product-images{
        margin-bottom: 20px;
    }

    .product-text, .product-images{
        width: 50%;
    }

    .product-images:lang(ar){
        order: 1;
    }
    
    .product-text:lang(ar){
        order: 2;
    }

    .product-input .btn , .product-input .disabled-btn{
        width: 100%;
        text-align: center;
        border-radius: 0px;
    }

    .product-input .square-input{
        height:45px;
        width: 60px;
    }

    .product-qty .qty-change{
        height: 45px;
        width: 35px;
    }
    
    .related-products{
        margin-top: 50px;
    }

    .related-products h1:after{
        left: 100%;
    }

    .related-products h1:before{
        right: 100%;
    }

    .cart-container .cart-page table{
        margin-top: 0px;
    }

    .cart-container .checkout-page{
        width: 100%;
    }

    .links {
        display: none;
    }

    header .mobile {
        display: block;
        background: white;
        width: 90%;
        margin: auto;
        text-align: right;
        overflow: hidden;
        transition: max-height 0.5s ease;
        max-height: 0px;
    }

    header .mobile li {
        display: block;
        margin-bottom: 5px;
        border-bottom: 1px solid #555;
        padding: 5px 0px;
    }

    .link:hover {
        color: #FFA20C;
    }

    .link {
        transition: color 0.3s ease;
    }

    .header-container {
        width: 90%;
    }

    .menu-icon {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .cart{
        margin-right: 15px;
    }

    .cart a p{
        display: none;
    }

    .discount-timer{
        margin-top: 30px;
    }

    .verify .mini-form{
        margin-bottom: 20px;
    }

    .product-images{
        position: static;
    }
    
    .product{
        width: 45%;
        margin: 0 2% 40px 2%;
    }

    .product-bundle {
        width: 47%;
    }

    .col-4{
        width: 100%;
    }
}

@media screen and (max-width:1000px){
    .order-box{
        width: 100%;
    }
}

@media screen and (max-width:900px) {
    .shadow-box {
        margin: 50px auto 30px auto;
    }

    .small-container {
        width: 100%;
    }

    .total-price {
        width: 100%;
    }

    .total-price .btn{
        width: 100%;
        border-radius: 0px;
    }

    .empty{
        margin-bottom: 30vh;
    }

    .select-style {
        width: 100%;
        background: white;
    }

    .cart-page .container {
        width: 90%;
    }

    .login {
        box-shadow: none;
        margin-top: 30px;
    }

    .login h1 {
        padding-bottom: 0px;
        font-size: 35px;
    }

    .login .mini-form, .login .btn, .register-checkbox{
        width: 90%;
    }

    main {
        padding-bottom: 9rem;
    }

    .container{
        width: 90%;
    }

    .cart-container{
        width: 100%;
        padding: 0;
        margin-top: 0px;
    }

    .account-form img{
        display: none;
    }

    .new-order h1{
        font-size: 28px;
    }

    .new-order h2{
        font-size: 20px;
    }

    .order-box{
        border-left: none;
        border-top: 3px solid #FFA20C;
    }

    .order-box:lang(ar){
        border-right: none;
    }

    .order-details{
        flex-direction: column;
        justify-content: center;
    }

    .order-products{
        width: 100%;
        margin-bottom: 30px;
    }

    .order-options{
        width: 100%;
        margin: 0;
        order: 2;
    }

    .order-product{
        padding: 20px
    }

    .product-images, .product-text {
        width: 65%;
    }

    .related-products{
        width: fit-content
    }

    .related-products h1:after{
        width: 100px;
        left: 300px;
    }

    .related-products h1:before{
        width: 100px;
        right: 300px;
    }

    .product-video{
        width: 75%;
        height: 400px;
    }

    .image-slider {
        height: 35vw;
    }

    .image-slider .slider-button {
        font-size: 160%;
    }

    .image-slider .slider-button.prev {
        left: 4%;
    }
    
    .image-slider .slider-button.next {
        right: 4%;
    }
}

@media screen and (max-width:700px) {
    .title{
        width: 200px;
        margin-top: 20px;
    }

    .title h1{
        font-size: 25px;
    }

    .title h1:after{
        left: 90%;
    }

    .title h1:before{
        right: 90%;
    }

    .cart-product p {
        display: none;
    }

    .product-showcase {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .product-images, .product-text {
        width: 90%;
    }

    .desc {
        width: 100%
    }

    .col-2 {
        margin: 0px;
    }

    .product-text {
        margin-top: 20px;
        padding: 0px;
    }

    .product-input {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .related-products{
        width: 70%;
    }

    .product-video{
        width: 90%;
        height: 300px;
    }

    .row .related-products{
        margin-top: 50px;
    }
    
    .related-products {
        margin-top: 50px;
    }

    .coupon-input-container > input {
        width: 60%;
    }

    .selected-image .slider-button.prev {
        left: -15px
    }
    
    .selected-image .slider-button.next {
        right: -15px
    }

    .bundle-timer > p, .bundle-timer > span {
        font-size: 16px;
    }
}

@media screen and (max-width:600px) {
    .cart-product {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-info:lang(ar){
        order: 1;
    }

    .cart-product:lang(ar){
        align-items: flex-end;
    }

    .title h1:after{
        width: 75px;
    }

    .title h1:before{
        width: 75px;
    }

    .product{
        width: 100%;
        margin-right: 0px;
        margin-left: 0px;
    }

    .col-4{
        width: 90%;
    }

    .account-links{
        margin-bottom: 30px;
    }

    .logo-text h2{
        font-size: 30px;
    }
    
    .logo-text h1{
        font-size:35px;
    }
    
    .logo-container img{
        width: 40px;
    }

    .col .logo-container img{
        width: 65px;
    }

    .logo-container{
        padding: 12px 0px 12px 0px;
    }

    .cart img {
        width: 32px;
    }

    .menu-icon img {
        width: 32px;
    }

    nav .bigger a:hover img{
        width: 32px;
    }

    .footer-container{
        flex-direction: column;
    }

    .footer-links{
        order: 2;
        margin: 30px 0px;
    }

    .footer-social{
        order: 3;
    }

    .copy {
        padding: 0px;
    }

    .policy-container {
        width: 90%;
    }

    .selected-image .slider-button {
        font-size: 8vw
    }

    .bundle-timer > p, .bundle-timer > span {
        font-size: 20px;
    }

    .title {
        margin-bottom: 15px;
    }
}

@media screen and (max-width:430px) {
    .related-products h1:after{
        width: 50px;
        left: 95%;
    }

    .related-products h1:before{
        width: 50px;
        right: 95%;
    }

    .cart-product img {
        width: 85px;
        height: 85px;
    }

    .cart-qty {
        width: 30px;
        height: 40px;
    }

    .qty-change{
        width: 25px;
        height: 40px;
    }

    .update:lang(ar){
        font-size: 13px;
    }

    .log-out:lang(ar){
        font-size: 13px;
    }
    
    td {
        padding: 10px 0px;
    }

    .qty-form:lang(ar){
        padding-left: 20px;
    }

    .qty-form:lang(en){
        padding-left: 12px;
    }
    
    .coupon-input-container > input {
        width: 55%;
    }

    .coupon-input-container > input:lang(en), .coupon-input-container > .btn:lang(en) {
        font-size: 3.5vw;
    }

    .selected-image .slider-button.prev {
        left: -10px
    }
    
    .selected-image .slider-button.next {
        right: -10px
    }

    .bundle-timer > p, .bundle-timer > span {
        font-size: 5vw;
    }
    
    .best-sellar-product:lang(ar)::before {
        left: -15px;
    }
    
    .best-sellar-product:lang(en)::before {
        right: -15px;
    }
}

@media screen and (max-width:350px) {
    .related-products h1{
        font-size: 20px;
    }

    .related-products h1:after{
        width: 30px;
        left: 90%;
    }

    .related-products h1:before{
        width: 30px;
        right: 90%;
    }

    .cart-product img {
        width: 60px;
        height: 60px;
    }

    .product-input {
        justify-content: center;
    }

    .product-text, .product-images {
        width: 95%;
    }

    .container {
        width: 100%;
    }

    .selected-image .slider-button.prev {
        left: -5px
    }
    
    .selected-image .slider-button.next {
        right: -5px
    }

    .product-input:lang(en) > .product-qty {
        margin-right: 15px;
        margin-left: 0;
    }

    .product-input:lang(ar) > .product-qty {
        margin-left: 15px;
        margin-right: 0;
    }

    .title h1:after{
        width: 50px;
    }

    .title h1:before{
        width: 50px;
    }
    
    .best-sellar-index:lang(ar)::before {
        left: -10px;
    }
    
    .best-sellar-index:lang(en)::before {
        right: -10px;
    }
}