/*
Theme Name: Grand Plaza
Theme URI: https://ecosoft-sibiu.ro/
Description: Temă personalizată pentru Grand Plaza, dezvoltată de EcoSoft Sibiu.
Author: EcoSoft Sibiu
Author URI: https://ecosoft-sibiu.ro/
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grandplaza
Tags: woocommerce, restaurant, custom
*/

/* ─── Reset de bază ──────────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* ─── Header ─────────────────────────────────────────────────────────────── */
#site-header {
    background-color: #2e2e2e;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-header__inner {
    width: 100%;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 90px;
}

/* Logo */
.site-branding {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.site-branding a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-branding img {
    max-height: 75px;
    width: auto;
    display: block;
}

.site-branding__name {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

/* Navigare */
.primary-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.primary-navigation ul li {
    position: relative;
}

.primary-navigation ul li a {
    display: block;
    padding: 8px 14px;
    color: #bfbfbf;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.primary-navigation ul li a:hover,
.primary-navigation ul li.current-menu-item > a {
    color: #fff;
}

/* Coș header */
.site-header__cart-wrap {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.site-header__cart {
    position: relative;
    display: flex;
    align-items: center;
    color: #bfbfbf;
    text-decoration: none;
    transition: color 0.2s;
    flex-shrink: 0;
    padding: 4px;
}

.site-header__cart:hover {
    color: #fff;
}

.site-header__cart-count {
    position: absolute;
    top: -8px;
    right: -9px;
    background: #c8a97e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

/* ─── Mini-cart dropdown ───────────────────────────────────────────────── */
.site-header__minicart {
    position: absolute;
    top: calc(100% + 2px);
    right: -8px;
    width: 340px;
    background: #fff;
    border: 1px solid #e0d4c0;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    pointer-events: none;
    padding-top: 12px;
}

.site-header__minicart::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 18px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #e0d4c0;
    border-top: 1px solid #e0d4c0;
    transform: rotate(45deg);
}

/* Pod invizibil între icon și dropdown */
.site-header__cart-wrap::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 14px;
}

.site-header__cart-wrap:hover .site-header__minicart {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Conținut mini-cart WooCommerce */
.site-header__minicart .woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0 14px;
    max-height: 360px;
    overflow-y: auto;
}

.site-header__minicart .woocommerce-mini-cart__empty-message {
    padding: 24px 16px;
    color: #888;
    font-size: 13px;
    text-align: center;
    margin: 0;
}

/* Fiecare rând produs */
.site-header__minicart .woocommerce-mini-cart-item {
    position: relative;
    padding: 12px 28px 12px 0;
    border-bottom: 1px solid #f0e8da;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.site-header__minicart .woocommerce-mini-cart-item:last-child {
    border-bottom: none;
}

/* Buton × — poziționat absolut dreapta sus */
.site-header__minicart .woocommerce-mini-cart-item .remove {
    position: absolute;
    top: 12px;
    right: 0;
    color: #ccc;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s;
    padding: 2px;
}

.site-header__minicart .woocommerce-mini-cart-item .remove:hover {
    color: #c0392b;
}

/* Link produs vechi — nu mai există în template, regulă goală păstrată pentru claritate */

/* Date variație — în coloana dreaptă, fără margin-left */
.site-header__minicart .woocommerce-mini-cart-item dl.variation {
    margin: 3px 0 0 0;
    padding: 0;
    font-size: 11px;
    color: #999;
    line-height: 1.5;
}

.site-header__minicart .woocommerce-mini-cart-item dl.variation dt {
    display: inline;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.site-header__minicart .woocommerce-mini-cart-item dl.variation dt::after {
    content: ' ';
}

.site-header__minicart .woocommerce-mini-cart-item dl.variation dd {
    display: inline;
    margin: 0;
    padding: 0;
}

/* Fiecare dd urmat de un line break înainte de următorul dt */
.site-header__minicart .woocommerce-mini-cart-item dl.variation dd::after {
    content: '';
    display: block;
}

/* wpautop înfășoară valoarea în <p>, îl facem inline */
.site-header__minicart .woocommerce-mini-cart-item dl.variation p {
    display: inline;
    margin: 0;
}

/* Layout 2 coloane: stânga img+stepper+preț, dreapta nume+variații */
.site-header__minicart .woocommerce-mini-cart-item .quantity { display: none; }

.site-header__minicart .woocommerce-mini-cart-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* Coloana stângă: thumbnail + stepper + preț */
.site-header__minicart .gp-mc-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    width: 52px;
}

.site-header__minicart .gp-mc-left img {
    width: 52px !important;
    height: 52px !important;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e0d4c0;
    display: block;
    flex-shrink: 0;
}

.site-header__minicart .gp-mc-left a img {
    display: block;
}

.site-header__minicart .gp-mc-stepper {
    display: flex;
    align-items: center;
    border: 1px solid #e0d4c0;
    border-radius: 3px;
    overflow: hidden;
}

.site-header__minicart .gp-mc-btn {
    width: 16px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    padding: 0;
    flex-shrink: 0;
}

.site-header__minicart .gp-mc-btn:hover {
    background: #f5f0ea;
    color: #c8a97e;
}

.site-header__minicart .gp-mc-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.site-header__minicart .gp-mc-qty {
    min-width: 18px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #2e2e2e;
    border-left: 1px solid #e0d4c0;
    border-right: 1px solid #e0d4c0;
    height: 18px;
    line-height: 18px;
    padding: 0 2px;
    display: block;
}

.site-header__minicart .gp-mc-price {
    font-size: 11px;
    font-weight: 700;
    color: #c8a97e;
    white-space: nowrap;
    text-align: center;
}

/* Coloana dreaptă: nume + variații */
.site-header__minicart .gp-mc-right {
    flex: 1;
    min-width: 0;
}

.site-header__minicart .gp-mc-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #2e2e2e;
    line-height: 1.4;
    text-decoration: none;
    margin-bottom: 3px;
}

.site-header__minicart .gp-mc-name:hover {
    color: #c8a97e;
}

/* Total + butoane */
.site-header__minicart .woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-top: 2px solid #f0e8da;
    font-size: 13px;
    font-weight: 700;
    color: #2e2e2e;
}

.site-header__minicart .woocommerce-mini-cart__total .woocommerce-Price-amount {
    color: #c8a97e;
    font-size: 15px;
}

.site-header__minicart .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px 16px;
}

