/* ==========================================================================
   SecureVision Theme - Main Stylesheet
   Palet: brand-blue #0f172a | brand-light #1e293b | accent #eab308
   ========================================================================== */

:root {
    --sv-blue: #0f172a;
    --sv-light: #1e293b;
    --sv-accent: #eab308;
    --sv-accent-hover: #ca8a04;
    --sv-gray-50: #f9fafb;
    --sv-gray-100: #f3f4f6;
    --sv-gray-200: #e5e7eb;
    --sv-gray-300: #d1d5db;
    --sv-gray-400: #9ca3af;
    --sv-gray-500: #6b7280;
    --sv-gray-600: #4b5563;
    --sv-gray-700: #374151;
    --sv-gray-800: #1f2937;
    --sv-white: #ffffff;
    --sv-red: #ef4444;
    --sv-green: #22c55e;
    --sv-container: 1200px;
    --sv-radius: 8px;
    --sv-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --sv-shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --sv-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --sv-shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
    --sv-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sv-font);
    background: var(--sv-gray-50);
    color: var(--sv-gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.2; color: var(--sv-blue); }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

.sv-container {
    max-width: var(--sv-container);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ---------- Buttons ---------- */
.sv-btn {
    display: inline-block;
    font-weight: 700;
    padding: .75rem 2rem;
    border-radius: var(--sv-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
    font-size: 1rem;
    line-height: 1.2;
}
.sv-btn-accent { background: var(--sv-accent); color: var(--sv-blue); }
.sv-btn-accent:hover { background: var(--sv-accent-hover); }
.sv-btn-outline { border-color: var(--sv-blue); color: var(--sv-blue); background: transparent; }
.sv-btn-outline:hover { background: var(--sv-blue); color: var(--sv-white); }
.sv-btn-white { background: var(--sv-white); color: var(--sv-blue); }
.sv-btn-white:hover { background: var(--sv-gray-100); }

.sv-heading-underline { height: 4px; width: 4rem; background: var(--sv-accent); border-radius: 4px; }

/* ---------- Floating WhatsApp ---------- */
.sv-wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--sv-green);
    color: #fff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--sv-shadow-lg);
    z-index: 50;
    transition: transform .2s ease, background .2s ease;
}
.sv-wa-float:hover { background: #16a34a; transform: scale(1.1); color: #fff; }

/* ---------- Pop-up Ads ---------- */
.sv-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 1;
    transition: opacity .3s ease;
}
.sv-popup-overlay.is-open { display: flex; }
.sv-popup-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--sv-shadow-xl);
    max-width: 520px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.sv-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: var(--sv-shadow-sm);
    cursor: pointer;
    color: var(--sv-gray-500);
    z-index: 10;
    font-size: 1rem;
}
.sv-popup-close:hover { color: var(--sv-gray-800); }
.sv-popup-media { position: relative; background: var(--sv-blue); min-height: 140px; }
.sv-popup-media img { width: 100%; height: 100%; object-fit: cover; opacity: .6; position: absolute; inset: 0; }
.sv-popup-media-label { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; padding: 1.5rem; text-align: center; min-height: 140px; }
.sv-popup-media-label .promo { color: var(--sv-accent); font-weight: 700; font-size: 1.5rem; }
.sv-popup-media-label .promo-num { font-weight: 800; font-size: 2rem; }
.sv-popup-content { padding: 1.75rem; }
.sv-popup-content h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.sv-popup-content p { color: var(--sv-gray-600); font-size: .9rem; margin-bottom: 1rem; }
.sv-popup-dismiss { display: block; text-align: center; font-size: .75rem; color: var(--sv-gray-400); margin-top: .75rem; cursor: pointer; }
.sv-popup-dismiss:hover { text-decoration: underline; }
@media (min-width: 640px) {
    .sv-popup-box { flex-direction: row; }
    .sv-popup-media { width: 40%; }
    .sv-popup-content { width: 60%; display: flex; flex-direction: column; justify-content: center; }
}

