@import url('../lib/bs-country/country.select.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.2/font/bootstrap-icons.min.css');
@import './fonts.css';
@import url('./buttons.css');
@import './media-queries.css';

/**
Standards --
use rem for measurement
use root variable for common css properties
use app-prefix for css i.e. pinkray-yourclassname
**/
:root {
    --size: 1rem; /** 16px **/
    --size5: 0.3125rem; /** 5px **/
    --size10: 0.625rem; /** 10px **/
    --size12: 0.75rem; /** 12px **/
    --size13: 0.8125rem; /** 13px **/
    --size14: 0.875rem; /** 14px **/
    --size15: 0.9375rem; /** 15px **/
    --size16: 1rem; /** 16px **/
    --size18: 1.125rem; /** 18px **/
    --size20: 1.25rem; /** 20px **/
    --size22: 1.375rem; /** 20px **/
    --size24: 1.5rem; /** 25px **/
    --size25: 1.5625rem; /** 25px **/
    --size26: 1.625rem; /** 26px **/
    --size28: 1.75rem; /** 28px **/
    --size30: 1.875rem; /** 30px **/
    --size40: 2.5rem; /** 40px **/
    --size48: 3rem; /** 48px **/
    --medium: 0.425;
    --ratio-percent: 125%;
    --margin-xl: 6.25rem; /* 100px **/
    --margin-lg: 3.75rem; /** 60px **/
    background: #f2e9e4;
    color: #505655;
    font-weight: normal;
    --base: #505655;
    --background: #898b8d;
    --lightBg: #f2e9e4;
    --secondryBg: #20271f;
    --bgBox: #e9dcd5;
    --colorWhite: #fff;
    --font16: 1rem;
    --font24: 1.5rem;
    --font14: 0.8rem;
    --transformY30: translateY(30px);
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 960px;
    --breakpoint-xl: 1200px;
    --error: #ef3434;
}

html,
body,
div,
span,
main,
p,
span,
section,
article,
footer,
address,
dl,
dd,
dt,
form,
input,
button,
img,
span,
fieldset,
legend,
label,
figure,
figcaption,
body,
a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 65.5%;
    background: #f2e9e4;
    font-family: 'Amrcanan';
    color: var(--base);
    line-height: normal;
}

p {
    text-align: left;
    font-family: 'Tajawal';
    color: #505655;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.a-link {
    color: var(--base);
    text-decoration: none;
}

.a-link:hover {
    text-decoration: underline;
}

.loading-overlay {
    background-color: var(--background);
    width: 100%;
    height: 100vh;
    position: fixed;
    opacity: 0.5;
    overflow: hidden;
    display: block;
    z-index: 4;
    left: 0;
}

.loader {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite;
    display: flex;
    margin: 20% auto;
    justify-content: center;
}

.loader::before,
.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid #fff;
    animation: prixClipFix 2s linear infinite;
}

.loader::after {
    inset: 8px;
    transform: rotate3d(90, 90, 0, 180deg);
    border-color: #ff3d00;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes prixClipFix {
    0% {
        clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
    }
    50% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
    }
    75%,
    100% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
    }
}

