.gradient-text,
.product-thumb .price-new,
.product-thumb h4,
li,
p,
ul {
    font-size: 16px
}

.boxc h2,
.list-unstyled strong[itemprop=price],
a:hover {
    color: #2d6a4f
}

.tab-pane,
.verified-review {
    padding-top: 50px
}

#menu,
.btn-primary {
    background-color: #1b4d3e
}

li,
p,
ul {
    line-height: 24px
}

p {
    padding-top: 5px;
    padding-bottom: 10px
}

li {
    min-height: 27px
}

a {
    color: #1b4d3e
}

#content>.row {
    width: 100%;
    padding: 0;
    margin: 30px 0 0
}

#menu {
    min-height: 40px;
    background-image: none;
    background-repeat: no-repeat;
    border-color: #1b4d3e
}

footer {
    background: #1b4d3e
}

.accordion-cart {
    display: flex;
    flex-flow: column
}

.navbar-header {
    color: #fff;
    position: relative
}

.navbar-header button {
    position: absolute;
    top: 0;
    right: 0
}

.product-thumb {
    border: 0;
    margin-top: 50px;
    min-height: 600px
}

.product-thumb h4 a {
    font-weight: 700
}

.product-thumb .caption p {
    font-size: 12px;
    line-height: 16px
}

.product-layout .product-thumb {
    min-height: 400px !important
}

.products_content .product-layout .product-thumb {
    min-height: 550px !important
}

#checkout-cart #banner-coupon,
#common-home .product-layout .caption .price-tax,
#common-home .product-layout .caption .rating,
#common-home .product-layout .caption p,
#product-product .radio label input,
.price .price-tax,
.product-layout .product-thumb .button-group button {
    display: none
}

#banner-coupon,
.product-layout .product-thumb .button-group button:first-child {
    display: block
}

.pagamenti,
.product-layout .product-thumb .caption,
.product-thumb .price {
    text-align: center
}

.product-layout .product-thumb .caption h4 {
    font-weight: lighter
}

.product-thumb .button-group button,
.searchBoxList li a:hover {
    background: #1b4d3e;
    color: #fff
}

.product-thumb .button-group button+button {
    background: #ccc
}

.fa-stack {
    width: 1em !important;
    height: 1em !important
}

.rating {
    text-align: center !important
}

.rating-meta,
.verified-review {
    text-align: center
}

#cart>.btn {
    border: 0;
    border-radius: 0;
    background: #e0e0e0;
    color: #333
}

.nav>li>a {
    font-size: 15px
}

#menu,
.breadcrumb,
.panel-group .panel,
.panel-heading,
.well-lg,
button,
input {
    border-radius: 0 !important
}

.boxc h2 {
    margin-top: 0
}

.boxc img {
    width: 100% !important
}

.product-thumb .caption {
    min-height: 210px
}

.thumbnail {
    border: 0
}

#common-home .product-layout {
    min-height: 450px
}

#common-home .product-layout>div {
    height: 400px
}

.product-thumb .button-group {
    position: absolute;
    bottom: 0;
    width: 100%
}

.product-thumb .image img {
    width: 120px;
    height: auto;
    margin: 10% 25%
}

#common-home .product-layout .caption {
    min-height: 90px
}

#common-home .product-layout .caption .price {
    position: absolute;
    bottom: 55px;
    display: block;
    text-align: center;
    font-size: 1.5rem
}

footer .fa {
    font-size: 2rem
}

#payoff p {
    font-size: 11px;
    color: #666
}

#header #logo h1 {
    margin: -10px 0 0;
    padding: 0;
    width: 298px;
    height: 60px;
    text-indent: -9999999px
}

#header #logo h1 a {
    width: 298px;
    height: 55px;
    display: block
}

.verified-review {
    font-size: 2em
}

.verifiedvisa_ico {
    background-position: -439px -31px
}

.left-menu .nav>li.active>a {
    text-decoration: none;
    background-color: #eee
}

/* Sottocategorie/prodotti nel menu laterale con font più piccolo */
.left-menu .panel-body .nav>li>a {
    font-size: 13px;
}

.alert-dismissable .close,
.alert-dismissible .close {
    right: initial
}

.products_content .product-list,
.swiper-wrapper {
    height: auto
}

.pagamenti a {
    display: inline-block;
    margin: 15px 7px 10px 5px;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    -ms-transition: .3s ease-in-out;
    transition: .3s ease-in-out
}

.pagamenti a:hover {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    -ms-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    opacity: .7
}

.pagamenti span {
    float: right;
    width: 52px;
    height: 26px;
    display: inline;
    background-image: url(/catalog/view/theme/default/image/socialicons.png)
}