/* ---------- Top Bar ---------- */
.sv-topbar {
    background: var(--sv-blue);
    color: var(--sv-gray-300);
    font-size: .75rem;
    padding: .5rem 0;
}
.sv-topbar .sv-container { display: flex; justify-content: space-between; align-items: center; }
.sv-topbar i { color: var(--sv-accent); margin-right: .25rem; }
.sv-topbar-left span { margin-right: 1rem; }
.sv-topbar-right a { margin-left: 1rem; }
.sv-topbar-right a:hover { color: #fff; }
@media (max-width: 767px) { .sv-topbar { display: none; } }

/* ---------- Header ---------- */
.sv-header {
    background: #fff;
    box-shadow: var(--sv-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 40;
}
.sv-header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: var(--sv-container);
    margin: 0 auto;
    gap: 1rem;
}
.sv-logo { display: flex; align-items: center; gap: .5rem; }
.sv-logo-icon {
    width: 40px; height: 40px;
    background: var(--sv-blue);
    border-radius: var(--sv-radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--sv-accent); font-size: 1.4rem;
    flex-shrink: 0;
}
.sv-logo-text { font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: var(--sv-blue); }
.sv-logo-text span { color: var(--sv-accent); }
.sv-logo img { max-height: 48px; width: auto; }

.sv-search { flex: 1; max-width: 28rem; margin: 0 2rem; position: relative; display: flex; }
.sv-search input {
    width: 100%;
    border: 1px solid var(--sv-gray-300);
    border-right: none;
    border-radius: var(--sv-radius) 0 0 var(--sv-radius);
    padding: .5rem 1rem;
    font-family: inherit;
    font-size: .95rem;
}
.sv-search input:focus { outline: none; border-color: var(--sv-accent); box-shadow: 0 0 0 1px var(--sv-accent); }
.sv-search button {
    background: var(--sv-blue);
    color: var(--sv-accent);
    border: none;
    padding: 0 1rem;
    border-radius: 0 var(--sv-radius) var(--sv-radius) 0;
    cursor: pointer;
}
.sv-search button:hover { background: var(--sv-light); }
@media (max-width: 767px) { .sv-search { display: none; } }

.sv-header-icons { display: flex; align-items: center; gap: 1.25rem; }
.sv-header-icons a { color: var(--sv-gray-600); font-size: 1.25rem; position: relative; }
.sv-header-icons a:hover { color: var(--sv-accent); }
.sv-cart-count {
    position: absolute; top: -8px; right: -10px;
    background: var(--sv-red); color: #fff;
    font-size: 10px; font-weight: 700;
    height: 16px; min-width: 16px; padding: 0 3px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.sv-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--sv-gray-600); cursor: pointer; }
@media (max-width: 767px) { .sv-menu-toggle { display: block; } .sv-header-icons a.sv-hide-mobile { display: none; } }

/* ---------- Navigation ---------- */
.sv-nav { border-top: 1px solid var(--sv-gray-200); }
.sv-nav .sv-container { display: flex; }
.sv-nav ul { display: flex; gap: 2rem; font-size: .9rem; font-weight: 600; color: var(--sv-light); padding: .75rem 0; list-style: none; align-items: center; flex-wrap: wrap; }
.sv-nav a:hover, .sv-nav .current-menu-item > a, .sv-nav .current_page_item > a { color: var(--sv-accent); }
.sv-nav .sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    box-shadow: var(--sv-shadow-lg);
    border-radius: var(--sv-radius);
    padding: .5rem 0;
    min-width: 200px;
    z-index: 45;
    flex-direction: column;
    gap: 0;
}
.sv-nav li { position: relative; }
.sv-nav li:hover > .sub-menu { display: flex; }
.sv-nav .sub-menu li a { display: block; padding: .5rem 1rem; }
@media (max-width: 767px) { .sv-nav { display: none; } }

