/*
Theme Name: Croissant - Creative Bakery and Pastry Business One Page HTML5 Template
Theme URI: http://envalab.com/html/croissant
Author: THE ENVALAB TEAM
Author URI: http://envalab.com/
Description: Croissant - Creative Bakery and Pastry Business One Page HTML5 Template is a Creative, Unique, Rich and Modern template especially designed for Pastries, Bakeries and all type of Patisserie Businesses. It's a One Page HTML5 Template, that contains everything any type of Patisserie business needs. Keep your every single detail is simple way in one page and efficient for your readers.
Version: 1.0
*/

/**
 *** Table of Content ***
 * Top-bar Area
 * Menu Area
 * Home Area
 * Home Sub Section
 * Bakery Area
 * Baked Area
 * About Us Area
 * Discount Section
 * Testimonial Section
 * Our Bakers Area
 * Contact Us Area
 * Popular Goods Area
 * Footer Area
 * Return Top CSS
 * Pre Loader Style
 **/


/**
font-family: 'Roboto', sans-serif;
font-family: 'Rancho', cursive;
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body, html {
    font-family: 'Montserrat', sans-serif;
}

/* Top-bar Area */
.top-bar {
    background: #fc7790 none repeat scroll 0 0;
    color: #fff;
    padding: 10px 0;
}
.social-icon a {
    background: #fff none repeat scroll 0 0;
    border-radius: 50%;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: 30px;
    color: #fc7790;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    margin-right: 5px;
}
.top-address {
    line-height: 30px;
}
.single-address span {
    padding-right: 5px;
    color: #feb1bf;
}
.language-options select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent none repeat scroll 0 0;
    border: 0 none;
    width: 160px;
    text-align: left;
    padding-left: 10px;
}
.language-options {
    background: rgba(0, 0, 0, 0) url("img/lan.png") no-repeat scroll 93% 61%;
    position: relative;
}
.language-options::before {
    content: "";
    font-family: fontawesome;
    left: 0;
    position: absolute;
    top: 0;
    color: #feb1bf;
}
.social-icon a:hover {
    background: #494949 none repeat scroll 0 0;
}
/* END of Top-bar Area */


/* Menu Area */
.navbar-area {
    padding: 20px 0;
    background: #fff;
    z-index: 45;
}
.is-sticky .navbar-area {
    box-shadow: 0 3px 5px pink;
    background: #fff none repeat scroll 0 0;
    z-index: 555;
}
.navbar-brand {
    padding: 0;
}
.menu {
    padding-top: 9px;
}
.menu li a {
    border: 2px solid transparent;
    border-radius: 50px;
    color: #494949;
    margin-left: 5px;
    padding: 6px 25px;
    transition: .3s;
}
.menu li a:hover,
.menu li.active a {
    border-color: #494949;
    color: #494949;
}
.menu li a span {
    padding-right: 5px;
}
/* END of Menu Area*/

/* Home Area */
.home-area {
    position: relative;
}
.home-single-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-image-slider .slick-prev,
.home-image-slider .slick-next {
    background: rgba(255,255,255,0.06);
    border: 0;
    border-radius: 50%;
    color: #fff;
    height: 50px;
    width: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .3s, transform .15s;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.home-image-slider .slick-prev { left: 2%; }
.home-image-slider .slick-next { right: 2%; }

.home-image-slider .slick-prev::before,
.home-image-slider .slick-next::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
}

/* Inline SVG chevrons (modern, crisp on all devices). color driven by element color (#FFFFFF here). */
.home-image-slider .slick-prev::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 18 9 12 15 6'/></svg>");
}
.home-image-slider .slick-next::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>");
}

.home-image-slider .slick-arrow:hover,
.home-image-slider .slick-arrow:focus {
    background: rgba(255,255,255,0.06);
    transform: translateY(-50%) scale(1.05);
}
#homearea {
    height: 100%;
    /*z-index: -9;*/
}
.big-background-default-image {
    background-image: url(img/sunset.jpg);
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    width:100%;
    height:100%;
    z-index:0;
    backface-visibility:hidden
}
/* END of Home Area */

