:root{--navy:#1c1a32;--blue:#64b8c2;--bg:#f7f9fb;--white:#fff;--text:#1c1a32;--muted:#667085;--line:#e5eaf0;--green:#15713d;--gold:#c99a22;--danger:#b42318;--shadow:0 18px 46px rgba(28,26,50,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Cairo",sans-serif;background:var(--bg);color:var(--text);line-height:1.8}body.modal-open{overflow:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.container{width:min(1220px,calc(100% - 36px));margin-inline:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}.site-brand{display:flex;align-items:center;gap:13px}.site-brand strong{display:block;font-size:18px}.site-brand small{display:block;color:var(--muted);font-size:12px}.brand-mark{width:48px;height:48px;border-radius:16px;background:var(--navy);display:grid;place-items:center;position:relative}.brand-mark:before{content:"";width:29px;height:17px;border:3px solid var(--blue);border-radius:50%}.brand-mark span{position:absolute;width:9px;height:9px;background:var(--blue);border-radius:50%}.site-nav{display:flex;gap:18px;font-size:14px;font-weight:800}.site-nav a:hover{color:var(--blue)}.page-hero{padding:72px 0 48px;background:radial-gradient(circle at 12% 18%,rgba(100,184,194,.18),transparent 30%),linear-gradient(180deg,#fff,var(--bg))}.back-link{display:inline-flex;margin-bottom:18px;color:var(--muted);font-size:13px;font-weight:800}.eyebrow{display:inline-flex;padding:7px 13px;border-radius:999px;background:rgba(100,184,194,.13);color:var(--navy);font-size:12px;font-weight:900}.page-hero h1{margin:14px 0 10px;font-size:clamp(34px,5vw,58px);line-height:1.3}.page-hero p{max-width:760px;margin:0;color:var(--muted);font-size:17px}.section{padding:54px 0 86px}.compact-section{padding-top:38px}.allergy-filters{display:grid;gap:18px;margin-bottom:24px}.panel,.allergy-info,.brand-panel,.comparison-section,.product-detail-card,.admin-panel,.stat-card{background:#fff;border:1px solid rgba(100,184,194,.22);border-radius:25px;box-shadow:0 14px 34px rgba(28,26,50,.07)}.panel,.allergy-info,.brand-panel{padding:22px}.panel h2,.allergy-info h2,.brand-panel h2{margin:0 0 5px;font-size:21px}.panel p,.allergy-info p,.brand-panel p{margin:0;color:var(--muted);font-size:13px}.allergy-info{background:rgba(100,184,194,.08)}.info-list{counter-reset:item;display:grid;gap:12px;margin:16px 0 0;padding:0;list-style:none}.info-list li{counter-increment:item;position:relative;padding:14px 48px 14px 16px;border:1px solid rgba(100,184,194,.22);border-radius:17px;background:#fff;color:#354052}.info-list li:before{content:counter(item);position:absolute;right:14px;top:14px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:var(--navy);color:#fff;font-size:12px;font-weight:900}.filter-buttons,.brand-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.filter-button,.brand-button,.small-button,.primary-button,.danger-button{min-height:44px;padding:10px 16px;border-radius:999px;font-weight:800;cursor:pointer;transition:.2s ease}.filter-button,.brand-button,.small-button{border:1px solid rgba(100,184,194,.3);background:#fff;color:var(--navy)}.brand-button{border-radius:14px;background:#f9fbfc}.filter-button:hover,.brand-button:hover,.small-button:hover{transform:translateY(-2px);border-color:var(--blue)}.filter-button.active,.brand-button.active{background:var(--navy);border-color:var(--navy);color:#fff}.primary-button{border:1px solid var(--navy);background:var(--navy);color:#fff}.danger-button{border:1px solid #ffd3cf;background:#fff1f0;color:var(--danger)}.search-field-wide{display:block;margin-top:15px}.search-field-wide input,.admin-form input,.admin-form select,.admin-form textarea,.admin-filters input,.admin-filters select,.modal-card input{width:100%;min-height:50px;padding:12px 15px;border:1px solid #dfe5eb;border-radius:15px;background:#f9fbfc;outline:0}.admin-form textarea{min-height:120px;resize:vertical}.search-field-wide input:focus,.admin-form input:focus,.admin-form select:focus,.admin-form textarea:focus,.modal-card input:focus{border-color:var(--blue);background:#fff;box-shadow:0 0 0 4px rgba(100,184,194,.12)}.compare-action{display:none;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.compare-action.visible{display:flex;align-items:center;justify-content:space-between;gap:14px}.results-line{margin:22px 0 16px;color:var(--muted);font-size:14px}.results-line span{color:var(--navy);font-size:20px;font-weight:900}.medication-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}.brand-group-header{grid-column:1/-1;display:flex;align-items:center;gap:16px;margin-top:10px}.brand-group-header:before,.brand-group-header:after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(100,184,194,.5))}.brand-group-header:after{background:linear-gradient(90deg,rgba(100,184,194,.5),transparent)}.brand-group-title{margin:0;padding:8px 18px;border:1px solid rgba(100,184,194,.28);border-radius:999px;background:#fff;font-size:17px;direction:ltr}.medication-card{position:relative;min-width:0;height:100%;overflow:hidden;display:flex;flex-direction:column;border:1px solid rgba(100,184,194,.2);border-radius:28px;background:#fff;box-shadow:var(--shadow);transition:.25s ease}.medication-card:hover{transform:translateY(-5px);border-color:var(--blue)}.card-top{min-height:54px;padding:17px 18px 8px;display:flex;justify-content:flex-end}.card-badges{display:flex;flex-wrap:wrap;gap:7px}.badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;border-radius:999px;font-size:10.5px;font-weight:900}.badge.free{background:rgba(38,166,91,.1);color:var(--green);border:1px solid rgba(38,166,91,.2)}.badge.preserved{background:rgba(200,133,40,.1);color:#8c5b15;border:1px solid rgba(200,133,40,.22)}.badge.package{background:#eef7ff;color:#195f8c;border:1px solid #c9e3f4}.image-wrap{position:relative;width:calc(100% - 32px);height:285px;margin:8px 16px 0;padding:20px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #edf0f3;border-radius:22px;background:#fff}.image-wrap img{width:100%;height:100%;object-fit:contain}.image-placeholder{font-size:54px}.preferred-badge{position:absolute;top:14px;right:14px;z-index:3;max-width:calc(100% - 28px);padding:9px 13px;display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.75);border-radius:999px;background:linear-gradient(135deg,#fff8dc,#ffe89a 48%,#f5c94f);color:#5f4300;box-shadow:0 9px 24px rgba(160,112,0,.18);font-size:11px;font-weight:900}.preferred-badge:before{content:"★";width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.8);color:#b98200}.card-body{flex:1;display:flex;flex-direction:column;padding:20px 20px 22px}.title-group{min-height:98px}.title-group h2,.english-name{margin:0;color:var(--navy);font-size:21px;line-height:1.55;font-weight:900}.english-name{text-align:right}.ingredients-box{min-height:225px;margin-top:16px;padding:15px;display:flex;flex-direction:column;border:1px solid #e7ecef;border-radius:18px;background:#f8fafb}.ingredients-head{display:flex;justify-content:space-between;margin-bottom:12px;font-size:12px}.ingredients-columns{flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ingredient-column{padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff;min-width:0}.ingredient-column strong{display:block;margin-bottom:8px;font-size:11px}.ingredient-column ul{display:grid;gap:7px;margin:0;padding:0;list-style:none}.ingredient-column li{color:#566070;font-size:11.5px;overflow-wrap:anywhere}.description{margin:16px 0 0;padding-top:15px;border-top:1px solid var(--line);color:#626c79;font-size:13px}.rating-row{margin-top:auto;padding-top:18px;display:flex;justify-content:space-between;align-items:center}.stars{color:#f2b01e;letter-spacing:1px}.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.card-actions a,.card-actions button{min-height:45px;padding:10px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-weight:800}.details-button{background:var(--navy);color:#fff}.rating-button{border:1px solid rgba(100,184,194,.35);background:rgba(100,184,194,.11);color:var(--navy);cursor:pointer}.hidden-by-filter{display:none!important}.empty-state{padding:48px;text-align:center;border:1px dashed #cdd8df;border-radius:22px;background:#fff}.empty-state.hidden{display:none}.comparison-section{display:none;margin-top:34px;padding:26px;scroll-margin-top:20px}.comparison-section.visible{display:block}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px}.panel-heading h2,.panel-heading h3{margin:0}.panel-heading p{margin:4px 0 0;color:var(--muted)}.table-wrap,.comparison-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:18px}.comparison-table,.admin-table{width:100%;border-collapse:collapse}.comparison-table{min-width:760px}.comparison-table th,.comparison-table td,.admin-table th,.admin-table td{padding:14px;border-bottom:1px solid var(--line);text-align:right;vertical-align:top}.comparison-table th,.admin-table th{background:#f7f9fb;font-size:12px}.comparison-product{text-align:center!important;min-width:180px}.comparison-product img{width:86px;height:86px;margin:0 auto 8px;object-fit:contain}.product-detail{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:28px}.product-detail-card{padding:28px}.product-detail-image{height:430px;display:flex;align-items:center;justify-content:center;position:relative}.product-detail-image img{width:100%;height:100%;object-fit:contain}.product-meta{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.product-detail h1{margin:0;font-size:36px}.product-detail .en-title{font-size:28px;font-weight:800}.detail-ingredients{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.site-footer{padding:38px 0;background:var(--navy);color:#fff}.footer-inner{display:flex;justify-content:space-between;gap:22px;align-items:center}.footer-inner p{margin:4px 0 0;color:rgba(255,255,255,.68)}.footer-inner a{color:var(--blue);font-weight:800}.modal{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;padding:20px}.modal.show{display:flex}.modal-backdrop{position:absolute;inset:0;background:rgba(19,18,38,.72);backdrop-filter:blur(8px)}.modal-card{position:relative;z-index:2;width:min(520px,100%);padding:28px;border-radius:28px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.3)}.modal-card h2{margin:12px 0 0}.modal-card p{color:var(--muted)}.modal-card form{display:grid;gap:14px}.modal-card label span{display:block;margin-bottom:5px;font-weight:800}.modal-close{position:absolute;left:18px;top:14px;width:38px;height:38px;border:0;border-radius:50%;background:#f2f4f7;font-size:24px;cursor:pointer}.star-choice{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:5px;border:0;padding:0;margin:0}.star-choice legend{margin-bottom:6px;font-weight:800}.star-choice input{display:none}.star-choice span{font-size:30px;color:#d7dbe0;cursor:pointer}.star-choice label:hover span,.star-choice label:hover~label span,.star-choice input:checked~span{color:#f2b01e}.form-message{padding:12px;border-radius:14px}.form-message.success,.flash.success{background:#e8fff6;color:#05603a}.form-message.error,.flash.error{background:#fff1f3;color:#b42318}
/* admin */
.admin-body{background:#f4f6f8}.admin-shell{min-height:100vh;display:grid;grid-template-columns:280px minmax(0,1fr)}.admin-sidebar{position:sticky;top:0;height:100vh;padding:24px 18px;background:var(--navy);color:#fff;display:flex;flex-direction:column}.admin-sidebar .site-brand{color:#fff;margin-bottom:26px}.admin-sidebar .site-brand small{color:rgba(255,255,255,.65)}.admin-nav{display:grid;gap:7px}.admin-nav a{padding:12px 14px;border-radius:14px;color:rgba(255,255,255,.76);font-weight:800}.admin-nav a:hover,.admin-nav a.active{background:rgba(100,184,194,.18);color:#fff}.admin-sidebar-footer{margin-top:auto}.admin-sidebar-footer a{color:var(--blue);font-weight:800}.admin-main{padding:28px}.admin-topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.admin-topbar h1{margin:0}.admin-topbar p{margin:2px 0 0;color:var(--muted)}.admin-user{padding:9px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:12px}.flash{padding:14px 16px;border-radius:15px;margin-bottom:16px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stat-card{padding:20px}.stat-card span{display:block;color:var(--muted);font-size:12px}.stat-card strong{font-size:32px}.admin-panel{padding:22px;margin-bottom:22px}.admin-form{display:grid;gap:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-form label span{display:block;margin-bottom:6px;font-size:13px;font-weight:800}.admin-form label.full{grid-column:1/-1}.inline-actions{display:flex;flex-wrap:wrap;gap:10px}.admin-filters{display:grid;grid-template-columns:1fr 220px auto;gap:10px;margin-bottom:16px}.badge.active{background:#e8fff6;color:#05603a}.badge.hidden{background:#fff1f3;color:#b42318}.table-stars{color:#f2b01e}.empty-table{text-align:center;color:var(--muted)}.product-thumb{width:72px;height:72px;object-fit:contain;background:#fff}.drag-list{display:grid;gap:10px}.drag-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;touch-action:none}.drag-handle{width:42px;height:42px;border:1px solid #d9e2e8;border-radius:12px;background:#f8fafb;display:grid;place-items:center;cursor:grab;font-size:22px}.drag-item.dragging{opacity:.55;transform:scale(.99)}.drag-status{font-size:13px;color:var(--muted)}.setup-box{width:min(600px,calc(100% - 30px));margin:70px auto;padding:28px;background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow)}
@media(max-width:1100px){.medication-grid{grid-template-columns:repeat(2,1fr)}.stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:static;height:auto}.admin-main{padding:18px}.admin-nav{grid-template-columns:repeat(2,1fr)}.product-detail{grid-template-columns:1fr}.site-nav{display:none}}
@media(max-width:720px){.container{width:min(100% - 26px,1220px)}.header-inner{min-height:72px}.site-brand small{display:none}.page-hero{padding:50px 0 35px}.medication-grid,.ingredients-columns,.detail-ingredients,.form-grid,.stats-grid{grid-template-columns:1fr}.panel,.allergy-info,.brand-panel{padding:18px}.filter-buttons,.brand-buttons{display:grid}.filter-button,.brand-button{width:100%}.compare-action.visible{display:grid}.image-wrap{height:245px}.ingredients-box{min-height:0}.card-actions{grid-template-columns:1fr}.footer-inner{display:grid}.admin-topbar{display:grid}.admin-user{width:max-content}.admin-filters{grid-template-columns:1fr}.admin-nav{grid-template-columns:1fr}.admin-table th,.admin-table td{white-space:nowrap}}

/* Login page matching the lubricants admin login */
.login-page {
    min-height: 100vh;
    padding: 28px 16px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 12% 18%, rgba(100, 184, 194, .18), transparent 30%),
        radial-gradient(circle at 88% 82%, rgba(28, 26, 50, .08), transparent 30%),
        #f4f6f8;
}

