/* Custom WooCommerce Styling for Vietceramics-style product page */

/* Product Title */
.product-info-inner .product-title.product_title {
    font-size: 24px;
   font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Product Gallery */
.product-gallery {
    margin-bottom: 30px;
}

.product-gallery .flickity-viewport {
    background-color: #fff;
    border-radius: 5px;
}

.product-thumbnails img, .product-gallery-slider img {
    border-radius: 5px;
}

/* Product Info */
.product-info {
    padding-left: 30px;
}

.product-info-inner {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
}

/* Product Short Description */
.product-short-description {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

/* Custom Buttons */
.vietceramics-buttons {
    display: flex;
    flex-direction: column;
}

.vietceramics-buttons .button {
    width: 100%;
    margin: 0;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 3px;
    padding: 10px 15px;
}

.consultation-button {
    background-color: #1a73e8 !important;
    color: #fff !important;
}

.learn-more-button {
    background-color: #f8f9fa !important;
    color: #202124 !important;
    border: 1px solid #dadce0 !important;
}

.contact-button {
    background-color: #4267B2 !important;
    color: #fff !important;
}

/* Social Sharing */
.vietceramics-social-share {
    display: flex;
    align-items: center;
    padding-top: 15px;
}

.vietceramics-social-share span {
    margin-right: 10px;
    font-weight: 500;
}

.vietceramics-social-share a {
    margin-right: 15px;
    font-size: 18px;
    color: #666;
}

.vietceramics-social-share a:hover {
    color: #1a73e8;
}

/* Custom Tabs */
.vietceramics-product-tabs {
    margin-top: 40px;
    margin-bottom: 40px;
}

.vietceramics-product-tabs .tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.vietceramics-product-tabs .tabs li {
    margin: 0;
    padding: 0;
}

.vietceramics-product-tabs .tabs li a {
    display: block;
    padding: 12px 20px;
    color: #666;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.vietceramics-product-tabs .tabs li.active a {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
}

.vietceramics-product-tabs .tab-content {
    padding: 30px 0;
}

.vietceramics-product-tabs .tab-panel {
    display: none;
}

.vietceramics-product-tabs .tab-panel.active {
    display: block;
}

/* Product Specifications */
.product-specifications {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-name {
    font-weight: 500;
    color: #666;
}

.spec-value {
    color: #333;
}

/* Color Options */
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.color-options img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.color-options img.selected {
    border-color: #1a73e8;
}

/* Hide default WooCommerce tabs */
.woocommerce-tabs {
    display: none;
}

/* Responsive Styles */
@media (max-width: 849px) {
    .product-info {
        padding-left: 0;
        margin-top: 20px;
    }

    .spec-row {
        grid-template-columns: 1fr;
    }

    .vietceramics-product-tabs .tabs {
        flex-direction: column;
    }

    .vietceramics-product-tabs .tabs li a {
        padding: 10px 0;
    }
}

.list-category-download{
    padding: 15px 0;
}
.list-category-download:nth-child(2n){
    background-color: rgba(255, 255, 255, 0.05);
}
.list-category-download h3{
    font-style: normal;
    font-weight: 300;
    font-size: 32px;
    line-height: 56px;
    position: relative;
    color: #1a1a1a;
    text-align: right;
}

.list-category-download .item-product{
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ffffff;
}
.list-category-download .item-product h4 span{
    font-size: 60%;
    color: #a9a9a9;
}
.list-category-download .item-product h4 a i{
    margin-right: 5px;
}
.list-category-download .item-product h4{
    margin-bottom: 0;
}
.list-category-download .item-product h4 a{
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
}
.list-category-download .item-product p{
    margin-top: 10px;
}

.element-download .item-product p{
    margin-top: 0;
}
.element-download.list-category-download:nth-child(2n){
    background-color: transparent;
}
.list-category-download.dark .item-product{
    border-bottom-color: #1a1a1a;
}

.element-download .item-product h4 a{
    color: #ffffff;
}
.element-download .item-product h4 a:hover,  .element-download .item-product p a{
    color: #CF2027;
}
.element-download h3{
    color: #ffffff;
}