:root {
--hero-bg: #f8f3ef;
--hero-title-color: #3b2e6e;
--hero-text-color: #4a4a4a;
--hero-btn-bg: #6c52a3;
--hero-btn-hover: #584288;
--hero-price-red: #da291c;
--hero-price-old: #757575;
--hero-badge-bg: #b6dbb6;
--hero-badge-text: #2f6b39;

--cat-border: #eaeaea;
--cat-title: #1a1a1a;
--cat-subtitle: #8f8f8f;
--cat-btn-border: #dcdcdc;
}

body.home {
    background-color: #ffffff;
}

.shield-home-page {
background: #fff;
padding: 40px 0 60px;
}

.shield-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO SLIDER */
.shield-home-hero {
margin-bottom: 50px;
}

.shield-hero-slider {
position: relative;
background: var(--hero-bg);
border-radius: 12px;
overflow: hidden;
}

.shield-hero-track {
position: relative;
min-height: 480px;
}

.shield-hero-slide {
position: absolute;
inset: 0;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
padding: 60px 80px;
opacity: 0;
pointer-events: none;
transition: opacity 0.5s ease-in-out;
}

.shield-hero-slide.is-active {
opacity: 1;
pointer-events: auto;
z-index: 1;
}

.shield-hero-slide__content {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
max-width: 560px;
}

.shield-hero-badge {
display: inline-block;
background: var(--hero-badge-bg);
color: var(--hero-badge-text);
font-size: 13px;
font-weight: 600;
border-radius: 4px;
padding: 6px 12px;
margin-bottom: 20px;
}

.shield-hero-title {
font-size: 54px;
font-weight: 800;
line-height: 1.15;
letter-spacing: -1px;
color: var(--hero-title-color);
margin: 0 0 16px;
}

.shield-hero-description {
font-size: 18px;
line-height: 1.5;
color: var(--hero-text-color);
margin: 0 0 30px;
max-width: 480px;
}

.shield-hero-cta {
display: flex;
align-items: center;
gap: 20px;
}

.shield-hero-button {
display: inline-flex;
align-items: center;
gap: 12px;
background: var(--hero-btn-bg);
color: #fff;
font-size: 16px;
font-weight: 600;
text-decoration: none;
padding: 14px 24px;
border-radius: 8px;
transition: background 0.3s ease;
}

.shield-hero-button:hover {
background: var(--hero-btn-hover);
color: #fff;
}

.shield-hero-pricing {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
}

.shield-hero-pricing strong {
font-size: 32px;
font-weight: 800;
color: var(--hero-price-red);
line-height: 1;
}

.shield-hero-pricing del {
font-size: 20px;
color: var(--hero-price-old);
font-weight: 500;
}

.shield-hero-pricing small {
display: block;
width: 100%;
color: var(--hero-price-old);
font-size: 13px;
margin-top: 4px;
}

.shield-hero-slide__media {
display: flex;
align-items: center;
justify-content: flex-end;
height: 100%;
}

.shield-hero-slide__media img {
width: 100%;
max-width: 600px;
height: 120%;
object-fit: contain;
transform: scale(1.1) translateX(20px);
}

.shield-hero-dots {
position: absolute;
left: 0;
right: 0;
bottom: 20px;
display: flex;
gap: 8px;
justify-content: center;
z-index: 10;
}

.shield-hero-dot {
width: 8px;
height: 8px;
border: none;
border-radius: 50%;
background: #d1cedb;
cursor: pointer;
transition: background 0.3s;
}

.shield-hero-dot.is-active {
background: var(--hero-btn-bg);
}

/* TOP CATEGORIES */
.shield-categories-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
}

.shield-categories-head > div {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.shield-categories-head h2 {
font-size: 24px;
font-weight: 800;
color: var(--cat-title);
margin: 0;
}

.shield-categories-head p {
margin: 0;
color: var(--cat-subtitle);
font-size: 15px;
}

.shield-categories-view-all {
display: inline-flex;
align-items: center;
gap: 8px;
border: 1px solid var(--cat-btn-border);
padding: 8px 16px;
border-radius: 20px;
font-size: 14px;
font-weight: 600;
text-decoration: none;
color: var(--cat-title);
transition: border-color 0.3s, color 0.3s;
}

.shield-categories-view-all:hover {
    border-color: #aaa;
    color: #000;
}

.shield-categories-slider {
position: relative;
}

.shield-categories-viewport {
overflow: hidden;
border: 1px solid var(--cat-border);
border-radius: 8px;
}

.shield-categories-track {
display: flex;
transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
will-change: transform;
list-style: none;
margin: 0;
padding: 0;
}

.shield-category-card {
flex: 0 0 12.5%;
border-right: 1px solid var(--cat-border);
background: #fff;
    box-sizing: border-box;
}

.shield-category-card:last-child {
border-right: none;
}

.shield-category-card a {
height: 100%;
padding: 24px 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-decoration: none;
text-align: center;
transition: background-color 0.3s;
}

.shield-category-card a:hover {
    background-color: #fafafa;
}

.shield-category-card img {
width: 80px;
height: 80px;
object-fit: contain;
margin-bottom: 16px;
}

.shield-category-card span {
font-size: 13px;
font-weight: 600;
color: var(--cat-title);
line-height: 1.3;
}

.shield-category-card--empty {
    padding: 40px;
    text-align: center;
    color: var(--cat-subtitle);
    width: 100%;
}

.shield-categories-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
border: 1px solid var(--cat-btn-border);
background: #fff;
width: 36px;
height: 36px;
border-radius: 50%;
z-index: 2;
cursor: pointer;
color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.shield-categories-nav:hover {
    border-color: #999;
    color: #000;
}

.shield-categories-nav--prev {
left: -18px;
}

.shield-categories-nav--next {
right: -18px;
}

.shield-categories-nav[disabled] {
opacity: 0;
pointer-events: none;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
.shield-hero-title {
font-size: 42px;
}
.shield-hero-slide {
padding: 50px 40px;
}
}

@media (max-width: 992px) {
.shield-hero-slide {
grid-template-columns: 1fr;
padding: 40px 30px;
text-align: center;
}

.shield-hero-slide__content {
max-width: 100%;
align-items: center;
}
    
    .shield-hero-title {
        font-size: 36px;
    }

.shield-hero-description {
max-width: 100%;
}

.shield-hero-cta {
justify-content: center;
}

.shield-hero-track {
min-height: 600px;
}

.shield-hero-slide__media {
justify-content: center;
        align-items: flex-end;
}

.shield-hero-slide__media img {
max-height: 300px;
        transform: scale(1) translateX(0);
}

.shield-categories-head h2 {
font-size: 20px;
}

.shield-categories-head p {
display: none;
}

.shield-category-card {
flex: 0 0 20%; /* 5 visible on tablet */
}
}

@media (max-width: 768px) {
.shield-home-page {
padding: 20px 0 40px;
}

.shield-hero-track {
min-height: 550px;
}

.shield-hero-title {
font-size: 32px;
}

.shield-hero-description {
font-size: 16px;
}

.shield-hero-pricing strong {
font-size: 28px;
}

.shield-hero-pricing del {
font-size: 18px;
}

.shield-category-card {
flex: 0 0 50%; /* 2 visible on mobile */
}
    
    .shield-categories-nav {
        display: none; /* Hide arrows on mobile, rely on swipe if implemented, or just CSS scroll */
    }
    
    .shield-categories-viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .shield-categories-track {
        transform: none !important;
    }
    
    .shield-category-card {
        scroll-snap-align: start;
    }
}