/* Mobile menu */
.sv-mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid var(--sv-gray-200);
    box-shadow: var(--sv-shadow-lg);
}
.sv-mobile-menu.is-open { display: block; }
.sv-mobile-menu .sv-mobile-search { padding: 1rem; border-bottom: 1px solid var(--sv-gray-200); display: flex; }
.sv-mobile-menu .sv-mobile-search input { flex: 1; border: 1px solid var(--sv-gray-300); border-right: none; border-radius: var(--sv-radius) 0 0 var(--sv-radius); padding: .5rem .75rem; font-family: inherit; }
.sv-mobile-menu .sv-mobile-search button { background: var(--sv-blue); color: var(--sv-accent); border: none; padding: 0 .75rem; border-radius: 0 var(--sv-radius) var(--sv-radius) 0; }
.sv-mobile-menu ul { list-style: none; }
.sv-mobile-menu > ul > li > a { display: block; padding: .75rem 1.5rem; border-bottom: 1px solid var(--sv-gray-200); color: var(--sv-light); font-weight: 500; }
.sv-mobile-menu a:hover { background: var(--sv-gray-50); }
.sv-mobile-menu .sub-menu a { padding-left: 2.5rem; }

/* ---------- Hero Slider ---------- */
.sv-hero {
    position: relative;
    overflow: hidden;
    background: var(--sv-blue);
    height: 60vh;
    min-height: 400px;
}
.sv-slides { display: flex; height: 100%; transition: transform .5s ease-in-out; }
.sv-slide { min-width: 100%; position: relative; height: 100%; flex-shrink: 0; }
.sv-slide-bg { width: 100%; height: 100%; object-fit: cover; opacity: .5; position: absolute; inset: 0; }
.sv-slide-inner { position: absolute; inset: 0; display: flex; align-items: center; }
.sv-slide-content { max-width: 36rem; color: #fff; }
.sv-slide-content h1, .sv-slide-content h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.15; }
.sv-slide-content p { color: var(--sv-gray-300); font-size: 1.1rem; margin-bottom: 2rem; }
.sv-slide-badge { display: inline-block; padding: .25rem .75rem; border-radius: 9999px; background: var(--sv-accent); color: var(--sv-blue); font-size: .75rem; font-weight: 700; margin-bottom: 1rem; }
.sv-slide-badge.alt { background: #3b82f6; color: #fff; }
.sv-slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.2); color: #fff; border: none;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px); cursor: pointer; z-index: 10; transition: background .2s;
}
.sv-slider-btn:hover { background: rgba(255,255,255,.4); }
.sv-slider-btn.prev { left: 1rem; }
.sv-slider-btn.next { right: 1rem; }
.sv-slider-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 10; }
.sv-slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; cursor: pointer; padding: 0; }
.sv-slider-dot.active { background: var(--sv-accent); }

