/* Products section wrapper */
#site-content {
    overflow: visible !important;
}

.products-section-wrapper {
    background-color: #FBFAE3;
}



.step3-marketing-section {
    background-color: #f4f8b8;
    padding: 6rem 0;
}


.categories {
    width: 250px;
    border-radius: 8px;
    position: sticky;
    top: 50px;
    float: left;
}

.products {
    width: calc(100% - 300px);
    margin-left: auto;
}

#categoryList {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.category-item {
    padding: 5px 20px;
    margin: 0 8px 8px 0;
    cursor: pointer;
    border-radius: 100px;
    background-color: #fff;
    transition: background-color 0.3s;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: normal;
}

.category-item:hover {
    background-color: #e0e0e0;
}

.category-item.active {
    background-color: #00442A;
    color: white;
}

.product-category {
    margin-bottom: 30px;
}

.product-category h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

}

.product-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    position: relative;
}

.product-image {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.product-content {
    flex: 1;
}

.product-content h4 {
    margin: 0 0 10px 0 !important;
}

.product-content p {
    margin-bottom: 0;
}



.product-description {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.view-contents {
    color: #00442A;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}

.view-contents:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 100px auto;
    padding: 30px;
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close-button {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
    font-weight: normal;
    background: #e5ecea;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.close-button:hover {
    color: #000;
}

.modal-body {
    margin-top: 10px;
}

.modal-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 24px;
    color: #00442A;
    margin-bottom: 15px;
}

.modal-short-desc {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.modal-long-desc {
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-line;
}

/* Quote Calculator Styles */
.quote-calculator>h2 {
    margin-top: 0 !important;
}

.quote-table-wrapper {
    /*overflow: scroll;*/
}

#quoteTable {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: none;
    margin-top: 0;
    min-width: 430px;
}

#quoteTable th {
    background-color: #00442A;
    color: white;
    padding: 0.75rem 1.5rem;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
    border: none;

}

#quoteTable th:nth-of-type(2) {
    border-radius: 10px 0 0;
}


#quoteTable th:last-of-type {
    border-radius: 0 10px 0 0;
}


#quoteTable th:first-child {
    text-align: left;
    width: 40%;
    background: transparent;
}

#quoteTable th:not(:first-child) {
    width: 12%;
}

#quoteTable td {
    padding: 1.75rem 1.75rem;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.product-name {
    font-weight: bold;
    color: #00442A;
}

.quote-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.quote-product img {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.quote-product-info {
    flex: 1;
}

.quote-product-info h4 {
    margin: 0 0 10px 0 !important;
    font-size: 2.4rem !important;
}

.quote-product-desc {
    font-size: 0.9em;
    margin-top: 0.25rem;
}

.quote-quantity {}

.quote-quantity.empty {
    background-color: #f8f8f8;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-height: auto;
    margin: 0 auto;
    padding: 0;
}

.quote-quantity.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: none;
}

.portions-info {
    text-align: center;
    width: 100%;
    color: #00442A;
}

.portions-label {
    text-align: center;
    width: 100%;
    font-size: 0.85em;
}

.portions-count {
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

tr.portions-row td {
    border-left: none !important;
}

tr.portions-row td:first-child {
    border-bottom: none !important;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.qty-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    flex: 1;
}

.qty-btn-info-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.qty-value {
    font-size: 2.4rem;
    font-weight: 500;
    margin: 0 10px;
    line-height: 1;
    white-space: nowrap;
}

.price-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.85em;
    color: #00442A;
    text-align: center;
}

.price-info>div:last-child {
    font-weight: 600;
    color: #00442A;
}

.qty-btn,
.add-qty {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background-color: #00442A;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    padding: 0;
    flex-shrink: 0;
    font-weight: normal;
    text-decoration: none !important;
}

.quote-quantity.empty .add-qty {
    background-color: #e5ecea;
    color: #00442A;
}

.quote-quantity.empty .add-qty:hover {
    color: #fff;
    background-color: #00442A;
}

.quote-total-price-wrapper {
    color: #00442A;
}

.quote-total-price-wrapper p {
    margin: 0;                /* Remove default margin */
    padding: 0;               /* Optional: also remove padding if needed */
    line-height: 1.2;         /* Adjust vertical spacing as needed */
}

.add-qty {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
}

.qty-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.qty-btn.minus {
    padding-bottom: 3px;
}

.remove-quote-item {
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E5ECEA;
    color: #00442A;
    font-weight: normal;
    text-decoration: none !important;
}


