﻿/* â”€â”€â”€ Pagina CoÈ™ â€“ Grand Plaza â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.gp-cart {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

.gp-cart__title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}

.gp-cart__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 28px;
}

.gp-cart__info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
}

.gp-cart__info-item svg {
    color: #c8a97e;
    flex-shrink: 0;
}

.gp-cart__info-item strong {
    color: #2e2e2e;
    font-weight: 600;
}

/* â”€â”€â”€ Tabel produse â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gp-cart__table-wrap {
    overflow-x: auto;
}

.gp-cart__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #333;
}

.gp-cart__table thead tr {
    border-bottom: 2px solid #e0d4c0;
}

.gp-cart__table thead th {
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    text-align: left;
}

.gp-cart__table thead th.product-remove,
.gp-cart__table thead th.product-thumbnail {
    width: 80px;
}

.gp-cart__table thead th.product-price,
.gp-cart__table thead th.product-quantity,
.gp-cart__table thead th.product-subtotal {
    text-align: right;
}

/* â”€â”€â”€ RÃ¢nduri produse â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gp-cart__table tbody tr.cart_item {
    border-bottom: 1px solid #ede5d5;
    transition: background 0.15s;
}

@media (hover: hover) {
    .gp-cart__table tbody tr.cart_item:hover {
        background: #fdf9f4;
    }
}

.gp-cart__table tbody td {
    padding: 16px 12px;
    vertical-align: middle;
}

/* Buton eliminare */
.gp-cart__table td.product-remove a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f5f0e8;
    color: #999;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.gp-cart__table td.product-remove a.remove:hover {
    background: #fde8e8;
    color: #c0392b;
}

/* Thumbnail */
.gp-cart__table td.product-thumbnail {
    width: 80px;
}

.gp-cart__table td.product-thumbnail a {
    display: block;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #e0d4c0;
    flex-shrink: 0;
}

.gp-cart__table td.product-thumbnail img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover;
    border-radius: 4px;
    border: none;
    display: block;
}

/* Nume produs */
.gp-cart__table td.product-name a {
    color: #2e2e2e;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.gp-cart__table td.product-name a:hover {
    color: #c8a97e;
}

/* PreÈ› & subtotal */
.gp-cart__table td.product-price,
.gp-cart__table td.product-subtotal {
    text-align: right;
    font-weight: 600;
    color: #2e2e2e;
}

.gp-cart__table td.product-subtotal {
    color: #c8a97e;
    font-weight: 700;
}

/* Cantitate */
.gp-cart__table td.product-quantity {
    text-align: right;
}

.gp-cart__table td.product-quantity .quantity,
.gp-qty-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e0d4c0;
    border-radius: 4px;
    overflow: hidden;
}

.gp-qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 36px;
    background: #fdf9f4;
    border: none;
    color: #888;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.gp-qty-btn:hover { background: #e0d4c0; color: #2e2e2e; }

.gp-cart__table td.product-quantity .qty,
.gp-qty-wrap .qty {
    width: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid #e0d4c0;
    border-right: 1px solid #e0d4c0;
    padding: 6px 4px;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    color: #2e2e2e;
    height: 36px;
    box-sizing: border-box;
    -moz-appearance: textfield;
}
.gp-qty-wrap .qty::-webkit-inner-spin-button,
.gp-qty-wrap .qty::-webkit-outer-spin-button { -webkit-appearance: none; }

/* â”€â”€â”€ AcÈ›iuni (cupon + actualizare) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gp-cart__table td.actions {
    padding: 20px 12px;
    border-top: 2px solid #e0d4c0;
}

.gp-cart__table td.actions .coupon {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    float: left;
}

.gp-cart__table td.actions .coupon input {
    padding: 9px 14px;
    border: 1px solid #e0d4c0;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    background: #fff;
    width: 180px;
}

.gp-cart__table td.actions .coupon input:focus {
    outline: none;
    border-color: #c8a97e;
}

.gp-cart__table td.actions .coupon .button,
.gp-cart__update {
    padding: 9px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: 2px solid #c8a97e;
    border-radius: 4px;
    background: transparent;
    color: #c8a97e;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.gp-cart__table td.actions .coupon .button:hover,
.gp-cart__update:hover {
    background: #c8a97e;
    color: #fff;
}

.gp-cart__update {
    float: right;
}

/* â”€â”€â”€ Totaluri coÈ™ â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cart-collaterals {
    margin-top: 48px;
}

.cart_totals {
    max-width: 420px;
    margin-left: auto;
    background: #fdf9f4;
    border: 1px solid #e0d4c0;
    border-radius: 6px;
    padding: 28px;
}

.cart_totals h2 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 20px;
}

.cart_totals .shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart_totals .shop_table tr {
    border-bottom: 1px solid #ede5d5;
}

.cart_totals .shop_table tr:last-child {
    border-bottom: none;
}

.cart_totals .shop_table th,
.cart_totals .shop_table td {
    padding: 10px 4px;
    font-size: 14px;
    color: #333;
}

.cart_totals .shop_table th {
    color: #888;
    font-weight: 600;
    text-align: left;
}

.cart_totals .shop_table td {
    text-align: right;
    font-weight: 600;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 16px;
    font-weight: 800;
    color: #2e2e2e;
    padding-top: 14px;
}

.cart_totals .order-total td {
    color: #c8a97e;
}

/* Buton finalizare comandÄƒ */
.cart_totals .wc-proceed-to-checkout {
    margin-top: 12px;
}

