/* Reset */

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

/* Body */

body {

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;

}

/* Container */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
/* Announcement bar */

.announcement-bar {
    background: #79b82a;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.announcement-content {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
}

.announcement-content p {
    margin: 0;
}
/* Header */

.site-header {
    background: white;
    border-bottom: 1px solid #e5e5e5;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* Logo */

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

.logo img {
    height: 82px;
    width: auto;
    display: block;
    margin-top: 4px;
}


/* Navigation */

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #8CC63F;
}

/* Main */

main {
    min-height: 75vh;
}

/* ==========================
   FOOTER
========================== */
.site-footer {
    background: #79b82a;
    color: #fff;
    padding: 24px 0 12px;
}

.footer-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-tagline {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.footer-section h4 {
    margin: 0 0 10px;
    font-size: 14px;
}

.footer-subcolumns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    text-align: center;
    font-size: 12px;
}
/* Hero Buttons */

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 190px;
    height: 62px;

    border: 2px solid #79b82a;
    border-radius: 6px;

    background: #ffffff;
    color: #79b82a;

    font-size: 18px;
    font-weight: 700;
    text-decoration: none;

    transition: all .25s ease;
}

/* Both buttons look identical initially */

.button-primary,
.button-secondary {
    background: #ffffff;
    color: #79b82a;
    border-color: #79b82a;
}

/* Hover */

.button:hover {
    background: #79b82a;
    color: #ffffff;
}

/* Click */

.button:active {
    transform: scale(0.98);
}

.hero {
    padding: 20px 0 0;
    background: #f7f2eb;
}
.hero-content {
    display: grid;
    grid-template-columns: 46% 54%;
    align-items: center;
    gap: 28px;
}
.hero-text {
    padding-right: 10px;
}
.hero-label {
    margin: 0 0 12px;
    color: #79b82a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 14px;
    font-size: 48px;
    line-height: 1.05;
}

.hero-description {
    max-width: 560px;
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.45;
}

.hero-buttons {
    display: flex;
    gap: 8px;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-products-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-btn {
    min-width: 230px;
    padding: 18px 28px;
    border: 2px solid #79b82a;
    border-radius: 8px;
    color: #79b82a;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
}

.hero-btn:hover {
    background: #79b82a;
    color: #fff;
}

/* Benefits section */

.benefits {
    padding: 70px 0;
    background: #ffffff;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 42px;
    line-height: 1.2;
    color: #1f2a24;
    margin-bottom: 18px;
}

.section-heading > p:last-child {
    color: #626962;
    font-size: 17px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.benefit-card {
    background: #f7f8f4;
    padding: 25px;
    border-radius: 12px;
    border-top: 4px solid #8cc63f;
}

.benefit-number {
    display: block;
    color: #8cc63f;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 25px;
    color: #1f2a24;
    margin-bottom: 12px;
}

.benefit-card p {
    color: #666d66;
}

/* Mobile responsiveness */

@media (max-width: 800px) {

    .announcement-content {
        gap: 15px;
        justify-content: space-between;
        font-size: 9px;
    }
    .navigation {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }
    .hero-products-image {
    max-width: 680px;
    margin: 0 auto;
    }
    .section-heading h2 {
        font-size: 34px;
    }
}
/* ================================
   Product detail page
================================ */

.product-detail-section {
    padding: 24px 24px 32px;
    background-color: #f7f2eb;
}

.product-detail-container {
    width: min(1380px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(500px, 1.1fr);
    gap: 48px;
    align-items: center;
}

.product-detail-image-wrapper {
    height: 460px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #e9e2d8;
}

.product-detail-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}
.product-detail-placeholder {
    width: 100%;
    height: 600px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    color: #333333;
}

/* Product information */
.product-detail-information {
    padding: 0;
}

.product-detail-category {
    margin: 0 0 6px;
}

.product-detail-title {
    margin: 0;
    font-size: clamp(40px, 4vw, 60px);
    line-height: 1;
}

.product-detail-variant {
    margin-top: 12px;
}

.product-detail-description {
    margin-top: 16px;
    line-height: 1.5;
}
.product-safety {
    margin-top: 24px;
}

.product-detail-price {
    margin-top: 18px;
}

.product-detail-status {
    margin-top: 8px;
}

.product-detail-actions {
    margin-top: 16px;
}


.back-to-shop-link {
    margin-top: 10px;
}

.product-detail-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
}

.product-benefit {
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.4;
}

.product-benefit-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #76a900;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.product-extra-section {
    padding: 48px 24px;
    background-color: #ffffff;
}

