/* Fonts */

.cinzel-thin {
    font-family: "Lora", serif;
    font-weight: 100;
    font-style: normal;
}

.cinzel-extralight {
    font-family: "Lora", serif;
    font-weight: 200;
    font-style: normal;
}

.cinzel-light {
    font-family: "Lora", serif;
    font-weight: 300;
    font-style: normal;
}

.cinzel-regular {
    font-family: "Lora", serif;
    font-weight: 400;
    font-style: normal;
}

.cinzel-medium {
    font-family: "Lora", serif;
    font-weight: 500;
    font-style: normal;
}

.cinzel-semibold {
    font-family: "Lora", serif;
    font-weight: 600;
    font-style: normal;
}

.cinzel-bold {
    font-family: "Lora", serif;
    font-weight: 700;
    font-style: normal;
}

.cinzel-extrabold {
    font-family: "Lora", serif;
    font-weight: 800;
    font-style: normal;
}

.cinzel-black {
    font-family: "Lora", serif;
    font-weight: 900;
    font-style: normal;
}

.cinzel-thin-italic {
    font-family: "Lora", serif;
    font-weight: 100;
    font-style: italic;
}

.cinzel-extralight-italic {
    font-family: "Lora", serif;
    font-weight: 200;
    font-style: italic;
}

.cinzel-light-italic {
    font-family: "Lora", serif;
    font-weight: 300;
    font-style: italic;
}

.cinzel-regular-italic {
    font-family: "Lora", serif;
    font-weight: 400;
    font-style: italic;
}

.cinzel-medium-italic {
    font-family: "Lora", serif;
    font-weight: 500;
    font-style: italic;
}

.cinzel-semibold-italic {
    font-family: "Lora", serif;
    font-weight: 600;
    font-style: italic;
}

.cinzel-bold-italic {
    font-family: "Lora", serif;
    font-weight: 700;
    font-style: italic;
}

.cinzel-extrabold-italic {
    font-family: "Lora", serif;
    font-weight: 800;
    font-style: italic;
}

.cinzel-black-italic {
    font-family: "Lora", serif;
    font-weight: 900;
    font-style: italic;
}

/* Html elements */

body {
    width: 100vw !important;
    font-family: "Lora", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: whitesmoke;
    overflow-x: hidden !important;
}

header {
    width: 100vw;
    background-color: transparent;
    padding: 1rem 0;
    position: absolute;
    top: 0;
}

a {
    text-decoration: none;
    color: white;
    align-items: center;
    justify-content: center;
    align-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

footer {
    position: relative;
    bottom: 0;
    width: 100vw;
    min-height: 20vh;
    color: white;
    z-index: 1;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    z-index: -1; /* keeps content above */
}

footer * {
    position: relative; /* ensures footer content stays above overlay */
    z-index: 2;
}

/* Custom elements */

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 100px 0 100px;
    padding: 0 1rem;
}

.bg-top {
    width: 100vw;
    height: 50vh;
    position: absolute;
    top: 0;
    z-index: -1;
}

.bg-top-phone {
    width: 100%;
    height: 50vh;
    position: absolute;
    top: 0;
    z-index: -1;
}

.number-tag {
    position: absolute;
    top: -4px;
    right: -15px;
    width: 20px;
    height: 20px;
    background-color: black;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    padding-left: 1px;
}

.carousel-item img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 10px;
}

.carousel-caption-left {
    position: absolute;
    top: 5rem;
    left: 5rem;
    text-align: left;
}

.product-menu-link {
    color: #BFBFBF !important;
}

.product-menu-link:hover {
    color: #d4b037 !important;
}

.active {
    color: #d4b037 !important;
}

.product-description {
    height: 100px;
    padding: 2rem;
}

.product-color-bg {
    position: absolute;
    top: 10rem;
    width: 100vw;
    height: 55vh;
    z-index: -1;
}

@media (max-width: 768px) {
    .product-color-bg {
        height: 38vh;
    }
}

.blog-image {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    object-fit: cover;
    object-position: center;
}

.doc-link {
    margin-left: 2rem;
    transition: 0.3s ease-in-out;
}

.doc-link:hover {
    color: rgba(255, 255, 255, 0.5);
}

.nav-link {
    color: white;
}

.nav-link:hover {
    color: #d4b037 !important;
}

.nav-link:active {
    color: #d4b037 !important;
}

.nav-link:focus {
    color: #d4b037 !important;
}

