#variation-box {
    margin: 20px 0;
}

.color-box p,
.size-box p {
    width: 100%;
    font-weight: bold;
    margin-bottom: 10px;
}

.color-box,
.size-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.color-item,
.size-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 10px;
    margin: 5px;

    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;

    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-item:hover,
.size-item:hover {
    border-color: #28a745;
    color: #28a745;
}

.color-item.active,
.size-item.active {
    border: 2px solid #28a745;
    background: #e9f7ef;
    color: #28a745;
    font-weight: 500;
    line-height: 1;
}

.color-box-preview {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    flex-shrink: 0;
}

.color-item.active .color-box-preview {
    border: 2px solid #28a745;
}

.color-name, .size-name {
    font-size: 12px;
    line-height: 1;
    margin-top: 4px;
}

.product-purchase-info {
    margin: 22px 0;
}

.product-price-box {
    position: relative;
    padding: 18px 20px;
    border: 1px solid #e8ecef;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8faf9 100%);
    box-shadow: 0 8px 25px rgba(25, 45, 35, 0.06);
    overflow: hidden;
}

.product-price-box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #28a745, #69c77d);
}

.product-price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.product-price-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5d6661;
    font-size: 14px;
    font-weight: 600;
}

.product-price-title i {
    color: #28a745;
    font-size: 17px;
}

.product-discount-badge {
    padding: 5px 10px;
    border-radius: 20px;
    background: #fff0f0;
    color: #e53935;
    font-size: 12px;
    font-weight: 700;
}

.product-price-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.product-old-price {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #9aa19d;
    font-size: 14px;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.product-final-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: #202622;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.4;
}

.product-final-price #price-final {
    color: #218838;
}

.price-currency {
    font-size: 13px;
    font-weight: 600;
}

.product-stock-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 13px 15px;
    border-radius: 14px;
    border: 1px solid;
}

.product-stock-box.is-available {
    color: #218838;
    border-color: #ccebd5;
    background: #f1fbf4;
}

.product-stock-box.is-unavailable {
    color: #dc3545;
    border-color: #f2c8cc;
    background: #fff5f5;
}

.product-stock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    font-size: 19px;
    flex-shrink: 0;
}

.product-stock-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-grow: 1;
}

.product-stock-title {
    font-size: 14px;
    font-weight: 700;
}

.product-stock-description {
    color: #768078;
    font-size: 11px;
}

.product-stock-count {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding: 7px 11px;
    border-radius: 10px;
    background: #ffffff;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(30, 50, 40, 0.05);
}

.product-stock-count #stock-box {
    font-size: 16px;
}

.product-stock-count small {
    font-size: 10px;
    font-weight: 500;
}

@media (max-width: 575px) {
    .product-price-box {
        padding: 16px;
        border-radius: 14px;
    }

    .product-final-price {
        font-size: 23px;
    }

    .product-price-content {
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .product-stock-description {
        display: none;
    }

    .product-stock-count {
        padding: 6px 9px;
    }
}

.product-information-section {
    padding-top: 30px;
    padding-bottom: 50px;
}

.product-information-card {
    overflow: hidden;
    border: 1px solid #e9eeeb;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 40px rgba(31, 52, 41, 0.07);
}

.product-information-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    border-bottom: 1px solid #edf1ef;
    background: radial-gradient(
            circle at top left,
            rgba(40, 167, 69, 0.08),
            transparent 34%
    ),
    #ffffff;
}

.product-information-subtitle {
    display: block;
    margin-bottom: 5px;
    color: #28a745;
    font-size: 12px;
    font-weight: 700;
}

.product-information-title {
    margin: 0;
    color: #202822;
    font-size: 23px;
    font-weight: 800;
}

.product-information-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: #28a745;
    background: #eef9f1;
    font-size: 22px;
    flex-shrink: 0;
}

.product-information-tabs {
    display: flex;
    gap: 10px;
    padding: 14px 20px;
    margin: 0;
    border-bottom: 1px solid #edf1ef;
    background: #fafcfb;
}

.product-information-tabs .nav-item {
    flex: 1;
    max-width: 280px;
}

.product-information-tabs .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 11px;
    padding: 12px 15px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #646e67;
    background: transparent;
    text-align: right;
    transition: all 0.25s ease;
}

.product-information-tabs .nav-link:hover {
    color: #218838;
    border-color: #dceee1;
    background: #f2faf4;
}

.product-information-tabs .nav-link.active {
    color: #218838;
    border-color: #cce9d3;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(31, 75, 45, 0.08);
}

.product-information-tabs .tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: #79837c;
    background: #edf1ef;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.product-information-tabs .nav-link.active .tab-icon {
    color: #ffffff;
    background: linear-gradient(135deg, #36b957, #218838);
}

