/* fonts */
@font-face {
    font-family: 'AllRoundGothicBold';
    src: url('../fonts/Fontspring-DEMO-allroundgothic-bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'AllRoundGothicText';
    src: url('../fonts/Fontspring-DEMO-allroundgothic-text.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AllRoundGothic';
    src: url('../fonts/Fontspring-DEMO-allroundgothic-textoblique.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


/* body, */
/* p, */
input,
select,
textarea,
button,
label,
span,
li,
h4,
h5,
h6,
p,
.form-check-input,
.text {
    font-family: 'AllRoundGothicText', sans-serif !important;
}

.title {
    font-family: 'AllRoundGothic', sans-serif !important;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Color Variables */
:root {
    --color-primary: #603e13;
    /* Teal */
    --color-secondary: #be6d1c;
    /* Coral Red */
    --color-accent: #f4a261;
    /* Warm Orange */
    --color-dark: #264653;
    /* Dark Navy */
    --color-light: #f8f9fa;
    /* Light Gray */
    --color-text: #333333;
    /* Main text */
    --color-muted: #777777;
    /* Muted text */
    --color-link: #1d3557;
    /* Dark Blue */
    --color-link-hover: #be6d1c;
    /* Lighter Blue */

    --bg-primary: #FFF5E9;
}

a {
    text-decoration: none !important;
}

.main-heading {
    font-family: 'AllRoundGothicBold', sans-serif;
    font-size: 2.3rem !important;
    padding: 1.8rem 0rem !important;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .main-heading {
        font-size: 1.88rem !important;
    }
}

.btn-primary {
    background-color: var(--color-primary) !important;
    color: white !important;
    padding: 0.5rem 0.7rem;
    border-radius: 0.4rem;
    border: none;
    font-weight: bold;
}

.btn {
    border: none !important;
}

.main-section {
    padding: 30px 20px;
    background-color: #fdf4e9;
}

.btn-outline-primary {
    background-color: transparent;
    padding: 0.5rem 0.7rem;
    border-radius: 0.4rem;
    border: 1.3px solid var(--color-secondary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--color-primary) !important;
    color: white !important;
}

.form-check-input:checked {
    background-color: var(--color-secondary) !important;
    border-color: var(--color-primary) !important;
}

/* Style the track */
input[type=range].form-range::-webkit-slider-runnable-track {
    background: #c7914b3d;
    height: 6px;
    border-radius: 4px;
}

input[type=range].form-range::-moz-range-track {
    background: #C7914B;
    height: 6px;
    border-radius: 4px;
}

input[type=range].form-range::-ms-track {
    background: #c7914bf3;
    height: 6px;
    border-radius: 4px;
    border-color: transparent;
    color: transparent;
}

/* Style the thumb (the draggable circle) */
input[type=range].form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #c7914be8;
    cursor: pointer;
    margin-top: -5px;
    /* Aligns thumb with track */
}

input[type=range].form-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #c7914be1;
    cursor: pointer;
}

input[type=range].form-range::-ms-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #c7914b4c;
    cursor: pointer;
}

/* General input focus */
input:focus,
textarea:focus,
select:focus {
    border-color: #C7914B !important;
    box-shadow: 0 0 0 0.25rem rgba(199, 145, 75, 0.25) !important;
    outline: none !important;
}

.btn-primary-outline {
    display: inline-block;
    /* inline-block is better for buttons */
    border-radius: 0.4rem;
    /* smoother rounded corners */
    border: 2px solid #C7914B;
    background-color: transparent;
    color: #292218;
    /* match border color */
    /* font-weight: bold; */
    padding: 0.3rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary-outline:hover {
    background-color: #C7914B;
    color: #fff;
    /* text turns white on hover */
}


/* =======================MODAL CSS=============================== */
/* =======================MODAL CSS=============================== */
.custom-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

/* Modal Container */
.custom-modal-content {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-50px);
    opacity: 0;
    animation: slideFromTop 0.5s ease forwards;
    position: relative;
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    z-index: 20;
    background: #f2f2f2;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.close-modal:hover {
    background: var(--color-link-hover);
    color: #fff;
}

/* Left Half - Video */
.video-section {
    width: 50%;
    background: #000;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Right Half - Info */
.info-section {
    width: 50%;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    background: #fff;
}

.info-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    /* font-family: 'AllRoundGothic', sans-serif; */
    font-family: 'AllRoundGothicText', sans-serif;
}

.info-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    font-family: 'AllRoundGothicText', sans-serif;
}

.price-box {
    margin-bottom: 20px;
}

.current-price {
    font-size: 24px;
    font-weight: bold;
    color: #222;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-left: 10px;
}

.discount-tag {
    background: #ff4d4d;
    color: #fff;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
    margin-left: 10px;
}

.modal-actions {
    display: flex;
    gap: 10px;
}

.btn-create,
.btn-cart {
    flex: 1;
    padding: 12px;
    font-size: 15px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-create {
    background: var(--color-accent);
    color: #fff;
}

.btn-create:hover {
    background: var(--color-link-hover);
}

.btn-cart {
    background: #f2f2f2;
    color: #333;
}

.btn-cart:hover {
    background: #ddd;
}

.dont-show {
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideFromTop {
    from {
        transform: translateY(-80px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .custom-modal-content {
        flex-direction: column;
        width: 95%;
    }

    .video-section,
    .info-section {
        width: 100%;
    }

    .info-section {
        padding: 20px;
    }
}


/* =======================MODAL CSS END=============================== */
/* =======================MODAL CSS END=============================== */


.main-card {
    width: 340px;

}

.main-card .main-card-inner {
    position: relative;
    height: 570px;
    border-radius: 25px;
    overflow: hidden;
}

.main-card .main-card-inner .box .img-box {
    position: absolute;
    inset: 0;
    transition: 0.3s all linear;
}

.main-card .main-card-inner .box .img-box:hover {
    transform: scale(1.1);
}

.main-card .main-card-inner .box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-card .icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 85px;
    height: 84px;
    border-top-left-radius: 30px;
    padding: 12px;
    background-color: #fdf4e9;
}

.main-card .icon::after {
    position: absolute;
    content: "";
    top: -18px;
    right: 0;
    background: transparent;
    width: 18px;
    height: 18px;
    border-bottom-right-radius: 30px;
    box-shadow: 10px 10px 0 6px #fdf4e9;
}

.main-card .icon::before {
    position: absolute;
    content: "";
    bottom: 0;
    left: -17px;
    background: transparent;
    width: 17px;
    height: 18px;
    border-bottom-right-radius: 30px;
    box-shadow: 10px 10px 0 6px #fdf4e9;
}

.main-card .icon span {

    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 25px;
    background-color: #fdf4e9;
    transition: 0.3s all linear;
}

.main-card .icon span {
    background-color: #b8874d;
}


.main-card .icon i {
    transform: rotate(-40deg);
    color: white;
    font-size: 24px;
}

.main-card .icon:hover span {
    cursor: pointer;
    transform: scale(1.1);
}



.main-card-xs {
    width: 100%;

}

.main-card-xs .main-card-inner {
    position: relative;
    height: 250px;
    border-radius: 25px;
    overflow: hidden;
}

.main-card-xs .main-card-inner .box .img-box {
    position: absolute;
    inset: 0;
    transition: 0.3s all linear;
}

.main-card-xs .main-card-inner .box .img-box:hover {
    transform: scale(1.1);
}

.main-card-xs .main-card-inner .box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-card-xs .icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 84px;
    height: 84px;
    border-top-left-radius: 30px;
    padding: 12px;
    background-color: #fdf4e9;
}

.main-card-xs .icon::after {
    position: absolute;
    content: "";
    top: -18px;
    right: 0;
    background: transparent;
    width: 18px;
    height: 18px;
    border-bottom-right-radius: 30px;
    box-shadow: 10px 10px 0 6px #fdf4e9;
}

.main-card-xs .icon::before {
    position: absolute;
    content: "";
    bottom: 0;
    left: -18px;
    background: transparent;
    width: 18px;
    height: 18px;
    border-bottom-right-radius: 30px;
    box-shadow: 10px 10px 0 6px #fdf4e9;
}

.main-card-xs .icon span {

    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 25px;
    background-color: #fdf4e9;
    transition: 0.3s all linear;
}

.main-card-xs .icon span {
    background-color: #b8874d;
}


.main-card-xs .icon i {
    transform: rotate(-40deg);
    color: white;
    font-size: 24px;
}

.main-card-xs .icon:hover span {
    cursor: pointer;
    transform: scale(1.1);
}


.main-card-sm {
    width: 100%;

}

.main-card-sm .main-card-inner {
    position: relative;
    height: 300px;
    border-radius: 25px;
    overflow: hidden;
}

.main-card-sm .main-card-inner .box .img-box {
    position: absolute;
    inset: 0;
    transition: 0.3s all linear;
}

.main-card-sm .main-card-inner .box .img-box:hover {
    transform: scale(1.1);
}

.main-card-sm .main-card-inner .box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-card-sm .icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 84px;
    height: 84px;
    border-top-left-radius: 30px;
    padding: 12px;
    background-color: #fdf4e9;
}

.main-card-sm .icon::after {
    position: absolute;
    content: "";
    top: -18px;
    right: 0;
    background: transparent;
    width: 18px;
    height: 18px;
    border-bottom-right-radius: 30px;
    box-shadow: 10px 10px 0 6px #fdf4e9;
}

.main-card-sm .icon::before {
    position: absolute;
    content: "";
    bottom: 0;
    left: -18px;
    background: transparent;
    width: 18px;
    height: 18px;
    border-bottom-right-radius: 30px;
    box-shadow: 10px 10px 0 6px #fdf4e9;
}

.main-card-sm .icon span {
    /* transform: rotate(-40deg); */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 25px;
    background-color: #fdf4e9;
    transition: 0.3s all linear;
}

.main-card-sm .icon span {
    background-color: #b8874d;
}


.main-card-sm .icon i {
    transform: rotate(-40deg);
    color: white;
    font-size: 24px;
}

.main-card-sm .icon:hover span {
    cursor: pointer;
    transform: scale(1.1);
}