/* Home Sub Section */
.home-subsection {
    bottom: 0;
    position: absolute;
    width: 100%;
    background: rgba(0, 0, 0, .5);
}
.subsection-item {
    color: #ffffff;
    padding: 40px;
    transition: .4s;
}
.subsection-item h2 {
    color: #fff;
}
.subsection-item:hover {
    color: #494949;
    background: rgba(0, 0, 0, .5);
}
/* END of Home Sub Section */

/* Home hero & SVG blob styles */
.home-hero {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    text-align: center;
    width: auto;
    pointer-events: none;
    background: transparent; /* ensure no background box */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.home-hero .home-title {
    display: inline-block;
    pointer-events: auto;
    color: #fff;
    background: transparent;
    font-family: 'Rancho', 'Mrs Saint Delafield', 'Roboto', sans-serif;
    font-size: 100px;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-shadow: 0 3px 8px rgba(0,0,0,0.85), 0 10px 30px rgba(0,0,0,0.6); /* strong shadow for light images */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 1200px) {
    .home-hero .home-title { font-size: 84px; }
}

@media (max-width: 768px) {
    .home-hero { top: 30%; }
    .home-hero .home-title {
        font-size: 74px;         /* mobile size */
        padding: 6px 10px;
        text-shadow: 0 2px 6px rgba(0,0,0,0.85), 0 6px 18px rgba(0,0,0,0.6);
    }
}

svg {
    width: 30vw;
    max-width: 200px;
    pointer-events: auto;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));
}

svg path {
    cursor: pointer;
    animation: blob 3s infinite forwards;
    transform-origin: 50% 50%;
}

svg path:hover {
    fill: #fafafa;
}

svg text {
    font-size: 38px;
    font-style: italic;
}

/* Note: animating the 'd' attribute is not supported consistently in CSS across browsers.
   This keyframe block is added as requested; for reliable morphing consider using SMIL, JS (e.g. Snap.svg, GreenSock MorphSVG) or CSS paint worklets. */
@keyframes blob {
    25% {
        d: path("M 90 210 C 90 180 110 160 130 160 C 160 160 180 140 200 130 C 230 120 270 100 290 140 C 310 170 340 100 360 140 C 370 160 390 180 390 210 C 390 240 380 290 350 280 C 330 270 300 280 280 290 C 260 300 230 300 220 290 C 200 270 160 310 140 280 C 130 260 90 240 90 210 ");
        transform: rotate(-5deg);
    }
    50% {
        d: path("M 90 210 C 90 180 100 150 120 130 C 150 100 180 140 200 130 C 230 120 270 100 290 140 C 300 160 330 130 360 140 C 390 150 390 180 390 210 C 390 240 380 300 350 280 C 330 270 320 230 280 260 C 260 280 220 310 200 290 C 180 270 160 280 140 280 C 110 280 90 240 90 210");
    }
    75% {
        d: path("M 90 210 C 90 180 110 180 130 170 C 150 160 170 130 200 130 C 240 130 260 150 290 140 C 310 130 340 120 360 140 C 380 160 390 180 390 210 C 390 240 380 260 350 270 C 320 280 290 270 270 260 C 240 250 230 280 210 290 C 180 310 130 300 110 280 C 90 260 90 240 90 210");
        transform: rotate(5deg);
    }
}

/* Bakery Area */
.bakery-section {
    padding-bottom: 0;
}
.section-title-div {
    padding-bottom: 100px;
}
.section-title {
    color: #494949;
    position: relative;
    padding-bottom: 10px;
}
.section-title::before {
    bottom: 0;
    content: "";
    left: 50%;
    position: absolute;
    background: url(img/line.png) no-repeat;
    width: 82px;
    height: 6px;
    margin-left: -41px;
}
.single-bakery {
    background: rgba(255, 230, 234, 0.35) none repeat scroll 0 0;
    border: 1px solid #fee4e9;
    border-radius: 20px;
    padding: 50px 40px 30px;
    position: relative;
    margin-bottom: 20px;
}
.bakery-content {
    position: relative;
    z-index: 2;
    height: 240px;
}
.single-bakery h2 {
    color: #494949;
    padding: 25px 0;
    text-transform: capitalize;
    transition: .4s;
}
.bakery-img {
    background: #494949 none repeat scroll 0 0;
    border-radius: 20px;
    display: inline-block;
    height: 80px;
    left: 50%;
    line-height: 80px;
    margin-left: -40px;
    position: absolute;
    top: -40px;
    width: 80px;
    transition: .4s;
}
.single-bakery::before {
    border: 1px solid #f3f3f3;
    border-radius: 20px;
    content: "";
    height: 100%;
    left: 10px;
    position: absolute;
    top: 10px;
    width: 100%;
    z-index: 0;
}
.single-bakery:hover .item-title {
    color: #494949;
}
.single-bakery:hover {
    border-color: #494949;
}
.single-bakery:hover .bakery-img {
    background: #494949;
}
/* END of Bakery Area */