.mastercard_ico {
    background-position: 0 -31px
}

.visa_ico {
    background-position: -64px -31px
}

.visaelectron_ico {
    background-position: -127px -31px
}

.paypal_ico {
    background-position: -189px -31px
}

.postepay_ico {
    background-position: -251px -31px
}

.masterpaypal_ico {
    background-position: -315px -31px
}

.mastersecurecode_ico {
    background-position: -381px -31px
}

.verisign_ico {
    background-position: -492px -31px
}

#menu .dropdown-menu {
    width: 1100px
}

#menu .dropdown-inner ul,
.rating-stars {
    width: 100%
}

#menu .dropdown-inner ul li {
    padding: 10px 5px;
    float: left;
    width: 33%
}

.dropdown-menu li>a {
    font-size: 15px !important;
    padding: 5px;
    display: block
}

.dropdown-menu li>a:hover {
    background-color: #1b4d3e !important;
    background-image: none !important;
    color: #fff !important
}

.swiper-viewport {
    box-shadow: none !important;
    border: 0 !important
}

input#larghezza,
input#lunghezza {
    width: 100%;
    padding: 5px
}

#product .well {
    background: #ffc
}

#product-product h1 {
    color: #444;
    margin-top: 0;
    font-size: 24px;
    font-weight: 700
}

#product-product h2 {
    color: #444;
    margin-top: 0;
    font-size: 23px;
    font-weight: lighter
}

#tab-description h2 {
    color: #2d6a4f !important;
    font-weight: 400 !important
}

.nav-tabs {
    clear: both
}

.btn-primary {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
    background-image: linear-gradient(to bottom, #1b4d3e, #1b4d3e);
    background-repeat: repeat-x;
    border: 0;
    text-transform: uppercase;
    border-radius: 0
}

.btn-danger,
.btn-default {
    border-radius: 0;
    border: 0
}

.content_category {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -moz-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start
}

.rating-block,
.rating-meta {
    display: block !important;
    width: 100%
}

.content_category .description {
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2
}

.content_category .products_content {
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1
}

.products_content .product-layout {
    height: 600px
}

.Coloririgati2021 .chooseOption,
.Coloritintaunita2021 .chooseOption {
    max-height: 400px;
    overflow: hidden;
    overflow-y: auto
}

.alert-add-to-cart {
    padding: 15px;
    font-size: 15px
}

.alert-add-to-cart .add-to-cart-button {
    float: right;
    background: #1b4d3e;
    border-radius: 15px;
    color: #fff;
    padding: 10px;
    margin-top: -12px
}

@media (min-width:1200px) {
    .container {
        width: 1270px
    }
}

#product-product #tab-description img {
    max-width: 100%
}

#product-product .radio {
    position: relative;
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0
}

#product-product .radio label {
    padding: 0
}

#product-product .radio label input+img {
    border: 2px solid #fff;
    border-radius: 4px;
    padding-left: 5px;
    padding-right: 5px
}

#product-product .radio label input:checked+img {
    border-color: #303030
}

.tooltip.in {
    opacity: 1
}

.tooltip-inner {
    max-width: 300px
}

.msgPromo {
    padding: 10px;
    border: 1px solid #ccc;
    background: #ffc
}

#searchBox {
    display: none;
    position: absolute;
    z-index: 999999;
    top: 54px;
    background: #fff;
    padding: 50px;
    width: 70%;
    right: 30px;
    border: 1px solid #e0e0e0
}

.searchBoxList {
    list-style-type: none;
    margin: 0;
    padding: 0
}

.searchBoxList li {
    float: left;
    width: 50%
}

.searchBoxList li a {
    background: #e0e0e0;
    display: block;
    padding: 15px;
    margin: 10px
}

.rating-stars a {
    color: #fc0
}

.product-list .product-thumb .caption,
.product-list .product-thumb .price,
.product-list .rating-meta {
    text-align: left
}

@media (max-width:900px) {

    #menu .dropdown-inner ul li,
    #menu .dropdown-menu,
    #searchBox {
        width: 100%
    }

    #column-left,
    nav#top #top-links li:nth-child(3),
    nav#top #top-links li:nth-child(5),
    nav#top #top-links:first-child {
        display: none
    }

    nav#top #top-links li span {
        font-size: 11px
    }

    .open>.dropdown-menu {
        display: inline-block
    }

    #product-product #content .row {
        display: flex;
        flex-direction: column
    }

    #product-product #content .col-sm-6:first-child {
        order: 2
    }

    #product-product #content .col-sm-6:last-child {
        order: 1
    }

    .alert-add-to-cart {
        height: 150px
    }

    .alert-add-to-cart .add-to-cart-button {
        clear: both;
        width: 100%;
        margin-top: 10px;
        text-align: center
    }

    #searchBox {
        padding: 10px;
        right: 0
    }

    .searchBoxList li a {
        min-height: 110px;
        text-align: center;
        font-weight: 700
    }
}