.cart_totals .checkout-button,
.cart_totals a.checkout-button {
    display: block !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    padding: 13px 20px !important;
    text-align: center;
    background: #c8a97e !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(200,169,126,0.25) !important;
    line-height: 1.4 !important;
}

.cart_totals .checkout-button:hover,
.cart_totals a.checkout-button:hover {
    background: #b8936a !important;
    box-shadow: 0 4px 12px rgba(200,169,126,0.35);
}
/* â”€â”€â”€ Extras row (TacÃ¢muri + CoÈ™ cu pÃ¢ine) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gp-cart__extras {
    margin-bottom: 40px;
}

.gp-cart__extras-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 16px;
}

.gp-cart__extras-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Card extra produs */
.gp-extra-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e0d4c0;
    border-radius: 6px;
    padding: 12px 16px 12px 12px;
    min-width: 220px;
    flex: 1 1 220px;
    max-width: 320px;
    transition: box-shadow 0.2s;
}

/* Badge cantitate coÈ™ pe cardurile extra */
.gp-extra-card .gp-cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    background: #c8a97e;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 26px;
    border-radius: 13px;
    text-align: center;
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.gp-extra-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.gp-extra-card__img-wrap {
    flex-shrink: 0;
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ede5d5;
}

.gp-extra-card__img-wrap img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover;
    display: block;
}

.gp-extra-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.gp-extra-card__name {
    font-size: 13px;
    font-weight: 700;
    color: #2e2e2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.gp-extra-card__price {
    font-size: 13px;
    font-weight: 600;
    color: #c8a97e;
}

.gp-extra-card__price del {
    color: #bbb;
    font-weight: 400;
    font-size: 11px;
    margin-right: 4px;
}

.gp-extra-card__btn {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: #c8a97e;
    border: 1px solid #c8a97e;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
    white-space: nowrap;
}

