/* ============================================
   MODERN OVERRIDES
   Clean, contemporary e-commerce design
   ============================================ */

/* ── Product Cards — Full Rework ──────────── */

.th-product {
    text-align: left;
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    position: relative;
}

.th-product:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
    border-color: transparent;
}

.th-product .product-img {
    background: linear-gradient(160deg, #fafafa 0%, #f0ece4 100%);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.th-product .product-img img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.th-product:hover .product-img img {
    transform: scale(1.06);
}

.th-product .product-img::after {
    display: none;
}

/* Floating action buttons — pill at bottom */
.th-product .product-actions {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(60px);
    display: flex;
    gap: 6px;
    z-index: 3;
    opacity: 0;
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.th-product:hover .product-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    color: var(--title-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 15px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.product-action-btn:hover {
    background: var(--theme-color);
    color: var(--white);
    transform: none;
}

/* Product text */
.th-product .product-title {
    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    padding: 14px 16px 4px;
    line-height: 1.4;
    color: var(--title-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.th-product .product-title a {
    color: inherit;
}

.th-product .product-title a:hover {
    color: var(--theme-color);
}

.th-product .price {
    display: block;
    color: var(--theme-color);
    font-weight: 800;
    font-size: 18px;
    padding: 2px 16px 16px;
    font-family: var(--body-font);
}

/* ── Menu Cards — Full Rework ─────────────── */

.menu-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    height: 100%;
    position: relative;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
    border-color: transparent;
}

.menu-card-img {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(160deg, #fafafa 0%, #f0ece4 100%);
    position: relative;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.06);
}


/* Price badge — subtle dark pill */
.menu-price {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    z-index: 2;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

.menu-card:hover .menu-price {
    background: rgba(0, 0, 0, 0.85);
}

.menu-card-body {
    padding: 16px 18px 20px;
}

.menu-card-body h4 {
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.35;
    color: var(--title-color);
}

.menu-card-body p {
    font-size: 13px;
    color: var(--body-color);
    margin-bottom: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Menu WP-Style Layout ─────────────────── */

.menu-wp-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 32px;
    align-items: start;
}

.menu-side-img {
    border-radius: 16px;
    overflow: hidden;
    position: sticky;
    top: 120px;
}

.menu-side-img img {
    width: 100%;
    height: auto;
    display: block;
}

.menu-list-center {
    padding: 0 8px;
}

.menu-list-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    align-items: flex-start;
}

.menu-list-item:last-child {
    border-bottom: none;
}

.menu-list-thumb {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--smoke);
}

.menu-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-list-info {
    flex: 1;
    min-width: 0;
}

.menu-list-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.menu-list-header h4 {
    font-family: var(--body-font);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    color: var(--title-color);
}

.menu-list-dots {
    flex: 1;
    border-bottom: 2px dotted var(--border-color);
    min-width: 20px;
    margin-bottom: 6px;
}

.menu-list-price {
    font-family: var(--body-font);
    font-size: 20px;
    font-weight: 800;
    color: var(--title-color);
    white-space: nowrap;
}

.menu-list-info p {
    font-size: 13px;
    color: var(--body-color);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1199px) {
    .menu-wp-layout {
        grid-template-columns: 1fr 3fr 1fr;
    }
}

@media (max-width: 991px) {
    .menu-wp-layout {
        grid-template-columns: 1fr;
    }
    .menu-side-img {
        display: none;
    }
    .menu-list-center {
        padding: 0;
    }
}

/* ── Blog Cards — Rework ──────────────────── */

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
    border-color: transparent;
}

.blog-card-img {
    height: 200px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 20px;
}

.blog-date {
    font-size: 12px;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.blog-card-body h4 {
    font-family: var(--body-font);
    font-size: 17px;
    font-weight: 700;
    margin: 10px 0 0;
    line-height: 1.4;
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.blog-card-link .blog-card-body h4 {
    color: var(--title-color);
    transition: color 0.2s ease;
}

.blog-card-link:hover .blog-card-body h4 {
    color: var(--theme-color);
}

.blog-card-body h4 a { color: var(--title-color); }
.blog-card-body h4 a:hover { color: var(--theme-color); }

.blog-read-more {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 20px;
    border: 1.5px solid var(--title-color);
    color: var(--title-color);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    background: var(--title-color);
    color: var(--white);
}

.blog-category {
    display: inline-block;
    font-size: 11px;
    color: var(--body-color);
    font-weight: 600;
    margin-left: 12px;
    text-transform: lowercase;
    letter-spacing: 0;
    background: none;
    padding: 0;
}

.blog-date {
    font-size: 12px;
    color: var(--light);
    text-transform: lowercase;
}

.blog-sep {
    color: var(--border-color);
    margin: 0 6px;
    font-size: 12px;
}

/* ── Event Cards — Rework ─────────────────── */

.event-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    height: 100%;
}

.bg-dark-section .event-card {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

.bg-dark-section .event-card:hover {
    background: rgba(255,255,255,0.06);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.event-card-img {
    height: 200px;
    overflow: hidden;
}

.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.event-card:hover .event-card-img img {
    transform: scale(1.05);
}

.event-card-body {
    padding: 22px;
}

.event-card-body h4 {
    font-family: var(--body-font);
    font-size: 18px;
    font-weight: 700;
}

/* ── Filter Buttons — Pill ────────────────── */

.menu-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 9px 22px;
    border: 1.5px solid rgba(0,0,0,0.1);
    background: transparent;
    font-weight: 600;
    font-size: 13px;
    color: var(--body-color);
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: none;
    font-family: var(--body-font);
    border-radius: 50px;
    letter-spacing: 0;
}

.filter-btn:hover {
    border-color: var(--theme-color);
    color: var(--theme-color);
    background: rgba(250, 133, 7, 0.06);
}

.filter-btn.active {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(250, 133, 7, 0.25);
}

/* ── Sidebar — Cleaner ────────────────────── */

.shop-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    margin-bottom: 32px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 24px;
}

.sidebar-widget h4 {
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 12px;
    margin-bottom: 16px;
    position: relative;
    color: var(--title-color);
}

.sidebar-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--theme-color);
    border-radius: 1px;
}

.sidebar-widget h4::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 36px;
    width: 6px;
    height: 2px;
    background: var(--theme-color);
    border-radius: 1px;
}

