/*
Theme Name: Grand Restaurant Child
Theme URI: http://themes.themegoods2.com/grandrestaurant
Description: Premium Cafe & Restaurant Theme
Version: 1.0
Tags: yellow, white, responsive-layout, custom-header, custom-background, threaded-comments, translation-ready, editor-style, custom-menu
Author: ThemeGoods
Author URI: http://themeforest.net/user/ThemeGoods
License: GNU General Public License
License URI: http://themeforest.net/licenses/regular_extended
Text Domain: grandrestaurant
Template: grandrestaurant
*/

@import "../grandrestaurant/style.css";

.elementor-79 .elementor-element.elementor-element-3e3efe5:not(.elementor-motion-effects-element-type-background), .elementor-79 .elementor-element.elementor-element-3e3efe5 > .elementor-motion-effects-container > .elementor-motion-effects-layer{
    background-color: #0e1730 !important;
}


/* ===== Custom Dynamic Food Menu (Spaced Layout) ===== */
.custom-food-menu {
  color: #fff;
  padding: 80px 30px;
  max-width: 1250px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Main Category ---------- */
.menu-main-category {
  margin-bottom: 100px;
}

.menu-main-heading {
  font-size: 2.4rem;
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
}

.menu-divider {
  width: 25px;
  height: 2px;
  background: #EA9B29;
  margin: 0 auto 60px auto;
}

/* ---------- Layout: Sidebar + Content ---------- */
.menu-layout {
  display: flex;
  gap: 5%;
  align-items: flex-start;
  position: relative;
}

.menu-sidebar {
  flex: 0 0 18%;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 25px;
  position: sticky !important;
  top: 120px;
  align-self: flex-start;
}

.menu-subcat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-subcat-list li {
  margin-bottom: 20px;
}

.menu-subcat-list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.6px;
  transition: color 0.3s ease;
  display: inline-block;
}

.menu-subcat-list a:hover,
.menu-subcat-list a:focus {
  color: #EA9B29;
}

/* ---------- Content Area ---------- */
.menu-content {
  flex: 1;
}

.menu-sub-category {
  margin-bottom: 70px;
  scroll-margin-top: 120px;
}

.menu-sub-heading {
  font-size: 1.6rem;
  text-transform: uppercase;
  color: #EA9B29;
  margin-bottom: 35px;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

/* ---------- Menu Items Grid ---------- */
.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 80px;
}

@media (max-width: 992px) {
  .menu-layout {
    flex-direction: column;
    gap: 3%;
  }

  .menu-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 25px;
    margin-bottom: 40px;
    position: static;
  }

  .menu-items-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .menu-main-category {
    margin-bottom: 70px;
  }
}

/* ---------- Individual Menu Item ---------- */
.menu-item {
  padding: 10px 0 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.menu-item-title {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  line-height: 1.3;
  max-width: 70%;
}

.menu-item-price {
  font-size: 1.15rem;
  font-weight: 400;
  color: #EA9B29;
  white-space: nowrap;
}

.menu-item-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
  padding-right: 10px;
  letter-spacing: 0.1rem;
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 80px);
}

/* Desktop/Laptop: Vertical Layout */
.rk-qty-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #EA9B29;
  border-radius: 6px;
  background-color: transparent;
  padding: 8px 12px;
  min-width: 60px;
  vertical-align: top;
  margin-left: 20px;
}

/* Buttons */
.rk-qty-wrapper .qty-btn {
  width: 100%;
  padding: 4px 0;
  border: none;
  text-align: center;
  background: transparent;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.25s ease;
}

.rk-qty-wrapper .qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.rk-qty-wrapper .qty-btn:hover:not(:disabled) {
  color: #EA9B29;
}

/* Quantity Label */
.rk-qty-wrapper .qty-count {
  text-align: center;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  padding: 4px 0;
  min-width: 30px;
}

/* Mobile: Horizontal Layout */
@media (max-width: 768px) {
    .menu-sidebar {
        display: none !important;
    }
    
    .menu-item-desc {
        display: block;
        width: 100%;
        margin-bottom: 12px;
    }
    
    /* Horizontal layout for mobile */
    .rk-qty-wrapper {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-left: 0;
        padding: 8px 16px;
        min-width: auto;
    }
    
    .rk-qty-wrapper .qty-btn {
        width: 32px;
        height: 32px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .rk-qty-wrapper .qty-count {
        min-width: 40px;
        padding: 0;
    }
}
/* ===============================
   CART PAGE STYLES - FULL WIDTH LAYOUT
   =============================== */

#rk-cart-page {
    background-color: #0e1730;
    min-height: 100vh;
    padding: 60px 20px;
    color: #fff;
}

.rk-cart-container {
    max-width: 1200px;
    margin: 0 auto;
}

.rk-cart-title {
    font-size: 2rem;
    text-align: left;
    letter-spacing: 1px;
    margin-bottom: 40px;
    color: #EA9B29;
    text-transform: capitalize;
    font-weight: 400;
}

/* Top Section - Cart Items & Summary Side by Side */
.rk-cart-top-section {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-bottom: 40px;
}

/* Left Column - Cart Items */
.rk-cart-items-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#rk-cart-items-wrapper {
    margin: 0;
}

.rk-cart-loading {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    padding: 60px 20px;
}

.rk-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease;
}

.rk-cart-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.rk-cart-item:last-child {
    border-bottom: none;
}

.rk-cart-item-info {
    flex: 1;
    padding-right: 20px;
}

