.radio-button {
    display: inline-block;
}

.radio-button input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.radio-button label {
    display: inline-block;
    background-color: #f5f5f5;
    padding: 8px 2px;
    font-size: 11px;
    border: 1px solid #509abd;
    border-radius: 4px;

    cursor: pointer;
}

.radio-button label>span {
    font-size: 14px;
}

@media (max-width: 543px) {
    .radio-button label {
        font-size: 13px;
    }

}

@media (max-width: 991px) {
    .radio-button label {
        font-size: 13px;
    }

}

@media (max-width: 1199px) {
    .radio-button label {
        font-size: 13px;
    }

}



.radio-button label:hover {
    background-color: #dbab6d;
    color: #ffffff;
}

.radio-button input[type="radio"]:focus+label {
    border: 1px dashed #509abd;
    color: #ffffff;
}

.radio-button input[type="radio"]:checked+label {
    background-color: #dbab6d;
    border-color: #4c4;
    color: #ffffff;
}

.category-sub-menu>li {
    padding-left: 10px;
}

.product-thumb .product-description h4 {
    margin-top: 7px;
}

.product_option label {
    text-align: center;
}

.header-top>.container {
    background-color: #00343f;
    color: #fff;
}

#top-menu>li>a,
.user-info .user-name {
    color: #fff;
}

.blockcart .cart-img,
#menu-icon .nav-icon svg,
.search-widget .search-logo,
.user-info .user-logo {

    fill: #fff;
}

#custom-cart .input-group-btn {

    width: 52px;
    float: left;
}

#custom-cart .input-group-btn .btn:disabled {

    border-radius: 50px;
    padding: 10px 20px;

    line-height: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#custom-cart .input-group .form-control[name^=quantity] {
    float: left;
    font-size: 16px;
    height: 42px;
    display: table-cell;
}

.ishitestimonials .testimonial-img img {
    max-width: 70px;
}


.ishislider .slider-content .sub-title,
.ishislider .slider-content .main-title {

    text-shadow: 1px 1px white;

}


.ishislider .slider-content .desc {

    text-shadow: 1px 1px black;

}

#cart-notification .cart-btn .btn-default {
    width: 30%;
}

#cart-notification .cart-btn .btn-primary {
    width: 60%;
}

#_desktop_search_icon {
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
    padding-right: 7px;
}

#search_widget_desktop .dropdown-menu {
    left: auto;
    right: 0;
    min-width: 300px;
}

#search_widget_desktop #search {
    padding: 0 2px;
}

#search_widget_desktop #ajax-search-btn {
    padding: 13px 16px;
}

#search_widget_desktop #ajax-search-text {
    width: 245px;
}