.categories-buttons {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0
}

.categories-buttons>.cat-col {
    width: 50%;
    list-style: none;
    padding: 8px;
    box-sizing: border-box
}

.cat-button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: #f8f8f8;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: background .2s, transform .2s
}

.cat-button:hover {
    background: #e9e9e9;
    transform: translateY(-2px)
}

.cat-button img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px
}

.cat-button span {
    flex: 1;
    text-align: left
}

.product-thumb .price-old {
    font-size: 14px
}

.price small {
    font-size: 12px !important
}

.product-list .image {
    width: 30%;
    float: left;
    padding-bottom: 50px
}

.main_image {
    width: 400px;
    height: auto;
}

.products_content .product-list .product-thumb {
    min-height: auto !important
}

.product-list .caption {
    padding-bottom: 50px
}

/* Personalizzazioni aggiuntive verde bottiglia */
.product-thumb .price-new {
    color: #2d6a4f;
    font-weight: bold;
}

.product-thumb h4 a:hover {
    color: #2d6a4f;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    border-top: 2px solid #1b4d3e;
}

.cat-button:hover {
    background: #e8f5e9;
    border-color: #2d6a4f;
}

.btn-primary:hover {
    background: #2d6a4f;
    background-image: linear-gradient(to bottom, #2d6a4f, #2d6a4f);
}

@media (max-width:767px) {
    .main_image {
        width: 200px;
        height: auto;
    }

    .categories-buttons>.cat-col {
        width: 100%
    }
}

/* ===================================
   MODERN PRODUCT PAGE STYLES
   =================================== */

/* Product Main Section */
.modern-product-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Breadcrumb Modern */
.modern-breadcrumb {
    background: transparent !important;
    padding: 15px 0;
    margin-bottom: 20px;
}

.modern-breadcrumb li {
    font-size: 14px;
}

.modern-breadcrumb li a {
    color: #666;
    transition: color 0.3s ease;
}

.modern-breadcrumb li a:hover {
    color: #1b4d3e;
    text-decoration: none;
}

/* Product Gallery Section */
.product-gallery-section {
    position: relative;
}

.product-image-container {
    position: sticky;
    top: 20px;
}

.main-image-wrapper {
    position: relative;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.main-image-wrapper:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.main-product-image {
    display: block;
    position: relative;
}

.main-product-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.main-image-wrapper:hover .main-product-img {
    transform: scale(1.05);
}

/* Sale Badge */
.sale-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #e63946 0%, #d62828 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Product Thumbnails */
.product-thumbnails {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail-item {
    flex: 0 0 calc(20% - 10px);
    max-width: 100px;
    cursor: pointer;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.thumbnail-item:hover {
    border-color: #1b4d3e;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(27, 77, 62, 0.2);
}

.thumbnail-item.active {
    border-color: #1b4d3e;
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.1);
}

.thumbnail-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

/* Product Info Section */
.product-info-wrapper {
    padding: 10px 0;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* Rating Inline */
.product-rating-inline {
    margin-bottom: 25px;
    background: #f5f5f5;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #ffd966;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rating-stars i {
    color: #ffa000;
    font-size: 22px;
    text-shadow: 0 1px 2px rgba(255, 160, 0, 0.3);
    transition: all 0.3s ease;
}

.rating-stars i.fa-star {
    animation: starPulse 2s ease-in-out infinite;
}

.rating-stars i.fa-star-o {
    color: #ffd966;
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.rating-stars:hover i.fa-star {
    color: #ff8f00;
    transform: scale(1.15);
}

.review-link {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    margin-left: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 12px;
    background: rgba(27, 77, 62, 0.1);
    border-radius: 20px;
    background: #1b4d3e;
}

.review-link:hover {
    background: #1b4d3e;
    color: #fff;
    transform: translateX(3px);
}

/* Price Section */
.product-price-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 2px solid #e8e8e8;
}

.price-label {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-current .price-amount {
    font-size: 38px;
    font-weight: 800;
    color: #1b4d3e;
    line-height: 1;
}

.price-new {
    font-size: 38px;
    font-weight: 800;
    color: #e63946;
    line-height: 1;
}

.price-special-wrapper .price-display {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 8px;
}

.price-old {
    font-size: 22px;
    color: #999;
    text-decoration: line-through;
}

.tax-info {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

/* Trust Badges */
.trust-badges-inline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

/* Trust Badges nella colonna sinistra sotto immagini */
.trust-badges-left-column {
    margin-top: 25px;
    margin-bottom: 25px;
}

/* Terzo trust badge a larghezza doppia */
.trust-badges-left-column .trust-badge:nth-child(3) {
    grid-column: 1 / -1;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: #fff;
    border-color: #1b4d3e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 77, 62, 0.1);
}

.trust-badge i {
    font-size: 28px;
    color: #1b4d3e;
    flex-shrink: 0;
}

.badge-info {
    flex: 1;
}

.badge-info strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.badge-info span {
    display: block;
    font-size: 12px;
    color: #666;
}

/* Modern Accordion */
.product-info-accordion {
    margin-bottom: 30px;
}

/* Accordion nella colonna sinistra sotto trust badges */
.accordion-left-column {
    margin-top: 0;
    margin-bottom: 0;
}

.modern-accordion .panel {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.modern-accordion .panel-heading {
    background: #fff;
    border: none;
    transition: background 0.3s ease;
}

.modern-accordion .panel-heading:hover {
    background: #f8f9fa;
}

.modern-accordion .panel-title a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modern-accordion .panel-title a i:first-child {
    margin-right: 10px;
    color: #1b4d3e;
}

.modern-accordion .panel-title a .fa-chevron-down {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s ease;
}

.modern-accordion .panel-title a[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.modern-accordion .panel-body {
    padding: 20px;
    background: #fafbfc;
    border-top: 1px solid #e8e8e8;
    font-size: 14px;
    line-height: 1.7;
}

/* Measures Section */
.measures-section {
    background: #fffbf0;
    border: 2px solid #ffd966;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.measures-section .section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    margin-top: 0;
}

.measures-section .section-title small {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

.measures-form .form-group {
    margin-bottom: 20px;
}

.measures-form label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.measures-form .form-control {
    height: 45px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.measures-form .form-control:focus {
    border-color: #1b4d3e;
    box-shadow: 0 0 0 4px rgba(27, 77, 62, 0.1);
    outline: none;
}

/* Product Options Section */
.product-options-section {
    margin-bottom: 30px;
}

.product-options-section .section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #1b4d3e;
}

.color-search-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.color-search-box label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.color-search-box .form-control {
    height: 42px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
}

/* Color Options Grid */
.color-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 12px;
}

.color-options-grid .radio {
    margin: 0;
}

.color-options-grid .radio label {
    display: block;
    cursor: pointer;
    padding: 0;
}

.color-options-grid .radio label img {
    width: 100%;
    height: auto;
    border: 3px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.color-options-grid .radio label:hover img {
    border-color: #1b4d3e;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(27, 77, 62, 0.2);
}

.color-options-grid .radio label input:checked+img {
    border-color: #1b4d3e;
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.2);
}

/* Quantity and Add to Cart */
.product-actions-sticky {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.quantity-selector {
    flex: 0 0 160px;
}

.quantity-selector label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.quantity-input-group {
    display: flex;
}

.quantity-input-group .form-control {
    height: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #e8e8e8;
    border-left: none;
    border-right: none;
}

.btn-qty-minus,
.btn-qty-plus {
    height: 50px;
    width: 50px;
    border: 2px solid #e8e8e8 !important;
    background: #fff !important;
    color: #1a1a1a !important;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qty-minus:hover,
.btn-qty-plus:hover {
    background: #1b4d3e !important;
    color: #fff !important;
    border-color: #1b4d3e !important;
}

.btn-add-to-cart {
    flex: 1;
    min-width: 200px;
    height: 56px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(27, 77, 62, 0.3);
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 77, 62, 0.4);
}

.btn-add-to-cart i {
    margin-right: 8px;
    font-size: 20px;
}

.minimum-alert {
    margin-top: 15px;
    border-radius: 8px;
}

/* Tabs Section */
.product-details-tabs {
    margin-top: 60px;
    margin-bottom: 40px;
}

.modern-tabs {
    border-bottom: 2px solid #e8e8e8;
    display: flex;
    gap: 0;
}

.modern-tabs>li {
    flex: 1;
}

.modern-tabs>li>a {
    border: none !important;
    border-radius: 0;
    color: #666;
    font-weight: 600;
    font-size: 15px;
    padding: 18px 24px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modern-tabs>li>a i {
    font-size: 16px;
}

.modern-tabs>li>a:hover {
    background: #f8f9fa;
    color: #1b4d3e;
}

.modern-tabs>li.active>a,
.modern-tabs>li.active>a:hover,
.modern-tabs>li.active>a:focus {
    background: #fff;
    color: #1b4d3e;
    border: none !important;
    border-bottom: 3px solid #1b4d3e !important;
    margin-bottom: -2px;
}

.modern-tab-content {
    background: #fff;
    padding: 40px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.modern-tab-content .tab-pane {
    padding-top: 0;
}

.bonus-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #1b4d3e;
    display: flex;
    align-items: center;
    gap: 15px;
}

.specifications-table {
    margin-top: 20px;
}

.specifications-table thead tr {
    background: #1b4d3e;
    color: #fff;
}

.specifications-table thead td {
    font-weight: 700;
    padding: 15px;
}

.specifications-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.specifications-table tbody td {
    padding: 12px 15px;
}

/* Related Products */
.related-products-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e8e8e8;
}

.section-title-main {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1b4d3e 0%, #2d6a4f 100%);
    border-radius: 2px;
}

/* Review Form Modern */
.modern-review-form .form-control {
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modern-review-form .form-control:focus {
    border-color: #1b4d3e;
    box-shadow: 0 0 0 4px rgba(27, 77, 62, 0.1);
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 8px;
}

.rating-input input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .product-main-section {
        padding: 20px;
    }

    .product-title {
        font-size: 26px;
    }

    .price-current .price-amount,
    .price-new {
        font-size: 32px;
    }

    .trust-badges-inline {
        grid-template-columns: 1fr;
    }

    .trust-badges-left-column {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .product-actions-sticky {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-selector {
        flex: 1 1 auto;
    }

    .modern-tabs>li>a {
        font-size: 13px;
        padding: 15px 10px;
    }

    .modern-tab-content {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .product-main-section {
        border-radius: 0;
        padding: 15px;
        margin-left: -15px;
        margin-right: -15px;
    }

    .product-title {
        font-size: 22px;
    }

    .price-current .price-amount,
    .price-new {
        font-size: 28px;
    }

    .thumbnail-item {
        flex: 0 0 calc(25% - 10px);
    }

    .color-options-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 8px;
    }

    .modern-tabs {
        flex-direction: column;
    }

    .modern-tabs>li {
        width: 100%;
    }

    .section-title-main {
        font-size: 24px;
    }
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-main-section,
.product-details-tabs,
.related-products-section {
    animation: fadeIn 0.6s ease-out;
}

/* Loading state for add to cart button */
.btn-add-to-cart.disabled,
.btn-add-to-cart[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Improve form inputs consistency */
.form-control {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #1b4d3e;
    box-shadow: 0 0 0 4px rgba(27, 77, 62, 0.1);
    outline: none;
}

.form-group.has-error .form-control {
    border-color: #dc3545;
}

.form-group.has-error .form-control:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}


/* Header Modern Styles */
.header-modern {
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

/* Top Bar */
#top {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#top .nav.pull-left ul.list-inline,
#top .nav.pull-right ul.list-inline {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

#top .nav.pull-left ul.list-inline li {
    margin: 0;
}

#top .nav.pull-left a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

#top .nav.pull-left a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

#top .nav.pull-right a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

#top .nav.pull-right a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

#top .nav.pull-right .dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 5px;
}

#top .nav.pull-right .dropdown-menu li a {
    padding: 10px 20px;
    color: #333;
    border-radius: 0;
}

#top .nav.pull-right .dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #2d6a4f;
}

/* Main Header */
#header {
    background: #fff;
    padding: 20px 0;
    position: relative;
}

#header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#header .row {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0;
}

/* Logo Section */
#logo {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#logo a {
    display: block;
}

#logo img {
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

#logo a:hover img {
    transform: scale(1.05);
}

#payoff {
    margin: 0;
}

#payoff p {
    margin: 0;
    font-size: 13px;
    color: #2d6a4f;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: left;
}

/* Search Bar */
#header .col-sm-4 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

#search {
    width: 100%;
    max-width: 550px;
    position: relative;
}

#search .input-group {
    box-shadow: 0 3px 12px rgba(45, 106, 79, 0.15);
    border-radius: 30px;
    overflow: visible;
    position: relative;
    transition: all 0.3s ease;
}

#search .input-group:hover {
    box-shadow: 0 5px 20px rgba(45, 106, 79, 0.25);
}