.site-header__minicart .woocommerce-mini-cart__buttons a {
    display: block;
    text-align: center;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.site-header__minicart .woocommerce-mini-cart__buttons .button {
    background: transparent;
    border: 1px solid #c8a97e;
    color: #c8a97e;
}

.site-header__minicart .woocommerce-mini-cart__buttons .button:hover {
    background: #c8a97e;
    color: #fff;
}

.site-header__minicart .woocommerce-mini-cart__buttons .checkout {
    background: #c8a97e;
    color: #fff;
    border: 1px solid #c8a97e;
}

.site-header__minicart .woocommerce-mini-cart__buttons .checkout:hover {
    background: #b8936a;
    border-color: #b8936a;
}

@media (max-width: 900px) {
    .site-header__minicart {
        display: none;
    }
}

/* ─── Hamburger toggle ─────────────────────────────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 20px;
    flex-shrink: 0;
}

.nav-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #bfbfbf;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s, background 0.2s;
    transform-origin: center;
}

.nav-toggle:hover .nav-toggle__bar {
    background: #fff;
}

/* X quando aberto */
#site-header.nav-open .nav-toggle .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
#site-header.nav-open .nav-toggle .nav-toggle__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
#site-header.nav-open .nav-toggle .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Submeniu */
.primary-navigation ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #222;
    min-width: 200px;
    border-top: 2px solid #555;
    flex-direction: column;
    gap: 0;
    z-index: 100;
}

.primary-navigation ul li:hover > ul {
    display: flex;
}

.primary-navigation ul li ul li a {
    padding: 10px 16px;
    border-radius: 0;
    border-bottom: 1px solid #333;
}
/* ─── Footer ──────────────────────────────────────────────────────────────── */
#site-footer {
    background-color: #2e2e2e;
    color: #ccc;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main footer */
.site-footer__main {
    padding: 50px 0 40px;
    border-bottom: 1px solid #444;
}

.site-footer__main .site-footer__container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: center;
}

.site-footer__col--info {
    width: 420px;
    flex-shrink: 0;
}

.site-footer__col--pages {
    width: 340px;
    flex-shrink: 0;
}

.site-footer__tagline {
    margin: 0 0 12px;
    color: #bfbfbf;
    font-style: italic;
}

/* Program + contact de bază */
.site-footer__info-block {
    margin-bottom: 16px;
}

.site-footer__info-block p {
    margin: 10px 0;
    text-align: center;
    color: #bfbfbf;
}

/* Program */
.site-footer__schedule {
    margin-bottom: 20px;
}

.site-footer__schedule-title {
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 8px;
}

.site-footer__schedule p {
    margin: 6px 0;
    text-align: center;
}

/* Contact */
.site-footer__contact {
    margin-bottom: 20px;
}

.site-footer__contact-title {
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    text-align: center;
}

.site-footer__contact p {
    margin: 7px 0;
    text-align: center;
}

.site-footer__info-block a,
.site-footer__contact a {
    color: #bfbfbf;
    text-decoration: none;
}

.site-footer__info-block a:hover,
.site-footer__contact a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-icon {
    margin-right: 4px;
}