.quote-totals {
    font-size: 2.4rem !important;
    font-weight: bold !important;
}

/* Product Card Modifications */
.product-actions {}

.add-to-quote {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background-color: #00442A;
    color: white;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    font-weight: normal;
    text-decoration: none !important;
}

.quote-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #07CA7B;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.duplicate-modal {
    max-width: 400px;
    text-align: center;
    padding: 2rem;
}

.duplicate-message {
    font-size: 16px;
    margin: 0;
}



.promo-code-link {
    display: block;
    text-align: left;
    color: #00442A;
    text-decoration: none;
    font-size: 0.9em;
}

.promo-code-link:hover {
    text-decoration: underline;
}

.step3-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}



.calculator-container>* {
    padding: 4rem;
    max-width: none !important;
}

.calculator-container>*>* {
    max-width: 135rem !important;
    margin-left: auto;
    margin-right: auto;
}

.quote-header {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.quote-header .navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.quote-header .prev-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00442A;
    text-decoration: none;
    font-weight: 500;
}

.quote-header .arrow {
    font-size: 1.2rem;
}

.quote-header .delivery-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.quote-header .delivery-info span {
    color: #00442A;
}

.quote-header .delivery-info strong {
    color: #00442A;
    margin-left: 0.5rem;
}

.quote-header .edit-link {
    color: #00442A;
    text-decoration: none;
    font-weight: 500;
}

.quote-header h2 {
    color: #00442A;
    font-size: 1.5rem;
    margin: 0;
}






/* USP */
.usps-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
}

.usps-inner h3 {
    margin: 0 0 0.5rem !important;
}

.usps-inner p {
    margin: 0;
}

.usp-item {
    display: flex;
    gap: 1.5rem;
}

.usp-item:before {
    content: "";
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    display: inline-block;
    background: #00442A;
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='12' viewBox='0 0 15 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.17277 4.79976L0.369002 5.35839L0 6.12873L1.28156 7.56457L2.35082 9.11213L3.9141 10.5136L5.24113 12L6.65381 10.8933L7.87164 9.35501L9.21815 7.41641L11.5925 4.67994L12.7836 3.6068L15 0.75253L13.4891 0L11.8093 1.25894L10.4794 3.30482L8.56174 5.10457L6.89129 7.24437L5.4031 8.87856L3.9892 7.51518L2.75676 5.99514L1.17277 4.79976Z' fill='%23FFFFFF'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 100%;
}


/* Desktop small */
@media only screen and (max-width: 1100px) {
    .usp-item {
        flex-direction: column;
    }

    .quote-total-buttons {
        width: 100%;
    }

    .quote-total-more-total-wrapper {
        width: 100%;
    }


    .products {
        width: 100%;
    }

    .categories {
        float: none;
        width: 100%;
        flex-wrap: wrap;
        top: 0;
        padding: 1rem 0;
        background: linear-gradient(rgb(251 250 227) 1%, rgb(251 250 227 / 0%));
        z-index: 1;
    }

    #categoryList {
        flex-direction: row;
        flex-wrap: wrap;
    }


}


@media only screen and (max-width: 900px) {

    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }

}


/* Tablet */
@media only screen and (max-width: 700px) {
    .usps-inner {
        grid-template-columns: 1fr;
    }

    .usp-item {
        flex-direction: row;
    }
}


/* Iphone */
@media only screen and (max-width: 450px) {}

.quote-email-message {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.quote-email-message.success {
    color: #00442a;
}

.quote-email-message.error {
    color: #c62828;
}

.spam-notice {
    font-size: 1.6rem;
    color: #666;
}

#quoteEmailModal .modal-content {
    max-width: 50rem;
    padding: 3rem;
}

#quoteEmailModal .modal-body {
    text-align: center;
}

/* Quote Total Portions Styling */
#quoteTotalPortions {
    font-weight: bold;
}

#quoteTotalPortions .per-week {
    font-weight: normal;
}

/* Quote Total Price Styling */
#quoteTotal {
    font-weight: bold;
    white-space: nowrap;
}

#quoteTotal .per-week {
    font-weight: normal;
}

#quoteTotal .price-breakdown {
    display: inline; /* Make sure it behaves inline */
    white-space: nowrap; /* Keep children together */
  }
  
  #quoteTotal .original-price,
  #quoteTotal .discounted-price,
  #quoteTotal .per-week {
    display: inline; /* Ensure they are inline */
  }