a.skip-main {
    left: -999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

.sub-title {
    color: var(--base);
    margin-bottom: 15px;
}

.pinkray-header.fixed,
.mobile-header.fixed {
    position: fixed !important;
}

.relative-full {
    position: relative;
}

.hide {
    display: none !important;
}

.sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mb-15 {
    margin-bottom: 0.9375rem;
}

.mb-12 {
    margin-bottom: 11px;
}

.block {
    display: block;
}

/** header */
.pinkray-top-header {
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 7;
    padding: 0 0 2rem;
}
.pinkray-top {
    background-color: var(--base);
    width: 100%;
    text-align: center;
    color: var(--lightBg);
    font-family: 'Tajawal';
    font-size: var(--size14);
    display: flex;
    align-items: center;
    margin: auto;
}

.bg-header {
    background: #f2e9e4;
}

.pinkray-header {
    position: relative;
    width: 100%;
    margin: 0.5rem auto 0;
    z-index: 2;
}

.pinkray-header .pinkray-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pinkray-header.login {
    display: flex !important;
    margin-bottom: var(--size40);
}

.pinkray-header.login .pinkray-nav {
    justify-content: center;
}

.pinkray-header .pinkray-nav h1 {
    margin-bottom: 0;
    font-size: var(--size24);
}

.pinkray-header .pinkray-logo {
    font-family: 'Alta_caption';
    font-size: 1.5rem;
    font-weight: normal;
    text-align: left;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 0;
    text-decoration: none;
    color: #505655;
}

.pinkray-header nav ul.pinkray-top-nav {
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 1100px) {
    .pinkray-header .pinkray-nav h1 span {
        display: none;
    }
}

.pinkray-header nav ul.pinkray-top-nav li:last-child {
    margin-right: 0;
}

.pinkray-header nav ul.pinkray-top-nav li > a {
    color: var(--base);
    text-decoration: none;
    border-top: 0.2rem solid transparent;
    font-size: var(--font16);
    font-family: 'Amrcanan';
    padding: 1rem;
    transition: 0.3s;
}

.pinkray-header nav ul.pinkray-top-nav li a:hover {
    font-weight: bold;
    color: black;
}

.pinkray-header nav .icons-menu {
    display: flex;
}

.pinkray-header nav > .icons-menu > ul {
    display: flex;
}

.pinkray-header nav > .icons-menu > ul > li {
    margin: 0 1.5rem;
}

.pinkray-header nav > .icons-menu > ul li:last-child {
    margin-right: 0;
}

.pinkray-header nav > .icons-menu > ul li a {
    font-family: 'Tajawal';
    display: flex;
    color: #505655;
    text-decoration: none;
    align-items: center;
    transition: background-color all 0.2ms;
}

.pinkray-header nav > .icons-menu > ul li li:hover {
    background-color: rgb(50, 50, 50);
}

.pinkray-header nav > .icons-menu > ul li a.shopping-cart {
    position: relative;
    display: block;
}

.pinkray-header nav > .icons-menu > ul li a.shopping-cart .bag-shopping {
    background: url('../img/shopping_bag.svg') no-repeat 0 0;
    width: 18px;
    height: 22px;
    display: inline-block;
}

.pinkray-header nav > .icons-menu > ul > li a.shopping-cart .cart-count {
    font-family: 'Tajawal';
    font-size: var(--size12);
    font-weight: bold;
    position: absolute;
    border-radius: 50%;
    display: block;
    background-color: #505655;
    color: var(--lightBg);
    border: 0.1rem solid var(--lightBg);
    text-align: center;
    left: 0.8rem;
    top: -0.5rem;
    line-height: 0;
    min-width: 26px;
    min-height: 26px;
}

a.shopping-cart .cart-count span {
    display: inline-block;
    padding-top: 50%;
    padding-bottom: 50%;
    margin-left: 1px;
    margin-right: 1px;
}

.dropdown-toggle::after {
    border-top: 0.5em solid;
    border-right: 0.5em solid transparent;
    border-left: 0.5em solid transparent;
}

.user-icon {
    background: url('../img/account.svg') no-repeat 0 0;
    width: 22px;
    height: 22px;
    display: inline-block;
}

.user-menu ul li a {
    font-family: 'Tajawal';
    text-transform: uppercase;
    padding: 0.5rem 0.8rem;
}

.user-menu ul li:hover {
    background-color: rgb(50, 50, 50);
}

.user-menu ul li:hover a {
    color: var(--colorWhite) !important;
}

.user-menu ul li {
    margin: 0;
}

.dropdown-menu {
    padding: 0;
    min-width: 13rem;
    border-top: 2px solid black;
}

/** footer **/
.pinkray-footer {
    position: relative;
    background-color: var(--base);
    width: 100%;
    margin-top: var(--size40);
}

.pinkray-footer .footer-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap: 1rem;
    max-width: 20rem;
    margin: auto;
}

.pinkray-footer .footer-box .logo-title {
    color: #f2e9e4;
    text-transform: uppercase;
    font-size: 2.81rem;
    font-family: 'Alta';
    text-align: center;
    line-height: 1;
}

.pinkray-footer .footer-box .social-box {
    display: flex;
}

.pinkray-footer .footer-box .social-box .social-items {
    display: flex;
    gap: 20px;
    margin: 0 auto 0.5rem;
}

.pinkray-footer .seperate-copyright {
    border-top: 1px solid rgba(230, 230, 230, 0.5);
}

.pinkray-footer .seperate-copyright .copyright {
    font-family: 'Tajawal';
    font-size: 0.8rem;
    padding: 1%;
    display: flex;
    margin: auto;
    max-width: 20rem;
    text-align: center;
    color: var(--lightBg);
    justify-content: center;
    opacity: 1;
}

.footer-nav {
    margin: 0 0 0.5rem;
    padding: 0;
}

.footer-nav li {
    display: inline-flex;
    margin: 0 0.5rem;
}
.footer-nav li a {
    text-align: center;
    text-decoration: none;
    color: var(--bgBox);
    font-family: 'Tajawal-Medium';
    font-size: var(--size14);
}

.footer-nav li a:hover {
    text-decoration: underline;
}

.no-auto {
    margin: 0;
}