.login-card {
    width: min(520px, 100%);
    padding: 34px;
    border: 1px solid rgba(100, 184, 194, .24);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(28, 26, 50, .12);
}

.login-card .site-brand {
    width: fit-content;
    margin-bottom: 28px;
}

.login-card h1 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 32px;
    line-height: 1.4;
}

.login-card > p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.login-card .admin-form {
    gap: 16px;
}

.full-width {
    width: 100%;
}

@media (max-width: 560px) {
    .login-card {
        padding: 26px 20px;
        border-radius: 25px;
    }

    .login-card h1 {
        font-size: 28px;
    }
}

/* Categories, detailed product data, and product ordering */
.category-product-section{margin:0 0 34px}.category-public-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:14px;padding:22px 24px;border:1px solid rgba(100,184,194,.22);border-radius:24px;background:linear-gradient(135deg,rgba(100,184,194,.12),#fff);box-shadow:var(--shadow-soft)}.category-public-heading span{display:block;color:var(--blue);font-size:12px;font-weight:900}.category-public-heading h2{margin:4px 0 0;color:var(--navy);font-size:27px;line-height:1.5}.category-visible-count{color:var(--navy);font-size:13px;white-space:nowrap}.category-visitor-note{margin:0 0 18px;padding:16px 18px;border:1px solid rgba(100,184,194,.24);border-radius:18px;background:rgba(100,184,194,.09);color:#3f5960;font-size:13px;line-height:1.9}.classification-line{margin-top:12px;padding:9px 12px;border-radius:12px;background:#f5f7fa;color:#596273;font-size:11.5px;line-height:1.7}.active-ingredient-summary{margin-top:12px;padding:13px 14px;border:1px solid rgba(100,184,194,.22);border-radius:15px;background:#fff}.active-ingredient-summary strong{display:block;margin-bottom:5px;color:var(--navy);font-size:12px}.active-ingredient-summary span{display:block;color:#4f5d68;font-size:12px;line-height:1.7}.product-optional-note{margin-top:14px;padding:13px 15px;border-right:4px solid var(--blue);border-radius:14px;background:#f7fbfc;color:#46545e;font-size:12.5px;line-height:1.8}.badge.steroid-free{background:#eef7ff;color:#24608a}.image-badge-stack{position:absolute;z-index:8;top:13px;right:13px;display:grid;justify-items:start;gap:8px;max-width:calc(100% - 26px)}.image-badge-stack .preferred-badge{position:static;max-width:100%;white-space:normal}.custom-image-badge{display:inline-flex;align-items:center;min-height:32px;padding:7px 12px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:linear-gradient(135deg,#1c1a32,#4c4770);color:#fff;font-size:10.5px;font-weight:900;box-shadow:0 10px 24px rgba(28,26,50,.2)}.product-information-grid{display:grid;gap:10px;margin:22px 0}.product-information-row{display:grid;grid-template-columns:minmax(150px,.42fr) minmax(0,1fr);gap:14px;padding:13px 15px;border:1px solid var(--line);border-radius:14px;background:#fafbfc}.product-information-row strong{color:var(--navy);font-size:12px}.product-information-row span{color:#52606c;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.important-product-note{margin:18px 0;padding:16px 18px;border:1px solid #f1d9a9;border-radius:17px;background:#fffaf0}.important-product-note strong{color:#7a5312}.important-product-note p{margin:7px 0 0;color:#685836;font-size:12.5px;line-height:1.9}.category-inline-form{display:grid;grid-template-columns:1fr;gap:12px}.category-inline-form textarea{min-height:86px}.category-admin-item{grid-template-columns:auto minmax(0,1fr) auto;align-items:start}.product-order-group{margin-bottom:24px;padding:18px;border:1px solid var(--line);border-radius:20px;background:#f8fafb}.product-order-group h3{margin:0 0 14px;color:var(--navy)}.small-button.danger{border-color:#f3c4c8;background:#fff1f3;color:#b42318}
@media(max-width:720px){.category-public-heading{display:grid;align-items:start}.category-visible-count{white-space:normal}.product-information-row{grid-template-columns:1fr}.category-admin-item{grid-template-columns:auto minmax(0,1fr)}.category-admin-item>form:last-child{grid-column:2}.image-badge-stack{top:10px;right:10px}}

/* Visitor hero aligned with the visual language of the lubricants guide */
.allergy-visual-hero {
    position: relative;
    overflow: hidden;
    padding: 54px 0 50px;
    background:
        radial-gradient(circle at 12% 22%, rgba(100,184,194,.19), transparent 28%),
        radial-gradient(circle at 91% 16%, rgba(100,184,194,.12), transparent 31%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
    border-bottom: 1px solid var(--line);
}

.allergy-visual-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -155px;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background: rgba(100,184,194,.07);
    pointer-events: none;
}

.allergy-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 44px;
    align-items: center;
}