/* Marketing Blocks Styles */
.marketing-blocks {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.marketing-block {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

.marketing-block:hover {
    border-color: #dbab6d;
    box-shadow: 0 2px 8px rgba(219, 171, 109, 0.2);
}

.marketing-icon {
    margin-right: 12px;
    color: #dbab6d;
    flex-shrink: 0;
}

.marketing-text {
    display: flex;
    flex-direction: column;
}

.marketing-text strong {
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.marketing-text span {
    font-size: 12px;
    color: #666;
}

/* Dynamic Size Description */
.dynamic-size-description {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
}

.dynamic-size-description h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 16px;
    border-bottom: 2px solid #dbab6d;
    padding-bottom: 8px;
}

.size-details {
    display: grid;
    gap: 8px;
}

.size-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #e9ecef;
}

.size-detail-item:last-child {
    border-bottom: none;
}

.size-detail-item strong {
    color: #555;
    font-weight: 600;
}

.size-detail-item span {
    color: #333;
    font-weight: 500;
}

/* Maxi Option Container */
.maxi-option-container {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 16px;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.maxi-option-container.hidden {
    display: none;
}

.maxi-option-container .control-label {
    color: #856404;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Size Description in Options */
.size-description {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
    padding: 4px 0;
    border-top: 1px solid #eee;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .marketing-blocks {
        flex-direction: column;
        gap: 10px;
    }

    .marketing-block {
        min-width: auto;
    }

    .size-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .dynamic-size-description {
        padding: 12px;
    }

    .maxi-option-container {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .marketing-block {
        padding: 10px 12px;
    }

    .marketing-icon {
        margin-right: 10px;
    }

    .marketing-text strong {
        font-size: 13px;
    }

    .marketing-text span {
        font-size: 11px;
    }
}

/* Clean & Modern Product Cards - Milatex Style with Site Colors */
.product-flex-row {
    display: flex;
    flex-wrap: wrap;
}

.product-layout {
    margin-bottom: 30px;
    transition: all 0.3s ease;
    display: flex;
    /* Allow inner container to fill height */
    flex-direction: column;
}

.product-layout:hover {
    transform: translateY(-2px);
}

.product-container {
    height: 100%;
    /* Force equal height for all containers in the row */
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 13px 0 rgba(17, 38, 146, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-container:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.product-thumb {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.product-thumb .image {
    position: relative;
    overflow: hidden;
}

.product-thumb .image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product-thumb .image:hover img {
    transform: scale(1.05);
}

/* Modern Product Card Overlay */
.modern-product-card {
    position: relative;
    background: white;
    z-index: 5;
    padding: 10px 0;
}

.product-top-info {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    pointer-events: auto;
}

.product-badge {
    background: #4eb4e6;
    /* Keeping Milatex blue for discount as it pop more, or change to #dbab6d if strictly gold */
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Let's use site gold if preferred, but usually sales are blue/red. Site has blue #5fa6c4 */
.product-badge {
    background: #509abd;
}

.product-perks {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    z-index: 10;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.86);
    padding: 5px 0;
}

.perk-item {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #333;
    font-weight: 500;
}

.perk-item svg {
    margin-right: 5px;
    color: #509abd;
    width: 20px;
    height: 20px;
}

/* Stock Banner */
.stock-banner {
    background-color: #d9e9f2;
    color: #1e282d;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    padding: 20px;
    background: white;
    text-align: center;
}

.product-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

/* Size Tabs Pill Style */
.size-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.size-tab {
    padding: 8px 5px;
    background: white;
    border: 1px solid #d9e9f2;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1e282d;
}

.size-tab:hover {
    border-color: #509abd;
}

.size-tab.active {
    background-color: #509abd;
    color: white;
    border-color: #509abd;
}

/* Category Maxi Option Styles */
.category-maxi-option-container {
    margin: 15px 0;
    padding: 10px;
    background: #fdf8f0;
    border-radius: 8px;
    border: 1px dashed #dbab6d;
}

.category-maxi-option-container .option-title {
    font-size: 14px;
    font-weight: 700;
    color: #00343f;
    margin-bottom: 8px;
    text-align: center;
}

.maxi-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.maxi-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    background: white;
    border: 1px solid #d9e9f2;
    border-radius: 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1e282d;
    line-height: 1.3;
}

.maxi-label {
    font-weight: 700;
}

.maxi-dims {
    font-size: 11px;
    opacity: 0.9;
}

.maxi-pill:hover {
    border-color: #dbab6d;
}

.maxi-pill.active {
    background-color: #dbab6d;
    color: white;
    border-color: #dbab6d;
}

/* Composition Info Grid Style */
.composition-info {
    margin: 20px 0;
}

.composition-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.composition-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    text-align: left;
}

.composition-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.composition-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #509abd;
}

.material-name {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.material-structure {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Price Section */
.price-section {
    margin: 15px 0;
}

.full-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.discount-price {
    font-size: 22px;
    font-weight: 900;
    color: #000;
}

/* Buy Button with Gradient */
.buy-button {
    width: 100%;
    padding: 18px 0;
    background: linear-gradient(90.03deg, #00343f 0.27%, #509abd 37.42%, #dbab6d 99.98%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.buy-button:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.buy-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-title {
        font-size: 18px;
    }

    .size-tab {
        font-size: 12px;
    }

    .composition-list {
        gap: 10px;
    }

    .discount-price {
        font-size: 18px;
    }

    .buy-button {
        padding: 15px 0;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .product-badge {
        width: 50px;
        height: 50px;
        font-size: 15px;
    }

    .stock-banner {
        font-size: 14px;
        padding: 10px 0;
    }
}

/* Product Detail Page Specifics */
.product-right .product-title {
    font-size: 32px !important;
    margin-bottom: 20px !important;
    color: #00343f !important;
    font-weight: 800 !important;
}

.product-right .product-price {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #000 !important;
    margin-bottom: 25px !important;
    display: block;
}

.options-container {
    margin: 25px 0;
}

.option-title {
    display: block !important;
    float: none !important;
    width: 100% !important;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-right .size-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
}

.product-right .size-tab {
    padding: 15px;
    background: white;
    border: 1px solid #d9e9f2;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.product-right .size-tab:hover {
    border-color: #509abd;
    transform: translateY(-2px);
}

.product-right .size-tab.active {
    background: #509abd;
    color: white;
    border-color: #509abd;
    box-shadow: 0 4px 12px rgba(80, 154, 189, 0.3);
}

.size-tab .size-name {
    display: block;
    font-weight: 700;
    font-size: 14px;
}

.size-tab .size-price {
    display: block;
    font-size: 12px;
    margin-top: 2px;
}

/* Composition Grid on Product Page */
.product-right .composition-info {
    background: #f9fbfc;
    padding: 25px;
    border: 1px solid #eef3f6;
    border-radius: 12px;
    margin: 35px 0;
}

.product-right .composition-title {
    font-size: 18px;
    font-weight: 700;
    color: #00343f;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #dbab6d;
}

.product-right .composition-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.product-right .composition-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.product-right .composition-icon {
    width: 36px;
    height: 36px;
    color: #509abd;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.product-right .material-name {
    font-weight: 700;
    font-size: 13px;
    color: #666;
    margin-bottom: 2px;
}

.product-right .material-structure {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

/* Buy Section */
.buy-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 40px 0;
}

.qty-selector {
    width: 100px;
}

.qty-selector .control-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 5px;
    font-weight: 700;
}

.qty-selector input {
    height: 56px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid #eee;
}

.buy-section .buy-button {
    flex: 1;
    height: 56px;
    border-radius: 8px;
    font-size: 18px;
    letter-spacing: 0.5px;
}

/* Marketing Blocks on Image Column */
.marketing-blocks {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.marketing-block {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #eef2f5;
    transition: all 0.3s ease;
}

.marketing-block:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: #509abd;
}

.marketing-icon {
    color: #509abd;
    flex-shrink: 0;
}

.marketing-text strong {
    display: block;
    font-size: 15px;
    color: #00343f;
    margin-bottom: 2px;
}

.marketing-text span {
    font-size: 13px;
    color: #777;
}

/* Info List Styling */
.product-info-list {
    background: #fff;
    padding: 25px !important;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    margin-top: 30px;
    list-style: none;
}

.product-info-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.product-info-list li:last-child {
    border-bottom: none;
}

.product-info-list li strong {
    color: #666 !important;
    font-weight: 500 !important;
}

.stock-status {
    color: #509abd;
    font-weight: 700;
}

/* Accordion Adjustments */
.tabs_info {
    margin-top: 40px;
}

.panel-default>.panel-heading {
    background: white !important;
    padding: 15px 0 !important;
    border: none !important;
    border-bottom: 1px solid #eee !important;
}

.panel-default>.panel-heading a {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-decoration: none !important;
}

.panel-default>.panel-heading a:after {
    content: '+';
    font-size: 24px;
    color: #dbab6d;
}

.panel-default>.panel-heading a[aria-expanded="true"]:after {
    content: '−';
}

@media (max-width: 991px) {
    .product-right .product-title {
        font-size: 26px !important;
    }
}

@media (max-width: 576px) {
    .product-right .size-tabs {
        grid-template-columns: 1fr;
    }

    .buy-section {
        flex-direction: column;
        align-items: stretch;
    }

    .qty-selector {
        width: 100%;
    }

    .marketing-blocks {
        flex-direction: column;
    }
}