/**
 * Rahmet B2B Product Page Styles
 * Version: 1.0.0
 */

/* CONTAINER */
.rahmet-b2b-product-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
}

/* BREADCRUMBS */
.rahmet-b2b-breadcrumbs {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.rahmet-b2b-breadcrumbs a {
    color: #00a3cc;
    text-decoration: none;
}

.rahmet-b2b-breadcrumbs a:hover {
    text-decoration: underline;
}

/* MAIN LAYOUT - 3 COLUMNS */
.rahmet-b2b-layout {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 30px;
    margin: 30px 0;
}

/* LEFT: GALLERY */
.rahmet-b2b-gallery-section {
    position: sticky;
    top: 20px;
    align-self: start;
}

.rahmet-b2b-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rahmet-b2b-thumb {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rahmet-b2b-thumb:hover {
    border-color: #00a3cc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.rahmet-b2b-thumb img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}

.rahmet-b2b-gallery-link {
    text-align: center;
    color: #00a3cc;
    font-size: 13px;
    margin-top: 10px;
    cursor: pointer;
}

/* CENTER: PRODUCT INFO */
.rahmet-b2b-info-section {
    padding: 0 10px;
}

.rahmet-b2b-title {
    font-size: 26px !important;
    color: #1a202c !important;
    margin: 0 0 15px 0 !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.rahmet-b2b-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.rahmet-b2b-price {
    font-size: 30px;
    color: #00a3cc;
    font-weight: 700;
}

.rahmet-b2b-price del {
    color: #999;
    text-decoration: line-through;
    font-size: 18px;
    margin-right: 10px;
}

.rahmet-b2b-price ins {
    text-decoration: none;
    color: #00a3cc;
}

.rahmet-b2b-shipping-badge {
    background: linear-gradient(90deg, #1a202c, #2d3748);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.rahmet-b2b-sale-badge {
    background: #ef4444;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.rahmet-b2b-sku {
    color: #4a5568;
    font-size: 14px;
    margin-bottom: 8px;
}

.rahmet-b2b-sku strong {
    color: #ef4444;
}

.rahmet-b2b-availability {
    color: #10b981;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.rahmet-b2b-in-stock {
    color: #10b981;
}

.rahmet-b2b-out-stock {
    color: #ef4444;
}

.rahmet-b2b-check {
    background: #10b981;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.rahmet-b2b-rating {
    color: #fbbf24;
    margin-bottom: 15px;
}

.rahmet-b2b-rating .star-filled {
    color: #fbbf24;
}

.rahmet-b2b-rating .star-empty {
    color: #e2e8f0;
}

.rahmet-b2b-review-count {
    color: #666;
    font-size: 13px;
    margin-left: 8px;
}

.rahmet-b2b-short-desc {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
}

/* ADD TO CART FORM */
.rahmet-b2b-cart-form {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.rahmet-b2b-cart-form .variations {
    margin-bottom: 15px;
}

.rahmet-b2b-cart-form .variations select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
}

.rahmet-b2b-cart-form .quantity input {
    width: 80px;
    padding: 10px;
    border: 2px solid #00a3cc;
    border-radius: 6px;
    text-align: center;
}

.rahmet-b2b-cart-form .single_add_to_cart_button {
    background: #00a3cc !important;
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    margin-left: 10px !important;
}

.rahmet-b2b-cart-form .single_add_to_cart_button:hover {
    background: #0a5f7f !important;
    transform: translateY(-2px);
}

/* SPECIFICATIONS */
.rahmet-b2b-specs {
    margin: 30px 0;
}

.rahmet-b2b-specs h3 {
    color: #1a202c;
    font-size: 18px;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #00a3cc;
}

.rahmet-b2b-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.rahmet-b2b-specs-table tr {
    border-bottom: 1px solid #e2e8f0;
}

.rahmet-b2b-specs-table th {
    text-align: left;
    padding: 12px 10px;
    background: #f8fafc;
    color: #0a5f7f;
    font-weight: 600;
    width: 40%;
    font-size: 14px;
}

.rahmet-b2b-specs-table td {
    padding: 12px 10px;
    color: #4a5568;
    font-size: 14px;
}

/* FULL DESCRIPTION */
.rahmet-b2b-full-desc {
    margin: 30px 0;
}

.rahmet-b2b-full-desc h3 {
    color: #1a202c;
    font-size: 18px;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #00a3cc;
}

.rahmet-b2b-full-desc p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* RIGHT: SIDEBAR */
.rahmet-b2b-sidebar {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 20px;
    align-self: start;
}

.rahmet-b2b-btn {
    display: block !important;
    width: 100% !important;
    padding: 12px !important;
    border-radius: 25px !important;
    text-align: center !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-bottom: 10px !important;
    transition: all 0.3s !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.rahmet-b2b-btn-chat {
    background: #dc2626 !important;
    color: white !important;
}

.rahmet-b2b-btn-chat:hover {
    background: #b91c1c !important;
    transform: translateY(-2px);
}

.rahmet-b2b-btn-phone {
    background: #2563eb !important;
    color: white !important;
}

.rahmet-b2b-btn-phone:hover {
    background: #1d4ed8 !important;
    transform: translateY(-2px);
}

.rahmet-b2b-btn-whatsapp {
    background: #25D366 !important;
    color: white !important;
}

.rahmet-b2b-btn-whatsapp:hover {
    background: #20b358 !important;
    transform: translateY(-2px);
}

.rahmet-b2b-btn-email {
    background: #0a5f7f !important;
    color: white !important;
}

.rahmet-b2b-btn-email:hover {
    background: #084563 !important;
    transform: translateY(-2px);
}

.rahmet-b2b-section {
    margin: 25px 0;
}

.rahmet-b2b-section-title {
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rahmet-b2b-info-icon {
    background: #e2e8f0;
    color: #4a5568;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: help;
    font-style: italic;
}

.rahmet-b2b-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rahmet-b2b-checklist li {
    padding: 6px 0;
    color: #4a5568;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rahmet-b2b-checklist li::before {
    content: "✓";
    background: #2563eb;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.rahmet-b2b-return-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: white;
    border: 2px solid #1a202c;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    color: #1a202c;
    text-decoration: none;
    margin-top: 10px;
    font-size: 13px;
    box-sizing: border-box;
    transition: all 0.3s;
}

.rahmet-b2b-return-btn:hover {
    background: #1a202c;
    color: white;
}

.rahmet-b2b-payment-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-top: 10px;
}

.rahmet-b2b-payment {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 8px 4px;
    border-radius: 4px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
}

.rahmet-b2b-trust {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.rahmet-b2b-trust-item {
    padding: 5px 0;
    color: #4a5568;
    font-size: 12px;
    font-weight: 600;
}

/* RELATED PRODUCTS */
.rahmet-b2b-related {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.rahmet-b2b-related h2 {
    text-align: center;
    color: #1a202c;
    font-size: 24px;
    margin-bottom: 25px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .rahmet-b2b-layout {
        grid-template-columns: 220px 1fr 240px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .rahmet-b2b-layout {
        grid-template-columns: 1fr;
    }
    
    .rahmet-b2b-gallery-section,
    .rahmet-b2b-sidebar {
        position: static;
    }
    
    .rahmet-b2b-title {
        font-size: 22px !important;
    }
    
    .rahmet-b2b-price {
        font-size: 24px;
    }
    
    .rahmet-b2b-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .rahmet-b2b-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .rahmet-b2b-payment-icons {
        grid-template-columns: repeat(5, 1fr);
    }
}
