* { box-sizing: border-box; margin: 0; padding: 0; user-select: none; }

:root {
    --accent: #6b8e74;
    --accent-hover: #57755e;
    --text: #e0e0e0;
    --muted: #999;
    --bg: #141414;
    --card: #1f1f1f;
    --border: #2e2e2e;
    --radius: 8px;
}

body { font-family: 'Poppins', system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }
nav { display: flex; justify-content: flex-end; align-items: center; padding: 16px 32px; background: var(--card); border-bottom: 1px solid var(--border); }
ul { display: flex; gap: 20px; list-style: none; }
#menu li { position: relative; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted); transition: .2s; }
#menu li:hover { color: var(--text); }
.underline { position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: .2s; }
#menu li:hover .underline { width: 100%; }
.pageHeader { display: flex; flex-direction: column; align-items: center; margin: 32px auto; position: relative; }
.pageHeader h2 { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; cursor: pointer; font-size: 24px; font-weight: 600; }
.arrow { width: 12px; height: 12px; background: var(--text); mask: url("../img/arrow.svg") center/contain no-repeat; -webkit-mask: url("../img/arrow.svg") center/contain no-repeat; transition: .2s; }
.pageHeader:has(.offer-menu.active) .arrow { transform: rotate(90deg); }
.offer-menu { position: absolute; top: 100%; left: 50%; display: flex; flex-direction: column; width: 240px; margin-top: 8px; padding: 6px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 24px #0006; opacity: 0; visibility: hidden; transform: translate(-50%, -8px); transition: .2s; z-index: 10; }
.offer-menu.active { opacity: 1; visibility: visible; transform: translate(-50%); }
.offer-menu a { padding: 8px 12px; color: var(--text); font-size: 14px; border-radius: 4px; transition: .15s; cursor: pointer; }
.offer-menu a:hover { background: var(--bg); }
.siteContents { width: min(1000px, 90%); margin: 0 auto 48px; }
#offerList { display: flex; flex-direction: column; gap: 8px; }

.card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: .15s; width: 100%; }
.card:hover, .pricing-table:hover { border-color: #444; }

.flavor { font-size: 16px; font-weight: 600; }
.description { font-size: 13px; color: var(--muted); margin-top: 2px; }
button { background: var(--accent); color: #fff; border: 0; border-radius: 6px; cursor: pointer; transition: .15s; font-family: inherit; }
button:hover { background: var(--accent-hover); }
.btn-check { flex-shrink: 0; padding: 8px 16px; font-size: 13px; font-weight: 500; }
.pricing-container { display: flex; justify-content: center; padding: 20px 0; width: min(700px, 100%); margin: 0 auto; }
.pricing-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: .15s; }
.pricing-table th, .pricing-table td { padding: 16px 20px; font-size: 14px; text-align: center; border: 1px solid var(--border); }
.pricing-table thead th { color: var(--accent); font-weight: 600; background: rgba(107, 142, 116, 0.08); border-bottom: 2px solid var(--border); }
.pricing-table .row-header { text-align: left; font-weight: 600; background: rgba(255, 255, 255, 0.01); }
.pricing-table tbody tr:hover { background-color: rgba(255, 255, 255, 0.02); }
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: .2s; z-index: 1000; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); width: min(450px, 90%); padding: 24px; box-shadow: 0 12px 32px #000a; transform: translateY(-10px); transition: .2s; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-header h3 { font-size: 18px; font-weight: 600; }
.modal-close { background: transparent; color: var(--muted); font-size: 24px; padding: 0; line-height: 1; }
.modal-close:hover { color: var(--text); background: transparent; }
.modal-body { display: flex; flex-direction: column; gap: 12px; }
.btn-add { width: 100%; margin-top: 20px; padding: 12px 16px; font-size: 14px; font-weight: 600; }
.btn-add:active { transform: scale(0.98); }
.status-btn { background: transparent; border: 1px solid transparent; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; transition: .1s; margin: 0 auto; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .status-btn:hover:not([disabled]) { border-color: var(--border); background: rgba(255, 255, 255, 0.03); } }
.status-btn.selected { border-color: var(--accent); background: rgba(107, 142, 116, 0.15); }
.status-btn[disabled] { cursor: not-allowed; opacity: 0.5; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; pointer-events: none; }
.status-dot.green { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.status-dot.red { background: #d9534f; box-shadow: 0 0 8px #d9534f; }
.cart-items-container { max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.cart-items-container::-webkit-scrollbar { width: 6px; }
.cart-items-container::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.cart-items-container::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.02); padding: 10px 14px; border-radius: 6px; border: 1px solid var(--border); }
.remove-item-btn { background: transparent; color: #d9534f; font-size: 18px; padding: 4px 8px; }
.remove-item-btn:hover { opacity: 0.8; background: transparent; }
.cart-summary { display: flex; justify-content: space-between; padding: 10px 4px; border-top: 1px solid var(--border); margin-top: 5px; font-weight: 600; color: var(--text); }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group input { padding: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-family: inherit; font-size: 14px; outline: none; transition: .2s; }
.form-group input:focus { border-color: var(--accent); }

@media (max-width: 550px) {
    .card { flex-direction: column; align-items: flex-start; gap: 12px; }
    .btn-check { width: 100%; }
    .pricing-table th, .pricing-table td { padding: 12px 10px; font-size: 13px; }
}