.allergy-hero-content .back-link {
    display: flex;
    width: fit-content;
    margin-bottom: 20px;
}

.allergy-hero-content h1 {
    max-width: 780px;
    margin: 15px 0 12px;
    color: var(--navy);
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.32;
    letter-spacing: -.7px;
}

.allergy-hero-content h1 span {
    color: var(--blue);
}

.allergy-hero-content > p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 2;
}

.allergy-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.allergy-hero-pills span {
    min-height: 36px;
    padding: 7px 13px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(100,184,194,.25);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #475467;
    font-size: 11.5px;
    font-weight: 800;
    box-shadow: 0 9px 22px rgba(28,26,50,.04);
}

.allergy-eye-art {
    position: relative;
    min-height: 320px;
    display: grid;
    place-items: center;
}

.allergy-eye-outline {
    position: relative;
    width: min(420px, 92%);
    aspect-ratio: 1.9 / 1;
    border: 9px solid var(--blue);
    border-radius: 58% 42% 58% 42% / 55% 45% 55% 45%;
    transform: rotate(-4deg);
    background: rgba(255,255,255,.58);
    box-shadow:
        0 30px 70px rgba(28,26,50,.09),
        inset 0 0 0 12px rgba(255,255,255,.68);
}

.allergy-iris {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 138px;
    height: 138px;
    transform: translate(-50%, -50%);
    border: 13px solid rgba(255,255,255,.82);
    border-radius: 50%;
    background: linear-gradient(145deg, #84d0d7, #4aa7b2);
    box-shadow:
        0 16px 34px rgba(28,26,50,.18),
        inset 0 0 0 9px rgba(255,255,255,.18);
}

.allergy-pupil {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 56px;
    height: 56px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--navy);
    box-shadow: 0 0 0 9px rgba(28,26,50,.08);
}