.bordered-div-yellow {
    background-color: #f5e5ca !important;
    border: 2px solid #F3B63F;
    border-radius: 16px;
}

.icon-div-yellow {
    background-color: #F3B63F;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 12px;
}

.bordered-div-pink {
    background-color: #f3cdd4 !important;
    border: 2px solid #eb798d;
    border-radius: 16px;
}

.icon-div-pink {
    background-color: #eb798d;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 12px;
}

.bordered-div-blue {
    background-color: #d1dbeb !important;
    border: 2px solid #88ade6;
    border-radius: 16px;
}

.icon-div-blue {
    background-color: #88ade6;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 12px;
}

/* Cointainer sizes */

.w-h-100px {
    width: 100px;
    height: auto;
}

.vw-40 {
    width: 40vw;
}

.vw-50 {
    width: 50vw;
}

.vw-60 {
    width: 60vw;
}

.vw-70 {
    width: 70vw;
}

.vw-80 {
    width: 80vw;
}

.w-60 {
    width: 60%;
}

.vh-30 {
    height: 30vh;
}

.vh-40 {
    height: 40vh;
}

.vh-50 {
    height: 50vh;
}

.vh-55 {
    height: 55vh;
}

.vh-60 {
    height: 60vh;
}

.vh-70 {
    height: 70vh;
}

.vh-80 {
    height: 80vh;
}

/* Margins */

.mt-8 {
    margin-top: 8rem;
}

.mt-7 {
    margin-top: 7rem;
}

.mt-6 {
    margin-top: 6rem;
}

.mr-5px {
    margin-right: 5px;
}

/* Paddings */

.page-padding {
    padding-left: 20vw;
    padding-right: 20vw;
}

@media (max-width: 768px) {
    .page-padding {
        padding-left: 10vw;
        padding-right: 10vw;
    }
}

.pr-5 {
    padding-right: 5rem !important;
}

.pl-5 {
    padding-left: 5rem !important;
}

/* Buttons */

/* Base button style */
.ambrosa-button {
    min-width: 127px;
    min-height: 48px;
    text-align: center;
    font-weight: bold;
    color: white !important;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    z-index: 10;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .ambrosa-button {
        min-width: 100px;
        min-height: 32px;
        padding: 10px;
        font-size: 12px;
    }

    .ambrosa-button-transparent {
        min-width: 100px;
        min-height: 32px !important;
        padding: 10px;
        font-size: 12px;
    }

    .product-count-select {
        width: 60px !important;
        min-height: 32px !important;
        padding: 10px !important;
    }
}

.ambrosa-button-transparent {
    min-width: 127px;
    min-height: 48px;
    text-align: center;
    font-weight: bold;
    color: white;
    padding: 20px;
    box-shadow: rgb(0, 0, 0);
    border-radius: 40px;
    z-index: 10;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.ambrosa-button-transparent:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.5);
}

.product-count-select {
    width: 80px;
    min-height: 48px;
    text-align: center;
    font-weight: bold;
    color: black;
    padding: 20px;
    box-shadow: rgb(0, 0, 0);
    border-radius: 40px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 1);
    transition: background-color 0.3s ease;
}

.product-count-select:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.product-count-select:focus {
    background-color: white;
}

.product-count-select:visited {
    background-color: white;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: inner-spin-button;
    margin: 0;
    opacity: 1;
}

input[type=number] {
    -moz-appearance: textfield; /* Hide spin buttons in Firefox */
}

input[type=number]::-moz-focus-outer {
    border: 0;
}

/* Colors */

.green {
    color: #24A59E !important;
}

.white {
    color: white;
}

.pink {
    color: #EE7C92;
}

.yellow {
    color: #d4b037 !important;
}

.black {
    color: black !important;
}

.light-blue {
    color: #6492D8 !important;
}

.blue {
    color: #3F92F3 !important;
}

.gray {
    color: #BFBFBF !important;
}

.gold {
    color: #D8B764 !important;
}

/* Background colors */

.bg-whitesmoke {
    background-color: whitesmoke;
}

.bg-black {
    background-color: black;
}

.bg-yellow {
    background-color: #d4b03730;
}

.bg-pink {
    background-color: #eeccd248;
}

.bg-purple {
    background-color: #D5C5EB;
}

.bg-light-blue {
    background-color: #C5D4EB;
}

.bg-blue {
    background-color: #9DD8F1;
}

.bg-gray {
    background-color: #e9e9e9;
}

.bg-gold {
    background-color: #eec53115;
}

