/* assets/css/custom.css - Zero Inline CSS Stylesheet */

/* Global Utilities & Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: modalSlideUp 0.35s ease-out;
}

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

.modal-header {
    background: var(--gradient-primary, linear-gradient(135deg, #008a9c 0%, #005f6b 100%));
    color: #ffffff;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.modal-body {
    padding: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 6px;
}

.form-control-custom {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-control-custom:focus {
    border-color: #008a9c;
    box-shadow: 0 0 0 3px rgba(0, 138, 156, 0.15);
    outline: none;
}

.btn-submit-modal {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--gradient-primary, linear-gradient(135deg, #008a9c 0%, #005f6b 100%));
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 138, 156, 0.3);
}

/* Category Cards Grid & Product Extracted Styles */
.cat-card-img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.product-detail-section { padding: 50px 0; background-color: var(--bg-white, #ffffff); }
.breadcrumb-nav { margin-bottom: 25px; font-size: 0.88rem; color: var(--text-muted, #666666); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb-nav a { color: var(--text-dark, #222222); text-decoration: none; font-weight: 600; }
.breadcrumb-nav a:hover { color: var(--primary, #008a9c); }
.product-grid-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; margin-bottom: 40px; align-items: start; }
.main-image-container { background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; height: 480px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.main-image-container img { max-width: 90%; max-height: 90%; object-fit: contain; transition: transform 0.4s ease; }
.main-image-container:hover img { transform: scale(1.05); }
.brand-badge { position: absolute; top: 16px; left: 16px; background: #008a9c; color: #fff; font-size: 0.72rem; font-weight: 800; padding: 6px 14px; border-radius: 20px; letter-spacing: 0.5px; text-transform: uppercase; }
.product-thumbnails-grid { display: flex; gap: 12px; margin-top: 15px; overflow-x: auto; padding-bottom: 5px; }
.thumbnail-card { width: 80px; height: 80px; background: #fff; border-radius: 8px; border: 2px solid #e2e8f0; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer; transition: all 0.2s ease; flex-shrink: 0; }
.thumbnail-card.active, .thumbnail-card:hover { border-color: #008a9c; box-shadow: 0 0 0 3px rgba(0, 138, 156, 0.15); }
.thumbnail-card img { max-width: 85%; max-height: 85%; object-fit: contain; }

.product-info-column { display: flex; flex-direction: column; gap: 20px; text-align: left; }
.category-tag { font-size: 0.8rem; font-weight: 800; color: #008a9c; text-transform: uppercase; letter-spacing: 1px; }
.product-main-title { font-family: var(--font-heading, sans-serif); font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: #222222; font-weight: 800; line-height: 1.25; margin: 0; }
.product-meta-row { display: flex; align-items: center; gap: 15px; font-size: 0.88rem; color: #666666; border-bottom: 1px solid #e2e8f0; padding-bottom: 15px; flex-wrap: wrap; }
.rating-stars-inline { color: #ffc107; font-weight: 700; }
.verified-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.75rem; font-weight: 700; color: #067D62; background: rgba(6,125,98,0.08); padding: 4px 12px; border-radius: 20px; }

.product-price-box { background: #f8fafc; border-radius: 8px; padding: 20px; border: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.product-price-box h4 { font-family: var(--font-heading, sans-serif); font-size: 1.5rem; color: #008a9c; font-weight: 800; margin: 0; }
.moq-tag { font-size: 0.82rem; font-weight: 700; background: #fff; border: 1px solid #e2e8f0; color: #222222; padding: 6px 14px; border-radius: 20px; }

.action-btns-row { display: flex; gap: 15px; margin-top: 10px; flex-wrap: wrap; }
.btn-request-quote { flex: 1; min-width: 200px; height: 50px; background: linear-gradient(135deg, #008a9c 0%, #005f6b 100%); color: #fff; border: none; border-radius: 30px; font-size: 0.95rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.btn-request-quote:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 138, 156, 0.3); opacity: 0.95; }
.btn-inquire-cart { height: 50px; padding: 0 24px; background: #fff; color: #222222; border: 2px solid #e2e8f0; border-radius: 30px; font-size: 0.92rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: all 0.2s ease; }
.btn-inquire-cart:hover { border-color: #008a9c; color: #008a9c; }

.trust-strip-box { background: #fdfcf9; border: 1px dashed #e2e8f0; border-radius: 8px; padding: 15px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; text-align: center; font-size: 0.8rem; font-weight: 600; color: #222222; }
.trust-strip-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trust-strip-item i { font-size: 1.1rem; color: #008a9c; }

.tabs-container { margin-top: 40px; border-top: 1px solid #e2e8f0; padding-top: 30px; }
.tabs-header { display: flex; gap: 10px; border-bottom: 2px solid #e2e8f0; margin-bottom: 25px; overflow-x: auto; }
.tab-btn-detail { background: none; border: none; padding: 12px 22px; font-size: 0.95rem; font-weight: 700; color: #666666; cursor: pointer; position: relative; transition: all 0.2s ease; white-space: nowrap; }
.tab-btn-detail.active { color: #008a9c; }
.tab-btn-detail.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 3px; background: #008a9c; }
.tab-content-panel { display: none; line-height: 1.7; font-size: 0.95rem; color: #666666; }
.tab-content-panel.active { display: block; animation: fadeIn 0.3s ease; }

.specs-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #e2e8f0; }
.specs-table td { padding: 12px 18px; border-bottom: 1px solid #e2e8f0; font-size: 0.9rem; }
.specs-table td:first-child { font-weight: 700; color: #222222; width: 35%; background: #f8fafc; }

@media (max-width: 868px) {
    .product-grid-layout { grid-template-columns: 1fr; gap: 30px; }
    .main-image-container { height: 350px; }
}