/* Baked Area */
.single-baked h2 {
    color: #fff;
    padding: 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    z-index: 10;
    text-shadow: 0 4px 12px rgba(0,0,0,0.75);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.45) inset;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.single-baked {
    margin-bottom: 50px;
    height: 300px;
    position: relative;
}
.single-baked img {
    border-radius: 0px 0px 0 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.single-baked p {
    background: #494949 none repeat scroll 0 0;
    color: #fff;
    padding: 5px 20px;
    overflow: hidden;
    border-radius: 0px 0px 0px 0px;
}
.single-baked p span.fa {
    float: left;
    line-height: 20px;
}
.single-baked p span.baked-price {
    float: right;
}
.baked-slider .slick-dots {
    text-align: center;
}
.baked-slider .slick-dots li {
    display: inline-block;
    margin-right: 10px;
}
.baked-slider .slick-dots li button {
    background: transparent;
    font-size: 0;
    height: 10px;
    width: 50px;
    border: 2px solid #d7d7d7;
    border-radius: 50px;
}
.baked-slider li.slick-active button {
    background: #494949;
    border: 0;
}
/* END of Baked Area */

/* About Us Area */
.long-title {
    margin-bottom: 35px;
    margin-top: 10px;
}

.long-title span {
    color: #494949;
}

.sign {
    font-family: 'Mrs Saint Delafield', cursive;
    font-size: 45px;
    margin-top: 30px;
}
/* END of About Us Area */

/* Discount Section */
.discount-sectoin {
    padding: 70px 0;
    background-image: url(img/descount.png);
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    background-size: cover;
    background-position: center top;
}
.discount-sectoin::before {
    background: #000 none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.6;
    position: absolute;
    top: 0;
    width: 100%;
}
.descout-content > p {
    background: rgba(73, 73, 73, 0.6) none repeat scroll 0 0;
    border-radius: 20px;
    display: inline-block;
    font-size: 24px;
    padding: 5px 20px;
}
.descout-content h2 {
    font-size: 80px;
}
.descount-button a {
    background: #494949 none repeat scroll 0 0;
    border-radius: 50px;
    color: #fff;
    display: inline-block;
    font-size: 18px;
    margin-top: 30px;
    padding: 15px 40px;
}
.descount-button a span {
    padding-right: 5px;
}
/* END of Discount Section */

/* Testimonial Section */
.testimonial-single {
    background: #fff6f8 none repeat scroll 0 0;
    border: 2px solid #fee4e9;
    border-radius: 20px;
    padding: 35px 20px;
    position: relative;
}
.client-name span {
    font-weight: 700;
}
.client-img {
    bottom: -50px;
    position: absolute;
    right: 9%;
}
.client-img img {
    width: auto;
    border-radius: 0;
}
.client-name {
    padding-top: 30px;
}
.testimonial-single::before {
    border: 2px solid #f3f3f3;
    border-radius: 15px;
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    top: 13px;
    width: 100%;
    left: 0;
}
.testimonial-content {
    position: relative;
    z-index: 5;
}
.testimonial-slider .slick-list {
    padding: 0 0 60px;
}
.testimonial-title h2 {
    border-bottom: 1px solid #eeeeee;
    color: #494949;
}
.testimonial-title h2::before {
    display: none;
}
.testimonial-title {
    margin-bottom: 30px;
}

.panel-heading::before {
    content: "";
    font-family: fontawesome;
    position: absolute;
    right: 5%;
    top: 10px;
    height: 17px;
    width: 17px;
    background: url(img/plus.png);
}
.panel-heading {
    position: relative;
    padding: 0;
}
h4.panel-title {
    color: #494949;
    font-family: roboto;
}
.panel-title a {
    display: block;
    padding: 10px;
}
.panel-heading.active::before {
    content: "";
    background: url(img/minus.png);
}
.panel-item {
    background: #fff6f8 none repeat scroll 0 0;
    border-radius: 15px;
}
.panel-body {
    border-top: 0 !important;
}
.panel-heading.active a {
    color: #494949;
    font-weight: 700;
}
.testimonial-slider .slick-dots li button {
    background: transparent none repeat scroll 0 0;
    border: 2px solid #fc859c;
    border-radius: 50%;
    font-size: 0;
    height: 13px;
    width: 13px;
}
.testimonial-slider .slick-dots li {
    display: inline-block;
    margin-right: 5px;
}
.testimonial-slider .slick-dots {
    bottom: 13px;
    position: absolute;
    width: 200px;
}
.testimonial-slider .slick-dots li.slick-active button {
    border-color: #c5a8de;
}
/* END of Testimonial Section */

/* Our Bakers Area */
.ourbakers-section .section-title {
    color: #494949;
}
.bakers-img {
    position: relative;
}
.bakers-img .social-link {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    transform: scale(0);
    transition: .3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px; /* brings the text closer to the icon */
    pointer-events: none; /* allow clicks only on the icon */
}

/* ensure the icon remains clickable */
.bakers-img .social-link a {
    pointer-events: auto;
}

/* value paragraph: no background, tighter spacing and larger text */
.bakers-img .social-link p.value-word {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 16px; /* increased size */
    line-height: 1;
    color: #fff; /* adjust as needed */
    pointer-events: none;
    text-transform: none;
}
.social-link a {
    background: #494949 none repeat scroll 0 0;
    border-radius: 50%;
    color: #fff;
    height: 50px;
    line-height: 50px;
    margin-left: 10px;
    text-align: center;
    transition: all 0.3s ease 0s;
    width: 50px;
}
.single-baker-item h2.item-title {
    padding: 15px 0;
    background: #fff;
}
.single-baker-item p {
    background: #494949 none repeat scroll 0 0;
    border-radius: 0 0 10px 10px;
    color: #fff;
    padding: 5px;
}
.social-link a:hover {
    color: #494949;
}
.bakers-img::before {
    background: rgba(190, 158, 218, 0) none repeat scroll 0 0;
    border-radius: 10px 10px 0 0;
    content: "";
    height: 100%;
    position: absolute;
    width: 100%;
    transform: translate(86px);
    transition: .3s;
    left: 0;
    top: 0;
}
.single-baker-item {
    transition: .3s;
    overflow: hidden;
}
.single-baker-item:hover .bakers-img::before {
    background: rgba(73, 73, 73, .9) none repeat scroll 0 0;
    transform: translate(0px)
}
.single-baker-item:hover .social-link {
    transform: scale(1);
}
.bakers-left-arrow {
    background: transparent none repeat scroll 0 0;
    border: 1px solid #e2e2e2;
    border-radius: 50%;
    bottom: 0;
    color: #e2e2e2;
    height: 50px;
    left: 45%;
    position: absolute;
    width: 50px;
    transition: .4s;
}
.bakers-right-arrow {
    background: transparent none repeat scroll 0 0;
    border: 1px solid #e2e2e2;
    border-radius: 50%;
    bottom: 0;
    color: #e2e2e2;
    height: 50px;
    position: absolute;
    right: 45%;
    width: 50px;
    transition: .4s;
}
.bakers-slider {
    padding-bottom: 90px;
}
.bakers-right-arrow:hover,
.bakers-left-arrow:hover {
    color: #494949;
    border-color: #494949;
}
/* END of Our Bakers Area */

/* Contact Us Area */
.address-list {
    color: #494949;
    font-size: 15px;
    margin-top: 35px;
}
.address-list span {
    color: #494949;
    width: 30px;
    text-align: left;
    display: inline-block;
}
.address-list li {
    padding-bottom: 20px;
}
.address-list li.mb0 {
    padding-bottom: 5px;
}
.contact-form {
    overflow: hidden;
}
.contact-form .success,
.contact-form .error {
    display: none;
}
.contact-form .success  {
    color: green;
}
.contact-form .error  {
    color: red;
}
.contact-form input {
    width: 100%;
    background: #f7f7f7;
    border: 2px solid #eaeaea;
    height: 45px;
    padding-left: 20px;
    margin-bottom: 10px;
    border-radius: 15px;
    color: #a9a9a9;
}
.contact-form select {
    width: 100%;
    height: 45px;
    border-radius: 15px;
    border: 2px solid #eaeaea;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-left: 20px;
    color: #a9a9a9;
    background: transparent;
}
.contact-form textarea {
    height: 120px;
    width: 100%;
    background: #f7f7f7;
    border: 2px solid #eaeaea;
    padding: 20px;
    border-radius: 20px;
    margin-top: 10px;
    color: #a9a9a9;
}
.send-button {
    background: #494949 none repeat scroll 0 0;
    border-radius: 50px;
    color: #fff;
    font-size: 18px;
    height: 45px;
    margin-top: 20px;
    text-transform: capitalize;
    width: 170px;
}
.send-button span {
    color: #feb1bf;
    font-size: 18px;
    margin-right: 5px;
}
.reasion-select {
    background-color: #f7f7f7;
    background-image: url("img/caret.png");
    background-position: 96% center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 15px;
}
.contact-bottom-section {
    bottom: -110px;
    position: relative;
    z-index: -1;
}
/* END of Contact Us Area */

/* Popular Goods Area */
.popular-item .section-title-div h2 {
    color: #fff;
}
.popular-item {
    background: #494949;
}
.single-item img {}
.single-item {
    position: relative;
    border: 2px solid #fff;
    border-radius: 15px;
}
.single-item::before {
    border: 2px solid #494949;
    border-radius: 15px;
    content: "";
    height: 100%;
    left: 10px;
    position: absolute;
    top: 10px;
    width: 100%;
    border-top: 0;
    border-left: 0;
}
.single-hover-item {
    height: 100%;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, .6);
    border-radius: 15px;
    transform: scale(0);
    transition: .4s;
}
.single-item:hover .single-hover-item {
    transform: scale(1);
}
.single-hover-item h2.home-title {
    color: #fff;
    line-height: 160px;
}
.popular-item-slider .slick-list {
    padding-bottom: 20px;
}
.popular-item-slider .slick-dots {
    text-align: center;
}
.popular-item-slider .slick-dots li {
    display: inline-block;
    margin-right: 5px;
}
.popular-item-slider .slick-dots li button {
    background: transparent none repeat scroll 0 0;
    border: 1px solid #494949;
    font-size: 0;
    height: 6px;
    width: 50px;
    border-radius: 50px;
}
.popular-item-slider .slick-dots li.slick-active button {
    background: #fff;
    border: 0;
}
/*END of Popular Goods Area */

