/* Existing restaurant design: variance 3, motion 2, density 5. Preserve Bootstrap, brand type and red/cream surfaces. */
.cart-page + .site-footer, .account-page + .site-footer, .home-promo-section + .site-footer { margin-top: 0 !important; }
.cart-page { padding-bottom: 48px; }
.header-default .cart-icon-wrap { position: relative; display: inline-flex; align-items: center; }
.header-default .header-cart-count { position: absolute; top: -7px; right: -9px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 10px; background: #fff; color: var(--primary); font-size: 10px; font-weight: 700; line-height: 1; pointer-events: none; }
.header-default .header-cart-count[hidden] { display: none; }
#btnSiparisTamam, #btnSiparisTamam:hover { border: 0; }
.cart-empty-state { max-width: 740px; margin: 0 auto; padding: 44px 32px; border: 1px solid var(--line); border-radius: 24px; background: #fbf7f2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cart-empty-icon { width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%; color: var(--primary); background: #fff; margin-bottom: 20px; font-size: 37px; }
.cart-empty-state h2 { font-size: 28px; line-height: 36px; margin-bottom: 10px; }
.cart-empty-state p { max-width: 420px; color: var(--text-3); font-size: 16px; line-height: 24px; margin-bottom: 24px; }
.cart-empty-state > .tf-btn { justify-content: center; gap: 12px; min-height: 48px; padding-inline: 28px; }
.cart-empty-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 24px; font-size: 13px; }
.cart-empty-categories a { color: var(--text-3); text-decoration: underline; text-underline-offset: 4px; }
.catalog-page { padding-block: 40px; }
.catalog-sidebar { position: sticky; top: 110px; border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: #fbf7f2; }
.catalog-sidebar-title { font-size: 18px; line-height: 26px; margin-bottom: 18px; }
.catalog-category-list { display: grid; gap: 8px; }
.catalog-category { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; min-height: 48px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; }
.catalog-category.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.catalog-category-count { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; font-size: 12px; background: #f8f4ef; color: var(--dark); font-weight: 500; }
.catalog-category.active .catalog-category-count { background: #fff; color: var(--primary); }
.catalog-shortcuts { display: grid; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.catalog-shortcuts a { display: flex; align-items: center; gap: 9px; }
.home-menu-section { padding-top: 36px; padding-bottom: 24px !important; }
.restaurant-hero .slider-wrap > .image img { object-position: right center; }
.home-promo-section { padding-block: 24px 44px; }
.menu-promo { position: relative; display: flex; align-items: center; overflow: hidden; min-height: 252px; border-radius: 22px; background: #f8f1e8; border: 1px solid var(--line); }
.menu-promo > .image { position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 2.5; }
.menu-promo > .image img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; mask-image: linear-gradient(to bottom, transparent, #000 25%); }
.menu-promo .content { position: relative; z-index: 1; width: 52%; padding: 28px; }
.menu-promo .content h5 { font-size: 25px; line-height: 30px; color: var(--dark); margin-bottom: 10px; }
.menu-promo .content p { font-size: 14px; line-height: 21px; color: var(--text-3); margin-bottom: 18px; }
.menu-promo .tf-btn { min-height: 42px; padding: 10px 18px; font-size: 13px; background: var(--primary); color: #fff; border-radius: 24px; justify-content: center; }
.account-page { padding-block: 36px; }
.account-page [hidden] { display: none !important; }
.account-page .main-content-account { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 28px; align-items: start; }
.account-page .sidebar-account-wrap { width: auto; max-width: none; padding: 0; margin: 0; border: 0; background: transparent; }
.account-page .my-account-nav { border: 1px solid var(--line); border-radius: 18px; padding: 8px; background: #fbf7f2; display: grid; gap: 5px; }
.account-page .my-account-nav li { border: 0; }
.account-page .my-account-nav a { display: flex; align-items: center; min-height: 46px; padding: 11px 14px; border-radius: 12px; color: var(--dark); background: transparent; font-size: 14px; font-weight: 600; }
.account-page .my-account-nav a.active { color: #fff; background: var(--primary); }
.account-page .my-account-nav a:hover:not(.active) { background: #fff; }
.account-page .my-acount-content, .account-page .my-account-content { min-width: 0; width: 100%; }
.account-page .account-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.account-section-head h2 { font-size: 24px; line-height: 32px; }
.account-section-head p { color: var(--text-3); font-size: 13px; }
.order-card-list { display: grid; gap: 16px; }
.order-history-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.order-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 14px; }
.order-number { font-size: 19px; line-height: 26px; font-weight: 700; }
.order-date { font-size: 13px; line-height: 20px; color: var(--text-3); margin-top: 4px; }
.order-status { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 24px; font-size: 12px; line-height: 18px; font-weight: 600; background: #f3f0ec; color: #5e554d; white-space: nowrap; }
.order-status.is-waiting { background: #fff3df; color: #825217; }
.order-status.is-approved { background: #ffebed; color: #b00917; }
.order-status.is-delivery { background: #edf3fc; color: #285693; }
.order-status.is-complete { background: #eaf5ec; color: #267240; }
.order-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 20px; }
.order-amount { font-size: 21px; line-height: 28px; font-weight: 700; }
.order-count { font-size: 13px; color: var(--text-3); margin-top: 3px; }
.order-detail-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid var(--line); border-radius: 24px; padding: 9px 17px; color: var(--primary); font-size: 13px; font-weight: 600; white-space: nowrap; }
.account-empty, .account-load-state { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fbf7f2; text-align: center; }
.account-empty h3 { font-size: 23px; line-height: 31px; margin-bottom: 10px; }
.account-empty p, .account-load-state p { color: var(--text-3); line-height: 23px; margin-bottom: 20px; }
.account-empty .tf-btn, .account-load-state .tf-btn { justify-content: center; }
.account-load-state[hidden], .account-empty[hidden], .order-detail-body[hidden] { display: none; }
.order-detail-page .back-to-orders { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 22px; color: var(--text-3); }
.order-detail-body { min-width: 0; }
.order-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-bottom: 22px; }
.order-detail-heading h1 { font-size: 28px; line-height: 36px; }
.order-detail-heading .order-date { margin-top: 6px; }
.order-progress { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; padding: 22px; background: #fbf7f2; border: 1px solid var(--line); border-radius: 20px; margin-bottom: 24px; }
.order-progress-step { text-align: center; color: #77716c; font-size: 12px; line-height: 18px; }
.order-progress-number { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 8px; border: 1px solid #d8d1ca; border-radius: 50%; background: #fff; font-size: 12px; }
.order-progress-step.is-done, .order-progress-step.is-current { color: var(--primary); font-weight: 600; }
.order-progress-step.is-done .order-progress-number, .order-progress-step.is-current .order-progress-number { background: var(--primary); border-color: var(--primary); color: #fff; }
.order-detail-columns { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 22px; align-items: start; }
.order-detail-main { display: grid; gap: 22px; min-width: 0; }
.order-panel { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: #fff; min-width: 0; }
.order-panel h2 { font-size: 18px; line-height: 25px; margin-bottom: 18px; }
.ordered-products { display: grid; gap: 16px; }
.ordered-product { display: grid; grid-template-columns: 68px minmax(0,1fr) auto; gap: 13px; align-items: center; }
.ordered-product img { width: 68px; height: 68px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #f8f4ef; }
.ordered-product-placeholder { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 12px; background: #f8f4ef; color: var(--text-3); font-size: 23px; }
.ordered-product + .ordered-product { padding-top: 16px; border-top: 1px solid var(--line); }
.ordered-product-name { font-size: 14px; line-height: 20px; font-weight: 600; }
.ordered-product-quantity { margin-top: 4px; font-size: 12px; line-height: 18px; color: var(--text-3); }
.ordered-product-price { font-size: 14px; font-weight: 600; white-space: nowrap; }
.order-address-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.order-address { font-style: normal; font-size: 14px; line-height: 23px; color: var(--text-3); overflow-wrap: anywhere; }
.order-address strong { display: block; color: var(--dark); margin-bottom: 5px; }
.order-summary { background: #fbf7f2; }
.order-summary dl { display: grid; gap: 12px; margin: 0; }
.order-summary dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; line-height: 21px; }
.order-summary dt { font-weight: 400; color: var(--text-3); }
.order-summary dd { margin: 0; font-weight: 600; text-align: right; }
.order-summary .order-grand-total { padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 18px; }
.order-grand-total dt { color: var(--dark); font-weight: 600; }
.order-grand-total dd { color: var(--primary); font-weight: 700; }
.order-vat-note { font-size: 12px; color: var(--text-3); line-height: 19px; margin-top: 12px; }
.order-payment { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.order-payment-label { font-size: 12px; color: var(--text-3); margin-bottom: 5px; }
.order-payment-value { font-size: 14px; font-weight: 600; }
@media (max-width: 1199px) {
    .catalog-sidebar { position: static; margin-bottom: 24px; padding: 18px; }
    .catalog-category-list { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .catalog-shortcuts { display: flex; flex-wrap: wrap; gap: 18px; }
    .account-page .main-content-account { grid-template-columns: 200px minmax(0,1fr); gap: 22px; }
    .order-detail-columns { grid-template-columns: minmax(0,1fr); }
    .order-address-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 991px) {
    .account-page .main-content-account { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .account-page .sidebar-account-wrap { position: static !important; }
    .account-page .my-account-nav { grid-template-columns: repeat(4,minmax(0,1fr)); padding: 6px; }
    .account-page .my-account-nav a { min-height: 44px; font-size: 13px; padding: 9px; justify-content: center; text-align: center; }
    .order-detail-columns { grid-template-columns: minmax(0,1fr) 280px; }
}
@media (max-width: 767px) {
    .header-default .nav-icon .nav-search { display: none !important; }
    .cart-page { padding-bottom: 32px; }
    .restaurant-hero .slider-wrap { position: relative; min-height: 500px; background: #101010; }
    .restaurant-hero .slider-wrap > .image { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(210px, 64vw, 250px); overflow: hidden; mask-image: linear-gradient(to bottom, transparent, #000 24%); }
    .restaurant-hero .slider-wrap > .image img { position: absolute; right: 0; bottom: 0; width: auto; max-width: none; height: 100%; min-height: 0; object-fit: contain; object-position: right bottom; }
    .restaurant-hero .box-content { top: 50px; transform: none; }
    .restaurant-hero .box-content .container { padding-inline: 22px; }
    .restaurant-hero .box-content .row > div { width: 100%; }
    .restaurant-hero .content-slider { margin: 0; gap: 18px; }
    .restaurant-hero .heading { max-width: 310px; font-size: 27px; line-height: 34px; }
    .restaurant-hero .box-btn-slider { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
    .restaurant-hero .box-btn-slider .tf-btn { min-width: 0; min-height: 40px; padding: 9px 8px; margin: 0 !important; font-size: clamp(10px, 3vw, 12px); line-height: 18px; justify-content: center; white-space: nowrap; }
    .restaurant-hero .wrap-pagination { bottom: 16px; }
    .cart-empty-state { padding: 30px 20px; border-radius: 20px; }
    .cart-empty-icon { width: 72px; height: 72px; font-size: 31px; margin-bottom: 16px; }
    .cart-empty-state h2 { font-size: 23px; line-height: 31px; }
    .cart-empty-state p { font-size: 14px; line-height: 22px; margin-bottom: 20px; }
    .cart-empty-categories { gap: 10px 16px; font-size: 12px; }
    .catalog-page { padding-top: 24px; }
    .catalog-category-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .catalog-category { padding: 10px; font-size: 12px; }
    .catalog-sidebar-title { font-size: 16px; margin-bottom: 13px; }
    .home-menu-section .menu-product-swiper .swiper-wrapper { height: auto; align-items: stretch; }
    .home-menu-section .menu-product-swiper .swiper-slide { height: auto !important; }
    .home-menu-section .menu-product-swiper .card-product { height: 100%; padding: 10px; }
    .home-menu-section .menu-product-swiper .card-product-wrapper { aspect-ratio: 1; }
    .home-menu-section .menu-product-swiper .card-product-wrapper img { width: 100%; height: 100%; object-fit: cover; }
    .home-menu-section .menu-product-swiper .card-product-info { padding: 12px 0 0; }
    .home-menu-section .menu-product-swiper .name-product { font-size: 13px; line-height: 18px; display: block; }
    .home-menu-section .menu-product-swiper .price-wrap { font-size: 13px; line-height: 19px; min-height: 38px; }
    .card-product .price-wrap, .card-product .price-wrap .price-new, .card-product .price-wrap .price-old { font-size: clamp(10px, 3vw, 12px); line-height: 18px; }
    .home-menu-section .menu-product-swiper .tf-btn { font-size: 13px; min-height: 40px; padding: 9px 5px; justify-content: center; }
    .home-menu-section .menu-product-swiper .list-product-btn { display: none; }
    .home-menu-section .sw-dot-default { margin-top: 18px; }
    .home-promo-section { padding-block: 20px 30px; }
    .menu-promo { min-height: 214px; border-radius: 18px; }
    .menu-promo .content { width: 55%; padding: 21px 18px; }
    .menu-promo .content h5 { font-size: 19px; line-height: 24px; margin-bottom: 7px; }
    .menu-promo .content p { font-size: 12px; line-height: 18px; margin-bottom: 12px; }
    .menu-promo .tf-btn { font-size: 12px; padding: 8px 12px; min-height: 38px; }
    .account-page { padding-block: 24px 30px; }
    .account-page .my-account-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .account-page .my-account-nav a { font-size: 13px; }
    .account-section-head h2 { font-size: 22px; line-height: 29px; }
    .order-history-card { padding: 18px; border-radius: 18px; }
    .order-number { font-size: 17px; }
    .order-card-bottom { margin-top: 18px; }
    .order-amount { font-size: 19px; }
    .order-detail-page .back-to-orders { margin-bottom: 18px; }
    .order-detail-heading h1 { font-size: 24px; line-height: 32px; }
    .order-progress { padding: 18px 12px; gap: 5px; margin-bottom: 20px; }
    .order-progress-step { font-size: 11px; line-height: 16px; }
    .order-detail-columns { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .order-detail-main { gap: 18px; }
    .order-panel { padding: 18px; border-radius: 18px; }
    .order-panel h2 { font-size: 17px; margin-bottom: 16px; }
    .ordered-product { grid-template-columns: 62px minmax(0,1fr); gap: 10px 12px; }
    .ordered-product img { width: 62px; height: 62px; grid-row: span 2; }
    .ordered-product-placeholder { width: 62px; height: 62px; grid-row: span 2; }
    .ordered-product-price { grid-column: 2; margin-top: -6px; }
    .order-address-grid { gap: 18px; }
    .account-empty, .account-load-state { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-menu-section *, .account-page *, .cart-empty-state * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
