/*
 * // File: /assets/css/company-profile.css
 *
 * Developed by Noor United Est.
 *
 * Website: www.noor-united.com
 *
 * Kuwait
 * Tel: +965-22280990
 * Mobile: +965-60005677
 *
 * Bahrain
 * Tel: +973-16612020 / +973-16613030
 * Mobile: +973-37616010
 *
 * Copyright (c) Noor United Est.
 * All rights reserved.
 */

.company-module-tabs{margin-top:16px;padding:12px;display:flex;gap:10px;justify-content:center;background:#fff;border:1px solid #e6edf5;border-radius:14px}
.company-module-tabs a{min-width:150px;height:42px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;color:#111827;background:#f8fafc;border:1px solid #dbe3ef;border-radius:10px;font-size:13px;font-weight:900;text-decoration:none}
.company-module-tabs a:hover{color:#111827;background:#d8b64c;border-color:#d8b64c}
.module-placeholder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.module-placeholder-card{min-height:150px;padding:20px;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px}
.module-placeholder-card span{width:48px;height:48px;margin:0 auto 12px;display:grid;place-items:center;background:#fff7db;border-radius:14px;font-size:23px}
.module-placeholder-card strong{display:block;color:#111827;font-size:15px;font-weight:900}
.module-placeholder-card p{margin:8px 0 0;color:#64748b;font-size:13px;line-height:1.8}
.company-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.company-product-card{overflow:hidden;background:#fff;border:1px solid #edf1f6;border-radius:14px;box-shadow:0 8px 20px rgba(15,23,42,.04)}
.company-product-image{height:150px;display:grid;place-items:center;background:#f8fafc}
.company-product-image img{width:100%;height:100%;object-fit:cover}
.company-product-image span{font-size:36px}
.company-product-body{padding:14px;text-align:center}
.company-product-body h3{height:42px;margin:0 0 8px;color:#111827;font-size:14px;font-weight:900;line-height:1.5;overflow:hidden}
.company-product-price{min-height:30px;display:grid;gap:2px}
.company-product-price del{color:#94a3b8;font-size:12px}
.company-product-price strong{color:#111827;font-size:15px;font-weight:900}
.stock-badge{margin:10px auto;width:fit-content;padding:4px 10px;display:block;border-radius:999px;font-size:11px;font-weight:900}
.stock-badge.available{color:#15803d;background:#dcfce7}
.stock-badge.unavailable{color:#991b1b;background:#fee2e2}
.product-view-btn{width:100%;height:36px;display:inline-flex;align-items:center;justify-content:center;color:#111827;background:#d8b64c;border-radius:9px;font-size:12px;font-weight:900;text-decoration:none}
.empty-store-message{padding:24px;text-align:center;color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px}
.company-profile-view{background:#f4f6fa}
.company-hero-cover{width:100%;height:260px;position:relative;overflow:hidden;background:linear-gradient(135deg,#0b2745,#102f4f)}
.company-hero-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(7,30,54,.15),rgba(7,30,54,.68))}
.company-hero-cover img{width:100%;height:100%;object-fit:cover}
.company-profile-shell{width:min(820px,92%);margin:0 auto}
.company-info-head{background:#fff;margin-top:0;padding:22px 26px 0;text-align:center;border-bottom:1px solid #e8edf4}
.company-meta-line{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;color:#9aa5b1;font-size:12px;font-weight:700;margin-bottom:10px}
.company-meta-line a{color:#1f66c2}
.company-title-row{display:flex;justify-content:center;align-items:flex-start;gap:14px}
.company-logo-box{width:62px;height:62px;border-radius:14px;overflow:hidden;border:3px solid #fff;box-shadow:0 8px 20px rgba(15,23,42,.14);background:#eef3f8;flex-shrink:0}
.company-logo-box img{width:100%;height:100%;object-fit:cover}
.company-logo-box span{width:100%;height:100%;display:grid;place-items:center;color:#0b3f75;font-size:24px;font-weight:900}
.company-category-badge{display:inline-flex;margin-bottom:7px;padding:6px 12px;color:#1f66c2;background:#eef6ff;border-radius:999px;font-size:12px;font-weight:800}
.company-info-head h1{margin:0;color:#111827;font-size:30px;font-weight:900;line-height:1.25}
.company-info-head p{margin:8px auto;max-width:620px;color:#7b8794;font-size:14px;line-height:1.8}
.company-rating-row{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;color:#8b96a6;font-size:12px;margin-bottom:16px}
.company-rating-row .stars{color:#d8b64c;letter-spacing:1px}
.company-rating-row strong{color:#111827}
.trust-badge{padding:4px 9px;background:#fff7db;color:#8a6b0a;border:1px solid #f1dd94;border-radius:999px;font-weight:800}
.company-action-bar{margin:18px -26px 0;padding:14px 26px;display:flex;justify-content:center;gap:10px;background:#f8fafc;border-top:1px solid #edf1f6}
.company-action-bar a{min-width:145px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;font-size:13px;font-weight:900;text-decoration:none}
.action-call{color:#fff;background:#1f66c2;border:1px solid #1f66c2}
.action-whatsapp{color:#fff;background:#22c55e;border:1px solid #22c55e}
.action-outline{color:#334155;background:#fff;border:1px solid #dbe3ef}
.profile-box{margin-top:16px;padding:30px 34px;background:#fff;border:1px solid #e6edf5;border-radius:14px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.profile-box h2,.company-question-box h2{margin:0 0 12px;color:#111827;font-size:21px;font-weight:900;text-align:center}
.profile-box h2::after{content:"";width:44px;height:3px;display:block;margin:10px auto 0;background:#1f66c2;border-radius:999px}
.profile-box>small{display:block;margin-top:-4px;margin-bottom:18px;color:#94a3b8;font-size:12px;text-align:center}
.profile-about p{max-width:630px;margin:0 auto;color:#6b7280;font-size:14px;line-height:2;text-align:center}
.profile-icon-grid{max-width:620px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 70px}
.profile-icon-item{display:flex;align-items:center;justify-content:flex-start;gap:12px;color:#334155;font-size:14px;font-weight:800}
.profile-icon-item span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;flex-shrink:0}
.service-item span{color:#1f66c2;background:#eef6ff}
.profile-features{background:#fffdf5}
.feature-item span{color:#9a7400;background:#fff4cc}
.contact-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.contact-info-item{min-height:74px;padding:12px 14px;display:grid;grid-template-columns:34px 1fr;column-gap:10px;align-items:center;background:#fff;border:1px solid #edf1f6;border-radius:12px}
.contact-info-item span{width:32px;height:32px;grid-row:span 2;display:grid;place-items:center;background:#f1f7ff;border-radius:10px}
.contact-info-item small{color:#94a3b8;font-size:11px;font-weight:800}
.contact-info-item strong{color:#111827;font-size:13px;font-weight:900}
.company-question-box{margin-top:16px;padding:46px 24px;color:#fff;text-align:center;background:radial-gradient(circle at 88% 18%,rgba(255,255,255,.12),transparent 14%),radial-gradient(circle at 12% 82%,rgba(255,255,255,.10),transparent 16%),linear-gradient(135deg,#073e73,#1f66c2);border-radius:14px}
.company-question-box h2{color:#fff}
.company-question-box p{max-width:440px;margin:0 auto 18px;color:rgba(255,255,255,.78);line-height:1.8}
.question-icon{width:38px;height:38px;margin:0 auto 12px;display:grid;place-items:center;background:rgba(255,255,255,.14);border-radius:50%;font-size:18px}
.company-question-box a{min-width:150px;height:42px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;color:#111827;background:#d8b64c;border-radius:10px;font-size:13px;font-weight:900}
.gallery-box h2{text-align:right}
.gallery-box h2::after{margin-right:0;margin-left:auto}
.gallery-box>small{text-align:right}
.profile-gallery-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.profile-gallery-list img{width:100%;height:120px;object-fit:cover;border-radius:10px;transition:.25s ease}
.profile-gallery-list img:hover{transform:scale(1.03)}
.company-back-link{padding:20px 0 36px;text-align:center}
.company-back-link a{color:#1f66c2;font-size:13px;font-weight:900}

@media (max-width:700px){
    .company-hero-cover{height:190px}
    .company-profile-shell{width:92%}
    .company-title-row{flex-direction:column;align-items:center}
    .company-action-bar,.company-module-tabs{flex-direction:column;margin-top:16px}
    .company-action-bar a,.company-module-tabs a{width:100%}
    .profile-box{padding:24px 18px}
    .profile-icon-grid,.contact-info-grid,.profile-gallery-list,.module-placeholder-grid,.company-store-grid{grid-template-columns:1fr}
    .profile-gallery-list img{height:180px}
    .company-product-image{height:190px}
}