.product-information-tabs .tab-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-information-tabs .tab-text strong {
    font-size: 14px;
    font-weight: 700;
}

.product-information-tabs .tab-text small {
    color: #929a95;
    font-size: 10px;
    font-weight: 400;
}

.product-information-content {
    padding: 28px;
}

.product-description-box,
.product-specifications-box {
    animation: productTabFade 0.3s ease;
}

@keyframes productTabFade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px dashed #dde4df;
}

.content-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 13px;
    color: #28a745;
    background: #eef9f1;
    font-size: 18px;
    flex-shrink: 0;
}

.content-section-title h3 {
    margin: 0 0 4px;
    color: #252d28;
    font-size: 17px;
    font-weight: 800;
}

.content-section-title p {
    margin: 0;
    color: #8a938d;
    font-size: 11px;
}

.product-description-content {
    color: #59625c;
    font-size: 14px;
    line-height: 2.15;
    text-align: justify;
}

.product-description-content p {
    margin-bottom: 8px;
    line-height: 2.15;
}

.product-description-content h2,
.product-description-content h3,
.product-description-content h4 {
    margin: 5px 0 8px;
    color: #242c27;
    font-weight: 800;
    line-height: 1.7;
}

.product-description-content h2 {
    font-size: 21px;
}

.product-description-content h3 {
    font-size: 18px;
}

.product-description-content h4 {
    font-size: 16px;
}

.product-description-content ul,
.product-description-content ol {
    padding-right: 22px;
    margin-bottom: 18px;
}

.product-description-content li {
    margin-bottom: 8px;
}

.product-description-content img {
    max-width: 100%;
    height: auto;
    margin: 15px auto;
    border-radius: 14px;
}

.product-description-content a {
    color: #218838;
    font-weight: 600;
}

.product-specifications-list {
    overflow: hidden;
    border: 1px solid #e7ece9;
    border-radius: 16px;
}

.specification-item {
    display: grid;
    grid-template-columns: minmax(180px, 32%) 1fr;
    min-height: 58px;
    border-bottom: 1px solid #edf1ef;
    transition: background 0.2s ease;
}

.specification-item:last-child {
    border-bottom: 0;
}

.specification-item:hover {
    background: #fafcfb;
}

.specification-title,
.specification-value {
    display: flex;
    align-items: center;
    padding: 13px 18px;
}

.specification-title {
    gap: 9px;
    color: #59635c;
    background: #f7f9f8;
    font-size: 13px;
    font-weight: 700;
}

.specification-value {
    color: #29322c;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.specification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 8px;
    color: #28a745;
    background: #eaf7ed;
    font-size: 11px;
    flex-shrink: 0;
}

.specification-discount {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    color: #dc3545;
    background: #fff0f1;
    font-size: 12px;
    font-weight: 800;
}

.product-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    gap: 9px;
    padding: 25px;
    color: #8b948e;
    background: #fafcfb;
    font-size: 13px;
}

.product-empty-state i {
    color: #28a745;
    font-size: 18px;
}

@media (max-width: 767px) {
    .product-information-card {
        border-radius: 16px;
    }

    .product-information-header {
        padding: 19px;
    }

    .product-information-title {
        font-size: 19px;
    }

    .product-information-icon {
        width: 44px;
        height: 44px;
        border-radius: 13px;
        font-size: 18px;
    }

    .product-information-tabs {
        gap: 7px;
        padding: 10px;
    }

    .product-information-tabs .nav-item {
        max-width: none;
    }

    .product-information-tabs .nav-link {
        justify-content: center;
        padding: 10px 7px;
        border-radius: 11px;
    }

    .product-information-tabs .tab-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .product-information-tabs .tab-text strong {
        font-size: 11px;
    }

    .product-information-tabs .tab-text small {
        display: none;
    }

    .product-information-content {
        padding: 18px 15px;
    }

    .content-section-title h3 {
        font-size: 15px;
    }

    .content-section-title p {
        font-size: 10px;
    }

    .product-description-content {
        font-size: 13px;
        line-height: 2;
    }

    .specification-item {
        grid-template-columns: 42% 58%;
        min-height: 53px;
    }

    .specification-title,
    .specification-value {
        padding: 11px 10px;
        font-size: 11px;
    }

    .specification-icon {
        display: none;
    }
}

@media (max-width: 400px) {
    .product-information-tabs .nav-link {
        gap: 5px;
    }

    .product-information-tabs .tab-icon {
        display: none;
    }

    .specification-item {
        grid-template-columns: 40% 60%;
    }
}

.single-banner h2 {
    font-size: 29px !important;
}