/* RSM Elektronik - public site theme */
:root {
    --red: #e3141b;
    --red-dark: #b80f15;
    --red-soft: #fdeced;
    --blue: #3d97f0;
    --ink: #333;
    --heading: #222;
    --muted: #6f7680;
    --line: #e7e9ec;
    --surface: #f5f6f8;
    --footer: #2c3640;
    --footer-dark: #232b33;
    --white: #fff;
    --radius: 6px;
    --shadow: 0 4px 18px rgba(20, 30, 40, .08);
    --shadow-hover: 0 10px 28px rgba(20, 30, 40, .14);
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.25; margin: 0; }
p { margin: 0; }
.container { width: min(100% - 32px, 1200px); margin: 0 auto; }
svg { fill: currentColor; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 4px; border: 1px solid transparent; font: 700 13px var(--font-head); letter-spacing: .02em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--footer); color: #fff; }
.btn-dark:hover { background: var(--footer-dark); }
.btn-outline { border-color: #cfd3d8; color: var(--heading); background: #fff; }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--heading); color: #fff; }
.btn-outline-white { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--red); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1eb457; }
.btn-block { width: 100%; }

/* Top bar */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: var(--red); }
.topbar-links svg { width: 14px; height: 14px; color: var(--red); }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.header-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; padding: 14px 0; }
.brand img { height: 64px; width: auto; }
.search-box { display: flex; height: 46px; border: 2px solid var(--red); border-radius: 30px; overflow: hidden; background: #fff; max-width: 620px; width: 100%; justify-self: center; }
.search-box input { flex: 1; border: 0; padding: 0 20px; font: 15px var(--font-body); outline: none; min-width: 0; background: transparent; }
.search-box button { width: 58px; border: 0; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; }
.search-box button:hover { background: var(--red-dark); }
.search-box svg { width: 22px; height: 22px; fill: none; }
.header-phone { display: flex; align-items: center; gap: 12px; }
.header-phone-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.header-phone-icon svg { width: 20px; height: 20px; }
.header-phone small { display: block; font-size: 12px; color: var(--muted); }
.header-phone strong { font: 700 17px var(--font-head); color: var(--heading); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.menu-button span { display: block; height: 2px; background: var(--heading); border-radius: 2px; }

.main-nav { border-top: 1px solid var(--line); }
.main-nav-inner { display: flex; justify-content: space-between; align-items: center; }
.nav-primary, .nav-secondary { display: flex; align-items: center; }
.main-nav a { display: block; padding: 14px 13px; font: 700 13px var(--font-head); text-transform: uppercase; color: var(--heading); position: relative; white-space: nowrap; }
.nav-primary > a:first-child, .nav-dropdown:first-child > a { padding-left: 0; }
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.main-nav a.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 3px; background: var(--red); }
.nav-primary > a:first-child.active::after { left: 0; }
.main-nav i { font-style: normal; font-size: 10px; margin-left: 2px; }
.nav-dropdown { position: relative; }
.dropdown-panel { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; box-shadow: var(--shadow-hover); border-top: 3px solid var(--red); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
.dropdown-panel a { padding: 10px 20px; text-transform: none; font: 600 14px var(--font-body); }
.dropdown-panel a:hover { background: var(--surface); }

/* Hero slider: tam genişlik, görsel arka planı kaplar (önerilen 1920 x 600) */
.hero-slider { position: relative; overflow: hidden; background: linear-gradient(120deg, #f7f8fa 0%, #eef1f5 100%); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; width: 100%; min-width: 0; aspect-ratio: 1920 / 600; min-height: 400px; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide:not(.has-image)::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(61,151,240,.18) 1px, transparent 0); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 30%, #000 75%); }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide.has-image:not(.image-only)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,16,22,.78) 0%, rgba(10,16,22,.45) 45%, rgba(10,16,22,0) 75%); }
.slide .container { position: relative; z-index: 1; padding: 50px 0 64px; }
.slide-copy { max-width: 600px; }
.slide-link { position: absolute; inset: 0; z-index: 1; }
.slide.image-only { min-height: 0; }
.slide-tag { display: inline-block; background: var(--red); color: #fff; font: 700 12px var(--font-head); letter-spacing: .06em; padding: 6px 12px; border-radius: 3px; margin-bottom: 18px; }
.slide h1, .slide h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-bottom: 18px; }
.slide p { color: var(--muted); font-size: 17px; max-width: 540px; }
.slide.has-image h1, .slide.has-image h2 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.slide.has-image p { color: rgba(255,255,255,.88); }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.slide.is-active .slide-copy { animation: slideIn .7s both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.slider-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); box-shadow: var(--shadow); font-size: 26px; line-height: 1; color: var(--heading); cursor: pointer; }
.slider-arrow:hover { background: var(--red); color: #fff; }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }
.slider-dots { position: absolute; z-index: 2; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: rgba(160,168,176,.8); box-shadow: 0 0 0 2px rgba(255,255,255,.6); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.slider-dots button.is-active { width: 30px; background: var(--red); }

/* Feature bar */
.feature-bar { border-bottom: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-grid > div { display: flex; align-items: center; gap: 14px; padding: 24px 18px; border-right: 1px solid var(--line); }
.feature-grid > div:last-child { border-right: 0; }
.feature-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.feature-icon svg { width: 22px; height: 22px; }
.feature-grid strong { display: block; font: 700 15px var(--font-head); color: var(--heading); }
.feature-grid small { color: var(--muted); font-size: 13px; }

/* Sections */
.section { padding: 70px 0; scroll-margin-top: 120px; }
.section-alt { background: var(--surface); }
.section-title { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.section-title h2 { font-size: 17px; font-weight: 800; text-transform: uppercase; color: var(--red); padding-bottom: 12px; position: relative; }
.section-title h2::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); }
.section-title a { font-size: 14px; color: var(--muted); padding-bottom: 12px; }
.section-title a:hover { color: var(--red); }
.section-heading-center { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-heading-center h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.section-heading-center h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--red); margin: 16px auto 18px; }
.section-heading-center p { color: var(--muted); }
.kicker { display: inline-block; color: var(--red); font: 800 13px var(--font-head); letter-spacing: .08em; margin-bottom: 12px; }

/* Category cards */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.category-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.category-card { display: block; }
.category-image { position: relative; aspect-ratio: 1.15; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: grid; place-items: center; transition: box-shadow .25s, transform .25s; }
.category-image img { width: 100%; height: 100%; object-fit: contain; padding: 18px 18px 46px; transition: transform .4s; }
.category-image span { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255,255,255,.94); padding: 6px 10px; border-radius: 3px; font: 800 13px/1.3 var(--font-head); text-transform: uppercase; color: var(--heading); text-align: center; }
.category-card small { display: block; text-align: right; margin-top: 10px; font-size: 13px; color: var(--muted); }
.category-card small i { font-style: normal; transition: margin .2s; }
.category-card:hover .category-image { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.category-card:hover img { transform: scale(1.05); }
.category-card:hover small { color: var(--red); }
.category-card:hover small i { margin-left: 4px; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.product-card:hover { box-shadow: var(--shadow-hover); border-color: transparent; }
.product-image { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.badge-new { position: absolute; top: 12px; right: 12px; z-index: 1; background: var(--red); color: #fff; font: 800 11px var(--font-head); padding: 4px 9px; border-radius: 2px; }
.product-image-placeholder { font: 800 34px var(--font-head); color: #d4d8dd; }
.product-body { padding: 16px 16px 18px; text-align: center; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body small { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.product-body h3 { font-size: 15px; font-weight: 700; flex: 1; }
.product-link { font: 700 12px var(--font-head); text-transform: uppercase; color: var(--red); margin-top: 6px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; text-align: center; transition: box-shadow .25s, transform .25s, border-color .25s; border-bottom: 3px solid transparent; }
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-bottom-color: var(--red); }
.service-icon { width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 800 26px var(--font-head); box-shadow: 0 0 0 8px var(--red-soft); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 19px; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 15px; }
.service-card { display: block; }
.service-link { display: inline-block; margin-top: 18px; font: 700 13px var(--font-head); text-transform: uppercase; color: var(--red); }
.section-more { text-align: center; margin-top: 36px; }

/* Service pages */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step-grid article { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); position: relative; }
.step-grid b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font: 800 16px var(--font-head); margin-bottom: 16px; }
.step-grid h3 { font-size: 17px; margin-bottom: 8px; }
.step-grid p { color: var(--muted); font-size: 14px; }
.service-content > p { color: var(--muted); margin-bottom: 16px; }
.service-content > p.service-lead { color: var(--heading); font-size: 18px; font-weight: 600; }
.service-content h3 { font-size: 19px; margin: 34px 0 16px; padding-left: 12px; border-left: 3px solid var(--red); }
.service-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.service-hero .service-icon { margin: 0; flex: none; }
.service-hero .kicker { margin-bottom: 4px; }
.service-hero h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.feature-list.two-col { grid-template-columns: 1fr 1fr; margin: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list span { background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: 7px 16px; font-size: 14px; font-weight: 600; color: var(--heading); }
.service-content .process-steps { margin-top: 0; }
.service-content .detail-actions { margin-top: 30px; }

/* About */
.about-band { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about-media { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 50px; position: relative; }
.about-media::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 40%; height: 40%; border-right: 4px solid var(--red); border-bottom: 4px solid var(--red); border-radius: 0 0 var(--radius) 0; }
.about-copy h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 18px; }
.about-copy p { color: var(--muted); margin-bottom: 14px; }
.process-steps { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.process-steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 10px; color: var(--heading); }
.process-steps b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 800 13px var(--font-head); }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.07); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; position: relative; }
.badge-red { display: inline-block; background: #fff; color: var(--red); font: 800 11px var(--font-head); letter-spacing: .06em; padding: 4px 9px; border-radius: 2px; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 12px 0 8px; }
.cta-band p { opacity: .9; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page header */
.page-header { background: var(--surface); border-bottom: 1px solid var(--line); padding: 34px 0; }
.page-header .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.page-header h1 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb strong { color: var(--red); font-weight: 600; }

/* Shop layout */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 30px; align-items: start; }
.category-sidebar { border: 1px solid var(--line); border-radius: var(--radius); position: sticky; top: 150px; background: #fff; }
.category-sidebar h3 { font-size: 15px; text-transform: uppercase; padding: 16px 20px; background: var(--red); color: #fff; border-radius: var(--radius) var(--radius) 0 0; }
.category-sidebar > a { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; transition: color .2s, padding .2s; }
.category-sidebar > a span { background: var(--surface); color: var(--muted); font-size: 12px; min-width: 26px; text-align: center; border-radius: 20px; padding: 1px 8px; }
.category-sidebar > a:hover, .category-sidebar > a.active { color: var(--red); padding-left: 26px; }
.category-sidebar > a.active span { background: var(--red); color: #fff; }
.sidebar-help { padding: 20px; background: var(--surface); }
.sidebar-help strong { font-family: var(--font-head); color: var(--heading); font-size: 15px; }
.sidebar-help p { font-size: 14px; color: var(--muted); margin: 6px 0 14px; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--surface); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.list-toolbar strong { color: var(--red); }
.list-toolbar a:hover { color: var(--red); }
.group-intro { color: var(--muted); margin-bottom: 20px; }
.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state h2 { font-size: 22px; margin-bottom: 10px; }
.empty-state p { color: var(--muted); max-width: 460px; margin: 0 auto 22px; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.detail-gallery { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; background: #fff; }
.detail-gallery img { width: 100%; height: 100%; object-fit: contain; }
.detail-category { display: inline-block; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-bottom: 10px; }
.detail-category:hover { color: var(--red); }
.detail-info h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 14px; }
.stock-row { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #1a8f4a; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.stock-dot { width: 9px; height: 9px; border-radius: 50%; background: #22b45e; box-shadow: 0 0 0 4px rgba(34,180,94,.15); }
.detail-info > p { color: var(--muted); white-space: pre-line; }
.feature-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.feature-list li::before { content: "✓"; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.detail-notes { display: grid; gap: 12px; }
.detail-notes div { background: var(--surface); border-left: 3px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; }
.detail-notes strong { display: block; font-family: var(--font-head); font-size: 14px; color: var(--heading); }
.detail-notes span { font-size: 14px; color: var(--muted); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; transition: box-shadow .25s, transform .25s; }
.contact-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.contact-card .feature-icon { width: 60px; height: 60px; margin-bottom: 14px; }
.contact-card small { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--muted); font-weight: 700; }
.contact-card strong { font-family: var(--font-head); color: var(--heading); font-size: 16px; overflow-wrap: anywhere; }
.contact-card em { font-style: normal; color: var(--red); font: 700 12px var(--font-head); text-transform: uppercase; margin-top: 10px; }
.map-frame { margin-top: 36px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Footer */
.site-footer { background: var(--footer); color: #b7c0c9; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 60px 0 46px; }
.footer-about img { width: 180px; background: #fff; padding: 10px 14px; border-radius: var(--radius); margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--red); }
.site-footer .footer-grid > div > a { display: block; padding: 4px 0; transition: color .2s, padding .2s; }
.site-footer .footer-grid > div > a:hover { color: #fff; padding-left: 4px; }
.footer-contact p { margin-top: 8px; }
.site-footer .footer-grid .footer-map { display: block; width: fit-content; margin-top: 16px; background: var(--red); color: #fff; padding: 9px 16px; border-radius: 4px; font: 700 12px var(--font-head); text-transform: uppercase; }
.site-footer .footer-grid .footer-map:hover { background: var(--red-dark); padding-left: 16px; }
.copyright { background: var(--footer-dark); padding: 18px 0; font-size: 13px; text-align: center; }

/* Floating buttons */
.whatsapp-float { position: fixed; left: 20px; bottom: 20px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(37,211,102,.4); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 44px; height: 44px; border: 0; border-radius: 4px; background: var(--red); color: #fff; font-size: 20px; cursor: pointer; opacity: 0; visibility: hidden; transition: .25s; }
.to-top.visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--red-dark); }

/* Responsive */
@media (max-width: 1100px) {
    .header-phone { display: none; }
    .header-main { grid-template-columns: auto 1fr; }
    .nav-category { display: none; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .topbar-note { display: none; }
    .topbar-inner { justify-content: center; }
    .header-main { grid-template-columns: auto 1fr auto; gap: 14px; }
    .brand img { height: 50px; }
    .menu-button { display: flex; grid-column: 3; grid-row: 1; }
    .search-box { grid-column: 1 / -1; grid-row: 2; height: 42px; max-width: none; }
    .main-nav { display: none; }
    .main-nav.open { display: block; }
    .main-nav-inner, .nav-primary, .nav-secondary { flex-direction: column; align-items: stretch; }
    .main-nav a, .nav-primary > a:first-child, .nav-dropdown:first-child > a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .main-nav a.active::after { display: none; }
    .nav-category { display: block; }
    .dropdown-panel { display: none; }
    .slide { min-height: 440px; }
    .slide.image-only { min-height: 200px; }
    .slide.has-image:not(.image-only)::after { background: linear-gradient(0deg, rgba(10,16,22,.85) 0%, rgba(10,16,22,.55) 60%, rgba(10,16,22,.3) 100%); }
    .slider-arrow { display: none; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .feature-grid > div:nth-child(2) { border-right: 0; }
    .feature-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .about-grid, .product-detail, .shop-layout { grid-template-columns: 1fr; gap: 34px; }
    .about-media { max-width: 420px; }
    .category-sidebar { position: static; }
    .category-grid.cols-3, .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: 1fr; }
    .step-grid { grid-template-columns: 1fr 1fr; }
    .service-layout .category-sidebar { order: 2; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .section { padding: 52px 0; }
}
@media (max-width: 560px) {
    .topbar-links { gap: 14px; font-size: 12px; }
    .topbar-links a:last-child { display: none; }
    .slide.image-only { min-height: 160px; }
    .slide p { font-size: 15px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
    .feature-grid > div:last-child { border-bottom: 0; }
    .category-grid, .category-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: 14px; }
    .product-grid, .product-grid.cols-3 { gap: 14px; }
    .product-body { padding: 12px 10px 14px; }
    .product-body h3 { font-size: 14px; }
    .process-steps { grid-template-columns: 1fr; }
    .step-grid, .feature-list.two-col { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .page-header .container { flex-direction: column; align-items: flex-start; }
}
