/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #fffbfb;
    font-family: "Poiret One", sans-serif;
    color: #272727;
}

/* ===== CUSTOM FONTS ===== */
@font-face {
    font-family: "ImperialScript-Regular";
    src: url("./ImperialScript-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: "Azonix";
  src: url("./Azonix.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
/* ============================================================
   LAYOUT
   ============================================================ */
.cart-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ===== TOP NAV ===== */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    flex-wrap: wrap;
    gap: 12px;
}
.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-title {
    font-family: "Azonix";
    font-size: 24px;
    color: #000;
}
.logo-sub {
    font-family: "Poiret One", sans-serif;
    font-size: 13px;
    color: #ffb0d6;
}
.back-btn {
    font-family: "Poiret One", sans-serif;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
    padding: 6px 16px;
    border: 1px solid #FF9DCC;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}
.back-btn:hover {
    background: #ffd5e9;
    color: #fff;
    transform: translateX(-3px);
}

/* ===== CART HERO ===== */
.cart-hero {
    text-align: center;
    padding: 20px 0;
}
.cart-title {
    font-family: "ImperialScript-Regular";
    font-size: 52px;
    color: #ffb0d6;
        font-weight: 150;

    margin: 0;
    line-height: 1;
}
.cart-subtitle {
    font-size: 18px;
    color: #ffffff;
    margin-top: 5px;
}

/* ===== CART ITEMS ===== */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 100px;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #ffd2e8;
}
.empty-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 10px;
}
.empty-cart p {
    font-size: 18px;
    color: #ffb0d6;
    margin-bottom: 20px;
}
.empty-btn {
    font-family: "Poiret One", sans-serif;
    font-size: 16px;
    color: #fff;
    background: #ffb0d6;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
}
.empty-btn:hover {
    background: #ffb0d6;
    transform: scale(1.05);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 16px;
    border: 1px solid #ffd2e8;
    box-shadow: 0 4px 12px rgba(255, 249, 251, 0.04);
    transition: all 0.3s ease;
}
.cart-item:hover {
    border-color: #ffb0d6;
}
.item-info {
    display: flex;
    flex-direction: column;
}
.item-name {
    font-family: "ImperialScript-Regular";
    font-size: 22px;
    color: #ffb0d6;
    margin: 0;
        font-weight: 150;

}
.item-price {
    font-size: 18px;
    color: #000;
}
.remove-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #ffb0d6;
    cursor: pointer;
    transition: all 0.3s ease;
}
.remove-btn:hover {
    color: #ffb0d6;
    transform: scale(1.2);
}

/* ===== CART SUMMARY ===== */
.cart-summary {
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 20px;
    border: 1px solid #ffd2e8;
    box-shadow: 0 4px 12px rgba(222, 34, 113, 0.04);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 18px;
    color: #444;
}
.summary-row.total {
    border-top: 2px solid #ffd2e8;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #000;
}
.checkout-btn {
    font-family: "Poiret One", sans-serif;
    font-size: 20px;
    color: #fff;
    background: #ffb0d6;
    border: none;
    border-radius: 30px;
    padding: 14px 0;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}
.checkout-btn:hover {
    background: #ffb0d6;
    transform: scale(1.02);
}

/* ===== FOOTER ===== */
.footer-section {
    text-align: center;
    padding: 25px 0 10px 0;
}
.footer-title {
    font-family: "Azonix";
    font-size: 38px;
    color: #000;
    display: block;
    letter-spacing: 2px;
}
.footer-sub {
    font-family: "Poiret One", sans-serif;
    font-size: 18px;
    color: #000;
    display: block;
    margin-top: -4px;
    letter-spacing: 1px;
}

/* ============================================================
   🎀 ANIMATIONS
   ============================================================ */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-fade-up.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 700px) {
    .cart-page { padding: 15px 15px 30px 15px; gap: 20px; }
    .top-nav { flex-direction: column; align-items: flex-start; }
    .cart-title { font-size: 42px; }
    .cart-item { padding: 12px 15px; }
    .item-name { font-size: 18px; }
    .summary-row { font-size: 16px; }
    .summary-row.total { font-size: 20px; }
    .footer-title { font-size: 30px; }
    .footer-sub { font-size: 16px; }
}