/* Social */
.site-footer__social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #2e2e2e;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    position: relative;
}

.footer-social__link::after {
    content: attr(aria-label);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    padding: 3px 7px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.footer-social__link:hover::after {
    opacity: 1;
}

.footer-social__link:hover {
    background: #ccc;
}

/* Pagini */
.site-footer__col-title {
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    margin: 0 0 12px;
    text-align: center;
}

.site-footer__col--pages ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__col--pages ul li {
    border-bottom: 1px solid #555;
    text-align: center;
}

.site-footer__col--pages ul li:first-child {
    border-top: 1px solid #555;
}

.site-footer__col--pages ul li a {
    display: block;
    padding: 10px 0;
    color: #bfbfbf;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
}

.site-footer__col--pages ul li a::before {
    content: '> ';
    color: #bfbfbf;
}

.site-footer__col--pages ul li a:hover {
    color: #fff;
}

.site-footer__col--pages ul li a:hover::before {
    color: #fff;
}

/* Bottom bar */
.site-footer__bottom {
    background-color: #111;
    padding: 16px 0;
}

.site-footer__bottom .site-footer__container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo GP sub Facebook (coloana stânga) */
.site-footer__logos-row {
    background-color: #2e2e2e;
    padding: 30px 0;
    border-top: 1px solid #444;
}

.site-footer__logos-row .site-footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-footer__logos-gp img {
    display: block;
    width: 180px;
    height: auto;
}

.site-footer__logos-anpc img {
    display: block;
    width: 200px;
    height: auto;
}

@media (max-width: 768px) {
    .site-footer__main .site-footer__container {
        flex-direction: column;
        align-items: center;
    }
    .site-footer__col--info {
        width: 100%;
    }
    .site-footer__col--pages {
        width: 100%;
    }
    .site-footer__bottom .site-footer__container {
        flex-direction: column;
        text-align: center;
    }
}

.site-footer__copy {
    margin: 0;
    font-size: 13px;
    color: #aaa;
    text-align: center;
    flex: 1;
}

.site-footer__sep {
    margin: 0 8px;
    color: #555;
}

.site-footer__anpc-link {
    color: #ccc;
    text-decoration: underline;
}

.site-footer__anpc-link:hover {
    color: #fff;
}

.site-footer__bottom-anpc img {
    display: block;
}

/* ─── Mobile nav ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .primary-navigation {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: #242424;
        z-index: 1001;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        padding-top: 90px;
        box-shadow: -6px 0 24px rgba(0,0,0,0.4);
    }

    #site-header.nav-open .primary-navigation {
        transform: translateX(0);
    }

    /* Overlay backdrop */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.55);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
        backdrop-filter: blur(2px);
    }

    .nav-overlay.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .primary-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 0 32px;
    }

    .primary-navigation ul li a {
        padding: 14px 28px;
        font-size: 15px;
        border-radius: 0;
        border-bottom: 1px solid #333;
        letter-spacing: 0.3px;
    }

    .primary-navigation ul li:last-child > a {
        border-bottom: none;
    }

    /* Submeniuri pe mobile — mereu vizibile, indentat */
    .primary-navigation ul li ul {
        display: block;
        position: static;
        background: #1e1e1e;
        border-top: none;
        min-width: auto;
        width: 100%;
    }

    .primary-navigation ul li ul li a {
        padding-left: 44px;
        font-size: 14px;
    }

    .site-header__inner {
        flex-wrap: wrap;
    }
}

/* =============================================================================
   Scroll to top
   ============================================================================= */

#scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #c8a97e;
    color: #1a1400;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

#scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-to-top:hover {
    background-color: #b8905e;
}

@media (max-width: 600px) {
    #scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ========================================
   CART DRAWER — MOBIL
   ======================================== */

.cart-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 100vw);
    height: 100dvh;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

/* Stare deschisă */
body.cart-drawer-open .cart-drawer-overlay {
    display: block;
    opacity: 1;
}

body.cart-drawer-open .cart-drawer {
    transform: translateX(0);
}

/* Header drawer */
.cart-drawer__header {
    display: flex;
    align-items: center;
    padding: 18px 56px 18px 20px;
    border-bottom: 1px solid #e0d4c0;
    flex-shrink: 0;
    position: relative;
}

.cart-drawer__title {
    font-size: 16px;
    font-weight: 700;
    color: #2e2e2e;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cart-drawer__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.cart-drawer__close:hover {
    color: #2e2e2e;
    background: #f5f0ea;
}

/* Body drawer — scrollable */
.cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Stiluri mini-cart în drawer — refolosim structura existentă */
.cart-drawer__body .woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0 20px;
}

