/* ==========================================
   PRODUCT DETAIL PAGE STYLES
   ========================================== */

/* Main Product Section */
.product-detail-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Product Image Section */
.product-image-section {
    position: relative;
}

.product-main-image {
    width: 100%;
    background: #fff;
}

.product-main-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

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

.product-breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.product-breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    text-decoration: underline;
}

.product-sku {
    font-size: 14px;
    color: #000;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 44px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
}

.product-price {
    font-size: 24px;
    font-weight: 600;
    color: #235582;
}

.product-unit {
    font-size: 20px;
    color: #000;
    font-weight: 600;
}

/* Stock Status */
.product-stock-status {
    padding: 20px 0 0px;
    margin-top: 25px;
    border-top: 1px solid #E6E6E8;
}

.stock-in-stock {
    color: #000;
    font-weight: 500;
}
.stock-in-stock strong {
  font-weight: 500;
}

.stock-out-of-stock {
    color: #dc3545;
    font-weight: 600;
}

/* Expiration Info */
.product-expiration {
    margin-bottom: 20px;
}

.expiration-label {
    font-weight: 500;
    color: #212121;
    font-size: 16px;
}

.expiration-value {
    font-weight: 500;
}

/* Express Shipping */
.product-express {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    font-weight: 500;
}

.product-express p {
  margin-bottom: 0px;
}

.product-express strong {
    color: #000;
}

/* Notify When Available */
.notify-section {
    padding: 15px 20px;
    background: #FFF0F0;
    border-radius: 12px;
    margin-bottom: 25px;
}

.notify-icon {
    color: #dc3545;
    margin-right: 10px;
}

.notify-section p {
    color: #E83D3D;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 0px;
    display: flex;
    align-items: center;


}

.notify-email-form {
    display: block;
}

.notify-email-input {
    padding: 12px 16px;
    border: 1px solid #E6E6E8;
    border-radius: 200px !important;
    font-size: 16px;
    font-weight: 500;
    color: #AAAAAA;
    margin-bottom: 15px !important;
}

.notify-submit-btn {
    cursor: pointer;
    transition: background 0.3s;
}


/* Add to Cart Section */
.product-add-to-cart-section {
    margin-top: 25px;
    border-top: 1px solid #e6e6e6;
    padding-top: 25px;
}

.product-quantity-label {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    display: block;
}

.product-cart-actions form {
    display: flex;
    gap: 15px;
    align-items: center;
}

.product-quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #E6E6E8;
    border-radius: 200px;
    overflow: hidden;
    width: 160px;
}

.product-qty-btn {
    width: 45px;
    height: 45px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    transition: background 0.2s;
}


.product-qty-input {
    width: 70px !important;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border: 0px !important;
    text-align: center;
}

.product-add-to-cart-btn {
    flex: 1;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0px 0px 0px !important;
}

/* ==========================================
   PRODUCT TABS SECTION
   ========================================== */

.product-tabs-section {
    margin-top: 60px;
    border-top: 0px;
}

.product-tabs-nav {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 30px;
    position: relative;
}

.product-tab-btn {
    padding: 18px 0px;
    background: transparent;
    border: none;
    border-radius: 0px;
    font-size: 20px;
    font-weight: 600;
    color: #C8C8C8;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    border-bottom: 2px solid transparent;
}

.product-tab-btn.active {
    background: transparent;
    color: #000;
    border-color: #235582;
}

.product-tab-btn:hover:not(.active) {
    border-color: #235582;
    background: transparent;
    color: #000;
}

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   RELATED ITEMS SECTION
   ========================================== */

.related-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.product-tab-content h1,
.product-tab-content h2,
.product-tab-content h3,
.product-tab-content h4,
.goodjava-type-info h3 {
  font-size: 32px;
  font-weight: 600;
  color: #000;
}
.related-items-grid .gj-card {
    border: 0px;
    border-radius: 0px;
    padding: 0px 0px 130px 0px;
    background: #fff;
    box-shadow: 0px 0px 0px ;
}

.related-items-grid .gj-card .gj-img-wrap {
  border-radius: 0px;
}
.related-items-grid .gj-card .gj-img-wrap a {
  text-align: center;
}
.related-item-card:hover {
    transform: translateY(-2px);
}

.related-item-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.related-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.related-item-sku {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.related-item-stock {
    font-size: 12px;
    margin-bottom: 5px;
}

.related-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item-title a {
    color: #333;
    text-decoration: none;
}

.related-item-title a:hover {
    color: #0066cc;
}

.related-item-price {
    font-size: 22px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 8px;
}

.related-item-unit {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
}

.related-item-expiration {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
}

.related-item-expiration strong {
    color: #333;
}

.related-item-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-item-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.related-qty-controls {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.related-qty-btn {
    width: 35px;
    height: 40px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    transition: background 0.2s;
}

.related-qty-btn:hover {
    background: #e9ecef;
}

.related-qty-input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border-left: 2px solid #ddd;
    border-right: 2px solid #ddd;
}

.related-add-to-cart-btn {
    width: 100%;
    padding: 12px 20px;
    background: #ffc107;
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.related-add-to-cart-btn:hover {
    background: #ffb300;
}

.related-add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Additional Information Tab */
.additional-info-table {
    width: 100%;
    border-collapse: collapse;
}

.additional-info-table tr {
    border-bottom: 1px solid #e5e5e5;
}

.additional-info-table th {
    text-align: left;
    padding: 15px 20px;
    font-weight: 600;
    color: #333;
    background: #f8f9fa;
    width: 30%;
}

.additional-info-table td {
    padding: 15px 20px;
    color: #666;
}

.additional-info-table td a {
    color: #0066cc;
    text-decoration: none;
}

.additional-info-table td a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .related-items-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .product-tabs-nav {
        flex-wrap: wrap;
    }
    
    .product-tab-btn {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .product-cart-actions {
        flex-direction: column;
    }
    
    .product-add-to-cart-btn {
        width: 100%;
    }
    
    .related-items-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 24px;
    }
    
    .product-price {
        font-size: 28px;
    }
    
    .related-items-grid {
        grid-template-columns: 1fr;
    }
}
.expired-info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 40px;
    margin: 16px 0;
    border-radius: 8px;
    background-color: #EEF9FA;  
    border-radius: 12px;
    color: #000;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
}

.expired-info-icon {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expired-info-text {
    margin: 0;
}
.woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th {
  background: transparent !important;
}
.woocommerce table.shop_attributes td {
  font-style: normal !important;
  font-size: 16px;
  color: #000 !important;
}
.woocommerce table.shop_attributes td a {
  color: #000;
}