#search input {
    border: 2px solid #e8f5e9 !important;
    border-right: none !important;
    border-radius: 30px 0 0 30px !important;
    height: 52px !important;
    padding: 0 25px 0 50px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
    color: #333 !important;
}

#search input::placeholder {
    color: #999;
    font-style: italic;
}

#search input:focus {
    border-color: #2d6a4f !important;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1) !important;
    outline: none !important;
}

/* Icona Ricerca nell'Input */
#search::before {
    content: '\f002';
    font-family: FontAwesome;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #2d6a4f;
    font-size: 18px;
    z-index: 10;
    pointer-events: none;
}

#search .input-group-btn {
    position: relative;
    z-index: 5;
}

#search .input-group-btn button {
    height: 52px !important;
    padding: 0 32px !important;
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%) !important;
    border: 2px solid #2d6a4f !important;
    border-left: none !important;
    border-radius: 0 30px 30px 0 !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
}

#search .input-group-btn button i {
    margin-right: 6px;
    font-size: 16px;
}

#search .input-group-btn button:hover {
    background: linear-gradient(135deg, #1b4332 0%, #0d2419 100%) !important;
    border-color: #1b4332 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.3) !important;
}

#search .input-group-btn button:active {
    transform: translateY(0);
}

/* Dropdown Autocomplete (se presente) */
#search .dropdown-menu {
    border: none !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border-radius: 15px !important;
    margin-top: 5px !important;
    padding: 10px !important;
    max-height: 400px;
    overflow-y: auto;
}

