/* common css start */
/* import fonts-- */
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-Light.woff') format('woff');
    font-weight: 300;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-Regular.woff') format('woff');
    font-weight: 400;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-Medium.woff') format('woff');
    font-weight: 500;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-SemiBold.woff') format('woff');
    font-weight: 600;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-Bold.woff') format('woff');
    font-weight: 700;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-ExtraBold.woff') format('woff');
    font-weight: 800;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-Black.woff') format('woff');
    font-weight: 900;
}

/* colors */
:root {
    /* color */
    --black: #211913;
    --white: #ffffff;
    --heading-text-color: #211913;
    --paragraph-text-color: #211913;
    --body-color: #fff;
    --card-bg: #dcdcdc;
    --card-badge-bg: #008000;
    --btn-bg: transparent;
    --btn-color: #211913;
    --border-color: #988f8d;
    --border-color2: #e8e3e1;
    --brand-color: #d55a3c;
    --item-bg: #fef2f0;
    --item-bg2: #f5f1f0;
    --item-bg3: #f5f5f5;
    --muted: #6c6c6c;
    --color-green: #008000;
    --color-pink: #bc406d;

    /* font family */
    --heading-font: "Outfit", serif;
    --paragraph-font: "Outfit", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* overflow-x: hidden; */
}

body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: var(--paragraph-font);
    background-color: var(--body-color);
    transition: all ease 2s;
    -webkit-transition: all ease 2s;
    -moz-transition: all ease 2s;
    -ms-transition: all ease 2s;
    -o-transition: all ease 2s;
}

body.active {
    overflow: hidden;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    font-family: var(--paragraph-font);
    transition: ease .3s;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: 1.2;
    font-family: var(--heading-font);
    color: var(--heading-text-color);
}

.h1 {
    font-size: clamp(2rem, calc(1.68rem + 1.6vw), 3rem);
    font-weight: 700;
}

/* 32 → 48 */
.h2 {
    font-size: clamp(1.75rem, calc(1.55rem + 1vw), 2.375rem);
    font-weight: 700;
}

/* 28 → 38 */
.h3 {
    font-size: clamp(1.5rem, calc(1.38rem + 0.6vw), 1.875rem);
    font-weight: 600;
}

/* 24 → 30 */
.h4 {
    font-size: clamp(1.375rem, calc(1.295rem + 0.4vw), 1.625rem);
    font-weight: 600;
}

/* 22 → 26 */
.h5 {
    font-size: clamp(1.25rem, calc(1.21rem + 0.2vw), 1.375rem);
    font-weight: 600;
}

/* 20 → 22 */
.h6 {
    font-size: clamp(1rem, calc(0.96rem + 0.2vw), 1.125rem);
    font-weight: 500;
}

/* 16 → 18 */

.p,
p {
    font-size: 16px;
    font-weight: 400;
    color: var(--paragraph-text-color);
    font-family: var(--paragraph-font);
    margin: 0;
    line-height: 22px;
}

span {
    font-family: var(--paragraph-font);
}

.container {
    max-width: 1360px;
    padding: 0 20px;
    margin: 0 auto;
}

.section {
    padding: 42px 0;
}

img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* input css start */
input,
textarea,
select {
    color: var(--paragraph-text-color);
    font-size: 16px;
    font-weight: 400;
    font-family: var(--paragraph-font);
    outline: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
    appearance: none;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    line-height: 20px;
    width: 100%;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
    color: var(--border-color);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

.contact-field-col {
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--black);
}

button {
    background-color: transparent;
    outline: none;
    cursor: pointer;
    border: none;
    transition: ease .3s;
}

.btn {
    padding: 10px 30px;
    color: var(--btn-color);
    background: var(--btn-bg);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: capitalize;
    display: inline-block;
    text-align: center;
    width: 100%;
    transition: all ease .3s;
    border: 1px solid var(--btn-color);
    border-radius: 5px;
    overflow: hidden;
}

.btn:hover {
    color: var(--white);
    background: var(--btn-color);
}

/* input css end */

/* cart-drawer css start */
.cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.502);
    height: 100vh;
    z-index: 99999;
    transition: 300ms;
    opacity: 0;
    visibility: hidden;
}

.cart-drawer.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer-close-window-btn {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    user-select: none;
    cursor: pointer;
}

.cart-drawer-inner {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 400px;
    width: 100%;
    z-index: 2;
    transition: 300ms;
    transform: translateX(100%);
    opacity: 1;
    visibility: visible;
    height: 100%;
    max-height: 100%;
    background: var(--white);
}

.cart-drawer-inner.active {
    transform: translateX(0);
}

.cart-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color2);
}

.cart-drawer-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-drawer-title span {
    text-transform: lowercase;
    font-size: 12px;
    font-weight: 400;
    color: var(--paragraph-text-color);
}