.allergy-eye-shine {
    position: absolute;
    top: 25px;
    left: 31px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 22px 12px 0 -7px rgba(255,255,255,.8);
}

.allergy-drop {
    position: absolute;
    width: 30px;
    height: 46px;
    border-radius: 62% 38% 63% 37% / 70% 46% 54% 30%;
    background: linear-gradient(145deg, #8bd4dc, #4eabb6);
    box-shadow: 0 14px 28px rgba(100,184,194,.23);
}

.allergy-drop-one { top: 36px; right: 56px; transform: rotate(38deg); }
.allergy-drop-two { bottom: 35px; left: 52px; transform: rotate(-20deg) scale(.82); }
.allergy-drop-three { bottom: 17px; right: 92px; transform: rotate(22deg) scale(.64); opacity: .76; }

/* Keep visitor cards and filters visually identical to the lubricants product pages */
.allergy-filters .panel,
.brand-panel,
.category-public-heading,
.medication-card,
.comparison-section {
    border-color: rgba(100,184,194,.22);
}

@media (max-width: 920px) {
    .allergy-hero-grid {
        grid-template-columns: 1fr;
    }

    .allergy-eye-art {
        min-height: 260px;
        order: -1;
    }

    .allergy-eye-outline {
        width: min(390px, 88%);
    }
}

@media (max-width: 560px) {
    .allergy-visual-hero {
        padding: 36px 0 38px;
    }

    .allergy-eye-art {
        min-height: 210px;
    }

    .allergy-eye-outline {
        border-width: 7px;
    }

    .allergy-iris {
        width: 105px;
        height: 105px;
        border-width: 10px;
    }

    .allergy-pupil {
        width: 44px;
        height: 44px;
    }

    .allergy-eye-shine {
        top: 17px;
        left: 22px;
        width: 17px;
        height: 17px;
    }

    .allergy-hero-content h1 {
        font-size: 35px;
    }

    .allergy-hero-content > p {
        font-size: 15px;
    }

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

    .allergy-hero-pills span {
        justify-content: center;
    }
}

/* =========================================================
   Main turki.doctor header and footer
   Scoped so the allergy-page content remains unchanged.
   ========================================================= */
.td-topbar,
.td-header,
.td-footer {
    font-family: "Almarai", sans-serif;
}

.td-main-container {
    width: min(1220px, calc(100% - 42px));
    margin-inline: auto;
}

.td-topbar {
    padding: 9px 0;
    background: #1C1A32;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.8;
}

.td-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

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

.td-topbar a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.td-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #e5eaf0;
}

