/* 
 * style.css - Central Design System for Snaa Industries Frontend
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Sleek Harmonious Palette */
    --primary: #4f46e5;         /* Vibrant Indigo */
    --primary-dark: #3730a3;    /* Deep Indigo */
    --primary-light: #e0e7ff;   /* Soft Ice Blue */
    --accent: #d946ef;          /* Neon Violet/Magenta */
    --accent-dark: #a21caf;     /* Magenta Dark */
    --dark: #0f172a;            /* Rich Slate Black */
    --dark-muted: #475569;      /* Cool Gray */
    --light: #f8fafc;           /* Crisp Ice Gray */
    --white: #ffffff;
    --border: #e2e8f0;          /* Subtle Slate Outline */
    --border-hover: #cbd5e1;
    --success: #10b981;         /* Emerald Green */
    --error: #ef4444;           /* Coral Red */
    
    /* Typography Scale Tokens */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    --text-4xl: 36px;
    --text-5xl: 48px;
    --text-6xl: 60px;
    
    /* Typography Weight Tokens */
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;
    
    /* Responsive Spacing Tokens */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Glassmorphism & Accent Blurs */
    --blur-sm: 4px;
    --blur-md: 8px;
    --blur-lg: 16px;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    /* Layout Tokens */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* DRY Shared Card Base Pattern */
.card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.25);
}

/* Header & Navbar Styles */
.site-header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(var(--blur-lg));
    -webkit-backdrop-filter: blur(var(--blur-lg));
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.site-header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.primary-nav {
    margin-left: auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    height: 44px;
    width: auto;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 10px;
    color: var(--dark-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-muted);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.catalog-nav-wrap {
    border-top: 1px solid rgba(226, 232, 240, 0.75);
    background: rgba(255, 255, 255, 0.88);
}

.catalog-nav-container {
    position: relative;
}

.catalog-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 46px;
    overflow: visible;
}

.catalog-nav-item {
    position: relative;
    flex: 0 0 auto;
}

.catalog-nav-link {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 13px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    border-radius: 6px;
    transition: var(--transition);
}

.catalog-nav-link:hover,
.catalog-nav-item:hover .catalog-nav-link {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
}

.catalog-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: min(720px, calc(100vw - 32px));
    max-height: 68vh;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
}

.catalog-nav-item:hover .catalog-dropdown,
.catalog-nav-item:focus-within .catalog-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.catalog-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 18px;
}

.catalog-dropdown-grid a {
    color: var(--dark-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    padding: 7px 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.catalog-dropdown-grid a:hover {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
}

.catalog-dropdown-grid .catalog-show-all {
    color: var(--primary);
    font-weight: 800;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--light);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
}

/* Cart Badge Badge Widget */
.cart-badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.cart-badge:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
}