.rk-cart-item-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02rem;
    margin-bottom: 6px;
    color: #fff;
    line-height: 1.4;
}

.rk-cart-item-price {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.rk-cart-item-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Quantity Controls - Horizontal */
.rk-cart-qty-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0;
    min-width: auto;
}

.rk-cart-qty-wrapper .qty-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    font-weight: 400;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rk-cart-qty-wrapper .qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.rk-cart-qty-wrapper .qty-btn:hover:not(:disabled) {
    color: #EA9B29;
    background: rgba(212, 165, 116, 0.1);
}

.rk-cart-qty-wrapper .qty-count {
    text-align: center;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    padding: 0 12px;
    min-width: 32px;
}

.rk-cart-item-subtotal {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 500;
    min-width: 80px;
    text-align: right;
}

/* Delete Button */
.rk-cart-item-delete {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.rk-cart-item-delete:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

/* Right Column - Order Summary */
.rk-cart-summary-section {
    align-self: start;
}

#rk-cart-summary {
    background: rgba(255, 255, 255, 0.02);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rk-summary-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: 0.02rem;
}

.rk-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rk-summary-row:last-child {
    border-bottom: none;
}

.rk-summary-row.rk-subtotal {
    padding-top: 0;
}

.rk-summary-row.rk-total {
    padding-top: 16px;
    margin-top: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.rk-summary-row.rk-total span:last-child {
    color: #EA9B29;
    font-size: 1.3rem;
}

/* Bottom Section - Checkout Form (Full Width) */
.rk-cart-bottom-section {
    width: 100%;
}

#rk-checkout-section {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rk-checkout-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 32px;
    letter-spacing: 0.02rem;
}

/* Form Grid Layout */
.rk-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.rk-form-group {
    margin-bottom: 0;
}

.rk-form-group.full-width {
    grid-column: 1 / -1;
}

.rk-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    letter-spacing: 0.02rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.rk-form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.rk-form-group input:focus {
    outline: none;
    border-color: #EA9B29;
    background: rgba(255, 255, 255, 0.06);
}

.rk-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Time Picker */
.rk-time-picker {
    position: relative;
}

.rk-time-display {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.rk-time-display:hover {
    border-color: #EA9B29;
    background: rgba(255, 255, 255, 0.06);
}

.time-icon {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

#selected-time {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
}

.rk-time-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #1a2744;
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 10px;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.rk-time-selectors {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.rk-time-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rk-time-column label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #EA9B29;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.rk-scroll-list {
    height: 160px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 4px;
}

.rk-scroll-list::-webkit-scrollbar {
    width: 5px;
}

.rk-scroll-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.rk-scroll-list::-webkit-scrollbar-thumb {
    background: #EA9B29;
    border-radius: 3px;
}

.time-option {
    padding: 10px;
    text-align: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.time-option:hover {
    background: rgba(212, 165, 116, 0.15);
    color: #fff;
}

.time-option.selected {
    background: #EA9B29;
    color: #0e1730;
    font-weight: 600;
}

.rk-time-confirm {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1.5px solid #EA9B29;
    border-radius: 8px;
    color: #EA9B29;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rk-time-confirm:hover {
    background: rgba(212, 165, 116, 0.1);
}

/* Place Order Button */
.rk-checkout-btn {
    width: 100%;
    padding: 16px;
    background: transparent !important;
    border: 1px solid #EA9B29;
    border-radius: 8px;
    color: #EA9B29;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.rk-checkout-btn:hover {
    background: rgba(212, 165, 116, 0.1) !important;
    border: 1px solid #EA9B29 !important;
    color: #EA9B29 !important;
}

.rk-checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Promo Code Section */
.rk-promo-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rk-promo-title {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-weight: 400;
}

.rk-promo-input-group {
    display: flex;
    gap: 12px;
}

.rk-promo-input-group input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
}

.rk-promo-input-group input:focus {
    outline: none;
    border-color: #EA9B29;
    background: rgba(255, 255, 255, 0.06);
}

.rk-promo-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.rk-promo-apply-btn {
    padding: 12px 28px;
    background: transparent;
    border: 1.5px solid #EA9B29;
    border-radius: 8px;
    color: #EA9B29;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.rk-promo-apply-btn:hover {
    background: rgba(212, 165, 116, 0.1);
}

/* Empty Cart */
#rk-empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rk-empty-message {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    font-weight: 400;
}

.rk-continue-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #EA9B29;
    border: none;
    color: #0e1730;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.rk-continue-btn:hover {
    background: #c89860;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .rk-cart-top-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .rk-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #rk-cart-page {
        padding: 40px 0px;
    }
    
    .rk-cart-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .rk-cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
    
    .rk-cart-item-info {
        width: 100%;
        padding-right: 0;
    }
    
    .rk-cart-item-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .rk-cart-item-subtotal {
        text-align: left;
    }
    
    #rk-cart-summary,
    #rk-checkout-section {
        padding: 24px 20px;
    }
    
    .rk-summary-title,
    .rk-checkout-title {
        font-size: 1.2rem;
    }
    
    .rk-time-selectors {
        gap: 8px;
    }
    
    .rk-scroll-list {
        height: 140px;
    }
    
    .rk-promo-input-group {
        flex-direction: column;
    }
    
    .rk-promo-apply-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .rk-cart-qty-wrapper .qty-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .rk-cart-qty-wrapper .qty-count {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .rk-cart-item-delete {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}
