/* Product Meta */
.product-meta {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.product-meta-breadcrumb {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.product-meta-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
}

/* Product Summary */
.summary {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.summary-offer {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #dc3545;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.border-right-product {
    position: relative;
}

.border-right-product::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, #dee2e6 15%, #dee2e6 85%, transparent 100%);
}

/* Product Gallery */
.product-gallery {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.product-gallery-thumb {
    height: 100px;
    margin-bottom: 20px;
}

.product-gallery-thumb .swiper-slide {
    opacity: 0.4;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-gallery-thumb .swiper-slide-thumb-active {
    opacity: 1;
}

/* Product Icons */
.icon-product-box {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
}

.icon-product-box-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-product-box-item:hover {
    transform: translateY(-2px);
}

.icon-product-box-item i {
    font-size: 24px;
    transition: color 0.3s ease;
}

.icon-product-box-item:hover i, .icon-product-box-item:hover span , .icon-product-box-item:hover a {
    color: #fff;

}

.icon-product-box-item span {
    display: block;
    font-size: 12px;
    margin-top: 8px;
}

/* Product Details */
.se-title {
    margin-bottom: 25px;
}

.se-title h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8;
    color: #212529;
    margin-bottom: 12px;
}

.se-title h6 {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

.se-rating {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 8px;
}

.se-rating .star-rating {
    margin-left: 15px;
    color: #ffc107;
    font-size: 18px;
}

.se-rating .rating-count {
    color: #6c757d;
    font-size: 14px;
    margin-right: 15px;
}

.se-rating .rating-link {
    color: #0d6efd;
    text-decoration: none;
    font-size: 14px;
    margin-right: auto;
    transition: color 0.3s ease;
}

.se-rating .rating-link:hover {
    color: #0a58ca;
}

/*.se-desc {*/
/*    margin-bottom: 30px;*/
/*    background-color: #f8f9fa;*/
/*    border-radius: 8px;*/
/*    overflow: hidden;*/
/*}*/

/*.se-desc h6 {*/
/*    margin: 0;*/
/*    padding: 15px;*/
/*    background-color: #e9ecef;*/
/*    color: #212529;*/
/*    font-size: 15px;*/
/*    font-weight: 600;*/
/*    border-bottom: 1px solid #dee2e6;*/
/*}*/

/*.se-desc ul {*/
/*    list-style: none;*/
/*    padding: 15px;*/
/*    margin: 0;*/
/*}*/

/*.se-desc li {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    padding: 10px 0;*/
/*    border-bottom: 1px dashed #dee2e6;*/
/*}*/

/*.se-desc li:last-child {*/
/*    border-bottom: none;*/
/*    padding-bottom: 0;*/
/*}*/

/*.se-desc li:first-child {*/
/*    padding-top: 0;*/
/*}*/

/*.se-desc .title {*/
/*    color: #6c757d;*/
/*    font-size: 14px;*/
/*    position: relative;*/
/*    padding-right: 15px;*/
/*}*/

/*.se-desc .title::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    right: 0;*/
/*    top: 8px;*/
/*    width: 6px;*/
/*    height: 6px;*/
/*    border-radius: 50%;*/
/*    background-color: #0d6efd;*/
/*}*/

/*.se-desc .desc {*/
/*    color: #212529;*/
/*    font-size: 14px;*/
/*    font-weight: 500;*/
/*}*/

/*.se-desc .desc .badge {*/
/*    padding: 5px 10px;*/
/*    font-size: 12px;*/
/*    font-weight: 500;*/
/*    border-radius: 15px;*/
/*}*/

/*.se-desc .desc .badge-success {*/
/*    background-color: #198754;*/
/*    color: #fff;*/
/*}*/

/*.se-desc .desc .badge-warning {*/
/*    background-color: #ffc107;*/
/*    color: #000;*/
/*}*/

/*.se-desc .desc .badge-danger {*/
/*    background-color: #dc3545;*/
/*    color: #fff;*/
/*}*/

/*.se-desc .desc .text-success {*/
/*    color: #198754;*/
/*}*/

/*.se-desc .desc .text-danger {*/
/*    color: #dc3545;*/
/*}*/

/* Product Cart */
.se-cart {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
}

.se-cart-detail .scd-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #6c757d;
    font-size: 14px;
}

.se-cart-detail i {
    margin-left: 8px;
    font-size: 16px;
}

/*.se-cart-detail a {*/
/*    color: #0d6efd;*/
/*    text-decoration: none;*/
/*    transition: color 0.3s ease;*/
/*}*/

/*.se-cart-detail a:hover {*/
/*    color: #0a58ca;*/
/*}*/

/*.se-cart-price {*/
/*    margin: 25px 0;*/
/*    text-align: center;*/
/*    padding: 20px;*/
/*    background-color: #fff;*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 2px 4px rgba(0,0,0,.05);*/
/*}*/

/*.se-cart-price-old {*/
/*    text-decoration: line-through;*/
/*    color: #6c757d;*/
/*    margin-left: 10px;*/
/*    font-size: 16px;*/
/*}*/

/*.se-cart-price-new {*/
/*    color: #dc3545;*/
/*    font-size: 24px;*/
/*    font-weight: bold;*/
/*}*/

/* Stock Status */
.se-cart-stock {
    margin: 20px 0;
    text-align: center;
}

.stock-status {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
}

.stock-status i {
    margin-left: 8px;
    font-size: 18px;
}

.stock-status.in-stock {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.stock-status.out-of-stock {
    background-color: #ffebee;
    color: #c62828;
}

.stock-warning {
    color: #ed6c02;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff3e0;
    padding: 8px;
    border-radius: 8px;
    margin-top: 10px;
}

.stock-warning::before {
    content: "\F333";
    font-family: "bootstrap-icons";
    margin-left: 8px;
    font-size: 16px;
}

/* Delivery Time */
.delivery-time {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976d2;
    font-size: 13px;
    margin-top: 15px;
    padding: 12px;
    background-color: #e3f2fd;
    border-radius: 8px;
}

.delivery-time i {
    margin-left: 8px;
    font-size: 18px;
}

/* Quantity Input */
.quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.quantity input[type="number"] {
    width: 70px;
    text-align: center;
    padding: 8px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin: 0 8px;
    font-size: 16px;
    color: #212529;
}

.quantity input[type="number"]::-webkit-inner-spin-button,
.quantity input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
    height: 30px;
}

/* Add to Cart Button */
.single_add_to_cart_button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: #0d6efd;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.single_add_to_cart_button::before {
    content: "\F23D";
    font-family: "bootstrap-icons";
    font-size: 22px;
}

.single_add_to_cart_button:hover {
    background-color: #0b5ed7;
    transform: translateY(-1px);
}

.single_add_to_cart_button:disabled {
    background-color: #adb5bd;
    cursor: not-allowed;
    transform: none;
}

/* Product Tabs */
.product-tab {
    margin-top: 30px;
    background-color: #f8f9fa;
    padding: 30px 0;
}

.wc-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.wc-tabs li {
    margin-left: 5px;
}

.wc-tabs li a {
    display: block;
    padding: 12px 25px;
    color: #6c757d;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px 8px 0 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.wc-tabs li.active a {
    color: #0d6efd;
    border-color: #dee2e6;
    border-bottom-color: #fff;
    background-color: #fff;
}

.woocommerce-Tabs-panel {
    background-color: #fff;
    padding: 25px;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

/* Related Products */
.related-products {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 0;
    margin-top: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.section-title {
    margin-bottom: 30px;
    padding: 0 30px;
}

.section-title h4 {
    font-size: 20px;
    margin: 0;
    position: relative;
    padding-right: 15px;
    color: #212529;
}

.section-title h4::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background-color: #0d6efd;
    border-radius: 2px;
}

.relatedProductsSlider {
    padding: 20px 50px;
}

.relatedProductsSlider .swiper-button-next,
.relatedProductsSlider .swiper-button-prev {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    color: #6c757d;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.relatedProductsSlider .swiper-button-next:hover,
.relatedProductsSlider .swiper-button-prev:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.relatedProductsSlider .swiper-button-next::after,
.relatedProductsSlider .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.relatedProductsSlider .swiper-pagination {
    bottom: 0;
}

.relatedProductsSlider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #adb5bd;
    opacity: 1;
}

.relatedProductsSlider .swiper-pagination-bullet-active {
    background-color: #0d6efd;
}

.product-box-item {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.product-box-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    transform: translateY(-3px);
}

.product-box-item-img {
    position: relative;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.product-box-item-img img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product-box-item:hover .product-box-item-img img {
    transform: scale(1.05);
}

.discount-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc3545;
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.product-box-item-desc h6 {
    font-size: 14px;
    margin-bottom: 12px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

.product-box-item-desc h6 a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-box-item-desc h6 a:hover {
    color: #0d6efd;
}

.product-box-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.product-box-price .old-price {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 13px;
    margin-bottom: 5px;
}

.product-box-price .new-price {
    color: #0d6efd;
    font-weight: bold;
    font-size: 16px;
}

@media (max-width: 991px) {
    .border-right-product::before {
        display: none;
    }
    
    .border-right-product {
        border-top: 1px solid #dee2e6;
        margin-top: 20px;
        padding-top: 20px;
    }

    .product-gallery-thumb {
        height: 80px;
    }

    .wc-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }

    .wc-tabs li {
        margin: 0;
    }

    .wc-tabs li a {
        padding: 8px 15px;
    }

    .relatedProductsSlider {
        padding: 20px 0;
    }

    .relatedProductsSlider .swiper-button-next,
    .relatedProductsSlider .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 767px) {
    .summary {
        padding: 20px;
    }

    .se-title h5 {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .se-title h6 {
        font-size: 13px;
    }
    
    .se-rating {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
    }
    
    .se-rating .rating-link {
        width: 100%;
        text-align: left;
    }

    .icon-product-box {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .icon-product-box-item {
        flex: 0 0 calc(50% - 15px);
    }

    .se-cart {
        padding: 20px;
    }

    .se-cart-price {
        padding: 15px;
    }

    .product-box-item-desc h6 {
        height: auto;
        margin-bottom: 15px;
    }

    .section-title {
        padding: 0 20px;
    }

    .share-buttons {
        grid-template-columns: 1fr;
    }
    
    .spec-group-title {
        padding: 10px;
    }
    
    .spec-group-content {
        padding: 10px;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Specifications Modal */
.specifications-table {
    padding: 15px;
}

.spec-group {
    margin-bottom: 25px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.spec-group:last-child {
    margin-bottom: 0;
}

.spec-group-title {
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
}

.spec-group-title h6 {
    margin: 0;
    color: #212529;
    font-weight: 600;
}

.spec-group-content {
    padding: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #dee2e6;
}

.spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-value {
    color: #6c757d;
    font-size: 14px;
}

/* Share Modal */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-buttons a:hover {
    transform: translateY(-2px);
}

.share-telegram {
    background-color: #0088cc;
}

.share-whatsapp {
    background-color: #25D366;
}

.share-twitter {
    background-color: #1DA1F2;
}

.share-linkedin {
    background-color: #0A66C2;
}

.share-buttons i {
    font-size: 20px;
}

.share-link {
    margin: 20px 0;
}

.share-link .input-group {
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    border-radius: 8px;
    overflow: hidden;
}

.share-link input {
    border: 1px solid #dee2e6;
    padding: 12px;
    font-size: 14px;
}

.share-link button {
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-link button i {
    font-size: 18px;
}

.share-qr {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.share-qr img {
    max-width: 150px;
    height: auto;
}

.share-qr p {
    font-size: 13px;
} 