.td-nav {
    min-height: 86px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.td-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    color: inherit;
    text-decoration: none;
}

.td-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(100, 184, 194, 0.25);
}

.td-eye-logo {
    position: relative;
    overflow: hidden;
    background: #1C1A32;
}

.td-eye-logo::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 18px;
    border: 3px solid #64B8C2;
    border-radius: 50%;
    background: transparent;
}

.td-eye-logo span {
    position: relative;
    z-index: 2;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64B8C2;
    box-shadow: 0 0 0 4px rgba(100, 184, 194, 0.18);
}

.td-brand-text strong {
    display: block;
    color: #1C1A32;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.td-brand-text span {
    color: #667085;
    font-size: 13px;
    line-height: 1.8;
}

.td-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.td-nav-links a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s ease;
}

.td-nav-links > a:hover {
    color: #64B8C2;
}

.td-nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.td-nav-dropdown-toggle {
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s ease;
}

.td-nav-dropdown-toggle:hover {
    color: #64B8C2;
}

.td-nav-dropdown-toggle::after {
    content: "⌄";
    color: #64B8C2;
    font-size: 15px;
    line-height: 1;
    transition: 0.2s ease;
}

.td-nav-dropdown:hover .td-nav-dropdown-toggle::after,
.td-nav-dropdown:focus-within .td-nav-dropdown-toggle::after,
.td-nav-dropdown.open .td-nav-dropdown-toggle::after {
    transform: rotate(180deg);
}