.cart-drawer-close-btn {
    display: flex;
    width: 16px;
    height: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all ease .3s;
}

.cart-drawer-close-btn:hover {
    background: var(--border-color);
}

.cart-drawer-progress {
    border: 1px solid var(--item-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgb(213 90 60 / 10%);
    margin: 16px 16px 0;
    background: var(--item-bg);
}

.cart-drawer-progress-content {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-drawer-progress-content .icon {
    width: 32px;
    height: 32px;
    background: var(--brand-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-drawer-progress-content .icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--white);
}

.cart-drawer-progress-content .content .title {
    font-size: 13px;
    line-height: 17px;
    text-transform: capitalize;
    color: var(--muted);
}

.cart-drawer-progress-content .content .text {
    font-size: 12px;
    line-height: 16px;
    color: var(--muted);
    margin-top: 3px;
}

.cart-drawer-progress-content .content .text strong {
    color: var(--brand-color);
    font-weight: 700;
}

.cart-drawer-progress .progress {
    background: linear-gradient(to right, #d55a3c 0%, #422c26 60%, rgb(236 219 216) 60%, rgb(236 219 216) 100%);
    height: 5px;
    width: 100%;
    transition: background 450ms ease-in;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    cursor: not-allowed;
    border: none;
}

.cart-drawer-progress .progress::-webkit-slider-thumb {
    position: relative;
    top: -14px;
    width: 35px;
    height: 35px;
    appearance: none;
    -webkit-appearance: none;
    cursor: default;
    background-image: url('../images/progress-bar-icon.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: not-allowed;
}

.cart-drawer-progress .progress::-moz-range-thumb {
    position: relative;
    top: -14px;
    width: 35px;
    height: 35px;
    appearance: none;
    -moz-appearance: none;
    cursor: default;
    background-image: url('../images/progress-bar-icon.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: not-allowed;
}

.cart-drawer-content {
    width: 100%;
    height: calc(100dvh - 236px);
    overflow-y: auto;
    scrollbar-width: thin;
    padding: 16px;
    scrollbar-color: var(--brand-color) transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-drawer-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-drawer-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    box-shadow: 0 3px 12px rgb(213 90 60 / 10%);
    border-radius: 8px;
    overflow: hidden;
}

.cart-drawer-item-img {
    width: 56px;
    min-width: 56px;
    border: 1px solid var(--border-color2);
    border-radius: 5px;
    overflow: hidden;
}

.cart-drawer-item-img img {
    aspect-ratio: 1 / 1;
}

.cart-drawer-item-content-wrap {
    width: 100%;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.cart-drawer-item-content-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.cart-drawer-item-title {
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 16px;
    color: var(--paragraph-text-color);
    transition: all ease .3s;
    display: flex;
}

.cart-drawer-item-title:hover {
    color: var(--brand-color);
}

.cart-drawer-item-content .content-btm {
    display: flex;
    align-items: center;
    margin-top: 7px;
    gap: 8px;
}

.cart-drawer-item-price {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 16px;
}

.cart-drawer-item-qty-btn-wrap {
    border: 1px solid var(--border-color2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    overflow: hidden;
    border-radius: 5px;
    overflow: hidden;
}

.cart-drawer-item-qty-input {
    width: 20px;
    height: 100%;
    text-align: center;
}

.cart-drawer-item-qty-btn {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    transition: all ease .3s;
    font-size: 14px;
    line-height: 15px;
    font-weight: 400;
}

.cart-drawer-item-qty-btn:hover {
    background: var(--border-color);
    color: var(--white);
}

.cart-drawer-item-remove-btn-wrap {
    display: flex;
    justify-content: flex-end;
}

.cart-drawer-item-remove-btn {
    width: 16px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all ease .3s;
}

.cart-drawer-item-remove-btn svg {
    width: 16px;
    height: 16px;
}

.cart-drawer-item-remove-btn svg path {
    transition: all ease .3s;
}

.cart-drawer-item-remove-btn:hover svg path {
    fill: var(--brand-color);
}

.cart-drawer-footer {
    background: var(--item-bg3);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
}

.cart-drawer-slider-area {
    padding: 16px 0 0 0;
}

.cart-drawer-slider-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.cart-drawer-slider-title {
    position: relative;
    padding-bottom: 8px;
    text-transform: capitalize;
    font-weight: 700;
}

.cart-drawer-slider-title::before {
    position: absolute;
    content: "";
    width: 40px;
    height: 2px;
    background: var(--brand-color);
    bottom: 0;
    left: 0;
}

.cart-drawer-slider-btn-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-drawer-slider-item .product-card .card-rattings {
    position: absolute;
    top: 7px;
    left: 7px;
}

.cart-drawer-slider-item .product-card .card-rattings .rattings-count {
    font-size: 12px;
}

.cart-drawer-slider-item .product-card .card-rattings .rattings-number {
    font-size: 12px;
}

.cart-drawer-slider-item .product-card .card-content {
    padding: 10px 8px;
}

.cart-drawer-slider-item .product-card .card-content .card-title-wrap {
    height: 32px;
}

.cart-drawer-slider-item .product-card .card-content .card-title {
    font-size: 12px;
    line-height: 16px;
}

.cart-drawer-slider-item .product-card .card-content .card-price-wrap .latest-price {
    font-size: 14px;
}

.cart-drawer-slider-item .product-card .card-content .card-btn {
    margin-top: 10px;
}

.swiper-button-prev.cart-drawer-slider-btn-prev,
.swiper-button-next.cart-drawer-slider-btn-next {
    position: unset;
    width: 28px;
    height: 28px;
    background: var(--brand-color);
    border-radius: 50px;
    overflow: hidden;
    margin: 0;
    opacity: 1;
    visibility: visible;
}

.cart-drawer-slider-btn-prev.swiper-button-prev::after,
.cart-drawer-slider-btn-next.swiper-button-next::after {
    font-size: 10px;
    color: var(--white);
    font-weight: 700;
}

/* .cart-drawer-slider-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color2);
    background: var(--white);
}

.cart-drawer-slider-item .img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    min-width: 72px;
    border-radius: 8px;
    background: var(--item-bg);
}

.cart-drawer-slider-item .title {
    font-size: 13px;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 17px;
    color: var(--paragraph-text-color);
    transition: all ease .3s;
    display: flex;
}

.cart-drawer-slider-item .title:hover {
    color: var(--brand-color);
}

.cart-drawer-slider-item .price {
    font-size: 12px;
    text-transform: uppercase;
    line-height: 16px;
    color: var(--muted);
    margin-top: 3px;
}

.cart-drawer-slider-item .item-btn {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    border-radius: 5px;
    background: var(--brand-color);
    color: var(--white);
    text-transform: capitalize;
    margin-top: 4px;
} */

.cart-drawer-total-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 16px;
}

.cart-drawer-total-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.cart-drawer-total-price {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.cart-drawer-checkout-btn-wrap {
    padding: 0 16px;
}

.cart-drawer-checkout-btn-wrap .btn {
    background: var(--brand-color);
    border-color: var(--brand-color);
    color: var(--white);
}

.cart-drawer-checkout-btn-wrap .btn:hover {
    background: var(--white);
    color: var(--brand-color)
}

.cart-drawer-empty {
    display: none;
    align-items: center;
    justify-content: center;
    height: 83%;
    width: 100%;
}

.cart-drawer-empty-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-transform: capitalize;
    color: var(--paragraph-text-color);
    margin: 0 0 20px 0;
}

.cart-drawer-empty-text .btn {
    background: var(--brand-color);
    border-color: var(--brand-color);
    color: var(--white);
}

.cart-drawer-empty-text .btn:hover {
    background: var(--white);
    color: var(--brand-color)
}

.cart-drawer.blank .cart-drawer-content {
    display: none;
}

.cart-drawer.blank .cart-drawer-footer {
    display: none;
}

.cart-drawer.blank .cart-drawer-empty {
    display: flex;
}

/* cart-drawer css end */

/* swiper pagination and button css start */
.swiper-pagination .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background-color: transparent;
    border: 1px solid var(--brand-color);
    position: relative;
    opacity: 1;
}

.swiper-pagination .swiper-pagination-bullet::after {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 9px;
    height: 9px;
    border-radius: 100%;
    background-color: var(--btn-bg);
    transition: ease .5s;
}

.swiper-pagination .swiper-pagination-bullet-active.swiper-pagination-bullet::after {
    transform: translate(-50%, -50%) scale(1);
}

.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    border: 1px solid var(--brand-color);
    color: var(--black);
    background-color: var(--white);
    transition: ease .3s;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    border: 1px solid var(--brand-color);
    color: var(--white);
    background-color: var(--brand-color);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
    color: var(--black);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
    color: var(--white);
}

.swiper-button-next {
    right: -100px;
    opacity: 0;
    visibility: hidden;
}

.swiper-button-prev {
    left: -100px;
    opacity: 1;
    visibility: visible;
}

.swiper:hover .swiper-button-prev {
    left: 20px;
    opacity: 1;
    visibility: visible;
}

.swiper:hover .swiper-button-next {
    right: 20px;
    opacity: 1;
    visibility: visible;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    display: none;
}

/* swiper pagination and button css end */

@media only screen and (max-width:575px) {

    /* common-css start */
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 24px 0;
    }

    /* common-css end */

    /* pagination css start */
    .swiper-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
    }

    .swiper-pagination .swiper-pagination-bullet::after {
        width: 6px;
        height: 6px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 35px;
        height: 35px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 12px;
    }

    /* pagination css end */
}