.product-extra-container {
    width: min(1280px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-extra-card {
    padding: 32px 36px;
    border: 1px solid #e2ddd7;
    background-color: #ffffff;
}

.product-extra-card h2 {
    margin: 0 0 16px;
    color: #1e1e1e;
    font-size: 24px;
}

.product-extra-card p {
    margin: 0;
    color: #555555;
    font-size: 15px;
    line-height: 1.65;
}
.product-card-actions {
    display: flex;
    gap: 7px;
    justify-content: flex-start;
    align-items: center;
}

.product-card-cart-form {
    margin: 0;
}

.product-card-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn-outline {
    background: #ffffff;
    border: 2px solid #79b82a;
    color: #1d2a23;
}

.btn-outline:hover {
    background: #79b82a;
    color: #ffffff;
}

.btn-primary {
    background: #79b82a;
    border: 2px solid #79b82a;
    color: #ffffff;
}

.btn-primary:hover {
    opacity: 0.9;
}

@media (max-width: 600px) {
    .product-card-actions {
        flex-direction: column;
    }

    .product-card-actions .btn,
    .product-card-cart-form {
        width: 100%;
    }

    .product-card-cart-form .btn {
        width: 100%;
    }
}
@media (max-width: 900px) {
    .product-detail-section {
        padding: 30px 20px 42px;
    }

    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .product-detail-image-wrapper,
    .product-detail-placeholder {
        height: 500px;
    }


    .product-detail-benefits {
        grid-template-columns: 1fr;
    }

    .product-extra-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .product-detail-section {
        padding: 30px 16px 45px;
    }

   .product-detail-image-wrapper,
.product-detail-placeholder {
    height: 390px;
    min-height: 0;
}


    .product-detail-title {
        font-size: 38px;
    }

    .product-detail-price {
        font-size: 27px;
    }

    .product-extra-section {
        padding: 45px 16px;
    }

    .product-extra-card {
        padding: 27px 22px;
    }
}
.product-image-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.product-image-link .product-image {
    transition: transform 0.25s ease;
}

.product-image-link:hover .product-image {
    transform: scale(1.025);
}
/* =================================
   Desktop product detail refinements
================================= */

@media (min-width: 901px) {
    .product-detail-section {
        padding: 18px 24px 24px;
    }

    .product-detail-container {
        grid-template-columns: minmax(380px, 0.85fr) minmax(500px, 1.15fr);
        gap: 45px;
        align-items: start;
    }

    .product-detail-image-wrapper {
        height: 380px;
        min-height: 380px;
    }



    .product-detail-category {
        margin-bottom: 4px;
        font-size: 11px;
    }

    .product-detail-title {
        font-size: clamp(38px, 3.6vw, 56px);
        line-height: 0.98;
    }

    .product-detail-variant {
        margin-top: 10px;
        font-size: 17px;
    }

    .product-detail-description {
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.45;
    }

    .product-detail-price {
        margin-top: 14px;
        font-size: 28px;
    }

    .product-detail-status {
        margin-top: 6px;
    }

    .product-detail-actions {
        margin-top: 14px;
    }


    .back-to-shop-link {
        margin-top: 8px;
    }

    .product-detail-benefits {
        margin-top: 14px;
        padding-top: 14px;
    }

    .product-benefit {
        font-size: 12px;
        line-height: 1.3;
    }

    .product-benefit-icon {
        width: 21px;
        height: 21px;
        font-size: 11px;
    }
}

/* =================================
   Add to cart controls
================================= */

.add-to-cart-form {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-top: 18px;
}

.quantity-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quantity-field label {
    color: #333333;
    font-size: 14px;
    font-weight: 700;
}

.quantity-field select {
    width: 90px;
    height: 48px;
    padding: 0 12px;
    border: 2px solid #79b82a;
    border-radius: 6px;
    background-color: #ffffff;
    color: #1f2a24;
    font-family: inherit;
    font-size: 16px;
}

.product-detail-button {
    min-width: 110px;
    height: 44px;
    padding: 0 22px;
    border: 2px solid #79b82a;
    border-radius: 6px;
    background-color: #ffffff;
    color: #79b82a;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.product-detail-button:hover {
    background-color: #79b82a;
    color: #ffffff;
}

.product-detail-button:active {
    transform: scale(0.98);
}

@media (max-width: 520px) {
    .add-to-cart-form {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-field select,
    .product-detail-button {
        width: 100%;
    }
}
/* =================================
   Header cart link
================================= */

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cart-count {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #79b82a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

/* =================================
   Cart page
================================= */

.cart-section {
    padding: 55px 24px 75px;
    background: #f7f2eb;
}

.cart-container {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.cart-heading {
    margin-bottom: 35px;
}

.cart-heading h1 {
    color: #1f2a24;
    font-size: 48px;
    line-height: 1.1;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.5fr);
    gap: 35px;
    align-items: start;
}

.cart-items {
    display: grid;
    gap: 18px;
}

.cart-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 22px;
    border: 1px solid #ded8cf;
    background: #ffffff;
}

.cart-item-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee9e1;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.cart-item-details h2 {
    margin: 0;
    color: #1f2a24;
    font-size: 23px;
}

.cart-item-variant {
    margin: 5px 0 14px;
    color: #79b82a;
    font-weight: 700;
}

.cart-item-price,
.cart-item-quantity {
    margin: 3px 0;
    color: #626862;
}

.cart-item-total {
    color: #1f2a24;
    font-size: 22px;
    font-weight: 700;
}

.cart-summary {
    padding: 30px;
    border: 1px solid #ded8cf;
    background: #ffffff;
}

.cart-summary h2 {
    margin-bottom: 24px;
    color: #1f2a24;
    font-size: 26px;
}

.cart-summary-row,
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.cart-summary-row {
    padding: 13px 0;
    border-bottom: 1px solid #e4dfd8;
    color: #555555;
}

.cart-summary-total {
    padding: 22px 0;
    color: #1f2a24;
    font-size: 20px;
}

.checkout-button {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #79b82a;
    border-radius: 6px;
    background: #79b82a;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    opacity: 0.65;
    cursor: pointer;
}

.continue-shopping-link {
    display: block;
    margin-top: 17px;
    color: #1f2a24;
    font-weight: 700;
    text-align: center;
    text-underline-offset: 4px;
}

.empty-cart {
    padding: 70px 30px;
    background: #ffffff;
    text-align: center;
}

.empty-cart h2 {
    color: #1f2a24;
    font-size: 32px;
}

.empty-cart p {
    max-width: 540px;
    margin: 12px auto 28px;
    color: #626862;
}

@media (max-width: 850px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .cart-item-total {
        grid-column: 2;
    }
}

@media (max-width: 520px) {
    .cart-section {
        padding: 40px 16px 55px;
    }

    .cart-heading h1 {
        font-size: 38px;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item-image {
        height: 230px;
    }

    .cart-item-total {
        grid-column: auto;
    }
}
/* =================================
   Cart quantity controls
================================= */

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 14px;
}

.quantity-control-form {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d7d2ca;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

.quantity-button {
    width: 38px;
    height: 38px;
    border: 0;
    background: #ffffff;
    color: #1f2a24;
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.quantity-button:hover {
    background: #79b82a;
    color: #ffffff;
}

.cart-quantity {
    min-width: 42px;
    text-align: center;
    color: #1f2a24;
    font-size: 16px;
    font-weight: 700;
}

.remove-cart-item {
    padding: 0;
    border: 0;
    background: transparent;
    color: #6a6a6a;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

.remove-cart-item:hover {
    color: #79b82a;
    text-decoration-thickness: 2px;
}
/* =================================
   Checkout
================================= */

.checkout-section {
    padding: 55px 24px 75px;
    background: #f7f2eb;
}

.checkout-container {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.checkout-heading {
    margin-bottom: 35px;
}

.checkout-heading h1 {
    margin-bottom: 10px;
    color: #1f2a24;
    font-size: 48px;
    line-height: 1.1;
}

.checkout-heading > p:last-child {
    color: #626862;
    font-size: 17px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap: 35px;
    align-items: start;
}

.checkout-form,
.review-details {
    display: grid;
    gap: 22px;
}

.checkout-form-card {
    padding: 30px;
    border: 1px solid #ded8cf;
    background: #ffffff;
}

.checkout-form-card h2 {
    margin-bottom: 22px;
    color: #1f2a24;
    font-size: 25px;
}

.form-grid {
    display: grid;
    gap: 20px;
}

.form-grid + .form-grid {
    margin-top: 20px;
}

.form-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field label {
    color: #1f2a24;
    font-size: 14px;
    font-weight: 700;
}

.form-field label span {
    color: #777777;
    font-size: 12px;
    font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cfc9c0;
    border-radius: 5px;
    background: #ffffff;
    color: #1f2a24;
    font: inherit;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #79b82a;
    outline: 2px solid rgba(121, 184, 42, 0.16);
}

.errorlist {
    margin: 0;
    color: #a52a2a;
    font-size: 13px;
    list-style: none;
}

.checkout-continue-button,
.checkout-edit-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 2px solid #79b82a;
    border-radius: 6px;
    background: #ffffff;
    color: #79b82a;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s ease;
}

.checkout-continue-button:hover,
.checkout-edit-button:hover {
    background: #79b82a;
    color: #ffffff;
}

.checkout-continue-button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.checkout-summary {
    position: sticky;
    top: 25px;
    padding: 30px;
    border: 1px solid #ded8cf;
    background: #ffffff;
}

.checkout-summary h2 {
    margin-bottom: 24px;
    color: #1f2a24;
    font-size: 27px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #e4dfd8;
}

.checkout-summary-item div {
    display: grid;
    gap: 3px;
}

.checkout-summary-item span {
    color: #626862;
    font-size: 14px;
}

.checkout-summary-row,
.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.checkout-summary-row {
    padding: 14px 0;
    border-bottom: 1px solid #e4dfd8;
}

.checkout-summary-total {
    padding: 22px 0;
    color: #1f2a24;
    font-size: 20px;
}

.edit-cart-link {
    display: block;
    margin-top: 14px;
    color: #1f2a24;
    font-weight: 700;
    text-align: center;
    text-underline-offset: 4px;
}

.review-details .checkout-form-card p {
    margin: 4px 0;
    color: #555555;
}
.delivery-method-options {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 14px;
    margin-bottom: 10px;
}

.delivery-method-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
}

.delivery-method-option input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: #79b82a;
}

.checkout-help-text {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.form-alert,
.form-field .errorlist,
.delivery-method-options + .errorlist {
    margin-top: 8px;
    padding-left: 0;
    list-style: none;
    color: #b42318;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .delivery-method-options {
        flex-direction: column;
        gap: 10px;
    }
}
@media (max-width: 850px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}

@media (max-width: 600px) {
    .checkout-section {
        padding: 40px 16px 55px;
    }

    .checkout-heading h1 {
        font-size: 38px;
    }

    .form-grid-two {
        grid-template-columns: 1fr;
    }

    .checkout-form-card {
        padding: 24px 20px;
    }
}

.free-delivery-message {
    margin: 12px 0 0;
    color: #79b82a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}
/* =================================
   Compact order confirmation
================================= */

.order-confirmation-section {
    padding: 30px 24px 40px;
}

.order-confirmation-card {
    width: min(1100px, 96%);
    padding: 32px 40px;
}

.confirmation-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    font-size: 30px;
}

.order-confirmation-card h1 {
    margin-bottom: 10px;
    font-size: 38px;
}

.confirmation-message {
    margin-bottom: 24px;
    font-size: 16px;
}

.confirmation-details-grid {
    display: grid;
    grid-template-columns: 2fr 360px;
    gap: 50px;
    justify-content: center;
}

.confirmation-summary,
.confirmation-address {
    margin-top: 0;
    padding: 22px;
}

.confirmation-summary h2,
.confirmation-address h2 {
    margin-bottom: 16px;
    font-size: 23px;
}

.confirmation-item {
    padding: 11px 0;
}

.confirmation-row {
    padding: 11px 0;
}

.confirmation-total {
    padding-top: 16px;
}

.confirmation-delivery-note {
    display: grid;
    gap: 4px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e4dfd8;
    color: #555555;
}

.confirmation-delivery-note strong {
    color: #79b82a;
}

.confirmation-note {
    margin: 22px 0 18px;
}

@media (max-width: 800px) {
    .confirmation-details-grid {
        grid-template-columns: 1fr;
    }

    .order-confirmation-card {
        padding: 30px 22px;
    }
}

/* =================================
   One-screen confirmation layout
================================= */

@media (min-width: 901px) {
    .order-confirmation-section {
        padding: 18px 20px 24px;
    }

    .order-confirmation-card {
        width: min(1180px, 97%);
        padding: 22px 30px;
    }

    .confirmation-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
        font-size: 24px;
    }

    .order-confirmation-card .section-label {
        margin-bottom: 6px;
        font-size: 12px;
    }

    .order-confirmation-card h1 {
        margin-bottom: 6px;
        font-size: 32px;
    }

    .confirmation-message {
        margin-bottom: 16px;
        font-size: 15px;
    }


    .confirmation-summary,
    .confirmation-address {
        padding: 16px 18px;
    }

    .confirmation-summary h2,
    .confirmation-address h2 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .confirmation-item {
        padding: 7px 0;
    }

    .confirmation-item div {
        gap: 1px;
    }

    .confirmation-item span {
        font-size: 12px;
    }

    .confirmation-row {
        padding: 8px 0;
        font-size: 14px;
    }

    .confirmation-total {
        padding-top: 11px;
        font-size: 18px;
    }

    .confirmation-address p {
        margin: 2px 0;
        font-size: 14px;
    }

    .confirmation-delivery-note {
        margin-top: 14px;
        padding-top: 12px;
        font-size: 13px;
    }

    .confirmation-note {
        margin: 14px 0 12px;
        font-size: 13px;
    }

    .order-confirmation-card .checkout-edit-button {
        min-height: 42px;
        padding: 10px 20px;
        font-size: 14px;
    }
}
/* =================================
   Customer accounts
================================= */

.account-section {
    min-height: 65vh;
    padding: 55px 24px 75px;
    background: #f7f2eb;
}

.auth-card {
    width: min(560px, 100%);
    margin: 0 auto;
    padding: 40px;
    border: 1px solid #ded8cf;
    background: #ffffff;
}

.auth-card h1,
.account-heading h1 {
    color: #1f2a24;
    font-size: 42px;
    line-height: 1.1;
}

.auth-introduction {
    margin: 12px 0 28px;
    color: #626862;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.auth-form input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cfc9c0;
    border-radius: 6px;
    background: #ffffff;
    color: #1f2a24;
    font: inherit;
}

.auth-form input:focus {
    border-color: #79b82a;
    outline: 2px solid rgba(121, 184, 42, 0.16);
}

.field-help {
    color: #777777;
    font-size: 12px;
    line-height: 1.5;
}

.field-help ul {
    padding-left: 18px;
}

.auth-button {
    min-height: 50px;
    padding: 12px 22px;
    border: 2px solid #79b82a;
    border-radius: 6px;
    background: #ffffff;
    color: #79b82a;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.auth-button:hover {
    background: #79b82a;
    color: #ffffff;
}

.auth-switch {
    margin-top: 24px;
    text-align: center;
}

.auth-switch a {
    color: #79b82a;
    font-weight: 700;
}

.account-container {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.account-heading {
    margin-bottom: 32px;
}

.account-heading > p:last-child {
    margin-top: 10px;
    color: #626862;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.account-card {
    padding: 30px;
    border: 1px solid #ded8cf;
    background: #ffffff;
}

.account-card h2 {
    margin-bottom: 20px;
    color: #1f2a24;
}

.account-card p {
    margin: 12px 0;
    color: #555555;
}

.nav-logout-form {
    display: inline-flex;
    margin: 0;
}

.nav-logout-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #444444;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.nav-logout-button:hover {
    color: #8cc63f;
}

@media (max-width: 650px) {
    .auth-card {
        padding: 30px 22px;
    }

    .auth-card h1,
    .account-heading h1 {
        font-size: 36px;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================
   POLICY PAGES
========================== */

.policy-section {
    padding: 60px 24px 80px;
    background: #f7f2eb;
}

.policy-container {
    width: min(900px, 100%);
    margin: 0 auto;
    padding: 45px 50px;
    background: #ffffff;
}

.policy-label {
    margin-bottom: 10px;
    color: #79b82a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.policy-container h1 {
    margin-bottom: 16px;
    color: #1f2a24;
    font-size: 44px;
    line-height: 1.1;
}

.policy-intro {
    margin-bottom: 35px;
    color: #626862;
    font-size: 17px;
    line-height: 1.6;
}

.policy-content h2 {
    margin: 32px 0 4px;
    color: #1f2a24;
    font-size: 20px;
}

.policy-content p {
    margin: 0;
    color: #555555;
    font-size: 15px;
    line-height: 1.7;
}

.policy-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .policy-section {
        padding: 40px 16px 60px;
    }

    .policy-container {
        padding: 30px 22px;
    }

    .policy-container h1 {
        font-size: 36px;
    }
}

/* ==========================
   ABOUT PAGE
========================== */

.about-page {
    background: #f7f2eb;
    padding: 70px 24px 90px;
}

.about-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.about-header {
    max-width: 750px;
    margin-bottom: 55px;
}

.about-label {
    margin: 0 0 10px;
    color: #79b82a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.about-header h1 {
    margin: 0 0 18px;
    font-size: 48px;
    line-height: 1.1;
    color: #1f2a24;
}

.about-lead {
    margin: 0;
    font-size: 21px;
    line-height: 1.5;
    color: #555;
}

.about-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
}

.about-content h2 {
    margin: 0 0 14px;
    color: #1f2a24;
    font-size: 30px;
    line-height: 1.2;
}

.about-story p,
.about-philosophy p {
    margin: 0 0 10px;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.about-company {
    margin-top: 28px !important;
}

.about-philosophy {
    border-left: 2px solid #79b82a;
    padding-left: 40px;
}

.about-philosophy .about-label {
    color: #79b82a;
    font-size: 13px;
}

@media (max-width: 768px) {

    .about-page {
        padding: 50px 20px 70px;
    }

    .about-header h1 {
        font-size: 38px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-philosophy {
        padding-left: 25px;
    }
}

/* ==========================
   CONTACT PAGE
========================== */

.contact-page {
    background: #f7f2eb;
    padding: 70px 24px 90px;
}

.contact-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.contact-header {
    max-width: 720px;
    margin-bottom: 50px;
}

.contact-label {
    margin: 0 0 10px;
    color: #79b82a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-header h1 {
    margin: 0 0 16px;
    color: #1f2a24;
    font-size: 48px;
    line-height: 1.1;
}

.contact-lead {
    margin: 0;
    color: #555;
    font-size: 18px;
    line-height: 1.5;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.contact-details h2 {
    margin: 0 0 16px;
    color: #1f2a24;
    font-size: 30px;
}

.contact-details > p {
    margin: 0 0 30px;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.contact-detail-item {
    margin-bottom: 22px;
}

.contact-detail-item span {
    display: block;
    margin-bottom: 4px;
    color: #79b82a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-detail-item p {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.contact-form-card {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #ded8cf;
}

.contact-form-grid {
    display: grid;
    gap: 18px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-field label {
    color: #1f2a24;
    font-size: 14px;
    font-weight: 700;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cfc9c0;
    border-radius: 5px;
    background: #ffffff;
    color: #1f2a24;
    font: inherit;
}

.contact-field textarea {
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #79b82a;
    outline: 2px solid rgba(121, 184, 42, 0.16);
}

.contact-button {
    min-height: 50px;
    padding: 12px 22px;
    border: 2px solid #79b82a;
    border-radius: 6px;
    background: #ffffff;
    color: #79b82a;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.contact-button:hover {
    background: #79b82a;
    color: #ffffff;
}
.contact-success {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: rgba(121, 184, 42, 0.12);
    border: 1px solid #79b82a;
    color: #1f2a24;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {

    .contact-page {
        padding: 50px 20px 70px;
    }

    .contact-header h1 {
        font-size: 38px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-card {
        padding: 24px 18px;
    }
}