.td-nav-submenu {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    z-index: 1200;
    width: 310px;
    padding: 10px;
    display: grid;
    gap: 6px;
    border: 1px solid rgba(100, 184, 194, 0.22);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(28, 26, 50, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.22s ease;
}

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

.td-nav-submenu a {
    padding: 13px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: #ffffff;
    color: #1C1A32;
    line-height: 1.55;
}

.td-nav-submenu a:hover {
    border-color: rgba(100, 184, 194, 0.20);
    background: rgba(100, 184, 194, 0.12);
    color: #1C1A32;
}

.td-nav-submenu a strong {
    color: #1C1A32;
    font-size: 14px;
    font-weight: 800;
}

.td-nav-submenu a span {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.td-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.td-btn {
    padding: 13px 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.22s ease;
}

.td-btn-primary {
    background: #64B8C2;
    color: #1C1A32;
    box-shadow: 0 14px 28px rgba(100, 184, 194, 0.24);
}

.td-btn-primary:hover {
    background: #55a8b2;
    color: #1C1A32;
    transform: translateY(-2px);
}

.td-menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #e5eaf0;
    border-radius: 15px;
    background: #ffffff;
    color: #1C1A32;
    font-family: inherit;
    font-size: 22px;
    cursor: pointer;
}

.td-footer {
    padding: 54px 0 26px;
    background: #1C1A32;
    color: #ffffff;
}

.td-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 30px;
    margin-bottom: 34px;
}

