:root {
    --brand-green:#1B7F6E;
    --brand-coral:#E67663;
    --brand-light-green:#DAEEE9;
}

* {
    font-family: 'Inter', sans-serif;
}

body {
    margin: 0;
    overflow-x: hidden;
    background-color: white;
}

.page-header {
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 0;
    width: 100%;
    height: 80px;
    background-color: var(--brand-green);
    display: flex;
    align-items: center;
}
.page-header-content {
    max-width: 680px;
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
}

.main {
    margin: 0px 10px;
}
.main-content {
    max-width: 680px;
    margin:auto;
    display: flex;
    flex-direction: column;
}

/* month select */
.month-select-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}
.month-select-button {
    padding: 5px 15px;
    border-radius: 10px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 42px;
    padding-bottom: 5px;
    transition: background-color 0.05s ease, color 0.05s ease;
}
.month-select-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.month-select-label {
    cursor: default;
    font-weight: 700;
    font-size: 36px;
    min-width: 200px;
    text-align: center;
    user-select: none;
    color: white;
}

/* ad options */
.ad-weeks-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.ad-week-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0px;
}
.ad-week-label {
    position: sticky;
    top: 80px;
    z-index: 10;
    font-weight: 700;
    font-size: 24px;
    background-color: white;
    padding: 10px 0px;
    margin: -10px 0px;
}
.ad-options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ad-option-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.ad-option-label {
    font-size: 21px;
    font-family: 'Lora', serif;
    font-weight: 400;
}
.ad-option-button {
    background-color: var(--brand-green);
    border: none;
    color: white;
    font-size: 18px;
    border-radius: 9999px;
    font-weight: 700;
    min-width: 100px;
    padding: 4px;
}
.ad-option-button:hover:enabled {
    cursor: pointer;
    filter: opacity(90%);
    transition: filter 0.05s ease;
}
.ad-option-button:disabled {
    cursor: not-allowed;
}
.ad-option-button-booked {
    background-color: #ff3535;
}
.ad-option-button-hold {
    background-color: #ffc235;
    color: black;
}
.ad-option-button-cart {
    background-color: var(--brand-light-green);
    color: black;
}

/* footer */
.page-footer {
    position: sticky;
    bottom: 0;
    z-index: 100;
    margin: 0;
    width: 100%;
    padding: 10px 0px;
}
.cart-pill {
    width: 800px;
    margin: auto;
    padding: 10px;
    background-color: var(--brand-light-green);
    border-radius: 20px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    overflow: hidden;
    line-height: 1;
}
.cart-pill-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}
.cart-items-list {
    display: none;
    flex-direction: column;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 2px solid transparent;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
.cart-pill.expanded .cart-items-list {
    display: flex;
    max-height: 210px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom-color: var(--brand-green);
    opacity: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cart-pill.expanded .cart-items-list::-webkit-scrollbar {
    display: none;
}
.cart-pill.expanded .cart-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 8px;
    background-color: white;
    border-radius: 10px;
    font-size: 16px;
}
.cart-pill.expanded .cart-item:last-child {
    margin-bottom: 0;
}
.cart-item-label {
    flex: 1;
    font-weight: 500;
}
.cart-item-price {
    font-weight: 600;
    margin-right: 12px;
}
.cart-item-remove {
    background-color: var(--brand-coral);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 9999px;
    cursor: pointer;
}
.cart-item-remove:hover {
    filter: opacity(90%);
}
.cart-preview {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.cart-preview-button {
    background-color: var(--brand-green);
    border: none;
    height: 40px;
    width: 40px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    padding: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-preview-button:hover:not(:disabled) {
    cursor: pointer;
    filter: opacity(90%);
}
.cart-preview-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.cart-preview-count {
    font-size: 18px;
    font-weight: 600;
}
.cart-continue-button {
    background-color: var(--brand-green);
    border: none;
    color: white;
    font-weight: 700;
    font-size: 18px;
    padding: 0 14px;
    border-radius: 10px;
    height: 40px;
}
.cart-continue-button:hover:not(:disabled) {
    cursor: pointer;
    filter: opacity(90%);
}
.cart-continue-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}