@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body { height: 100%; }
body {
    font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
    background: #fff;
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-bar {
    background: #184f20;
    color: #fff;
    font-size: 11px;
    padding: 4px 0 4px 8px;
    display: flex;
    align-items: center;
}
.top-icons { margin-right: 16px; }
.top-icons .icon { margin-left: 12px; font-size: 16px; }

.logo-section {
    display: flex;
    align-items: center;
}

header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* flow: Logo | ... | Nav | Actions */
    padding: 0 32px;
    height: 60px;
}
.mobile-nav-toggle { display: none; }
.header-actions { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; }

.logo {
    height: 48px;
    margin-right: 12px;
}
.brand-name {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto; /* push nav to right, next to actions */
}
nav a {
    color: #222;
    text-decoration: none;
    font-size: 12px;
    padding: 0 6px;
    font-weight: 400;
    transition: color 0.2s;
}
nav a.active,
nav a:hover {
    color: #184f20;
    font-weight: 700;
}



main {
    padding: 0;
    background: #fff;
    min-height: 60vh;
    flex: 1 0 auto;
}

.cart-title {
    text-align: center;
    font-size: 2rem;
    margin: 48px 0 36px 0;
    font-weight: bold;
    letter-spacing: 1px;
}

.cart-content {
    width: 100%;
    max-width: 1400px;
    margin: 48px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 44px;
    min-height: 320px;
}

.cart-table {
    width: 100%;
    max-width: 800px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px #eaeaea;
    overflow: hidden;
    margin-bottom: 36px;
    border: 1.5px solid #f2f2f2;
}
.cart-table th, .cart-table td {
    padding: 20px 18px;
    text-align: left;
    border-bottom: 1.5px solid #e8e8e8;
    font-size: 16px;
    background: #fff;
}
.cart-table tr:last-child td {
    border-bottom: none;
}
.cart-table th {
    background: #f7f7f7;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #d6d6d6;
}
.cart-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-right: 18px;
    vertical-align: middle;
}
.cart-table td {
    vertical-align: middle;
    font-size: 16px;
    color: #222;
    font-weight: 500;
}

.order-summary {
    width: 320px;
    flex: 0 0 320px;
    background: #f6f6f6;
    border-radius: 10px;
    box-shadow: 0 2px 16px #eaeaea;
    padding: 30px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1.5px solid #e0e0e0;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #222;
}
.order-summary h4 {
    font-size: 16px;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #222;
}
.summary-row, .summary-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 16px;
    color: #222;
}
.summary-row {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}
.summary-total {
    background: #e0e0e0;
    padding: 12px 0;
    font-weight: 700;
    border-radius: 5px;
    margin-top: 16px;
    margin-bottom: 18px;
}

.checkout-btn {
    width: 100%;
    background: #184f20;
    color: #fff;
    border: none;
    padding: 16px 0;
    border-radius: 5px;
    font-size: 17px;
    font-weight: 700;
    margin-top: 18px;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 1px;
    box-shadow: 0 1px 4px #d2d2d2;
}
.checkout-btn:hover {
    background: #4a7c59;
}

.del-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.del-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.del-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

footer {
    background: #184f20;
    color: #fff;
    padding: 32px 0 0 0;
    margin-top: 60px;
    flex-shrink: 0;
}
.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    margin-left: 16px;
    margin-bottom: 12px;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1100px;
    margin: 0 auto;
    gap: 48px;
    padding: 0 32px 32px 32px;
    font-size: 13px;
}
.footer-columns h4 { margin-bottom: 10px; font-size: 15px; font-weight: 600; letter-spacing: 1px; }
.footer-columns ul { list-style: none; }
.footer-columns li { margin-bottom: 6px; color: #e0e0e0; }

@media (max-width: 1280px) {
  .cart-content { gap: 36px; }
  .cart-table { max-width: 760px; }
}
@media (max-width: 1024px) {
  header { padding: 0 20px; }
  .cart-content { gap: 28px; padding: 0 16px; }
  .order-summary { width: 300px; flex-basis: 300px; }
}
@media (max-width: 820px) {
  nav { gap: 12px; }
  .brand-name { font-size: 14px; }
  .logo { height: 44px; }
  .cart-content { flex-direction: column; align-items: center; gap: 18px; }
  .cart-table { width: 92%; max-width: 720px; }
  .order-summary { width: 92%; max-width: 420px; }
}
@media (max-width: 600px) {
  .cart-title { font-size: 1.6rem; margin: 36px 0 24px; }
  .cart-table th, .cart-table td { padding: 12px 12px; font-size: 14px; }
  .cart-img { width: 48px; height: 48px; margin-right: 12px; }
  .summary-row, .summary-total { font-size: 15px; }
  /* phones: dropdown nav same as home/products */
  nav.site-nav { display: none !important; }
  nav.site-nav.open {
    display: flex !important;
    position: absolute;
    left: 12px; right: 12px;
    top: calc(56px + 6px);
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 2000;
  }
  nav.site-nav.open a { padding: 10px 8px; font-size: 14px; border-radius: 8px; }
  nav.site-nav.open a:hover { background: #f3f4f6; }
  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid #e0e0e0;
    border-radius: 8px; background: #f8fafb; color: #184f20;
    cursor: pointer; position: relative; z-index: 2100; pointer-events: auto;
    margin-left: auto;
  }
}
@media (max-width: 420px) {
  .cart-table { width: 94%; }
  .order-summary { width: 94%; }
  .checkout-btn { font-size: 16px; }
  .footer-columns { grid-template-columns: 1fr; gap: 24px; padding: 0 16px 24px; }
}