.td-footer h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.8;
}

.td-footer p,
.td-footer a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.8;
}

.td-footer p {
    margin: 0;
}

.td-footer a {
    text-decoration: none;
}

.td-footer a:hover {
    color: #ffffff;
}

.td-footer-links {
    display: grid;
    gap: 10px;
}

.td-footer-title {
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 800;
}

.td-footer-bottom {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

@media (max-width: 1150px) {
    .td-nav-links {
        gap: 12px;
        font-size: 13px;
    }
}

@media (max-width: 1050px) {
    .td-nav-links {
        position: fixed;
        top: 86px;
        right: 20px;
        left: 20px;
        padding: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid #e5eaf0;
        border-radius: 24px;
        background: #ffffff;
        box-shadow: 0 24px 70px rgba(28, 26, 50, 0.10);
    }

    .td-nav-links.active {
        display: flex;
    }

    .td-nav-dropdown {
        width: 100%;
        display: grid;
    }

    .td-nav-dropdown-toggle {
        width: 100%;
        padding: 12px 10px;
        justify-content: space-between;
        border-radius: 16px;
    }

    .td-nav-dropdown-toggle:hover {
        background: rgba(100, 184, 194, 0.12);
    }

    .td-nav-submenu {
        position: static;
        width: 100%;
        margin-top: 6px;
        display: none;
        border-radius: 18px;
        background: #f7f9fb;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .td-nav-dropdown.open .td-nav-submenu {
        display: grid;
    }

    .td-menu-btn {
        display: block;
    }
}

@media (max-width: 720px) {
    .td-topbar {
        display: none;
    }

    .td-main-container {
        width: min(100% - 28px, 1220px);
    }

    .td-nav {
        min-height: 78px;
    }

    .td-brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .td-eye-logo::before {
        width: 26px;
        height: 16px;
    }

    .td-eye-logo span {
        width: 8px;
        height: 8px;
    }

    .td-brand-text strong {
        font-size: 15px;
    }

    .td-brand-text span {
        font-size: 11px;
    }

    .td-nav-actions .td-btn {
        display: none;
    }

    .td-nav-links {
        top: 78px;
    }

    .td-footer-grid {
        grid-template-columns: 1fr;
    }
}