#search .dropdown-menu li {
    border-radius: 8px;
    margin-bottom: 5px;
}

#search .dropdown-menu li a {
    padding: 12px 15px !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    border-radius: 8px !important;
}

#search .dropdown-menu li a:hover {
    background: #e8f5e9 !important;
    color: #2d6a4f !important;
    padding-left: 20px !important;
}

/* Cart Section */
#cart {
    display: flex;
    justify-content: flex-end;
    position: relative;
}

#cart>.btn {
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%) !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 16px 32px !important;
    color: #fff !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 14px !important;
    min-height: 52px !important;
    white-space: nowrap !important;
}

#cart>.btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.4) !important;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%) !important;
}

#cart>.btn:active,
#cart>.btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.2) !important;
}

#cart>.btn i {
    font-size: 20px !important;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

#cart>.btn .cart-total {
    display: inline-block;
    padding-left: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    margin-left: 4px;
}

#cart .dropdown-menu {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    min-width: 380px !important;
    margin-top: 10px !important;
    background: #fff !important;
    animation: cartDropdown 0.3s ease !important;
}

@keyframes cartDropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#cart .dropdown-menu li {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

#cart .dropdown-menu li:last-child {
    border-bottom: none !important;
}

#cart .dropdown-menu .text-center {
    padding-top: 10px !important;
}