/* Footer Area */
.footer-padding {
    padding-top: 30px;
    padding-bottom: 60px;
}
.footer-section p span {
    color: #494949;
}
.footer-section p a {
    color: #494949;
}
footer.footer-section p {
    line-height: 30px;
}
footer .social-link a:hover {
    background: #99866e none repeat scroll 0 0;
    color: #494949;
}
.whitecolor {
    background-color: #fff !important;
}
.lightcolor {
    background: #f7f7f7 !important;
}
.blanksection {
    background: #fff none repeat scroll 0 0;
    height: 50px;
    margin-bottom: -110px;
    position: relative;
}
/* END of Footer Area */

/* Return Top CSS */
#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    font-size: 30px;
    left: 15px;
    margin: 0;
    position: relative;
    top: 8px;
    transition: all 0.3s ease 0s;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}
/*END of Return Top CSS */

/* Pre Loader Style */
.js div#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 988899;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: #fff url('img/loader.gif') no-repeat center center;
}

/*POP UP CSS*/
/* POP UP - modern, accessible modal */
:root {
    --modal-bg: #ffffff;
    --backdrop: rgba(10, 10, 10, 0.55);
    --accent: #ff7a8a;
    --muted: #6b6b6b;
    --border: #e6e6e6;
    --surface: #fbfbfb;
    --radius: 12px;
    --shadow: 0 12px 30px rgba(8, 8, 8, 0.18);
}

