/* Kiehl Türkiye – theme styles (mirrors kiehl-group.com: white, Kiehl blue, Helvetica, light grey lines) */

:root {
	--blue: #009ee0;
	--blue-dark: #0085bd;
	--grey: #646363;
	--grey-light: #adafb0;
	--line: #eaebeb;
	--bg-soft: #f5f5f5;
	--text: #212529;
	--font: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--container: 1180px;
	--side-w: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.6 var(--font); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-weight: 300; line-height: 1.2; color: var(--grey); margin: 0 0 .6em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.muted { color: var(--grey-light); }
.small { font-size: .85rem; }
.section-title { margin: 2.5rem 0 1rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }

/* Buttons */
.btn { display: inline-block; padding: 8px 18px; border: 1px solid var(--blue); color: var(--blue); background: #fff; border-radius: 2px; font-size: .95rem; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: var(--grey-light); color: var(--grey); }
.btn-ghost:hover { background: var(--grey); border-color: var(--grey); color: #fff; }
.btn-light { border-color: #fff; color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--blue); }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 16px; }
.site-logo img { width: 180px; height: auto; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--blue); margin: 6px 0; transition: transform .2s, opacity .2s; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a { display: block; padding: 30px 0; text-transform: uppercase; font-size: .85rem; letter-spacing: .03em; color: var(--blue); }
.primary-nav .menu > li.is-current > a, .primary-nav .menu > li:hover > a { color: var(--blue-dark); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 12px 0; position: absolute; left: -16px; top: 100%; min-width: 260px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--blue); box-shadow: 0 8px 24px rgba(0,0,0,.08); display: none; z-index: 60; }
.primary-nav .menu > li:hover > .sub-menu, .primary-nav .menu > li:focus-within > .sub-menu, .primary-nav .menu > li.is-open > .sub-menu { display: block; }
.primary-nav .sub-menu a { display: block; padding: 8px 20px; color: var(--grey); font-size: .95rem; }
.primary-nav .sub-menu a:hover { color: var(--blue); background: var(--bg-soft); }
.submenu-toggle { display: none; }

/* Side tools (right-hand quick bar) */
.side-tools { position: fixed; right: 0; top: 120px; z-index: 40; display: flex; flex-direction: column; gap: 2px; }
.side-tools .tool { width: var(--side-w); height: var(--side-w); display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--grey-light); color: #fff; border: 0; cursor: pointer; font-size: .65rem; font-weight: 700; letter-spacing: .05em; transition: background .15s; }
.side-tools .tool:hover { background: var(--blue); }
.side-tools svg { width: 20px; height: 20px; fill: currentColor; }
.side-tools .tool-lang span { margin-top: 2px; }
.side-tools .tool-wa:hover { background: #25d366; }

/* Header search */
.header-search { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.header-search .container { position: relative; padding-top: 14px; padding-bottom: 14px; }
.search-form { display: flex; max-width: 640px; }
.search-form input { flex: 1; padding: 10px 14px; border: 1px solid var(--line); border-right: 0; font: inherit; }
.search-form button { padding: 10px 20px; border: 1px solid var(--blue); background: var(--blue); color: #fff; font: inherit; cursor: pointer; }
.search-form.inline { margin: 0 0 1.5rem; }
.autosuggest { position: absolute; left: 16px; right: 16px; max-width: 640px; background: #fff; border: 1px solid var(--line); z-index: 70; max-height: 380px; overflow: auto; }
.autosuggest a { display: flex; gap: 12px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); color: var(--text); }
.autosuggest a:hover { background: var(--bg-soft); }
.autosuggest img { width: 40px; height: 40px; object-fit: contain; }
.autosuggest small { display: block; color: var(--grey-light); }

/* Breadcrumb */
.breadcrumb { font-size: .8rem; color: var(--grey-light); padding: 14px 0 10px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--grey-light); }
.breadcrumb a { color: var(--grey-light); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--blue); }

/* Page head */
.page-head { padding: 10px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.page-head.has-img { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 32px; align-items: start; }
.page-head-img img { width: 100%; }
.page-head h1 { margin-top: 8px; }
.lead { color: var(--text); }
.meta { color: var(--grey-light); font-size: .85rem; margin: 0 0 .3em; }

/* Hero slider */
.hero { padding: 24px 0 0; }
.slider { position: relative; }
.slides { position: relative; aspect-ratio: 16 / 6.4; overflow: hidden; background: #cfe6f3; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s; display: flex; align-items: center; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide-gradient { background: linear-gradient(100deg, #0b6ea6 0%, #009ee0 55%, #7fd0f2 100%); }
.slide-gradient::after { content: ""; position: absolute; right: -8%; top: -30%; width: 55%; height: 160%; background: rgba(255,255,255,.12); transform: rotate(14deg); }
.slide-product { position: absolute; right: 7%; top: 8%; height: 84%; width: auto; max-width: 38%; object-fit: contain; z-index: 2; filter: drop-shadow(0 12px 24px rgba(0,0,0,.25)); }
.slide-gradient .slide-text { z-index: 3; text-shadow: none; }
.slide-text { color: #fff; padding: 40px 56px; max-width: 60%; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.slide-text .kicker { display: inline-block; background: var(--blue); padding: 2px 10px; border-radius: 2px; font-size: .8rem; text-transform: uppercase; margin-bottom: 10px; }
.slide-text h2 { color: #fff; font-size: 2.4rem; font-weight: 700; margin: 0 0 .3em; }
.slide-text p { font-size: 1.2rem; }
.slide-text ul { list-style: none; padding: 0; margin: 0 0 1em; }
.slide-text li::before { content: "▸"; margin-right: 8px; }
.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; background: rgba(255,255,255,.6); cursor: pointer; z-index: 2; }
.slider-prev { left: 0; } .slider-next { right: 0; }
.slider-prev::before, .slider-next::before { content: ""; display: block; width: 14px; height: 14px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); margin: auto; transform: rotate(45deg); }
.slider-next::before { transform: rotate(-135deg); }
.slider-dots { display: flex; justify-content: center; gap: 8px; padding: 18px 0; }
.slider-dots button { width: 34px; height: 8px; border: 0; background: var(--line); cursor: pointer; }
.slider-dots button.is-active { background: var(--blue); }

/* Intro */
.intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 32px 0 16px; }
.intro-text h1, .intro-text h2 { font-size: 1.8rem; }
.intro-text .btn { margin-top: 8px; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; margin: 24px 0 48px; }
.tile { display: block; color: var(--grey); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.tile-img { display: block; aspect-ratio: 3 / 2; background: var(--bg-soft); overflow: hidden; margin-bottom: 12px; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-title { display: block; font-size: 1.05rem; line-height: 1.3; }
.tile:hover .tile-title { color: var(--blue); }
.tile-sub, .tile-date { display: block; font-size: .85rem; color: var(--grey-light); margin-top: 4px; }
.tile-date { margin: 0 0 4px; }
.tiles-products .tile-img { aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); }
.tiles-products .tile-img img { object-fit: contain; padding: 10px; }
.tiles-products { grid-template-columns: repeat(4, 1fr); }
.tiles-front { grid-template-columns: repeat(3, 1fr); }

/* Product detail */
.product-main { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 48px; padding-bottom: 24px; }
.product-gallery figure { margin: 0; border: 1px solid var(--line); padding: 16px; display: none; }
.product-gallery figure img { width: 100%; max-height: 440px; object-fit: contain; }
.product-gallery figure.is-active { display: block; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.gallery-thumbs button { width: 64px; height: 64px; border: 1px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.gallery-thumbs button.is-active { border-color: var(--blue); }
.product-text h1 { color: var(--blue); font-weight: 700; font-size: 2rem; margin-bottom: .2em; }
.product-text .subtitle { font-size: 1.25rem; color: var(--text); margin-bottom: 1em; }
.features { list-style: none; padding: 0; margin: 0 0 1.5em; }
.features li { position: relative; padding-left: 18px; margin-bottom: 4px; }
.features li::before { content: ""; position: absolute; left: 0; top: .55em; border: 5px solid transparent; border-left: 7px solid var(--blue); }
.area .title { display: block; margin-bottom: 4px; }
.labels { margin: 1.5em 0; display: flex; gap: 16px; flex-wrap: wrap; }
.labels img { width: auto; height: 64px; }
.product-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.5em; }

.product-info { margin: 32px 0 48px; }
.tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { padding: 14px 22px; border: 1px solid transparent; border-bottom: 0; background: none; font: inherit; color: var(--grey); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tabs button.is-active { border-color: var(--line); border-bottom-color: #fff; color: var(--blue); background: #fff; }
.tab-panel { display: none; padding: 24px 8px; }
.tab-panel.is-active { display: block; }
.product-summary .title, .product-summary p.title { font-weight: 700; margin-bottom: .2em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 400; color: var(--grey-light); border-bottom: 2px solid var(--line); }
tbody tr:nth-child(odd) { background: #fafafa; }
.center { text-align: center; }
.dl { display: inline-block; width: 22px; height: 26px; border: 2px solid var(--blue); border-radius: 2px; position: relative; }
.dl::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 10px; background: var(--blue); transform: translateX(-50%); box-shadow: 0 6px 0 -1px var(--blue); }
.dl:hover { background: var(--blue); }
.dl:hover::after { background: #fff; box-shadow: 0 6px 0 -1px #fff; }
.note { font-size: .9rem; color: var(--grey); }

/* Finder */
.finder { display: grid; grid-template-columns: 280px 1fr; gap: 40px; margin-bottom: 48px; }
.finder h2 { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.finder-groups, .finder-groups ul { list-style: none; margin: 0; padding: 0; }
.finder-groups > li { border-bottom: 1px solid var(--line); }
.finder-groups button { width: 100%; text-align: left; padding: 10px 12px; background: none; border: 0; font: inherit; color: var(--grey); cursor: pointer; }
.finder-groups button:hover, .finder-groups button.is-active { color: var(--blue); background: var(--bg-soft); }
.finder-groups ul button { padding-left: 28px; font-size: .9rem; }
.finder-filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.finder-filters label { display: flex; flex-direction: column; font-size: .85rem; color: var(--grey-light); gap: 4px; }
.finder-filters input, .finder-filters select, .dl-filters input, .dl-filters select, #germ-filter { padding: 9px 12px; border: 1px solid var(--line); font: inherit; background: #fff; }
.dl-filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.doc-list { list-style: none; padding: 0; margin: 0 0 1.5em; columns: 2; gap: 32px; }
.doc-list li { padding: 6px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }

/* Germ compass */
.germ-tools { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; margin-bottom: 24px; }
.alpha { display: flex; flex-wrap: wrap; gap: 4px; }
.alpha a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--grey); font-size: .85rem; }
.alpha a:hover { background: var(--blue); color: #fff; }
.alpha a.is-empty { opacity: .35; pointer-events: none; }
.germ-group { margin-bottom: 24px; }
.germ-group h2 { color: var(--blue); font-weight: 700; border-bottom: 1px solid var(--line); }
.germ-group ul { list-style: none; padding: 0; margin: 0; columns: 2; gap: 32px; }
.germ-group li { padding: 4px 0; break-inside: avoid; }
.germ-group li.is-hidden { display: none; }

/* Content pages */
.page-article .entry-content { max-width: 820px; }
.entry-content ul { padding-left: 0; list-style: none; }
.entry-content ul li { position: relative; padding-left: 18px; margin-bottom: 4px; }
.entry-content ul li::before { content: ""; position: absolute; left: 0; top: .55em; border: 5px solid transparent; border-left: 7px solid var(--blue); }
.entry-content ol { padding-left: 20px; }
.entry-content img { margin: 1em 0; }
.entry-content .btn { margin: .5em 0 1.5em; }
.entry-content h2 { margin-top: 1.5em; }
.single-img { margin: 0 0 24px; max-width: 820px; }
.result-list { list-style: none; padding: 0; }
.result-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.back { margin: 32px 0 48px; }
.news-strip { margin-bottom: 32px; }

/* Forms */
.kiehl-form { max-width: 720px; }
.kiehl-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.kiehl-form label { display: block; font-size: .85rem; color: var(--grey); margin-bottom: 4px; }
.kiehl-form input[type=text], .kiehl-form input[type=email], .kiehl-form input[type=tel], .kiehl-form textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--line); font: inherit; }
.kiehl-form .hp { position: absolute; left: -9999px; }
.kiehl-form .check label { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; }
.notice { padding: 12px 16px; border-left: 4px solid var(--blue); background: var(--bg-soft); margin-bottom: 1em; }
.notice-err { border-color: #dc3545; }

/* Contact page split */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: var(--bg-soft); padding: 24px; }
.contact-card h3 { font-weight: 700; color: var(--text); font-size: 1rem; }
.contact-map iframe { width: 100%; height: 320px; border: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; font-size: .85rem; color: var(--grey); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 32px; padding: 32px 16px; }
.footer-brand p { margin: 0 0 .5em; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 16px; border-top: 1px solid var(--line); color: var(--grey-light); font-size: .8rem; }
.footer-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: var(--grey); }
.social { display: flex; gap: 10px; }

.pagination .nav-links { display: flex; gap: 6px; margin: 24px 0 48px; }
.pagination .page-numbers { padding: 6px 12px; border: 1px solid var(--line); color: var(--grey); }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Responsive */
@media (max-width: 1100px) {
	.tiles-products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	.header-inner { min-height: 68px; }
	.site-logo img { width: 140px; }
	.nav-toggle { display: block; order: -1; }
	.primary-nav { position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: #fff; overflow: auto; transform: translateX(-100%); transition: transform .25s; z-index: 45; padding: 8px 16px 40px; }
	body.nav-open .primary-nav { transform: none; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav .menu > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
	.primary-nav .menu > li > a { padding: 14px 0; flex: 1; }
	.submenu-toggle { display: block; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; }
	.submenu-toggle::before { content: ""; position: absolute; left: 16px; top: 15px; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
	.submenu-toggle[aria-expanded=true]::before { transform: rotate(-135deg); top: 20px; }
	.primary-nav .sub-menu { position: static; display: none; width: 100%; border: 0; box-shadow: none; padding: 0 0 8px; }
	.primary-nav .menu > li.is-open > .sub-menu { display: block; }
	.primary-nav .menu > li:hover > .sub-menu { display: none; }
	.primary-nav .menu > li.is-open:hover > .sub-menu { display: block; }
	.side-tools { top: auto; bottom: 0; right: 0; left: 0; flex-direction: row; justify-content: space-around; background: var(--grey-light); }
	.side-tools .tool { flex: 1; height: 48px; }
	body { padding-bottom: 48px; }
	.tiles, .tiles-front, .tiles-products { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
	.intro, .product-main, .finder, .germ-tools, .page-head.has-img, .contact-grid { grid-template-columns: 1fr; }
	.finder-filters, .dl-filters { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
	.slides { aspect-ratio: 16 / 10; }
	.slide-text { max-width: 100%; padding: 24px; }
	.slide-text h2 { font-size: 1.6rem; }
	.slide-text p { font-size: 1rem; }
	.doc-list, .germ-group ul { columns: 1; }
	.kiehl-form .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.tiles-products { grid-template-columns: 1fr 1fr; }
	.tiles, .tiles-front { grid-template-columns: 1fr; }
	h1 { font-size: 1.6rem; }
	table { font-size: .85rem; }
	th, td { padding: 8px 6px; }
}
@media print {
	.site-header, .side-tools, .header-search, .site-footer, .product-cta, .related, .breadcrumb { display: none !important; }
	.tab-panel { display: block !important; }
	.tabs { display: none; }
}