#cart .dropdown-menu .btn-primary {
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3) !important;
}

#cart .dropdown-menu .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.4) !important;
}

#cart .dropdown-menu .btn-danger {
    background: #dc3545 !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 6px 15px !important;
    font-size: 12px !important;
    transition: all 0.3s ease !important;
}

#cart .dropdown-menu .btn-danger:hover {
    background: #c82333 !important;
    transform: scale(1.05) !important;
}

/* Responsive Cart */
@media (max-width: 768px) {
    #cart>.btn {
        padding: 12px 20px !important;
        font-size: 13px !important;
        min-height: 46px !important;
    }

    #cart .dropdown-menu {
        min-width: 300px !important;
        padding: 15px !important;
    }

    #cart>.btn .cart-total {
        display: none !important;
    }
}

/* Menu Navigation */
#menu {
    background: #2d6a4f !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#menu .navbar {
    margin-bottom: 0 !important;
    border: none !important;
    background: transparent !important;
    min-height: 50px !important;
}

#menu .navbar-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
}

#menu .navbar-nav>li {
    float: none !important;
    display: inline-block !important;
}

#menu .navbar-nav>li>a {
    padding: 15px 18px !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    white-space: nowrap !important;
    background: transparent !important;
}

#menu .navbar-nav>li>a:hover,
#menu .navbar-nav>li.active>a,
#menu .navbar-nav>li>a:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

#menu .dropdown-menu {
    border: none !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    margin-top: 0 !important;
    padding: 10px 0 !important;
    background: #fff !important;
}

#menu .dropdown-menu>li>a {
    padding: 10px 20px !important;
    color: #333 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
}

#menu .dropdown-menu>li>a:hover {
    background: #f0f8f4 !important;
    color: #2d6a4f !important;
    padding-left: 25px !important;
}

/* Mobile Menu Toggle */
#menu .navbar-toggle {
    border-color: #fff !important;
    margin: 8px 15px !important;
}

#menu .navbar-toggle:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

#menu .navbar-toggle .icon-bar {
    background: #fff !important;
}

#menu .navbar-toggle:hover .icon-bar {
    background: #fff !important;
}