/* Container: center with grid (robust for all sizes) */
.order-modal {
    position: fixed;
    inset: 0;
    z-index: 10000; /* ensure top-level stacking context */
    display: grid;
    place-items: center;
    align-items: center;      /* ensure vertical centering in all cases */
    justify-items: center;    /* ensure horizontal centering */
    padding: 20px;
    pointer-events: auto;
    min-height: 100vh;        /* guarantee full-viewport centering */
    /* on mobile address-bar variants, the following can be used if available:
       min-height: 100svh; */
}

/* Dim backdrop with subtle blur
   NOTE: use fixed inset to guarantee it fills the entire viewport */
.order-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998; /* placed below the dialog but above page content */
    background: var(--backdrop);
    backdrop-filter: blur(6px) saturate(1.02);
    -webkit-backdrop-filter: blur(6px) saturate(1.02);
    will-change: opacity;
}

/* Dialog: constrained width, scroll-safe, layered above backdrop */
.order-modal-dialog {
    position: relative;
    z-index: 10001; /* ensure dialog sits above the backdrop */
    width: min(92%, 520px);
    max-width: 520px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, var(--modal-bg), var(--surface));
    overflow: hidden;
    border: 1px solid var(--border);
    margin: auto; /* reinforce centering when content is smaller */
    align-self: center;
    justify-self: center;
}

