:root {
    --navy: #102c46;
    --blue: #1d5f8c;
    --aqua: #52b7c7;
    --pale: #eef8fa;
    --surface: #ffffff;
    --text: #173047;
    --muted: #6b7f91;
    --border: #dce8ee;
    --gold: #e7b24b;
    --green: #1c8b6b;
    --shadow: 0 18px 50px rgba(16, 44, 70, .11);
    --radius-lg: 28px;
    --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Cairo", sans-serif;
    color: var(--text);
    background: #fbfdfe;
    line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.hidden { display: none !important; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.93);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(220,232,238,.8);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
    background: linear-gradient(145deg, var(--navy), var(--blue)); color: white; font-weight: 800;
    box-shadow: 0 10px 25px rgba(29,95,140,.23);
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 11px; margin-top: -2px; }
.header-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 700; }
.header-nav a { color: #39566f; }
.header-nav a:hover { color: var(--blue); }

.hero-section {
    padding: 76px 0 64px;
    overflow: hidden;
    background:
      radial-gradient(circle at 20% 20%, rgba(82,183,199,.24), transparent 32%),
      radial-gradient(circle at 85% 35%, rgba(29,95,140,.15), transparent 30%),
      linear-gradient(180deg, #f8fcfd, #ffffff);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; min-height: 420px; }
.eyebrow { display: inline-block; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .04em; margin-bottom: 10px; }
.hero-section h1, .page-hero h1 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.18; letter-spacing: -.035em; }
.hero-section h1 span { color: var(--blue); }
.hero-section p, .page-hero p { color: var(--muted); max-width: 650px; font-size: 18px; margin: 20px 0 28px; }
.primary-button, .secondary-button {
    border: 0; border-radius: 14px; padding: 13px 22px; cursor: pointer; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center; transition: .2s ease;
}
.primary-button { color: white; background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: 0 12px 28px rgba(29,95,140,.24); }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(29,95,140,.30); }
.secondary-button { color: var(--blue); background: #eef6fa; width: 100%; }
.secondary-button:hover { background: #e3f1f6; transform: translateY(-1px); }
.full-width { width: 100%; }

.hero-visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.eye-orbit {
    width: min(370px, 82vw); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 45% 40%, #fff 0 24%, #cdebf0 25% 39%, #5ba9bb 40% 52%, #1e5578 53% 63%, #0e2c44 64% 100%);
    box-shadow: inset 0 0 0 18px rgba(255,255,255,.38), 0 40px 80px rgba(16,44,70,.22);
    position: relative;
}
.eye-orbit::before { content: ""; position: absolute; inset: -26px; border: 1px solid rgba(29,95,140,.18); border-radius: 50%; }
.eye-orbit span { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.9); top: 24%; right: 27%; filter: blur(1px); }
.floating-drop { position: absolute; width: 48px; height: 64px; background: linear-gradient(165deg, #d9fbff, #45abc0); border-radius: 50% 50% 55% 45% / 64% 64% 36% 36%; transform: rotate(45deg); box-shadow: 0 16px 32px rgba(29,95,140,.2); }
.drop-one { top: 12%; right: 7%; }
.drop-two { bottom: 8%; left: 8%; width: 34px; height: 46px; opacity: .78; }

.section { padding: 76px 0; }
.compact-section { padding-top: 42px; }
.section-muted { background: var(--pale); }
.section-heading { text-align: center; max-width: 700px; margin: 0 auto 36px; }
.section-heading h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 10px; }
.section-heading p { margin: 0; color: var(--muted); }
.category-grid { display: grid; gap: 22px; }
.three-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-card {
    min-height: 320px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 30px; display: flex; flex-direction: column; box-shadow: 0 12px 34px rgba(16,44,70,.06); transition: .25s ease;
}
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: #c7dde7; }
.category-icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 20px; background: var(--pale); font-size: 29px; margin-bottom: 24px; }
.category-card h3 { font-size: 24px; margin: 0 0 10px; }
.category-card p { color: var(--muted); margin: 0 0 22px; }
.card-link { margin-top: auto; color: var(--blue); font-weight: 800; }
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-strip div { background: white; border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.info-strip strong, .info-strip span { display: block; }
.info-strip span { color: var(--muted); font-size: 14px; margin-top: 3px; }

.page-hero { padding: 58px 0 38px; background: linear-gradient(180deg, #eff9fb, #fbfdfe); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(34px, 4vw, 54px); }
.back-link { display: inline-block; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.back-link:hover { color: var(--blue); }
.filter-panel {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; align-items: end;
    background: white; border: 1px solid var(--border); border-radius: 22px; padding: 20px; box-shadow: 0 12px 32px rgba(16,44,70,.06);
}
.filter-panel label > span { display: block; font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 7px; }
.filter-panel input, .filter-panel select, .modal-dialog input, .admin-form input, .admin-form select, .admin-form textarea {
    width: 100%; border: 1px solid #cfdde5; border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--text); outline: none;
}
.filter-panel input:focus, .filter-panel select:focus, .modal-dialog input:focus, .admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(82,183,199,.15); }
.results-line { margin: 20px 2px 16px; color: var(--muted); font-size: 14px; }
.medication-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.medication-card { background: white; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: 0 12px 34px rgba(16,44,70,.06); display: flex; flex-direction: column; }
.medication-image-wrap { aspect-ratio: 4/3; background: linear-gradient(145deg, #f7fbfc, #edf7f9); display: grid; place-items: center; padding: 24px; border-bottom: 1px solid var(--border); }
.medication-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.image-placeholder { width: 100px; height: 100px; border-radius: 32px; background: white; display: grid; place-items: center; font-size: 44px; box-shadow: 0 18px 40px rgba(16,44,70,.08); }
.medication-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.status-pill { font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: #fff3de; color: #8a5d0c; }
.status-pill.free { background: #e6f7f1; color: #167056; }
.status-pill.neutral { background: #edf3f8; color: #49657b; }
.medication-card h2 { margin: 0; font-size: 22px; }
.english-name { margin: 1px 0 10px; color: var(--blue); font-weight: 700; text-align: right; }
.medication-description { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.rating-summary { display: flex; align-items: center; gap: 7px; margin-top: auto; padding: 12px 0 16px; }
.stars { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.rating-summary small { color: var(--muted); }
.empty-state { text-align: center; border: 1px dashed #bfd4df; background: #f5fbfc; border-radius: 22px; padding: 50px 24px; color: var(--muted); }
.empty-state h3 { color: var(--text); margin: 0 0 6px; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(9,28,43,.65); backdrop-filter: blur(8px); }
.modal-dialog { position: relative; width: min(510px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: white; border-radius: 26px; padding: 30px; box-shadow: 0 30px 90px rgba(0,0,0,.24); }
.modal-dialog h2 { margin: 0; font-size: 30px; }
.modal-dialog > p { margin: 2px 0 18px; color: var(--blue); font-weight: 700; }
.modal-close { position: absolute; left: 18px; top: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #edf4f7; font-size: 24px; cursor: pointer; }
.modal-dialog form { display: grid; gap: 14px; }
.modal-dialog form > label > span, .star-input legend { display: block; color: var(--muted); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.star-input { border: 0; padding: 0; margin: 0; }
.star-input div { display: inline-flex; flex-direction: row-reverse; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 38px; line-height: 1; color: #d6e0e5; cursor: pointer; transition: .15s; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }
.consent-row { display: grid !important; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.consent-row input { width: 18px; height: 18px; margin-top: 4px; }
.consent-row span { margin: 0 !important; font-size: 12px !important; line-height: 1.7; }
.form-message { min-height: 24px; font-size: 13px; font-weight: 700; }
.form-message.success { color: var(--green); }
.form-message.error { color: #b23636; }
body.modal-open { overflow: hidden; }

.site-footer { border-top: 1px solid var(--border); background: white; padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--muted); font-size: 13px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--blue); font-weight: 800; }

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-section p { margin-inline: auto; }
    .hero-visual { min-height: 320px; }
    .three-columns, .medication-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .header-nav { display: none; }
    .filter-panel { grid-template-columns: 1fr 1fr; }
    .search-field { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
    .hero-section { padding-top: 46px; }
    .hero-grid { gap: 20px; }
    .hero-visual { min-height: 260px; }
    .eye-orbit { width: 230px; }
    .three-columns, .medication-grid, .info-strip, .filter-panel { grid-template-columns: 1fr; }
    .search-field { grid-column: auto; }
    .category-card { min-height: 270px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .modal-dialog { padding: 26px 20px; }
}

/* Admin */
.admin-body { background: #f3f7f9; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.admin-sidebar { background: var(--navy); color: white; padding: 28px 20px; position: sticky; top: 0; height: 100vh; }
.admin-sidebar .brand { color: white; margin-bottom: 34px; }
.admin-sidebar .brand small { color: rgba(255,255,255,.65); }
.admin-nav { display: grid; gap: 8px; }
.admin-nav a { padding: 12px 14px; border-radius: 12px; color: rgba(255,255,255,.78); font-weight: 700; font-size: 14px; }
.admin-nav a:hover, .admin-nav a.active { color: white; background: rgba(255,255,255,.10); }
.admin-sidebar-footer { position: absolute; bottom: 22px; right: 20px; left: 20px; }
.admin-sidebar-footer a { color: rgba(255,255,255,.7); font-size: 13px; }
.admin-main { padding: 34px; min-width: 0; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.admin-topbar h1 { margin: 0; font-size: 32px; }
.admin-topbar p { margin: 2px 0 0; color: var(--muted); }
.admin-user { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; font-size: 13px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: white; border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.stat-card span { display: block; color: var(--muted); font-size: 13px; }
.stat-card strong { display: block; font-size: 30px; margin-top: 4px; }
.admin-panel { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 22px; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(16,44,70,.04); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.panel-heading h2 { margin: 0; font-size: 21px; }
.panel-heading p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.admin-filters { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin-bottom: 16px; }
.admin-filters input, .admin-filters select { width: 100%; border: 1px solid #cfdde5; border-radius: 11px; padding: 10px 12px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 850px; }
.admin-table th, .admin-table td { text-align: right; padding: 13px 12px; border-bottom: 1px solid #e7eef2; font-size: 13px; vertical-align: middle; }
.admin-table th { color: var(--muted); font-weight: 800; background: #f8fbfc; }
.admin-table tr:last-child td { border-bottom: 0; }
.table-stars { color: var(--gold); white-space: nowrap; }
.badge { display: inline-flex; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.badge.accepted, .badge.active { color: #12654e; background: #e5f6ef; }
.badge.duplicate { color: #9a5b08; background: #fff0d5; }
.badge.hidden, .badge.rate_limited { color: #9c3030; background: #fde8e8; }
.inline-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.small-button { border: 0; border-radius: 10px; padding: 7px 10px; cursor: pointer; font-size: 12px; font-weight: 800; background: #edf4f7; color: var(--blue); }
.small-button.danger { color: #a12c2c; background: #fdeaea; }
.admin-form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.admin-form label > span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.admin-form textarea { min-height: 110px; resize: vertical; }
.flash { padding: 13px 15px; border-radius: 12px; margin-bottom: 16px; font-size: 13px; font-weight: 700; }
.flash.success { color: #12654e; background: #e5f6ef; border: 1px solid #c7ebdd; }
.flash.error { color: #9c3030; background: #fde8e8; border: 1px solid #f7cccc; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 15% 20%, rgba(82,183,199,.26), transparent 30%), linear-gradient(145deg, #f7fbfc, #eaf5f7); }
.login-card { width: min(440px, 100%); background: white; border: 1px solid var(--border); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); }
.login-card h1 { margin: 18px 0 4px; }
.login-card > p { margin: 0 0 22px; color: var(--muted); }
.login-card .brand { justify-content: center; }
.empty-table { text-align: center; color: var(--muted); padding: 36px !important; }
.product-thumb { width: 54px; height: 54px; object-fit: contain; border-radius: 12px; background: #f2f8fa; border: 1px solid var(--border); }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pagination a, .pagination span { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #edf4f7; font-size: 13px; font-weight: 800; }
.pagination .current { color: white; background: var(--blue); }

@media (max-width: 1050px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: relative; height: auto; }
    .admin-sidebar-footer { position: static; margin-top: 20px; }
    .admin-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .admin-main { padding: 20px 14px; }
    .admin-topbar { align-items: flex-start; flex-direction: column; }
    .admin-nav { grid-template-columns: 1fr 1fr; }
    .stats-grid, .form-grid, .admin-filters { grid-template-columns: 1fr; }
    .form-grid .full { grid-column: auto; }
}

/* v2 category buttons, SEO product cards and product details */
.drop-type-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.filter-toolbar{display:grid;grid-template-columns:minmax(260px,.8fr) 1.7fr;gap:18px;align-items:end;background:#fff;border:1px solid var(--border);border-radius:22px;padding:20px;box-shadow:0 12px 32px rgba(16,44,70,.06)}.filter-label,.search-field>span{display:block;font-size:13px;color:var(--muted);font-weight:700;margin-bottom:8px}.filter-toolbar input{width:100%;border:1px solid #cfdde5;border-radius:12px;padding:12px 14px;background:#fff;color:var(--text);outline:none}.preservative-buttons{display:flex;gap:9px;flex-wrap:wrap}.filter-chip{border:1px solid #c8dce5;background:#fff;color:var(--text);border-radius:999px;padding:11px 18px;font-family:inherit;font-weight:800;cursor:pointer;transition:.2s}.drop-type-selector .filter-chip{border-radius:22px;padding:20px;font-size:18px}.filter-chip:hover,.filter-chip.active{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 10px 24px rgba(39,111,157,.18)}.medication-card{height:100%}.medication-image-wrap{overflow:hidden}.medication-image-wrap img{transition:transform .3s ease}.medication-card:hover .medication-image-wrap img{transform:scale(1.035)}.ingredients-preview{display:grid;gap:5px;margin:0 0 12px;padding:12px;border-radius:14px;background:#f6fafb;font-size:12px}.ingredients-preview strong{color:var(--text)}.ingredients-preview span{display:flex;justify-content:space-between;gap:8px;color:var(--muted)}.ingredients-preview small{color:var(--blue)}.card-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.card-actions .primary-button,.card-actions .small-button{padding:10px 14px;font-size:12px}.product-detail-grid{display:grid;grid-template-columns:minmax(320px,.85fr) 1.15fr;gap:34px;align-items:start}.product-detail-image{margin:0;background:#fff;border:1px solid var(--border);border-radius:28px;padding:24px;box-shadow:var(--shadow)}.product-detail-image img{width:100%;height:420px;object-fit:contain}.product-detail-image figcaption{text-align:center;color:var(--muted);font-size:13px;margin-top:12px}.product-detail-content{background:#fff;border:1px solid var(--border);border-radius:28px;padding:30px;box-shadow:var(--shadow)}.ingredients-box{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}.ingredients-box h2{margin:0 0 14px}.ingredient-list-public{display:grid;gap:10px}.ingredient-list-public>div{display:flex;justify-content:space-between;gap:18px;padding:12px 14px;border-radius:14px;background:#f5fafb}.ingredient-list-public span{color:var(--blue)}
@media(max-width:820px){.filter-toolbar,.product-detail-grid{grid-template-columns:1fr}.drop-type-selector{grid-template-columns:1fr}.preservative-buttons{display:grid;grid-template-columns:1fr}.filter-chip{width:100%}.product-detail-image img{height:300px}}
@media(max-width:520px){.drop-type-selector .filter-chip{padding:16px;font-size:15px}.filter-toolbar{padding:15px}.product-detail-content,.product-detail-image{padding:20px;border-radius:22px}.ingredient-list-public>div{display:grid;gap:3px}.medication-image-wrap{aspect-ratio:1/1;padding:15px}}

/* Separate search and preservative filter panels */
.filters-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    margin-bottom: 28px;
    align-items: stretch;
}

.filters-layout.search-only {
    grid-template-columns: minmax(0, 760px);
}

.search-panel,
.preservative-panel {
    background: #ffffff;
    border: 1px solid rgba(100, 184, 194, 0.22);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 14px 34px rgba(28, 26, 50, 0.07);
}

.filter-section-heading {
    margin-bottom: 18px;
}

.filter-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 6px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.filter-section-heading h2 {
    margin: 0 0 5px;
    color: var(--text);
    font-size: 22px;
    line-height: 1.5;
}

.filter-section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.search-field-wide {
    display: block;
    width: 100%;
}

.search-field-wide input {
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    border: 1px solid #dfe5eb;
    border-radius: 17px;
    outline: none;
    background: #f9fbfc;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-field-wide input:focus {
    border-color: var(--blue);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(100, 184, 194, 0.12);
}

.preservative-hint {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 13px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(100, 184, 194, 0.20);
    border-radius: 18px;
    background: rgba(100, 184, 194, 0.09);
}

.preservative-hint-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.preservative-hint strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 14px;
}

.preservative-hint p {
    margin: 0;
    color: #566070;
    font-size: 12.5px;
    line-height: 1.9;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Always show the entire product package without cropping */
.medication-card .medication-image-wrap {
    min-height: 280px;
    aspect-ratio: 4 / 3;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.medication-card .medication-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

@media (max-width: 850px) {
    .filters-layout,
    .filters-layout.search-only {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .search-panel,
    .preservative-panel {
        padding: 21px 18px;
        border-radius: 23px;
    }

    .filter-section-heading h2 {
        font-size: 20px;
    }

    .preservative-hint {
        grid-template-columns: 1fr;
    }

    .medication-card .medication-image-wrap {
        min-height: 240px;
        aspect-ratio: 1 / 1;
        padding: 16px;
    }
}