/* Mobile Navigation Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Main Body Section spacing */
main {
    flex: 1;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0 120px 0;
    background: radial-gradient(circle at 80% 20%, rgba(217, 70, 239, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(79, 70, 229, 0.08) 0%, transparent 50%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-subtitle {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 16px;
    display: inline-block;
    background-color: var(--primary-light);
    padding: 6px 14px;
    border-radius: 20px;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--dark-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    border: 1px solid var(--border);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-image-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image-card img {
    border-radius: var(--radius-md);
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

.stat-item h4 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-item p {
    font-size: 12px;
    color: var(--dark-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Category Cards Section */
.section-header {
    margin-bottom: 48px;
    text-align: center;
}

.section-subtitle {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--dark-muted);
    max-width: 600px;
    margin: 12px auto 0 auto;
    font-size: 16px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.category-card {
    height: 100%;
}

.category-img {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #cbd5e1;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-img img {
    transform: scale(1.08);
}

.category-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-card-desc {
    font-size: 13px;
    color: var(--dark-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.category-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.category-link svg {
    transition: var(--transition);
}

.category-card:hover .category-link svg {
    transform: translateX(4px);
}

/* Featured Products Grid */
.products-section {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Product Card design */
.product-card {
    background-color: var(--light);
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.product-card-img {
    height: 260px;
    overflow: hidden;
    position: relative;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-card-img img {
    transform: scale(1.06);
}

.product-card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-sku {
    font-size: 10px;
    font-weight: 700;
    color: var(--dark-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.product-card-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: 11px;
    color: var(--dark-muted);
    margin-bottom: 20px;
    border-top: 1px dashed var(--border);
    padding-top: 12px;
}

.spec-val {
    font-weight: 600;
    color: var(--dark);
}

.product-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.product-card-actions a,
.product-card-actions button {
    flex: 1;
}

/* Active Category Layout Page */
.page-header {
    background-color: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 60px 0;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-card {
    background-color: var(--white);
    border-radius: var(--radius-sm);
    padding: 24px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 10px;
}

.filter-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-muted);
    padding: 8px 12px;
    border-radius: 6px;
}

.filter-list a:hover,
.filter-list a.active {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
}

.filter-list .count-pill {
    font-size: 10px;
    font-weight: 800;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 10px;
}

/* Search Bar widget */
.search-form {
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background-color: var(--light);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Detail Product View Page */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 60px 0;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-main {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    height: 480px;
}

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

.gallery-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    border: 2px solid var(--border);
    cursor: pointer;
    overflow: hidden;
    background-color: var(--white);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary);
}

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

.detail-info-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.detail-sku {
    font-size: 12px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.detail-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.detail-desc {
    color: var(--dark-muted);
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
}

.spec-table th,
.spec-table td {
    padding: 14px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.spec-table th {
    font-weight: 700;
    color: var(--dark-muted);
    text-align: left;
    width: 140px;
}

.spec-table td {
    color: var(--dark);
    font-weight: 600;
}

/* Inquiry Form Page Styles */
.inquiry-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    padding: 60px 0;
}

.form-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

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

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-muted);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    font-family: var(--font-body);
    font-size: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background-color: var(--light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.cart-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    align-self: flex-start;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
    background-color: var(--light);
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.cart-item-sku {
    font-size: 10px;
    color: var(--dark-muted);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--error);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-radius: 4px;
}

.cart-item-remove:hover {
    background-color: rgba(239, 68, 68, 0.08);
}

/* Alert Notification Banner */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.2);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--error);
    border-color: rgba(239, 68, 68, 0.2);
}

/* Blogs Grid section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0;
}

/* Reuses structural styling entirely from global .card component */

.blog-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: #cbd5e1;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: var(--dark-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-card-meta .category-badge {
    color: var(--primary);
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-card-excerpt {
    font-size: 13px;
    color: var(--dark-muted);
    margin-bottom: 20px;
    line-clamp: 3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.blog-card-link svg {
    transition: var(--transition);
}

.blog-card:hover .blog-card-link svg {
    transform: translateX(4px);
}

/* Detail Blog View Layout */
.blog-detail-content {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 60px;
    max-width: 800px;
    margin: 60px auto;
    box-shadow: var(--shadow-sm);
}

.blog-detail-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--dark-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
}

.blog-detail-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

.blog-detail-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 40px;
    max-height: 480px;
}

.blog-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.blog-detail-body p {
    margin-bottom: 24px;
}

.blog-detail-body h2,
.blog-detail-body h3 {
    margin: 40px 0 20px 0;
}

/* Site Footer */
.site-footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0 0;
    border-top: 1px solid #1e293b;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-col-title {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-about p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
    display: inline-block;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 4px;
}

.footer-contact-text {
    display: grid;
    gap: 2px;
    font-weight: 500;
}

.footer-contact-text strong {
    color: #ffffff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Pagination component */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 6px;
    background-color: var(--white);
    border: 1px solid var(--border);
    color: var(--dark-muted);
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}

.pagination-item:hover,
.pagination-item.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination-item.disabled {
    pointer-events: none;
    opacity: 0.4;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .category-grid,
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-description,
    .hero-stats {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Snaa Industries clinical catalog theme overrides */
:root {
    --primary: #01588E;
    --primary-dark: #01446e;
    --primary-light: #dff2fb;
    --accent: #0f9f9a;
    --accent-dark: #0b766f;
    --dark: #111827;
    --dark-muted: #4b5563;
    --light: #f3f7f8;
    --border: #d9e2e5;
    --border-hover: #b8c7cc;
    --radius-md: 8px;
    --radius-lg: 8px;
    --shadow-md: 0 8px 24px -16px rgba(15, 23, 42, 0.28);
    --shadow-lg: 0 18px 42px -22px rgba(15, 23, 42, 0.36);
}

body {
    background:
        linear-gradient(180deg, #f8fbfc 0%, #eef5f6 360px, #f3f7f8 100%);
}

.text-gradient {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--primary);
}

.card {
    border-radius: 8px;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(1, 88, 142, 0.34);
}

.site-header {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.brand-name {
    color: var(--dark);
    letter-spacing: 0;
}

.brand-subtitle {
    color: var(--primary);
    letter-spacing: 1.4px;
}

.nav-links {
    gap: 22px;
}

.nav-links a {
    color: #334155;
    font-size: 13px;
}

.nav-links a::after {
    background: var(--primary);
}

.catalog-nav-wrap {
    background: #0f172a;
    border-top: 0;
}

.catalog-nav {
    min-height: 44px;
}

.catalog-nav-link {
    min-height: 44px;
    color: #e5f3f2;
    font-size: 12px;
    border-radius: 0;
}

.catalog-nav-link:hover,
.catalog-nav-item:hover .catalog-nav-link {
    color: #ffffff;
    background: rgba(45, 212, 191, 0.18);
}

.catalog-dropdown {
    border-radius: 0 0 8px 8px;
}

.hero {
    padding: 72px 0;
    background:
        linear-gradient(90deg, rgba(240, 253, 250, 0.96), rgba(239, 246, 255, 0.92));
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
}

.hero-subtitle,
.section-subtitle {
    color: var(--primary);
    letter-spacing: 1.6px;
}

.hero-title {
    max-width: 760px;
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: 0;
}

.hero-description {
    max-width: 680px;
    color: #334155;
}

.hero-image-card {
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: #ffffff;
}

.hero-image-card img {
    object-fit: contain;
    background: #ffffff;
    padding: 28px;
}

.hero-stats {
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #ffffff;
}

.stat-item h4 {
    color: var(--primary);
}

.section-title {
    letter-spacing: 0;
}

.section-desc {
    color: #53616a;
}

.category-grid {
    gap: 18px;
}

.category-card {
    min-height: 100%;
}

.category-img {
    height: 190px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
}

.category-initial {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #ffffff;
    color: var(--primary);
    border: 1px solid var(--border);
    font-size: 26px;
    font-weight: 800;
}

.category-card-title,
.product-card-title {
    letter-spacing: 0;
}

.product-grid {
    gap: 18px;
}

.product-card {
    border-radius: 8px;
}

.product-card-img {
    height: 210px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.product-card-img img {
    object-fit: contain;
    padding: 18px;
}

.product-card:hover .product-card-img img {
    transform: scale(1.025);
}

.product-card-info {
    padding: 18px;
}

.product-card-sku,
.detail-sku {
    color: var(--primary);
    background: var(--primary-light);
    border-color: #a9d7ed;
}

.product-card-desc {
    min-height: 58px;
    color: var(--dark-muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 14px;
}

.product-card-actions {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn {
    border-radius: 6px;
}

.btn-primary {
    background: var(--primary);
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: none;
}

.btn-secondary {
    border-color: var(--border-hover);
    color: var(--dark);
}

.page-header {
    background: linear-gradient(90deg, #f0fdfa, #f8fafc);
    border-bottom: 1px solid var(--border);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.breadcrumbs a {
    color: var(--primary);
}

.breadcrumbs span:last-child {
    color: var(--dark-muted);
}

.shop-layout {
    align-items: start;
}

.sidebar-card,
.form-card,
.cart-card,
.detail-info-card,
.gallery-container {
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    color: var(--dark);
}

.sidebar-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--primary);
    color: #ffffff;
    padding: 12px 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.sidebar-panel {
    display: block;
}

.sidebar-panel.collapsed {
    display: none;
}

.filter-list a.active,
.filter-list a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.gallery-main {
    background: #ffffff;
    border-radius: 8px;
}

.gallery-main img {
    object-fit: contain;
    padding: 28px;
}

.detail-title {
    letter-spacing: 0;
}

.spec-table th {
    color: #475569;
    background: #f8fafc;
}

.site-footer {
    background: #0f172a;
}

.footer-col-title,
.site-footer a:hover {
    color: #ccfbf1;
}

.three-part-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.header-topbar {
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
}

.header-news {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 34px;
    padding: 6px 18px;
    color: #dff2fb;
    background: #012844;
    font-size: 12px;
    overflow: hidden;
}

.header-news span {
    flex: 0 0 auto;
    color: #012844;
    background: #ffffff;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.header-news strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar-nav a,
.topbar-visitor-link {
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.topbar-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-icon {
    width: 15px;
    height: 15px;
    display: inline-flex;
}

.nav-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.topbar-nav a:hover,
.topbar-nav a.active,
.topbar-visitor-link:hover {
    color: var(--primary);
}

.topbar-visitor-link {
    flex: 0 0 auto;
    border-radius: 6px;
    background: var(--primary);
    color: #ffffff;
    padding: 9px 14px;
    box-shadow: 0 8px 18px rgba(1, 88, 142, 0.18);
}

.topbar-visitor-link:hover {
    color: #ffffff;
    background: var(--primary-dark);
}

.header-mainbar {
    background: #ffffff;
}

.mainbar-inner {
    min-height: 88px;
    display: grid;
    grid-template-columns: minmax(240px, 330px) minmax(360px, 1fr) auto;
    align-items: center;
    gap: 22px;
}

.three-part-header .brand-logo img {
    max-height: 58px;
    width: auto;
}

.brand-fallback {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffffff;
    background: var(--primary);
    font-weight: 800;
}

.mainbar-center {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.header-search {
    display: grid;
    grid-template-columns: 1fr 48px;
    height: 48px;
    border: 1px solid var(--border-hover);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

.header-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(1, 88, 142, 0.1);
}

.header-search input {
    border: 0;
    outline: 0;
    padding: 0 16px;
    font: inherit;
    color: var(--dark);
    min-width: 0;
}

.header-search button {
    border: 0;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.header-search button:hover {
    background: var(--primary-dark);
}

.header-certificates {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.header-certificates span {
    min-width: 54px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b8d7e8;
    border-radius: 6px;
    color: var(--primary);
    background: #f5fbff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
}

.mainbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-categorybar {
    background: #0f172a;
}

.categorybar-inner {
    min-height: 52px;
    display: flex;
    align-items: center;
}

.parent-category-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.parent-category-link {
    flex: 0 0 auto;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 800;
    padding: 16px 14px;
    white-space: nowrap;
}

.parent-category-link:hover {
    color: #ffffff;
    background: rgba(45, 212, 191, 0.16);
}

.home-banner-slider {
    padding: 26px 0 0;
    background: #ffffff;
}

.banner-viewport {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    aspect-ratio: 3 / 1;
}

.banner-track,
.banner-slide {
    position: absolute;
    inset: 0;
}

.banner-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.banner-dots button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(15, 23, 42, 0.35);
    cursor: pointer;
    transition: var(--transition);
}

.banner-dots button.active {
    width: 28px;
    background: #ffffff;
}

.hero-clinical {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 88px 0;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(1, 40, 68, 0.92) 0%, rgba(1, 88, 142, 0.76) 44%, rgba(1, 88, 142, 0.1) 100%),
        url('assets/theme/clinical-hero.png') center right / cover no-repeat;
    border-bottom: 0;
}

.hero-clinical .hero-grid {
    grid-template-columns: minmax(0, 720px);
}

.hero-clinical .hero-content {
    position: relative;
    z-index: 1;
}

.hero-clinical .hero-subtitle {
    display: inline-flex;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 8px 12px;
}

.hero-clinical .hero-title,
.hero-clinical .hero-description {
    color: #ffffff;
}

.hero-clinical .hero-title {
    max-width: 760px;
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.hero-clinical .hero-description {
    color: rgba(255, 255, 255, 0.86);
}

.hero-clinical .hero-stats {
    margin-top: 34px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.42);
}

.quality-ribbon {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.quality-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    padding-top: 0;
    padding-bottom: 0;
}

.quality-ribbon-grid > div {
    min-height: 132px;
    background: #ffffff;
    padding: 24px;
}

.quality-ribbon-grid span {
    display: block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

.quality-ribbon-grid strong {
    display: block;
    color: var(--dark);
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 6px;
}

.quality-ribbon-grid p {
    color: var(--dark-muted);
    font-size: 13px;
    line-height: 1.55;
}

.visual-procurement-band {
    padding: 96px 0;
    background: linear-gradient(90deg, #ffffff 0%, #eff8fc 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.visual-procurement-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 54px;
    align-items: center;
}

.visual-copy .section-header,
.visual-copy .section-desc {
    text-align: left;
    margin-left: 0;
}

.visual-copy .section-title {
    margin: 10px 0 16px;
}

.visual-copy .btn {
    margin-top: 24px;
}

.visual-stack {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: 160px 160px;
    gap: 16px;
}

.visual-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: #ffffff;
}

.visual-stack img:first-child {
    grid-row: span 2;
}

.content-section {
    padding: 76px 0;
}

.split-content-grid,
.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 48px;
    align-items: center;
}

.info-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.info-list div,
.contact-details-card,
.contact-action-card,
.certificate-card,
.gallery-tile {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.info-list div {
    display: grid;
    gap: 4px;
    padding: 16px;
}

.info-list strong,
.contact-detail-list strong {
    color: var(--primary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.info-list span,
.contact-detail-list span {
    color: var(--dark-muted);
    font-size: 14px;
}

.framed-image {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
}

.framed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capability-band {
    padding: 60px 0;
    background: #012844;
}

.capability-grid,
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.capability-grid div {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.capability-grid span {
    color: #dff2fb;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.capability-grid strong {
    display: block;
    color: #ffffff;
    font-size: 20px;
    margin: 8px 0;
}

.capability-grid p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.contact-details-card,
.contact-action-card {
    padding: 32px;
}

.contact-details-card h2,
.contact-action-card h2 {
    margin-bottom: 18px;
}

.contact-detail-list {
    display: grid;
    gap: 14px;
}

.contact-detail-list div {
    display: grid;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.contact-detail-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-action-card p {
    color: var(--dark-muted);
    margin-bottom: 22px;
}

.contact-action-card .btn + .btn {
    margin-left: 10px;
}

.certificate-card {
    min-height: 240px;
    padding: 30px;
}

.certificate-card span {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 20px;
}

.certificate-card h2 {
    margin-bottom: 12px;
}

.certificate-card p,
.gallery-tile p {
    color: var(--dark-muted);
    font-size: 14px;
}

.gallery-tile {
    overflow: hidden;
}

.gallery-tile img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #ffffff;
}

.gallery-tile div {
    padding: 18px;
}

.gallery-tile h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.product-detail-container {
    padding-top: 28px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 22px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.catalog-nav-wrap,
.catalog-dropdown {
    display: none;
}

.clickable-card {
    isolation: isolate;
}

.card-cover-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.clickable-card .category-link,
.clickable-card .product-card-actions,
.clickable-card .product-card-badge {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero {
        padding: 48px 0;
    }

    .hero-clinical {
        min-height: 520px;
        background:
            linear-gradient(180deg, rgba(1, 40, 68, 0.92) 0%, rgba(1, 88, 142, 0.82) 56%, rgba(1, 88, 142, 0.42) 100%),
            url('assets/theme/clinical-hero.png') center right / cover no-repeat;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-wrapper {
        display: block;
    }

    .catalog-nav {
        background: #0f172a;
    }

    .catalog-dropdown {
        background: transparent;
    }

    .catalog-dropdown-grid a {
        color: #e2e8f0;
    }

    .product-card-actions {
        grid-template-columns: 1fr;
    }

    .sidebar-toggle {
        display: flex;
    }

    .quality-ribbon-grid,
    .visual-procurement-grid,
    .split-content-grid,
    .contact-page-grid,
    .capability-grid,
    .certificate-grid,
    .gallery-page-grid {
        grid-template-columns: 1fr;
    }

    .quality-ribbon-grid {
        gap: 1px;
    }

    .visual-procurement-band {
        padding: 64px 0;
    }

    .visual-stack {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 180px);
    }

    .visual-stack img:first-child {
        grid-row: auto;
    }

    .content-section {
        padding: 52px 0;
    }

    .contact-action-card .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-action-card .btn + .btn {
        margin-left: 0;
        margin-top: 10px;
    }

    .home-banner-slider {
        padding-top: 16px;
    }

    .banner-viewport {
        aspect-ratio: 16 / 7;
    }

    .topbar-inner {
        min-height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        align-items: flex-start;
    }

    .topbar-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .topbar-nav.open {
        display: flex;
    }

    .topbar-visitor-link {
        display: inline-flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .mainbar-inner {
        grid-template-columns: 1fr auto;
        min-height: auto;
        padding-top: 14px;
        padding-bottom: 14px;
        gap: 14px;
    }

    .header-search {
        grid-column: 1 / -1;
        width: 100%;
    }

    .mainbar-center {
        grid-column: 1 / -1;
        order: 3;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .header-certificates {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .categorybar-inner {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .parent-category-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        overflow: visible;
        padding: 8px 0;
    }

    .parent-category-nav.open {
        display: flex;
    }

    .parent-category-link {
        padding: 11px 0;
        border-top: 1px solid rgba(226, 232, 240, 0.12);
    }
}
@media (max-width: 768px) {
    .shop-layout,
    .product-detail-grid,
    .inquiry-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-grid,
    .product-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .blog-detail-content {
        padding: 30px 20px;
    }
    
    .blog-detail-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .category-grid,
    .product-grid,
    .blog-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}