.search-form {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid rgba(0,0,0,0.08);
    transition: border-color 0.2s ease;
}

.search-form:focus-within {
    border-color: var(--theme-color);
}

.search-form input {
    flex: 1;
    padding: 11px 14px;
    border: none;
    font-size: 14px;
    outline: none;
    font-family: var(--body-font);
    background: transparent;
}

.search-form button {
    padding: 11px 16px;
    background: var(--theme-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
}

.search-form button:hover {
    background: var(--theme-color2);
}

.category-list li a {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: var(--body-color);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.category-list li:last-child a {
    border-bottom: none;
}

.category-list li a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 8px;
    margin-right: 10px;
    color: var(--gray);
    transition: all 0.2s ease;
}

.category-list li a:hover,
.category-list li a.active {
    color: var(--theme-color);
    padding-left: 4px;
}

.category-list li a:hover::before,
.category-list li a.active::before {
    color: var(--theme-color);
}

/* ── Buttons — Modern ─────────────────────── */

.th-btn {
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 28px;
    min-width: auto;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    background: var(--title-color);
    border: 2px solid var(--title-color);
}

.th-btn:hover {
    background: var(--theme-color);
    border-color: var(--theme-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.th-btn::before {
    display: none;
}

.th-btn.style2 {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 50px;
}

.th-btn.style2:hover {
    background: var(--white);
    color: var(--title-color);
}

.th-btn.style-border {
    background: transparent;
    border: 2px solid var(--title-color);
    color: var(--title-color);
    border-radius: 50px;
}

.th-btn.style-border:hover {
    background: var(--title-color);
    color: var(--white);
}

/* ── Info Bar — Matching WP ───────────────── */

.info-bar {
    background: var(--white);
    padding: 48px 0;
}

.info-bar-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.info-bar-col {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    padding: 0 32px;
    border-right: 1px solid var(--border-color);
}

.info-bar-col:last-child {
    border-right: none;
}

.info-icon-circle {
    width: 56px;
    height: 56px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    color: var(--title-color);
    transition: all 0.3s ease;
}

.info-bar-col:hover .info-icon-circle {
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.info-bar-col h5 {
    font-family: var(--body-font);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--title-color);
}

.info-bar-col p {
    margin: 0;
    color: var(--body-color);
    font-size: 14px;
}

.info-bar-col p a {
    color: var(--body-color);
}

.info-bar-col p a:hover {
    color: var(--theme-color);
}

/* Notice banner — full width, big centered text */
.notice-banner {
    background: var(--white);
    padding: 36px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.notice-banner p {
    margin: 0;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    font-family: var(--title-font);
    color: var(--title-color);
    line-height: 1.5;
}

@media (max-width: 991px) {
    .info-bar-grid {
        flex-direction: column;
        gap: 24px;
    }
    .info-bar-col {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0 0 24px;
    }
    .info-bar-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .notice-banner p {
        font-size: 18px;
    }
}

/* ── Section Titles — Cleaner ─────────────── */

.section-title h2 {
    font-family: var(--body-font);
    font-weight: 800;
    font-size: 32px;
    letter-spacing: -0.5px;
}

.sub-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--body-font);
    color: var(--theme-color);
}

.title-line {
    width: 40px;
    height: 3px;
    background: var(--theme-color);
    border-radius: 2px;
    margin: 12px auto 0;
}

.title-line::after,
.title-line::before {
    display: none;
}

/* Tighter section spacing */
.section-space {
    padding: 60px 0;
}

.section-desc {
    font-size: 16px;
    color: var(--body-color);
    max-width: 550px;
    margin: 12px auto 0;
    line-height: 1.7;
}

.section-title {
    margin-bottom: 32px;
}

/* ── Hero — Cleaner ───────────────────────── */

.hero-title {
    font-family: var(--body-font);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-tagline {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
}

/* ── Empty States ─────────────────────────── */

.empty-state,
.empty-cart {
    padding: 60px 20px;
    text-align: center;
}

.empty-state i,
.empty-cart i {
    display: block;
    font-size: 48px;
    color: var(--border-color);
    margin-bottom: 16px;
}

.empty-state h4,
.empty-cart h3 {
    font-family: var(--body-font);
    font-weight: 700;
}

/* ── Shop Toolbar ─────────────────────────── */

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 20px;
}

.results-count {
    font-size: 13px;
    color: var(--light);
    font-weight: 500;
}

/* ── Page Header — Subtle ─────────────────── */

.page-header {
    padding: 160px 0 50px;
}

.page-header h1 {
    font-family: var(--body-font);
    font-weight: 800;
    font-size: 36px;
}

.breadcrumb-nav {
    font-size: 14px;
    font-weight: 500;
}

/* ── Contact — Modern ─────────────────────── */

.contact-info-box {
    border-radius: 20px;
}

.contact-info-item .icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.contact-form-box {
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: none;
}

.contact-form .form-control {
    border-radius: 10px;
    border: 1.5px solid rgba(0,0,0,0.08);
    padding: 13px 16px;
    font-size: 14px;
}

.contact-form .form-control:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(250, 133, 7, 0.08);
}

/* ── Cart — Modern ────────────────────────── */

.cart-table {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}

.cart-table th {
    background: var(--smoke);
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--light);
}

.cart-totals {
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
}

/* ── Footer — Modern ──────────────────────── */

.footer-widget h4 {
    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo-img {
    max-height: 70px;
    margin-bottom: 24px;
}

.footer-bottom {
    font-size: 13px;
}

/* ── Hero Slider ──────────────────────────── */

.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
}

.hero-slide.active {
    display: flex;
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 10;
    pointer-events: none;
}

.hero-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: var(--white);
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav-btn:hover {
    background: rgba(255,255,255,0.3);
}

.hero-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--white);
    width: 28px;
    border-radius: 5px;
}

/* ── Promo Banner ─────────────────────────── */

.promo-banner {
    position: relative;
    z-index: 1001;
}

/* ── Promo Popup ──────────────────────────── */

.promo-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.promo-popup {
    position: relative;
    max-width: 500px;
    width: 100%;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    animation: slideUp 0.4s cubic-bezier(.4,0,.2,1);
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.promo-popup h3 {
    font-family: var(--body-font);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: inherit;
}

.promo-popup p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0;
}

.promo-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.promo-popup-close:hover {
    opacity: 1;
}

/* ── Global Smoothing ─────────────────────── */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--theme-color);
    color: var(--white);
}