/* Responsive */
@media (max-width: 991px) {
    #header .row {
        flex-wrap: wrap;
    }

    #header .col-sm-5,
    #header .col-sm-4,
    #header .col-sm-3 {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    #header .col-sm-5 {
        order: 1;
    }

    #header .col-sm-4 {
        order: 3;
        padding: 0;
    }

    #header .col-sm-3 {
        order: 2;
    }

    #logo {
        align-items: center;
    }

    #cart {
        justify-content: center;
    }

    #search {
        max-width: 100%;
        padding: 0 15px;
    }

    #menu .navbar-nav {
        margin: 0 !important;
        display: block !important;
    }

    #menu .navbar-nav>li {
        float: none !important;
        display: block !important;
    }

    #menu .navbar-nav>li>a {
        padding: 12px 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
}

@media (max-width: 767px) {
    #top {
        padding: 5px 0;
    }

    #top .container {
        flex-direction: column;
        gap: 10px;
    }

    #top .nav.pull-left,
    #top .nav.pull-right {
        width: 100%;
        justify-content: center;
    }

    #logo img {
        max-height: 50px;
    }

    #search {
        max-width: 100%;
    }

    #search input {
        height: 48px !important;
        padding: 0 20px 0 45px !important;
        font-size: 14px !important;
    }

    #search::before {
        left: 15px;
        font-size: 16px;
    }

    #search .input-group-btn button {
        height: 48px !important;
        padding: 0 25px !important;
        font-size: 13px !important;
    }

    #cart>.btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

/* Header Modern Styles */
.header-modern {
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

/* Top Bar */
#top {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#top .nav.pull-left ul.list-inline,
#top .nav.pull-right ul.list-inline {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

#top .nav.pull-left ul.list-inline li {
    margin: 0;
}

#top .nav.pull-left a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

#top .nav.pull-left a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

#top .nav.pull-right a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

#top .nav.pull-right a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

#top .nav.pull-right .dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 5px;
}

#top .nav.pull-right .dropdown-menu li a {
    padding: 10px 20px;
    color: #333;
    border-radius: 0;
}

#top .nav.pull-right .dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #2d6a4f;
}

/* Main Header */
#header {
    background: #fff;
    padding: 20px 0;
    position: relative;
}

#header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#header .row {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0;
}

/* Logo Section */
#logo {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#logo a {
    display: block;
}

#logo img {
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

#logo a:hover img {
    transform: scale(1.05);
}

#payoff {
    margin: 0;
}

#payoff p {
    margin: 0;
    font-size: 13px;
    color: #2d6a4f;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Search Bar */
#header .col-sm-4 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

#search {
    width: 100%;
    max-width: 550px;
    position: relative;
}

#search .input-group {
    box-shadow: 0 3px 12px rgba(45, 106, 79, 0.15);
    border-radius: 30px;
    overflow: visible;
    position: relative;
    transition: all 0.3s ease;
}

#search .input-group:hover {
    box-shadow: 0 5px 20px rgba(45, 106, 79, 0.25);
}

#search input {
    border: 2px solid #e8f5e9 !important;
    border-right: none !important;
    border-radius: 30px 0 0 30px !important;
    height: 52px !important;
    padding: 0 25px 0 50px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
    color: #333 !important;
}

#search input::placeholder {
    color: #999;
    font-style: italic;
}

#search input:focus {
    border-color: #2d6a4f !important;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1) !important;
    outline: none !important;
}

/* Icona Ricerca nell'Input */
#search::before {
    content: '\f002';
    font-family: FontAwesome;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #2d6a4f;
    font-size: 18px;
    z-index: 10;
    pointer-events: none;
}

#search .input-group-btn {
    position: relative;
    z-index: 5;
}

#search .input-group-btn button {
    height: 52px !important;
    padding: 0 32px !important;
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%) !important;
    border: 2px solid #2d6a4f !important;
    border-left: none !important;
    border-radius: 0 30px 30px 0 !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
}

#search .input-group-btn button i {
    margin-right: 6px;
    font-size: 16px;
}

#search .input-group-btn button:hover {
    background: linear-gradient(135deg, #1b4332 0%, #0d2419 100%) !important;
    border-color: #1b4332 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.3) !important;
}

#search .input-group-btn button:active {
    transform: translateY(0);
}

/* Dropdown Autocomplete (se presente) */
#search .dropdown-menu {
    border: none !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border-radius: 15px !important;
    margin-top: 5px !important;
    padding: 10px !important;
    max-height: 400px;
    overflow-y: auto;
}

#search .dropdown-menu li {
    border-radius: 8px;
    margin-bottom: 5px;
}

#search .dropdown-menu li a {
    padding: 12px 15px !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    border-radius: 8px !important;
}

#search .dropdown-menu li a:hover {
    background: #e8f5e9 !important;
    color: #2d6a4f !important;
    padding-left: 20px !important;
}

