/**
 * AEROCS INTERNATIONAL — B2B Export & Import Commodity Catalog Styles
 * Purely Informational B2B Presentation: Specifications, Packaging, Origin & RFQ Inquiry
 */

/* HERO & BREADCRUMBS */
.shop-hero-section, .catalog-hero-section {
    background: linear-gradient(135deg, #07172b 0%, #0b2545 100%);
    padding: 36px 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

.breadcrumb-trail a {
    color: #38bdf8;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-trail a:hover {
    color: #ffffff;
}

.breadcrumb-sep {
    font-size: 0.7rem;
    color: #64748b;
}

.breadcrumb-current {
    color: #f1f5f9;
    font-weight: 600;
}

.shop-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 28px;
}

.shop-hero-text {
    max-width: 720px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.shop-hero-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.shop-hero-desc {
    font-size: 0.96rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

.shop-hero-metrics {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.shop-metric-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 20px;
    text-align: center;
    min-width: 110px;
    backdrop-filter: blur(8px);
}

.shop-metric-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: #38bdf8;
    line-height: 1.1;
}

.shop-metric-card span {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

/* CATEGORY SHORTCUT PILLS */
.category-pills-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.category-pills-bar::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.cat-pill:hover, .cat-pill.active {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.cat-pill-count {
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
}

/* MAIN CATALOG LAYOUT */
.shop-catalog-section, .catalog-main-section {
    background: #f8fafc;
    padding: 40px 0 80px;
}

.shop-main-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* FILTER SIDEBAR */
.sidebar-sticky-wrapper {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.filter-card-title {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    color: #0b2545;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.02em;
}

.sidebar-search-form .search-input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.sidebar-search-form .form-control {
    width: 100%;
    padding: 10px 38px 10px 12px;
    font-size: 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    transition: border-color var(--transition-fast);
}

.sidebar-search-form .form-control:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-btn-inside {
    position: absolute;
    right: 4px;
    background: #0b2545;
    color: #ffffff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-btn-inside:hover {
    background: #10b981;
}

.filter-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #475569;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.filter-category-link:hover, .filter-category-link.active {
    background: rgba(2, 132, 199, 0.08);
    color: #0284c7;
    font-weight: 700;
}

.count-badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}

.filter-category-link.active .count-badge {
    background: #0284c7;
    color: #ffffff;
}

.filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #475569;
    cursor: pointer;
}

.count-sub {
    margin-left: auto;
    font-size: 0.72rem;
    color: #94a3b8;
}

.assurance-card {
    background: linear-gradient(135deg, #0b2545 0%, #07172b 100%);
    border: 1px solid #1e3a5f;
    color: #e2e8f0;
}

.assurance-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.assurance-card p {
    font-size: 0.78rem;
    line-height: 1.5;
    color: #94a3b8;
    margin-bottom: 14px;
}

/* TOOLBAR */
.shop-toolbar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.results-count-text {
    font-size: 0.88rem;
    color: #475569;
}

.btn-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #e11d48;
    text-decoration: none;
    margin-left: 14px;
    font-weight: 600;
}

.btn-clear-filters:hover {
    text-decoration: underline;
}

.sort-selector-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
}

.shop-sort-dropdown {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: #0b2545;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

/* COMMODITY GRID */
.products-grid-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.product-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.product-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(11, 37, 69, 0.12);
    border-color: #38bdf8;
}

/* THUMBNAIL CONTAINER & HOVER SWAP */
.product-thumb-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #081a30;
    overflow: hidden;
}

.product-img-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.product-img-primary, .product-img-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.product-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-item-card:hover .product-img-hover {
    opacity: 1;
}

.product-item-card:hover .product-img-primary {
    opacity: 0;
}

.product-badge-group {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-badge {
    font-size: 0.66rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.badge-export {
    background: #10b981;
}

.badge-hot {
    background: #0284c7;
}

/* HOVER SPEC ACTIONS */
.product-hover-actions {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    padding: 8px 12px;
    background: rgba(7, 23, 43, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    transition: bottom 0.3s ease;
    z-index: 5;
}

.product-item-card:hover .product-hover-actions {
    bottom: 0;
}

.btn-hover-action {
    color: #38bdf8;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-hover-action:hover {
    color: #ffffff;
}

/* CARD BODY */
.product-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-meta-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.product-category-tag {
    font-size: 0.74rem;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-origin-tag {
    font-size: 0.74rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 10px;
}

.product-card-title a {
    color: #0b2545;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.product-card-title a:hover {
    color: #0284c7;
}

.product-specs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.spec-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.spec-summary-text {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CARD ACTIONS */
.product-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.btn-rfq-quick {
    padding: 9px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
}

/* B2B WHOLESALE BANNER */
.wholesale-b2b-banner {
    background: linear-gradient(135deg, #07172b 0%, #0b2545 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 12px 30px rgba(7, 19, 34, 0.15);
}

.banner-icon-side {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
}

.banner-content-side h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
}

.banner-content-side p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0 0 16px;
}

/* EMPTY STATE */
.shop-empty-state {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
}

.empty-state-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 16px;
    display: inline-block;
}

.shop-empty-state h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0b2545;
    margin-bottom: 8px;
}

.shop-empty-state p {
    color: #64748b;
    font-size: 0.92rem;
    margin-bottom: 24px;
}

/* PRODUCT DETAIL VIEW */
.commodity-detail-section {
    padding: 50px 0 80px;
    background: #f8fafc;
}

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

.product-gallery-main {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    margin-bottom: 24px;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.export-compliance-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.compliance-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #0b2545;
    margin-bottom: 12px;
}

.compliance-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.compliance-card-list li {
    font-size: 0.85rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.compliance-card-list li i {
    color: #10b981;
    font-size: 1rem;
}

.product-info-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.p-detail-meta-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.p-detail-sku {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
}

.p-detail-origin {
    font-size: 0.82rem;
    color: #0284c7;
    font-weight: 600;
}

.badge-status-published {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.p-detail-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 900;
    color: #0b2545;
    line-height: 1.25;
    margin: 0 0 20px;
}

.p-detail-moq-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.moq-item {
    display: flex;
    flex-direction: column;
}

.moq-lbl {
    font-size: 0.76rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.moq-val {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #0b2545;
}

.p-detail-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 28px;
}

.specs-table-container {
    margin-bottom: 28px;
}

.specs-table-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #0b2545;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.specs-table th {
    background: #f1f5f9;
    color: #0b2545;
    font-weight: 700;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    width: 35%;
}

.specs-table td {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.commodity-action-suite {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-whatsapp-drawer {
    background: #25d366;
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.btn-whatsapp-drawer:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.related-commodities-wrapper {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.related-commodities-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #0b2545;
    margin-bottom: 24px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 991px) {
    .shop-main-layout {
        grid-template-columns: 1fr;
    }
    .shop-filter-sidebar {
        display: none;
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .shop-hero-header {
        flex-direction: column;
        gap: 20px;
    }
    .shop-hero-metrics {
        width: 100%;
        justify-content: space-between;
    }
    .shop-metric-card {
        flex: 1;
    }
    .wholesale-b2b-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
}