.m-auto {
    margin: auto;
}

/* Style the list */
ul.pinkrays-breadcrumb {
    list-style: none;
    align-items: center;
    margin: 1.25rem auto var(--size40);
    padding: 0 0 0 0.8rem;
}

/* Display list items side by side */
ul.pinkrays-breadcrumb li {
    font-family: 'Tajawal';
    font-size: var(--size12);
}

ul.pinkrays-breadcrumb li:last-child {
    font-weight: bold;
}

/* Add a slash symbol (/) before/behind each list item */
ul.pinkrays-breadcrumb li + li:before {
    content: '/';
    margin: 0 0.5rem;
    color: var(--base);
    font-size: var(--size20);
    position: relative;
    top: 0.125rem;
}

/* Add a color to all links inside the list */
ul.pinkrays-breadcrumb li:first-child a {
    text-decoration: none !important;
}

ul.pinkrays-breadcrumb li a {
    font-family: 'Tajawal';
    text-decoration: none;
    color: var(--base);
}

/* Add a color on mouse-over */
ul.pinkrays-breadcrumb li a:hover {
    text-decoration: underline;
}

.sub-heading {
    text-align: center;
    font-size: var(--size20);
    margin-bottom: var(--size18);
}

.small-heading {
    font-size: var(--size);
    font-family: 'Tajawal-bold';
}

.bold {
    font-family: 'Tajawal-bold';
}

.modal-content {
    border-radius: 0;
    background: #f2e9e4;
}

.modal-content .modal-header .btn-close {
    transform: scale(1.5);
}

.modal-content .modal-header {
    background: #e9dcd5;
    padding: 10px 18px;
}

.modal-content .modal-title {
    font-family: 'Tajawal-Bold';
    letter-spacing: 0px;
    color: #505655;
    font-size: 20px;
}

.modal-content.giftModal {
    max-width: 450px;
}

.modal-content.addAddress {
    max-width: 700px;
}

.modal-dialog {
    max-width: 700px;
}

.thanks-wrapper {
    max-width: 400px;
    margin: 10% auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.thanks-wrapper h2 {
    font-family: 'Amrcanan';
    color: #505655;
    font-size: 62px;
}

.thanks-wrapper p {
    font-family: 'Tajawal-Medium';
    text-align: center;
    font-size: 20px;
}

/** Address Box **/
.widget-address {
    width: 100%;
    display: block;
}

.widget-address .address-block {
    border: 0.1rem solid var(--base);
    padding: var(--size);
    font-family: 'Tajawal';
    max-width: 400px;
}

.widget-address .address-block .header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.hr-line {
    border: 0.1rem var(--base) solid;
    height: 0.5px;
    margin: 0.5rem 0;
}

.widget-address .address-block .header .home-icon-button,
.widget-address .address-block .header .edit-icon-button {
    border: none;
    display: block;
}

.widget-address .address-block .header .home-icon,
.widget-address .address-block .header .office-icon {
    background: transparent url('../img/house.svg') no-repeat 0 0;
    width: 20px;
    height: 20px;
    display: flex;
    padding-left: 1.8rem;
    align-items: center;
    font-size: var(--size16);
    font-family: 'Tajawal-Bold';
}

.widget-address .address-block .header .office-icon {
    background: transparent url('../img/office.svg') no-repeat 0 0;
}

.widget-address .address-box {
    display: flex;
    gap: 1.5rem;
}

.widget-address .address-block .content {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: var(--size16);
}

.widget-address .address-block .content span {
    font-size: var(--size14);
    line-height: 22px;
}

.widget-address .address-block .content span.name {
    font-weight: bold;
}

.form-check {
    padding-left: 2rem;
}

.form-check input[type='radio']:checked + .form-check-label {
    font-weight: bold;
}

@media (min-width: 320px) and (max-width: 520px) {
    /** header */
    .pinkray-top {
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 7;
        margin: 0;
    }

    .pinkray-top-header {
        position: relative;
    }
    .pinkray-footer .seperate-copyright {
        border: none;
    }
    .thanks-wrapper {
        margin: 30% auto 0;
        padding: 0 20px;
    }
    .thanks-wrapper h2 {
        font-size: 42px;
    }
    .thanks-wrapper p {
        font-size: 14px;
        margin-bottom: 30px !important;
    }

    .btn-address {
        margin: auto;
    }
}

@media (min-width: 820px) and (max-width: 1180px) {
    .pinkray-header nav ul.pinkray-top-nav li {
        margin: 0 0.235rem;
    }
    .pinkray-header nav ul.pinkray-top-nav li > a {
        padding: 0.5rem;
    }
}

@media print {
    .no-print {
        display: none;
    }
}