/* ---------- Features Bar ---------- */
.sv-features { background: #fff; padding: 1.5rem 0; border-bottom: 1px solid var(--sv-gray-200); }
.sv-features-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.sv-feature { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .5rem; }
.sv-feature i { font-size: 1.8rem; color: var(--sv-accent); }
.sv-feature h4 { margin: 0; font-size: 1rem; color: var(--sv-blue); }
.sv-feature p { margin: 0; font-size: .75rem; color: var(--sv-gray-500); }
@media (min-width: 768px) {
    .sv-features-grid { grid-template-columns: repeat(3, 1fr); }
    .sv-feature { border-left: 1px solid var(--sv-gray-200); }
    .sv-feature:first-child { border-left: none; }
}

/* ---------- Section common ---------- */
.sv-section { padding: 4rem 0; }
.sv-section.bg-gray { background: var(--sv-gray-50); }
.sv-section.bg-white { background: #fff; }
.sv-section-head { text-align: center; margin-bottom: 2.5rem; }
.sv-section-head h2 { font-size: 2rem; font-weight: 800; margin-bottom: .75rem; }
.sv-section-head .sv-heading-underline { margin: 0 auto; }
.sv-section-head p { color: var(--sv-gray-500); margin-top: 1rem; max-width: 42rem; margin-left: auto; margin-right: auto; }

/* ---------- Product Filter & Grid ---------- */
.sv-filter { display: flex; overflow-x: auto; justify-content: flex-start; gap: .75rem; margin-bottom: 2.5rem; padding-bottom: .5rem; -ms-overflow-style: none; scrollbar-width: none; }
.sv-filter::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .sv-filter { justify-content: center; flex-wrap: wrap; } }
.sv-filter-btn {
    padding: .5rem 1.25rem;
    border-radius: 9999px;
    border: 2px solid var(--sv-gray-300);
    color: var(--sv-gray-600);
    background: transparent;
    font-weight: 600;
    font-size: .875rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}
.sv-filter-btn:hover { border-color: var(--sv-blue); color: var(--sv-blue); }
.sv-filter-btn.active { background: var(--sv-blue); color: var(--sv-accent); border-color: var(--sv-blue); }

.sv-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .sv-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sv-product-grid { grid-template-columns: repeat(4, 1fr); } }