.bg-dark-gray {
    background-color: #272727;
}

.bg-green {
    background-color: #64d87b15;
}

/* Other */

.z-1 {
    z-index: 1;
}

.horizontal-overflow-hidden {
    overflow-x: hidden !important;
}

/* Horizontal scroll */

.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For IE and Edge */
    white-space: nowrap; /* Ensure content stays on one line */
    flex-wrap: nowrap; /* Ensures items stay aligned and centered */
}

.horizontal-scroll::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

.product-item {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    padding: auto;
}

.product-category-container {
    flex: 0 0 auto; /* Prevent shrinking or stretching */
    width: 120px; /* Set the width of each product container */
    text-align: center;
    padding: 10px; /* Padding for inner spacing */
    border-radius: 10px; /* Optional: Add border radius for styling */
    transition: transform 0.2s ease-in-out; /* Optional: Add some hover effect */
}

.product-description {
    padding: 5px
}

.navbar-toggler {
    outline: none;
    box-shadow: none;
    border: none;
}


.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
    border: none;
}

.border-none {
    outline: none;
    box-shadow: none;
    border: none;
}

/* Hide the native checkbox */
.ambrosa-checkbox {
    appearance: none; /* Removes the default checkbox appearance */
    -webkit-appearance: none;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid black;
    border-radius: 4px; /* Optional for rounded corners */
    position: relative;
}

/* Checked state style */
.ambrosa-checkbox:checked {
    background-color: black; /* The fill color when checked */
}

/* Optional: Add a checkmark icon or custom style */
.ambrosa-checkbox:checked::after {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
    top: 0px;
    left: 4px;
}

.message {
    width: 50vw;
    height: 10vh;
    position: fixed;
    z-index: 1000;
    margin: 10px;
    top: 0;
    left: 50vw;
    right: 0;
}

#session-message {
    transition: opacity 1s ease-out; /* Controls the fade-out duration and easing */
}

#session-message.fade-out {
    opacity: 0;
}

@media (max-width: 768px) {
    .message {
        width: 100vw;
        min-height: 20vh;
        position: fixed;
        z-index: 1000;
        margin: 0;
        padding: 0;
        top: 0;
        left: 0;
        right: 0;
    }
}

.description-container {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(transparent, whitesmoke);
    pointer-events: none;
}

.toggle-description {
    color: black;
    text-decoration: underline;
    font-weight: bolder;
    margin-bottom: 50px;
    text-align: center;
    font-size: 1rem;
}

.search-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    min-height: 100vh; /* Limit height to the viewport */
    z-index: 100;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column; /* Stack items vertically */
    background-color: rgba(39, 39, 39, 0.8);
    backdrop-filter: blur(5px);
    overflow: hidden; /* Prevent body scrolling */
    transition: height 0.3s ease;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

/* Optional hover effect for clear icon */
.search-close:hover {
    color: #333; /* Change color on hover */
}

.search-input-container {
    position: absolute;
    top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%; /* Adjust based on container width */
}

.search-products-container {
    position: absolute;
    top: 200px;
    flex-grow: 1; /* Allow it to grow dynamically */
    overflow-y: auto; /* Enable scrolling if content overflows */
    box-sizing: border-box;
    padding-bottom: 50px/* Ensure padding doesn't affect width */
}

@media (max-width: 768px) {
    .search-input-container {
        width: 90%
    }

    .search-close {
        top: 30px;
        right: 20px;
    }
}

.search-input {
    width: 100%;
    height: 50px;
    padding: 0 50px; /* Space for icons */
    border: none;
    border-radius: 25px;
    outline: none;
    background-color: #ffffff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: #333;
}

.search-input::placeholder {
    color: #aaa;
    font-style: italic;
}

/* Search icon */
.search-icon {
    position: absolute;
    top: 12px;
    left: 16px; /* Adjust for alignment */
    font-size: 20px; /* Adjust icon size */
    color: #aaa; /* Icon color */
    pointer-events: none; /* Prevent interaction */
}

/* Clear icon */
.clear-icon {
    position: absolute;
    top: 13px;
    right: 16px; /* Adjust for alignment */
    font-size: 20px; /* Adjust icon size */
    color: #aaa; /* Icon color */
    cursor: pointer;
    display: none; /* Initially hidden */
    transition: color 0.3s;
}

/* Optional hover effect for clear icon */
.clear-icon:hover {
    color: #333; /* Change color on hover */
}

.navbar-brand {
    z-index: 200 !important;
}

