/* ===== VARIABLES & BASE ===== */
:root {
    --primary:      #353cff;
    --black:        #000000;
    --radius:       16px;
    --radius10:     10px;
    --accent:       #FFD166;
}
/*******HERO********/
.hero-heading{
    color: #518ce5 !important;
    margin-bottom: 1rem !important;
    font-size: 32px !important;
    text-transform: capitalize !important;
}
.sub-hero-heading{
    font-size: 16px !important;
}
/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #353cff 0%, #4244ff 50%, #66a8ff 100%);
    border-radius: var(--radius);
    padding: 36px 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
    /* margin-bottom: 20px; */
}
.blank-hero {
    background: #FFFFFF !important;
}
.hero::before {
    content: '';
    position: absolute;
    right: -30px; top: -30px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    right: 60px; bottom: -60px;
    width: 140px; height: 140px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}
.hero h1 { font-size: 30px; font-weight: 700; margin: 0 0 8px; line-height: 1.2; }
.hero p  { font-size: 14px; opacity: .9; margin: 0 0 18px; }
.hero-badge {
    background: rgba(255,255,255,.25);
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 6px;
}

/*Header*/
.top-bar{
    color: #FFFFFF !important;
    background: #518de5 !important;
    border-bottom-color: #518de5 !important;
    border-bottom: 5px solid #F3CA4C;
}
/*Footer*/
.bg-gray-800 {
    background: var(--primary) !important;
    border-top: 1px solid var(--primary) !important;
}
.text-gray-300{
    color: #FFFFFF !important;
    font-size: 18px;
}
/*NavBar*/
.navbar{
    background-color: #ffffff !important;
    border-bottom: 1px solid #d0d0d0;
    padding: 0.1rem 1rem !important;
}
.navbar > div > div > ul > li a {
    color: #979797;
    font-size: 14px !important;
}
.navbar > div > div > div > div i {
    color: #3470c9 !important;
}
.navbar > div > div > div > div > a i {
    color: #3470c9 !important;
}
.navbar-light .navbar-nav .nav-link.active{
    color: #333333 !important;
}
.nav-link:hover{
    color: #000000 !important;
}
.second-color{
    color: #979797 !important;
}
.third-color{
    color: #565555 !important;
}
/*Bottom*/
.main-footer > div:nth-child(2) {
    background-color: #ffffff !important;
}
.main-footer > div:nth-child(2) > div > div > div > div {
    color: #000 !important;
}
.main-footer > div:nth-child(2) > div > div > div > h6 {
    color: #000 !important;
}
.main-footer > div:nth-child(2) > div > div > div > p {
    color: #000 !important;
}
.main-footer > div:nth-child(2) > div > div > div > form > div input {
    color: #000 !important;
    border-color: #000 !important;
}
.main-footer > div:nth-child(2) > div > div > div > form > div > div > button {
    border-color: #000 !important;
}
.main-footer > div:nth-child(2) > div > div > div > form > div > div > button i {
    color: #000 !important;
}
.main-footer > div:nth-child(2) > div > div > div > ul > li a {
    color: #000 !important;
}
a{
    color: #979797;
    text-decoration: none !important;;
    background-color: transparent !important;;
}
a:hover{
    color: #000000 !important;
}
.bg-danger{
    background-color: #333333 !important;
}
.text-primary {
    color: #333333 !important;
}
.text-secondary{
    color: #000000 !important;
}
a.btn-primary{
    /*color: #fff !important;*/
    background-color: #518de5 !important;
    border-color: #518de5 !important;
}
.btn-primary{
    /*color: #fff !important;*/
    background-color: #518de5;
    border-color: #518de5;
}
.btn-outline-primary{
    border-color: #000000 !important;
    color: #000000 !important;
}
.btn-outline-primary:hover{
    background-color: #333333 !important;
    color: #FFFFFF !important;
}
.btn-primary:hover{
    background-color: #30568d !important;
    border-color: #30568d !important;
    color: #FFFFFF !important;
}
.custom-nav .nav-link.active {
    color: #30568d !important;
}
.custom-nav .nav-link {
    letter-spacing: 0 !important;
}
a.text-primary:hover, a.text-primary:focus {
    color: #000000 !important;
}
.navbar-brand {
    color: #000000 !important;
    padding-top: 0px !important;
}
.bg-gray-100 {
    background-color: #fff !important;
}
.bg-primary {
    background-color: #333333 !important;
}
.bg-secondary {
    background: var(--primary) !important;
}
.text-white {
    color: #ffffff !important;
}
.btn-color {
    background: #333333 !important;
    color: #ffffff;
}
.required {
    color: #ff0000 !important;
}
/**sub-header*/
.sub-header-label{
    margin-top: 10px;
    font-weight: bold;
}
.btn.active{
    background-color: #333333 !important;
    border-color: #333333 !important;
}
.table-information tbody > tr td {
    background-color: #333333 !important;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}
.table-information tbody > tr td {
    /*text-align: right !important;*/
    /*font-size: 16px !important;*/
    background-color: #FFFFFF !important;
    /*color: #FFFFFF !important*/
}
.profile-user-img {
    margin: 0 auto;
    width: 100px;
    padding: 3px;
    border: 3px solid #d2d6de;
}
.cart-remove {
    font-size: 18px !important;
}
.btn-handle-item {
    font-size: 18px !important;
}
/* ===== FONTS ===== */
.font-8 {
    font-size: 8px;
}
.font-10 {
    font-size: 10px;
}
.font-12 {
    font-size: 12px;
}
.font-14 {
    font-size: 14px;
}
.font-16 {
    font-size: 16px;
}
.font-18 {
    font-size: 18px;
}
.font-20 {
    font-size: 20px;
}
.font-22 {
    font-size: 22px;
}
.font-24 {
    font-size: 24px;
}
.font-26 {
    font-size: 26px;
}
.font-28 {
    font-size: 28px;
}
.font-30 {
    font-size: 30px;
}
.font-48 {
    font-size: 48px;
}
.font-align-left {
    text-align: left;
}
.font-align-right {
    text-align: right;
}
.font-align-center {
    text-align: center;
}
/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #eee;
    overflow: hidden;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.product-img {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
}
.product-img-carousel {
    width: 100%;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
}
.img-product-listed {
    width: 50% !important;
    align-items: center;
    justify-content: center;
}
.product-info { padding: 12px 14px 14px; }
.product-name { font-size: 14px; font-weight: 600; margin: 0 0 3px; color: #1a1a1a; }
.product-desc { font-size: 12px; color: #888; margin: 0 0 10px; text-transform: capitalize; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.price { font-size: 16px; font-weight: 700; color: var(--black); }
.product-image {
    border-bottom: 0 !important;
}
.product-code {
    color: #fff;
    border-radius: 5px;
    background-color: #333333;
    text-align: center;
}
.product {
    margin-bottom: 0px !important;
    border-radius: var(--radius) !important;
    border: 1px solid #eee !important;
}
/* ===== PRODUCTS GRID ===== */
.add-btn {
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s;
    font-weight: bold;
}
.add-btn:hover {
    background-color: #0d6020 !important;
    color: #ffffff !important;
}
.section-content {
    margin-top: 25px;
}
/* ===== CATEGORY CHIPS ===== */
.category-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 22px;
    scrollbar-width: none;
}
.category-chips::-webkit-scrollbar { display: none; }
.chip {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
    color: #444;
    user-select: none;
}
.chip:hover, .chip.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.div-rounded {
    border-radius: 25px;
}
.view-more {
    border: 1px solid #cccccc;
}
/* ===== SEARCHING ===== */
.search-icon-btn {
    border-left: 1px solid #CCCCCC;
    border-top: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    padding: 8px 10px;
    font-size: 16px;
    background: #FFFFFF;
    color: #CCCCCC;
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
}
.search-icon-input {
    border-left: none !important;
    border-radius: var(--radius);
}
.product-collection {
    padding: 40px;
}
.img-rounded {
    border-radius: var(--radius10);
}
.btn-rounded {
    border-radius: var(--radius10);
}
#scrollTop {
    border: solid 1px #cccccc !important;
    border-radius: 30px !important;
}
.search-btn-content {
    padding-top: 25px;
}
.card-img {    
    width: 100%;
    /* height: 350px; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    border-radius: var(--radius10);
}
.customer-nav > a:hover {
    background-color: #eeeeee !important;
    font-weight: bold;
}

/* ===== FOODSHOP ===== */
/* ── Imagen / banner del plato ── */
.food-img-placeholder {
    width: 100%;
    height: 140px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    /* background: #f5f5f5; */
    margin-bottom: 12px;
    border: 1px solid #e8e8e8;
}

/* ── Opciones seleccionables ── */
.food-option {
    cursor: pointer;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
    transition: border-color 0.15s, background 0.15s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.food-option:hover          { border-color: #c0392b; background: #fdf5f5; }
.food-option.selected       { border-color: #c0392b; background: #fdf5f5; }
.food-option .option-emoji  { font-size: 22px; line-height: 1; }
.food-option .option-info   { flex: 1; }
.food-option .option-name   { font-weight: 600; font-size: 14px; color: #333; margin: 0; }
.food-option .option-desc   { font-size: 12px; color: #777; margin: 0; }
.food-option .option-price  { font-weight: 700; color: #c0392b; font-size: 14px; white-space: nowrap; }

/* ── Etiquetas de sección ── */
.section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #999;
    margin: 14px 0 6px;
}

/* ── Control de cantidad ── */
.qty-control               { display: flex; align-items: center; gap: 12px; }
.qty-control button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #c0392b;
    background: #fff;
    color: #c0392b;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.qty-control button:hover  { background: #c0392b; color: #fff; }
.qty-value                 { font-size: 18px; font-weight: 700; min-width: 26px; text-align: center; color: #333; }

/* ── Barra de total en el footer ── */
.total-bar {
    background: #f9f9f9;
    border-top: 1px solid #e8e8e8;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 6px 6px;
}
.total-label   { font-size: 14px; color: #777; margin-bottom: 2px; }
.total-price   { font-size: 24px; font-weight: 700; color: #c0392b; line-height: 1; }

/* ── Encabezado del modal ── */
.modal-header-custom {
    background: var(--primary);
    color: #fff;
    border-radius: 6px 6px 0 0;
    padding: 14px 20px;
}
.modal-header-custom .close { color: #fff; opacity: 1; font-size: 22px; }
.modal-header-custom h4     { margin: 0; font-weight: 700; font-size: 18px; }

/* ── Checkboxes ── */
.garni-check {
    accent-color: #c0392b;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

/* ===== PAGES ===== */
.page { display: none; padding: 24px 20px; max-width: 1100px; margin: 0 auto; }
.page.active { display: block; }

/* ===== TRACKING ===== */
.tracking-wrapper { max-width: 620px; margin: 0 auto; }

.order-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #eee;
    padding: 18px;
    margin-bottom: 16px;
}
.order-id-label  { font-size: 12px; color: #aaa; margin-bottom: 4px; }
.order-amount    { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.order-meta      { display: flex; gap: 14px; font-size: 12px; color: #888; margin-top: 10px; flex-wrap: wrap; }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* background: #d1fae5;
    color: #065f46; */
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
}

.map-box {
    background: #f7f6f3;
    border-radius: 12px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    border: 1px dashed #ddd;
    margin-top: 14px;
}
.map-box .map-icon { font-size: 34px; }
.map-box .map-label { font-size: 14px; font-weight: 600; color: #333; }
.map-box .map-sub   { font-size: 12px; color: #888; }

/* Stepper */
.steps { padding: 0 4px; }
.step  {
    display: flex;
    gap: 16px;
    padding-bottom: 28px;
    position: relative;
}
.step:last-child { padding-bottom: 0; }

.step-line {
    position: absolute;
    left: 19px; top: 40px; bottom: 0;
    width: 2px;
    background: #e5e5e5;
}
.step:last-child .step-line { display: none; }

.step-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    z-index: 1;
    border: 2px solid transparent;
}
.step-icon.done    { background: #d1fae5; border-color: #10b981; }
.step-icon.current { background: var(--primary-light); border-color: var(--primary); }
.step-icon.pending { background: #f5f5f5; border-color: #ddd; filter: grayscale(1); opacity: .5; }

.step-body { padding-top: 8px; }
.step-name { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.step-name.current { color: var(--primary); }
.step-time { font-size: 12px; color: #aaa; margin-top: 2px; }
.step-desc { font-size: 12px; color: #888; margin-top: 2px; }

.order-items-list { display: flex; flex-direction: column; gap: 12px; }
.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}
.order-item .oi-emoji { font-size: 26px; }
.order-item .oi-name  { flex: 1; font-weight: 600; color: #1a1a1a; }
.order-item .oi-qty   { color: #aaa; font-size: 12px; }
.order-item .oi-price { font-weight: 700; color: var(--primary); }

.product-related {
    border: 1px solid #cccccc;
    border-radius: 10px;
    text-align: center !important;
    margin: 5px;
}

.product-hover-overlay .btn.btn-buy {
    color: #000 !important;
}

/* ===== FOODSHOP ===== */

/* ===== PROMO STRIP ===== */
.promo-strip {
    background: var(--accent);
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}
.promo-text  { font-size: 13px; font-weight: 700; color: #7c4a00; }
.promo-sub   { font-size: 11px; color: #7c4a00; }
.promo-code  {
    background: #7c4a00;
    color: var(--accent);
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

@media only screen and (max-width: 991px) {
    .home-full-slider-wrapper{
        min-height: 0px !important;
    }
}
@media only screen and (max-width: 767px) {
    .home-full-slider-wrapper{
        min-height: 0px !important;
    }
}