.sv-product-card {
    background: #fff;
    border-radius: var(--sv-radius);
    box-shadow: var(--sv-shadow-sm);
    border: 1px solid var(--sv-gray-100);
    overflow: hidden;
    transition: box-shadow .2s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.sv-product-card:hover { box-shadow: var(--sv-shadow-lg); }
.sv-product-badge { position: absolute; top: .5rem; left: .5rem; background: var(--sv-red); color: #fff; font-size: 10px; font-weight: 700; padding: .25rem .5rem; border-radius: 4px; z-index: 10; }
.sv-product-thumb {
    height: 12rem; overflow: hidden; position: relative;
    padding: 1rem; display: flex; align-items: center; justify-content: center;
    background: var(--sv-gray-50);
}
.sv-product-thumb img { object-fit: contain; height: 100%; width: auto; transition: transform .3s; }
.sv-product-card:hover .sv-product-thumb img { transform: scale(1.1); }
.sv-product-thumb-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .2s;
}
.sv-product-card:hover .sv-product-thumb-overlay { opacity: 1; }
.sv-product-thumb-overlay span { background: #fff; color: var(--sv-blue); padding: .5rem 1rem; border-radius: var(--sv-radius); font-weight: 600; font-size: .875rem; }
.sv-product-info { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.sv-product-cat { font-size: .75rem; color: var(--sv-gray-400); margin-bottom: .25rem; text-transform: uppercase; letter-spacing: .05em; }
.sv-product-title { font-weight: 700; color: var(--sv-gray-800); margin-bottom: .5rem; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-product-card:hover .sv-product-title { color: var(--sv-blue); }
.sv-product-rating { color: var(--sv-accent); font-size: .875rem; margin-bottom: .75rem; }
.sv-product-rating span { color: var(--sv-gray-400); margin-left: .5rem; font-size: .75rem; }
.sv-product-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
.sv-price-old { color: var(--sv-gray-400); font-size: .75rem; text-decoration: line-through; margin: 0; }
.sv-price { color: var(--sv-blue); font-weight: 800; font-size: 1.125rem; margin: 0; }
.sv-product-cart-btn {
    background: var(--sv-gray-100); color: var(--sv-gray-600);
    width: 40px; height: 40px; border-radius: 50%; border: none;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all .2s; flex-shrink: 0;
}
.sv-product-cart-btn:hover { background: var(--sv-blue); color: #fff; }

.sv-center-cta { text-align: center; margin-top: 3rem; }
.sv-loading { text-align: center; padding: 3rem; color: var(--sv-gray-400); grid-column: 1 / -1; }

/* ---------- About & FAQ ---------- */
.sv-about-wrap { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .sv-about-wrap { flex-direction: row; } .sv-about-col { width: 50%; } }
.sv-about-img-wrap { position: relative; }
.sv-about-img-wrap > img { border-radius: var(--sv-radius); box-shadow: var(--sv-shadow-xl); position: relative; z-index: 10; }
.sv-about-decor { position: absolute; bottom: -1.5rem; right: -1.5rem; width: 100%; height: 100%; background: var(--sv-accent); border-radius: var(--sv-radius); z-index: 0; }
@media (max-width: 767px) { .sv-about-decor { display: none; } }
.sv-about-badge { position: absolute; top: 1rem; left: -1.5rem; background: #fff; padding: 1rem; border-radius: var(--sv-radius); box-shadow: var(--sv-shadow-lg); z-index: 20; display: flex; align-items: center; gap: .75rem; }
.sv-about-badge .num { background: var(--sv-blue); color: var(--sv-accent); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }
.sv-about-badge p { margin: 0; }
.sv-about-badge .lbl { font-weight: 700; color: var(--sv-gray-800); font-size: .875rem; }
.sv-about-badge .sub { font-size: .75rem; color: var(--sv-gray-500); }
.sv-about-eyebrow { color: var(--sv-accent); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .875rem; margin-bottom: .5rem; display: block; }
.sv-about-col h2 { font-size: clamp(1.8rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 1.5rem; }
.sv-about-col > p { color: var(--sv-gray-600); margin-bottom: 1.5rem; }

/* FAQ accordion */
.sv-faq { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.sv-faq-item { border: 1px solid var(--sv-gray-200); border-radius: var(--sv-radius); overflow: hidden; }
.sv-faq-q {
    width: 100%; text-align: left; background: transparent; border: none;
    padding: 1rem; font-weight: 700; color: var(--sv-gray-700); cursor: pointer;
    display: flex; align-items: center; gap: .5rem; font-family: inherit; font-size: 1rem;
}
.sv-faq-q:hover { background: var(--sv-gray-50); }
.sv-faq-q i { color: var(--sv-gray-400); font-size: .75rem; transition: transform .2s; }
.sv-faq-item.is-open .sv-faq-q { color: var(--sv-blue); background: var(--sv-gray-50); }
.sv-faq-item.is-open .sv-faq-q i { color: var(--sv-accent); transform: rotate(90deg); }
.sv-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 1rem 0 2.5rem; }
.sv-faq-item.is-open .sv-faq-a { max-height: 400px; padding: 0 1rem 1rem 2.5rem; }
.sv-faq-a p { color: var(--sv-gray-600); font-size: .9rem; margin: 0; }

/* ---------- News & Events ---------- */
.sv-news-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; }
.sv-news-head h2 { font-size: 2rem; font-weight: 800; margin-bottom: .75rem; }
.sv-news-head a { color: var(--sv-gray-500); font-weight: 600; }
.sv-news-head a:hover { color: var(--sv-blue); }
@media (max-width: 767px) { .sv-news-head a { display: none; } }
.sv-news-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .sv-news-grid { grid-template-columns: repeat(3, 1fr); } }
.sv-news-card { background: #fff; border-radius: var(--sv-radius); overflow: hidden; box-shadow: var(--sv-shadow-sm); transition: box-shadow .2s; }
.sv-news-card:hover { box-shadow: var(--sv-shadow-md); }
.sv-news-card .thumb { height: 12rem; overflow: hidden; }
.sv-news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.sv-news-body { padding: 1.5rem; }
.sv-news-meta { font-size: .75rem; color: var(--sv-accent); font-weight: 700; margin-bottom: .5rem; }
.sv-news-card h3 { font-size: 1.125rem; margin-bottom: .75rem; }
.sv-news-card h3 a:hover { color: var(--sv-accent); }
.sv-news-excerpt { color: var(--sv-gray-500); font-size: .875rem; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sv-news-more { color: var(--sv-blue); font-weight: 600; font-size: .875rem; }
.sv-news-more:hover { text-decoration: underline; }

/* ---------- Newsletter ---------- */
.sv-newsletter { background: var(--sv-blue); padding: 3rem 0; position: relative; overflow: hidden; }
.sv-newsletter .blob1 { position: absolute; top: 0; right: 0; width: 16rem; height: 16rem; background: var(--sv-accent); opacity: .05; border-radius: 50%; filter: blur(48px); transform: translate(50%, -50%); }
.sv-newsletter .blob2 { position: absolute; bottom: 0; left: 0; width: 16rem; height: 16rem; background: #fff; opacity: .05; border-radius: 50%; filter: blur(48px); transform: translate(-50%, 50%); }
.sv-newsletter-inner { max-width: 48rem; margin: 0 auto; text-align: center; position: relative; z-index: 10; }
.sv-newsletter i.mail { font-size: 2.5rem; color: var(--sv-accent); margin-bottom: 1rem; }
.sv-newsletter h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 800; margin-bottom: .75rem; }
.sv-newsletter p { color: var(--sv-gray-400); font-size: .9rem; margin-bottom: 1.5rem; }
.sv-newsletter-form { display: flex; flex-direction: column; gap: .5rem; max-width: 32rem; margin: 0 auto; }
@media (min-width: 640px) { .sv-newsletter-form { flex-direction: row; } }
.sv-newsletter-form input { flex: 1; padding: .75rem 1rem; border-radius: var(--sv-radius); border: none; color: var(--sv-gray-800); font-family: inherit; }
.sv-newsletter-form input:focus { outline: none; box-shadow: 0 0 0 2px var(--sv-accent); }
.sv-newsletter-msg { color: var(--sv-accent); font-size: .875rem; margin-top: 1rem; min-height: 1.2em; }

/* ---------- Footer ---------- */
.sv-footer { background: var(--sv-light); padding: 4rem 0 2rem; border-top: 1px solid var(--sv-gray-700); }
.sv-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .sv-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sv-footer-grid { grid-template-columns: repeat(4, 1fr); } }
.sv-footer h4 { color: #fff; font-weight: 700; margin-bottom: 1.5rem; text-transform: uppercase; font-size: .875rem; letter-spacing: .05em; }
.sv-footer p, .sv-footer li, .sv-footer a { color: var(--sv-gray-400); font-size: .875rem; }
.sv-footer .sv-logo-text { color: #fff; }
.sv-footer-about p { line-height: 1.7; margin-bottom: 1.5rem; }
.sv-footer-social { display: flex; gap: 1rem; }
.sv-footer-social a { width: 32px; height: 32px; border-radius: 50%; background: var(--sv-blue); display: flex; align-items: center; justify-content: center; color: var(--sv-gray-400); }
.sv-footer-social a:hover { background: var(--sv-accent); color: #fff; }
.sv-footer-links { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.sv-footer-links a:hover { color: var(--sv-accent); }
.sv-footer-contact { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.sv-footer-contact li { display: flex; align-items: flex-start; gap: .75rem; }
.sv-footer-contact i { color: var(--sv-accent); margin-top: .25rem; }
.sv-footer-map { border-radius: var(--sv-radius); overflow: hidden; background: #1f2937; height: 10rem; border: 1px solid var(--sv-gray-700); }
.sv-footer-map iframe { width: 100%; height: 100%; border: 0; }
.sv-footer-bottom { border-top: 1px solid var(--sv-gray-700); padding-top: 2rem; display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 1rem; font-size: .75rem; color: var(--sv-gray-500); }
@media (min-width: 768px) { .sv-footer-bottom { flex-direction: row; } }
.sv-footer-pay { display: flex; gap: 1rem; font-size: 1.5rem; }

/* ---------- Single / Page content ---------- */
.sv-page { padding: 3rem 0; background: #fff; min-height: 50vh; }
.sv-page-header { background: var(--sv-blue); color: #fff; padding: 3rem 0; text-align: center; }
.sv-page-header h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.sv-page-header .sv-breadcrumb { color: var(--sv-gray-400); font-size: .875rem; margin-top: .5rem; }
.sv-page-header .sv-breadcrumb a:hover { color: var(--sv-accent); }
.sv-content-wrap { max-width: 800px; margin: 0 auto; }
.sv-content-wrap img { border-radius: var(--sv-radius); margin: 1.5rem 0; }
.sv-content-wrap h2, .sv-content-wrap h3 { margin-top: 2rem; }
.sv-content-wrap p { color: var(--sv-gray-700); line-height: 1.8; }
.sv-post-meta { color: var(--sv-gray-500); font-size: .875rem; margin-bottom: 1.5rem; }
.sv-post-meta i { color: var(--sv-accent); margin-right: .35rem; }
.sv-featured-img { border-radius: var(--sv-radius); margin-bottom: 2rem; width: 100%; max-height: 420px; object-fit: cover; }

/* Layout with sidebar */
.sv-with-sidebar { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 992px) { .sv-with-sidebar { grid-template-columns: 1fr 300px; } }
.sv-sidebar .widget { background: var(--sv-gray-50); border: 1px solid var(--sv-gray-200); border-radius: var(--sv-radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.sv-sidebar .widget-title { font-size: 1.1rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--sv-accent); display: inline-block; }
.sv-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.sv-sidebar a:hover { color: var(--sv-accent); }

/* Product single */
.sv-product-single { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .sv-product-single { grid-template-columns: 1fr 1fr; } }
.sv-product-gallery img { border-radius: var(--sv-radius); width: 100%; background: var(--sv-gray-50); }
.sv-product-detail h1 { font-size: 2rem; margin-bottom: 1rem; }
.sv-product-detail .sv-price { font-size: 2rem; margin: 1rem 0; }
.sv-product-detail .sv-price-old { font-size: 1.1rem; }
.sv-product-actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.sv-badge-pill { display: inline-block; background: var(--sv-gray-100); color: var(--sv-gray-600); padding: .25rem .75rem; border-radius: 9999px; font-size: .75rem; margin-bottom: 1rem; }

/* Pagination */
.sv-pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.sv-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 .5rem; border: 1px solid var(--sv-gray-300); border-radius: var(--sv-radius); color: var(--sv-gray-700); font-weight: 600; }
.sv-pagination .page-numbers.current { background: var(--sv-blue); color: var(--sv-accent); border-color: var(--sv-blue); }
.sv-pagination .page-numbers:hover:not(.current) { border-color: var(--sv-blue); color: var(--sv-blue); }

/* Contact form (basic, works with Contact Form 7 too) */
.sv-contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .sv-contact-grid { grid-template-columns: 1fr 1fr; } }
.sv-form-field { margin-bottom: 1rem; }
.sv-form-field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .9rem; }
.sv-form-field input, .sv-form-field textarea {
    width: 100%; padding: .75rem 1rem; border: 1px solid var(--sv-gray-300);
    border-radius: var(--sv-radius); font-family: inherit; font-size: .95rem;
}
.sv-form-field input:focus, .sv-form-field textarea:focus { outline: none; border-color: var(--sv-accent); box-shadow: 0 0 0 1px var(--sv-accent); }

/* Utilities */
.sv-text-center { text-align: center; }
.sv-mt-4 { margin-top: 2rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.sv-empty { text-align: center; padding: 4rem 1rem; color: var(--sv-gray-500); }

/* Accessibility: focus visible */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--sv-accent); outline-offset: 2px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .sv-slides { transition: none; }
}

/* WordPress core alignment helpers */
.alignleft { float: left; margin: .5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .8rem; color: var(--sv-gray-500); text-align: center; }
.sticky, .gallery-caption, .bypostauthor { display: block; }
