@import url("https://fonts.googleapis.com/css2?family=Gabriela&family=Gelasio:ital,wght@0,400..700;1,400..700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400..700&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Gabriela", serif;
}

body {
    font-family: "Gabriela", serif;
    color: #3b2f2f;
    background: #fdfaf6;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== NAVIGATION ===== */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 4%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(59, 47, 47, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-logo-img {
    width: 170px;
    height: 150px;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.company__logo {
  width: 100%;
  max-width: 160px;
  height: 140px;
}

.nav-brand {
    display: flex;
    flex-direction: column;
}

.nav-brand-name {
    font-family: "Gabriela", serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.22rem;
    color: #3b2f2f;
}

.nav-brand-sub {
    font-family: "Gabriela", serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1rem;
    text-transform: uppercase;
    color: #8b7355;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
    margin-right: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 24px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #8b7355;
    transform: scale(1.2);
}

.nav-cart {
    position: relative;
    font-size: 1.3rem;
    margin-right: 2rem;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #8b7355;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #3b2f2f;
    border-radius: 2px;
}

/* ===== CART HERO ===== */
.cart-hero {
    text-align: center;
    padding: 4rem 2rem 2.5rem;
    background: linear-gradient(135deg, #f5ebe0 0%, #fdfaf6 100%);
}

.cart-hero h1 {
    font-family: "Gabriela", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b2f2f;
    margin-bottom: 0.4rem;
}

.cart-hero p {
    font-size: 1.05rem;
    color: #6b5b4f;
}

/* ===== CART SECTION ===== */
.cart-section {
    flex: 1;
    padding: 3rem 2rem;
}

.cart-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cart-top-bar {
    margin-bottom: 2rem;
}

.cart-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #8b7355;
    transition: color 0.3s;
}

.cart-back-link:hover {
    color: #6f5b43;
}

/* ===== EMPTY STATE ===== */
.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(59, 47, 47, 0.07);
}

.cart-empty i {
    font-size: 3rem;
    color: #d4c5b0;
    margin-bottom: 1rem;
}

.cart-empty p {
    font-size: 1.1rem;
    color: #6b5b4f;
    margin-bottom: 1.5rem;
}

/* ===== CART ITEMS ===== */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(59, 47, 47, 0.06);
    margin-bottom: 1rem;
    transition: box-shadow 0.3s;
}

.cart-item:hover {
    box-shadow: 0 4px 20px rgba(59, 47, 47, 0.1);
}

.cart-item-details {
    flex: 1;
}

.cart-item-product {
    font-family: "Gabriela", serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #3b2f2f;
    margin-bottom: 0.3rem;
}

.cart-item-meta {
    font-size: 0.85rem;
    color: #6b5b4f;
    margin-bottom: 0.2rem;
}

.cart-item-pricing {
    font-size: 0.85rem;
    color: #8b7355;
    font-weight: 500;
}

.cart-item-message {
    font-size: 0.82rem;
    color: #9a8a78;
    font-style: italic;
    margin-top: 0.4rem;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    margin-left: 1.5rem;
}

.cart-item-price {
    font-family: "Gabriela", serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #3b2f2f;
}

.cart-remove-btn {
    font-family: "Gabriela", serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #c0392b;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.cart-remove-btn:hover {
    color: #922b21;
}

#paypal-button-container,
#venmo-button-container {
    margin-top: 10px;
    max-width: 300px;
}

.cart-customer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.cart-customer-info input {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

/* ===== CART SUMMARY ===== */
.cart-summary-box {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(59, 47, 47, 0.06);
    margin-top: 2rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: #6b5b4f;
}

.cart-summary-row.cart-summary-total {
    border-top: 2px solid #ede7df;
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #3b2f2f;
}

/* ===== CART ACTIONS ===== */
.cart-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-clear {
    flex: 1;
    padding: 0.85rem 1.5rem;
    font-family: "Gabriela", serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    color: #6b5b4f;
    border: 2px solid #ddd5cc;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-clear:hover {
    border-color: #c0392b;
    color: #c0392b;
}

.btn-checkout {
    flex: 2;
    padding: 0.85rem 1.5rem;
    font-family: "Gabriela", serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #8b7355;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-checkout:hover {
    background: #6f5b43;
    transform: translateY(-1px);
}

.btn-checkout:active {
    transform: translateY(0);
}

/* ===== CONTACT MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(59, 47, 47, 0.5);
    backdrop-filter: blur(3px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 480px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(59, 47, 47, 0.2);
}

.modal h2 {
    font-family: "Gabriela", serif;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: #3b2f2f;
}

.modal p {
    font-size: 0.9rem;
    color: #6b5b4f;
    margin-bottom: 1.5rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #6b5b4f;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #3b2f2f;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.form-field label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #5a4a3f;
}

.form-field input,
.form-field textarea {
    font-family: "Gabriela", serif;
    font-size: 0.92rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid #ddd5cc;
    border-radius: 6px;
    background: #fdfaf6;
    color: #3b2f2f;
    transition: border-color 0.3s;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #8b7355;
}

.form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

/* ===== FOOTER ===== */
.footer {
    background: #3b2f2f;
    color: #f5ebe0;
    padding: 1rem 1rem 1.5rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    height: 160px;
    width: 190px;
    margin-bottom: 0.75rem;
    border-radius: 20px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #d4c5b0;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 1.8rem;
    margin-top: 48px;
}

.footer-links a {
    font-size: 1.8rem;
    color: #d4c5b0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
    transform: scale(1.2);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 48px;
}

.footer-social a {
    font-size: 1.8rem;
    color: #d4c5b0;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #fff;
    transform: scale(1.2);
}

.footer-disclaimer {
    text-align: center;
    font-size: 1rem;
    color: #9a8a78;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
    text-align: center;
    font-size: 1rem;
    color: #9a8a78;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.clear-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-cancel {
    flex: 1;
    padding: 0.75rem 1.5rem;
    font-family: "Gabriela", serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    color: #6b5b4f;
    border: 2px solid #ddd5cc;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel:hover {
    border-color: #8b7355;
    color: #8b7355;
}

.btn-confirm-clear {
    flex: 1;
    padding: 0.75rem 1.5rem;
    font-family: "Gabriela", serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-confirm-clear:hover {
    background: #922b21;
}

.time-slots {
    grid-column: span 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.slot-btn {
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.slot-btn:hover:not(:disabled) {
    border-color: #5a8a5a;
    background: #f0f7f0;
}

.slot-btn.selected {
    background: #5a8a5a;
    color: #fff;
    border-color: #5a8a5a;
}

.slot-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.slot-prompt {
    color: #999;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .cart-hero h1 {
        font-size: 2rem;
    }

    .cart-item {
        flex-direction: column;
        gap: 1rem;
    }

    .cart-item-right {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-left: 0;
        width: 100%;
    }

    .cart-actions {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}