/* Close button: large hit area, visible focus state */
.order-modal-close {
    position: absolute;
    right: 12px;
    top: 10px;
    border: 0;
    background: transparent;
    font-size: 32px;           /* slightly increased size */
    line-height: 1;
    cursor: pointer;
    color: var(--muted);
    padding: 8px;              /* larger hit area */
    border-radius: 10px;
    width: 40px;               /* explicit square hit area for consistency */
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.order-modal-close:hover { background: rgba(0,0,0,0.04); color: #333; }
.order-modal-close:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent);
    outline-offset: 2px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* Content area: scroll inside dialog when needed */
.order-modal-content {
    padding: 22px;
    text-align: center;
    overflow: auto;
}

/* Headings & notice */
.order-modal-content h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #222;
}
.important-notice {
    font-size: 13px;
    color: #2f2f2f;
    margin: 8px 0 14px;
    text-align: left;
    background: linear-gradient(90deg, rgba(255,243,236,1), rgba(255,250,248,1));
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,220,200,0.6);
}

/* Options: responsive grid for consistent layout */
.order-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 12px 0;
    align-items: center;
    justify-items: stretch;
}

/* Individual option: treat like an interactive control */
.order-option {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: #111;
    background: #fff;
    min-width: 0;
    justify-content: center;
    transition: transform .16s ease, box-shadow .16s ease, border-color .12s ease;
    cursor: pointer;
    user-select: none;
}
.order-option img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }

/* Hover / focus states */
.order-option:hover,
.order-option:active {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(18,18,18,0.08);
    border-color: rgba(0,0,0,0.06);
}
.order-option:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent);
    outline-offset: 2px;
    transform: translateY(-2px);
}

/* Actions row */
.order-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 6px 12px 18px;
}

/* Buttons: primary + cancel styles */
.order-cancel,
.order-confirm {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
}
.order-cancel {
    background: #fafafa;
    color: #333;
}
.order-confirm {
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 75%, #ffb3be));
    color: white;
    border: 0;
    box-shadow: 0 8px 20px rgba(255,122,138,0.18);
}
.order-cancel:hover { background: #f3f3f3; }
.order-confirm:hover { transform: translateY(-2px); }

/* Small screens: stack actions vertically if space is tight */
@media (max-width: 420px) {
    .order-actions { flex-direction: column-reverse; gap: 8px; width: 100%; }
    .order-confirm, .order-cancel { width: 100%; }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .order-option,
    .order-confirm,
    .order-modal-close { transition: none !important; transform: none !important; }
}