/* Cart Section */
#cart {
    display: flex;
    justify-content: flex-end;
    position: relative;
}

#cart>.btn {
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%) !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 16px 32px !important;
    color: #fff !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 14px !important;
    min-height: 52px !important;
    white-space: nowrap !important;
}

#cart>.btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.4) !important;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%) !important;
}

#cart>.btn:active,
#cart>.btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.2) !important;
}

#cart>.btn i {
    font-size: 20px !important;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

#cart>.btn .cart-total {
    display: inline-block;
    padding-left: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    margin-left: 4px;
}

#cart .dropdown-menu {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    min-width: 380px !important;
    margin-top: 10px !important;
    background: #fff !important;
    animation: cartDropdown 0.3s ease !important;
}

@keyframes cartDropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#cart .dropdown-menu li {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

#cart .dropdown-menu li:last-child {
    border-bottom: none !important;
}

#cart .dropdown-menu .text-center {
    padding-top: 10px !important;
}

#cart .dropdown-menu .btn-primary {
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3) !important;
}

#cart .dropdown-menu .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.4) !important;
}

#cart .dropdown-menu .btn-danger {
    background: #dc3545 !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 6px 15px !important;
    font-size: 12px !important;
    transition: all 0.3s ease !important;
}

#cart .dropdown-menu .btn-danger:hover {
    background: #c82333 !important;
    transform: scale(1.05) !important;
}

/* Responsive Cart */
@media (max-width: 768px) {
    #cart>.btn {
        padding: 12px 20px !important;
        font-size: 13px !important;
        min-height: 46px !important;
    }

    #cart .dropdown-menu {
        min-width: 300px !important;
        padding: 15px !important;
    }

    #cart>.btn .cart-total {
        display: none !important;
    }
}

/* Menu Navigation */
#menu {
    background: #2d6a4f !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#menu .navbar {
    margin-bottom: 0 !important;
    border: none !important;
    background: transparent !important;
    min-height: 50px !important;
}

#menu .navbar-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
}

#menu .navbar-nav>li {
    float: none !important;
    display: inline-block !important;
}

#menu .navbar-nav>li>a {
    padding: 15px 18px !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    white-space: nowrap !important;
    background: transparent !important;
}

#menu .navbar-nav>li>a:hover,
#menu .navbar-nav>li.active>a,
#menu .navbar-nav>li>a:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

#menu .dropdown-menu {
    border: none !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    margin-top: 0 !important;
    padding: 10px 0 !important;
    background: #fff !important;
}

#menu .dropdown-menu>li>a {
    padding: 10px 20px !important;
    color: #333 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
}

#menu .dropdown-menu>li>a:hover {
    background: #f0f8f4 !important;
    color: #2d6a4f !important;
    padding-left: 25px !important;
}

/* Mobile Menu Toggle */
#menu .navbar-toggle {
    border-color: #fff !important;
    margin: 8px 15px !important;
}

#menu .navbar-toggle:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

#menu .navbar-toggle .icon-bar {
    background: #fff !important;
}

#menu .navbar-toggle:hover .icon-bar {
    background: #fff !important;
}

/* Responsive */
@media (max-width: 991px) {
    #header .row {
        flex-wrap: wrap;
    }

    #header .col-sm-5,
    #header .col-sm-4,
    #header .col-sm-3 {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    #header .col-sm-5 {
        order: 1;
    }

    #header .col-sm-4 {
        order: 3;
        padding: 0;
    }

    #header .col-sm-3 {
        order: 2;
    }

    #logo {
        align-items: center;
    }

    #cart {
        justify-content: center;
    }

    #search {
        max-width: 100%;
        padding: 0 15px;
    }

    #menu .navbar-nav {
        margin: 0 !important;
        display: block !important;
    }

    #menu .navbar-nav>li {
        float: none !important;
        display: block !important;
    }

    #menu .navbar-nav>li>a {
        padding: 12px 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
}

@media (max-width: 767px) {
    #top {
        padding: 5px 0;
    }

    #top .container {
        flex-direction: column;
        gap: 10px;
    }

    #top .nav.pull-left,
    #top .nav.pull-right {
        width: 100%;
        justify-content: center;
    }

    #logo img {
        max-height: 50px;
    }

    #search {
        max-width: 100%;
    }

    #search input {
        height: 48px !important;
        padding: 0 20px 0 45px !important;
        font-size: 14px !important;
    }

    #search::before {
        left: 15px;
        font-size: 16px;
    }

    #search .input-group-btn button {
        height: 48px !important;
        padding: 0 25px !important;
        font-size: 13px !important;
    }

    #cart>.btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}