.no-arrows,
.no-arrows::-webkit-inner-spin-button,
.no-arrows::-webkit-outer-spin-button {
    -webkit-appearance :none;
    margin: 0;
    -moz-appearance: none;
}

.tags-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: right;
    justify-content: end;
    justify-items: end;
    padding: 20px;
}

.btn-small {
    min-width: 65px !important;
    min-height: 45px !important;
    padding: 5px 10px !important;
    font-size: 14px !important;
}

@media (max-width: 768px) {
    .tags-container {
        padding: 10px;
    }

    .btn-small {
        min-width: 50px !important;
        min-height: 30px !important;
        padding: 3px 6px !important;
        font-size: 10px !important;
    }
}

.img-rounded {
    border-radius: 5%;
}

/* Checkout Steps */

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.checkout-step {
    flex: 1;
    text-align: center;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.checkout-step.active {
    opacity: 1;
}

.checkout-step.completed {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.checkout-step.active .step-number {
    background-color: #272727;
    color: white;
}

.checkout-step.completed .step-number {
    background-color: #4caf50;
    color: white;
}

.step-label {
    font-size: 12px;
    font-weight: 500;
}

.checkout-step.active .step-label {
    color: #272727;
    font-weight: bold;
}

.checkout-step.completed .step-label {
    color: #4caf50;
}

.step-connector {
    flex: 1;
    height: 3px;
    margin: 0 10px;
    margin-top: -20px;
}

.connector-line {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    transition: all 0.3s ease;
}

.step-connector.completed .connector-line {
    background-color: #4caf50;
}

@media (max-width: 768px) {
    .step-label {
        font-size: 10px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* Checkout Steps Component */
.checkout-steps-container {
    margin: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center !important;
}

@media (max-width: 767px) {
    .checkout-steps-container {
        align-items: flex-start !important;
    }
}

.checkout-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 120px;
    text-align: center;
}

@media (max-width: 767px) {
    .checkout-step-item {
        height: 160px;
    }

    .checkout-step-label {
        height: 3em;
    }
}

.checkout-step-button {
    /* Based on ambrosa-button but with custom sizing */
    text-align: center;
    font-weight: bold;
    color: white !important;
    box-shadow: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    z-index: 10;
    /* Custom sizing for checkout steps */
    width: 50px;
    height: 50px;
    padding: 0;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.checkout-step-button:hover:not(:disabled) {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.checkout-step-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.checkout-step-label {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.checkout-step-divider {
    border-top: 2px solid #272727;
    border-left: none;
    border-bottom: none;
    border-right: none;
    width: 60px;
    height: 45px;
    margin: 0 15px;
    align-self: center;
    display: none;
}

@media (min-width: 768px) {
    .checkout-step-divider {
        display: block;
    }
}

/* Delivery Method Selection */
.delivery-option {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    padding: 10px;
    margin-bottom: 10px;
}

.delivery-option:hover {
    border-color: #D4AF37;
    background-color: #f9f9f9;
}

.delivery-option-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    gap: 10px;
}

.delivery-label {
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivery-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    max-width: 100px;
}

/* Custom Radio Button Styling */
.delivery-radio {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #272727;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    margin: 0;
    flex-shrink: 0;
}

.delivery-radio:checked {
    border-color: #D4AF37;
    background-color: #D4AF37;
}

.delivery-radio:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

.delivery-option:has(.delivery-radio:checked) {
    border-color: #D4AF37;
    background-color: #fff9e6;
}

@media (max-width: 767px) {
    .delivery-option {
        padding: 8px;
    }
    
    .delivery-option-inner {
        min-height: 50px;
    }
    
    .delivery-logo {
        height: 35px;
        max-width: 80px;
    }
    
    .delivery-radio {
        width: 16px;
        height: 16px;
    }
}

/* Text alignment for mobile devices */
@media (max-width: 768px) {
    /* Product descriptions */
    .description-container p,
    .description-container p * {
        text-align: justify !important;
    }
    
    /* Post descriptions - long text content (target the description paragraph specifically) */
    .row.page-padding.bg-whitesmoke p.scroll-up {
        text-align: justify !important;
    }
    
    /* Category descriptions */
    .row.page-padding .mt-2.scroll-up,
    .row.page-padding.pt-4 .mt-2.scroll-up {
        text-align: justify !important;
    }
    
    /* General long text paragraphs in page content areas */
    .row.page-padding p {
        text-align: justify !important;
    }
}
