#cbwp-root {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
}
#cbwp-root .container {
    display: flex;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
    box-sizing: border-box;
}
#cbwp-root .sidebar {
    flex: 1 1 20%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 25px;
    overflow: auto;
}
#cbwp-root .sidebar h2 {
    margin-top: 0;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}
#cbwp-root .sidebar ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}
#cbwp-root .sidebar ul li {
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
    margin-bottom: 0;
}
#cbwp-root main {
    flex: 2 1 60%;
    box-sizing: border-box;
}
#cbwp-root .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    box-sizing: border-box;
}
#cbwp-root .product-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
    box-sizing: border-box;
    height: 100%;
}
#cbwp-root .product-info-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
}
#cbwp-root .product-card:hover {
    transform: translateY(-5px);
}
#cbwp-root .cbwp-title {
    font-size: 1.1em;
    color: #444;
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
    width: 100%;
    line-height: 1.4;
}
#cbwp-root .product-card h3 {
    font-size: 1.1em;
    color: #444;
    margin-top: 15px;
    text-align: center;
}
#cbwp-root .product-card .price {
    font-size: 1em;
    color: #020101;
    margin: 10px 0;
    font-weight: bold;
}
#cbwp-root .image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
#cbwp-root .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
#cbwp-root .labels {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
#cbwp-root .labels img {
    max-height: 40px;
    margin-bottom: 5px;
}
#cbwp-root .cart-sidebar {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 25px;
    overflow: auto;
}
#cbwp-root .cart-sidebar h2 {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}
#cbwp-root .cart-sidebar ul {
    list-style-type: none;
    padding-left: 0;
}
#cbwp-root .cart-sidebar .cart-total {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 25px;
    color: #333;
}
#cbwp-root .product-card button.cbwp-details-btn,
#cbwp-root .product-card button.add-to-cart {
    background-color: #688D2D !important;
    color: #fff !important;
    border: none !important;
    font-size: 0.9em !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    padding: 8px 12px !important;
    display: block !important;
    margin-top: 5px !important;
    transition: background-color 0.3s !important;
    width: 100%;
    box-sizing: border-box;
}
#cbwp-root .product-card button.cbwp-details-btn:hover,
#cbwp-root .product-card button.add-to-cart:hover {
    background-color: #D73455 !important;
}
#cbwp-root .checkout-btn,
#cbwp-root .cbwp-back-button,
#cbwp-root .copy-link-btn {
    background-color: #688D2D;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9em;
    cursor: pointer;
    text-decoration: none;
    padding: 10px 14px;
    text-align: center;
    transition: background-color 0.3s;
    white-space: nowrap;
}
#cbwp-root .checkout-btn:hover,
#cbwp-root .cbwp-back-button:hover,
#cbwp-root .copy-link-btn:hover {
    background-color: #D73455;
}
#cbwp-root .cart-item-line {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}
#cbwp-root .cart-item-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9em;
}
#cbwp-root .cart-item-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}
#cbwp-root .cart-item-controls button {
    background-color: #688D2D;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.8em;
    border-radius: 5px;
    transition: background-color 0.3s;
}
#cbwp-root .cart-item-controls button:hover {
    background-color: #D73455;
}
#cbwp-root .cart-item-controls .remove-item {
    background-color: #D73455;
    color: #fff;
    border: none;
    font-size: 0.8em;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
#cbwp-root .cart-item-controls .remove-item:hover {
    background-color: #D73455;
}
#cbwp-root .quantity-input {
    width: 50px;
    text-align: center;
    padding: 5px;
    font-size: 0.9em;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#cbwp-root #cbwp-product-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
#cbwp-root #cbwp-product-modal.active {
    display: flex;
}
#cbwp-root .cbwp-modal-card {
    background: #fff;
    border-radius: 16px;
    width: 800px;
    max-width: 90%;
    height: 90vh;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
#cbwp-root .cbwp-modal-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    text-align: center;
}
#cbwp-root .cbwp-modal-scroll-area::-webkit-scrollbar {
    width: 8px;
}
#cbwp-root .cbwp-modal-scroll-area::-webkit-scrollbar-track {
    background: #f1f1f1;
}
#cbwp-root .cbwp-modal-scroll-area::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
#cbwp-root .cbwp-modal-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#cbwp-modal-product-name {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}
.cbwp-modal-label {
    font-size: 1.2em;
    font-weight: bold;
    margin: 40px 0 15px;
    text-align: center;
    display: block;
    color: #333;
}
#cbwp-root #cbwp-modal-product-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}
#cbwp-root .cbwp-modal-scroll-area > div[id^="cbwp-modal-section-"] {
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
#cbwp-root .cbwp-modal-scroll-area > div[id^="cbwp-modal-section-"]:last-child {
    border-bottom: none;
}
#cbwp-root .cbwp-modal-product-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-top: 10px;
    border-radius: 8px;
}
#cbwp-root #cbwp-product-chart_de,
#cbwp-root #cbwp-product-chart_fr {
    max-width: 100%;
    height: auto;
    image-rendering: crisp-edges;
    display: block;
    margin: 0 auto;
}
.cbwp-close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    color: #aaa;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}
.cbwp-close-button:hover {
    color: #000;
    background: #f0f0f0;
}
.checkout-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: auto;
    flex-direction: row;
}
.checkout-container main {
    width: 65%;
    padding: 20px;
    box-sizing: border-box;
}
.checkout-container aside {
    width: 35%;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}
@media (max-width: 576px) {
    #cbwp-root .container {
        flex-direction: column;
        padding: 15px;
    }
    #cbwp-root .sidebar,
    #cbwp-root .cart-sidebar {
        flex: 1 1 auto;
        margin-bottom: 20px;
        margin-right: 0;
    }
    #cbwp-root .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    #cbwp-root #sustainabilityGraph,
    #cbwp-root #cbwp-product-chart_de,
    #cbwp-root #cbwp-product-chart_fr {
        width: 100% !important;
        max-width: 576px;
        height: auto !important;
        image-rendering: crisp-edges;
        display: block;
        margin: 0 auto;
    }
    #cbwp-root .checkout-btn,
    #cbwp-root .cbwp-back-button,
    #cbwp-root .copy-link-btn {
        max-width: 100%;
    }
    .checkout-container {
        flex-direction: column;
    }
    .checkout-container aside {
        order: 1;
        width: 100%;
    }
    .checkout-container main {
        order: 2;
        width: 100%;
    }
    .checkout-container main canvas#sustainabilityGraph {
         height: 200px !important;
    }
}
#printButton,
#copyLinkBtn,
#backButton {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}
#printButton:hover,
#copyLinkBtn:hover,
#backButton:hover {
    background-color: #D73455;
}
#backButton {
    float: right;
}
.cart-sidebar ul li {
    line-height: 1.6;
}
#cbwp-modal-product-image {
    width: 52%;
    height: auto;
    margin: 0 auto;
    display: block;
}