.cart-drawer__body .woocommerce-mini-cart__empty-message {
    padding: 40px 20px;
    color: #888;
    font-size: 14px;
    text-align: center;
}

.cart-drawer__body .woocommerce-mini-cart-item {
    position: relative;
    padding: 16px 32px 16px 0;
    border-bottom: 1px solid #f0e8da;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cart-drawer__body .woocommerce-mini-cart-item .remove {
    position: absolute;
    top: 16px;
    right: 0;
    color: #ccc;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s;
}

.cart-drawer__body .woocommerce-mini-cart-item .remove:hover {
    color: #c0392b;
}

/* Link vechi — nu mai există în template, regulă goală păstrată pentru claritate */

.cart-drawer__body .woocommerce-mini-cart-item dl.variation {
    margin: 4px 0 0 0;
    padding: 0;
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}

.cart-drawer__body .woocommerce-mini-cart-item dl.variation dt {
    display: inline;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.cart-drawer__body .woocommerce-mini-cart-item dl.variation dt::after {
    content: ' ';
}

.cart-drawer__body .woocommerce-mini-cart-item dl.variation dd {
    display: inline;
    margin: 0;
    padding: 0;
}

.cart-drawer__body .woocommerce-mini-cart-item dl.variation dd::after {
    content: '';
    display: block;
}

.cart-drawer__body .woocommerce-mini-cart-item dl.variation p {
    display: inline;
    margin: 0;
}

/* Drawer: layout 2 coloane identic cu desktop */
.cart-drawer__body .woocommerce-mini-cart-item .quantity { display: none; }

.cart-drawer__body .woocommerce-mini-cart-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cart-drawer__body .gp-mc-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    width: 64px;
}

.cart-drawer__body .gp-mc-left img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #e0d4c0;
    display: block;
    flex-shrink: 0;
}

.cart-drawer__body .gp-mc-stepper {
    display: flex;
    align-items: center;
    border: 1px solid #e0d4c0;
    border-radius: 3px;
    overflow: hidden;
}

.cart-drawer__body .gp-mc-btn {
    width: 22px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    padding: 0;
    flex-shrink: 0;
}

.cart-drawer__body .gp-mc-btn:hover {
    background: #f5f0ea;
    color: #c8a97e;
}

.cart-drawer__body .gp-mc-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cart-drawer__body .gp-mc-qty {
    min-width: 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #2e2e2e;
    border-left: 1px solid #e0d4c0;
    border-right: 1px solid #e0d4c0;
    height: 24px;
    line-height: 24px;
    padding: 0 3px;
    display: block;
}

.cart-drawer__body .gp-mc-price {
    font-size: 12px;
    font-weight: 700;
    color: #c8a97e;
    text-align: center;
    white-space: nowrap;
}

.cart-drawer__body .gp-mc-right {
    flex: 1;
    min-width: 0;
}

.cart-drawer__body .gp-mc-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2e2e2e;
    line-height: 1.4;
    text-decoration: none;
    margin-bottom: 4px;
}

.cart-drawer__body .gp-mc-name:hover {
    color: #c8a97e;
}

/* Total + butoane în drawer */
.cart-drawer__body .woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-top: 2px solid #f0e8da;
    font-size: 15px;
    font-weight: 700;
    color: #2e2e2e;
}

.cart-drawer__body .woocommerce-mini-cart__total .woocommerce-Price-amount {
    color: #c8a97e;
    font-size: 17px;
}

.cart-drawer__body .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 20px 24px;
}

.cart-drawer__body .woocommerce-mini-cart__buttons .button {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border: 2px solid #c8a97e;
    background: transparent;
    color: #c8a97e;
}

.cart-drawer__body .woocommerce-mini-cart__buttons .button:hover {
    background: #f5f0ea;
}

.cart-drawer__body .woocommerce-mini-cart__buttons .checkout {
    background: #c8a97e;
    color: #fff;
    border-color: #c8a97e;
}

.cart-drawer__body .woocommerce-mini-cart__buttons .checkout:hover {
    background: #b8906a;
    border-color: #b8906a;
}

/* Ascunde dropdown desktop pe mobil, afișăm doar drawer */
@media (max-width: 900px) {
    .site-header__minicart {
        display: none !important;
    }
}

/* ─── Image Replacement Product — fallback contain ──────────────────────────── */
img.irp-fallback {
    object-fit: contain !important;
}

/* ─── Mesaj transport gratuit — dimensiuni reduse în mini-cart ───────────────── */
.site-header__minicart .woocommerce-message,
.site-header__minicart .woocommerce-info,
.cart-drawer__body .woocommerce-message,
.cart-drawer__body .woocommerce-info {
    font-size: 14px;
    padding: 10px 14px 10px 2.8em;
    margin-bottom: 10px;
    line-height: 1.4;
}