.gp-extra-card__btn:hover {
    background: #c8a97e;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 600px) {
    .gp-cart__extras-row {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    .gp-extra-card {
        max-width: 100%;
        min-width: 0;
        flex: 0 0 auto;
        padding: 8px 10px;
        gap: 10px;
        align-items: center;
    }
    .gp-extra-card__img-wrap {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }
    .gp-extra-card__img-wrap img {
        width: 44px !important;
        height: 44px !important;
    }
    .gp-extra-card__body {
        gap: 2px;
    }
    .gp-extra-card__name {
        font-size: 12px;
        white-space: normal;
    }
    .gp-extra-card__price {
        font-size: 12px;
    }
    .gp-extra-card__btn {
        padding: 4px 10px;
        font-size: 10px;
        letter-spacing: 1px;
        margin-top: 3px;
    }
    .gp-extra-card .gp-cart-badge {
        min-width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 10px;
        top: -7px;
        right: -7px;
    }
}
/* â”€â”€â”€ CoÈ™ gol â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gp-cart-empty {
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.gp-cart-empty svg {
    margin-bottom: 24px;
    opacity: 0.5;
}

.gp-cart-empty__title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.gp-cart-empty__text {
    font-size: 15px;
    color: #888;
    margin: 0 0 32px;
}

.gp-cart-empty__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.gp-cart-empty__btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.gp-cart-empty__btn--primary {
    background: #c8a97e;
    color: #fff;
}

.gp-cart-empty__btn--primary:hover {
    background: #b8936a;
    color: #fff;
}

.gp-cart-empty__btn--secondary {
    background: transparent;
    color: #c8a97e;
    border: 2px solid #c8a97e;
}

.gp-cart-empty__btn--secondary:hover {
    background: #c8a97e;
    color: #fff;
}

/* â”€â”€â”€ VariaÈ›ie produs Ã®n coÈ™ (dl/dt/dd inline) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
dl.variation {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 4px 0 0;
}

dl.variation dt,
dl.variation dd {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #888;
}

dl.variation dd + dt::before {
    content: '|';
    color: #bbb;
    margin-left: 6px;
    margin-right: 6px;
}

dl.variation dd {
    margin-right: 0;
}

dl.variation dd p {
    display: inline;
    margin: 0;
}

/* â”€â”€â”€ NotificÄƒri WooCommerce pe pagina coÈ™ â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
    margin-bottom: 20px;
}

/*  Responsive  */
@media (max-width: 768px) {

    /* Reset tabel → block */
    .gp-cart__table,
    .gp-cart__table thead,
    .gp-cart__table tbody,
    .gp-cart__table tfoot,
    .gp-cart__table tr,
    .gp-cart__table td,
    .gp-cart__table th {
        display: block !important;
        width: auto !important;
        float: none !important;
        border: none !important;
        text-align: left !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Stepper pe mobil mai compact */
    .gp-cart__table .gp-qty-btn {
        width: 26px !important;
        height: 32px !important;
        font-size: 16px !important;
    }
    .gp-cart__table .gp-qty-wrap .qty {
        width: 34px !important;
        height: 32px !important;
        font-size: 13px !important;
        padding: 4px 2px !important;
    }

    /* Elimina etichete data-title */
    .gp-cart__table td::before,
    .gp-cart__table td::after {
        display: none !important;
        content: '' !important;
    }

    .gp-cart__table thead { display: none !important; }

    /* Fara hover effect pe touch */
    .gp-cart__table tbody tr.cart_item,
    .gp-cart__table tbody tr.cart_item:hover,
    .gp-cart__table tbody tr.cart_item:focus,
    .gp-cart__table tbody tr.cart_item:active {
        background: #fff !important;
        transition: none !important;
    }

    /*  Card produs  */
    .gp-cart__table tbody tr.cart_item {
        position: relative !important;
        overflow: hidden !important;
        padding: 14px 44px 14px 12px !important;
        border-bottom: 1px solid #ede5d5 !important;
        border-top: none !important;
        background: #fff !important;
        box-sizing: border-box !important;
        min-height: 84px !important;
    }
    .gp-cart__table tbody tr.cart_item:first-child {
        border-top: 1px solid #ede5d5 !important;
    }

    /*   absolut, colt dreapta sus */
    .gp-cart__table td.product-remove {
        position: absolute !important;
        top: 14px !important;
        right: 10px !important;
        width: 28px !important;
        padding: 0 !important;
    }
    .gp-cart__table td.product-remove a.remove {
        width: 26px !important;
        height: 26px !important;
        font-size: 14px !important;
    }

    /* Thumbnail  float stanga, 56px */
    .gp-cart__table td.product-thumbnail {
        float: left !important;
        width: 56px !important;
        margin-right: 10px !important;
        margin-top: 1px !important;
        padding: 0 !important;
        line-height: 0 !important;
    }
    .gp-cart__table td.product-thumbnail a {
        display: block !important;
        line-height: 0 !important;
        font-size: 0 !important;
    }
    .gp-cart__table td.product-thumbnail img {
        display: block !important;
        width: 56px !important;
        height: 56px !important;
        object-fit: cover !important;
        border-radius: 4px !important;
        border: 1px solid #e0d4c0 !important;
    }

    /* Nume  ocupa restul (dupa float) */
    .gp-cart__table td.product-name {
        overflow: hidden !important;
        padding: 0 0 4px 0 !important;
        text-align: left !important;
    }
    .gp-cart__table td.product-name a {
        display: block !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #2e2e2e !important;
        text-decoration: none !important;
        line-height: 1.4 !important;
        text-align: left !important;
    }
    .gp-cart__table td.product-name dl.variation {
        margin: 3px 0 0 !important;
        font-size: 11px !important;
        color: #888 !important;
        text-align: left !important;
    }

    /* Pret unitar  ascuns */
    .gp-cart__table td.product-price {
        display: none !important;
    }

    /* Cantitate — indentat sub nume */
    .gp-cart__table td.product-quantity {
        display: inline-block !important;
        width: auto !important;
        margin-left: 70px !important;
        padding: 6px 0 0 0 !important;
        vertical-align: middle !important;
    }
    .gp-cart__table td.product-quantity .quantity,
    .gp-cart__table td.product-quantity .gp-qty-wrap {
        display: inline-flex !important;
    }
    .gp-cart__table td.product-quantity .gp-qty-btn {
        width: 22px !important;
        height: 26px !important;
        font-size: 14px !important;
    }
    .gp-cart__table td.product-quantity .qty {
        width: 28px !important;
        height: 26px !important;
        font-size: 12px !important;
        padding: 3px 2px !important;
        border-left: 1px solid #e0d4c0 !important;
        border-right: 1px solid #e0d4c0 !important;
    }

    /* Subtotal  absolut, dreapta jos */
    .gp-cart__table td.product-subtotal {
        position: absolute !important;
        right: 44px !important;
        bottom: 14px !important;
        width: auto !important;
        padding: 0 !important;
        color: #c8a97e !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }
    .gp-cart__table td.product-subtotal .woocommerce-Price-amount {
        color: #c8a97e !important;
    }

    /* Actiuni (cupon + actualizare) */
    .gp-cart__table td.actions {
        padding: 16px 12px !important;
        border-top: 2px solid #e0d4c0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .gp-cart__table td.actions .coupon {
        float: none !important;
        display: block !important;
        margin-bottom: 10px !important;
    }
    .gp-cart__table td.actions .coupon input {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 8px !important;
    }
    .gp-cart__table td.actions .coupon .button {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    .gp-cart__update {
        display: block !important;
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Totaluri */
    .cart_totals { max-width: 100%; }
}
