/* ==================== RESET & BASE ==================== */
:root {
    --primary-color: #7c3aed;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==================== PROMO STRIP (YELLOW BANNER) ==================== */
.promo-strip {
    background: #FFD700;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    overflow: hidden;
}
.promo-strip strong {
    font-weight: 700;
}
.cupom-badge {
    background: #e67e22;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin: 0 2px;
    vertical-align: middle;
}

/* Promo Ticker Animation */
.promo-ticker {
    height: 38px;
    overflow: hidden;
    position: relative;
}
.promo-ticker-track {
    display: flex;
    flex-direction: column;
    animation: promoTickerSlide 9s ease-in-out infinite;
}
.promo-ticker-item {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}
@keyframes promoTickerSlide {
    0%, 25%    { transform: translateY(0); }
    33%, 58%   { transform: translateY(-38px); }
    66%, 91%   { transform: translateY(-76px); }
    100%       { transform: translateY(0); }
}

/* ==================== TOP LINKS BAR ==================== */
.top-links-bar {
    background: #fafafa;
    border-bottom: 1px solid #eee;
    padding: 6px 0;
    font-size: 12px;
}
.top-links-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-links-left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.brand-slogan {
    font-weight: 600;
    color: #333;
}
.top-links-left a {
    color: #555;
    transition: color .2s;
    font-weight: 500;
}
.top-links-left a:hover {
    color: var(--primary-color);
}
.top-links-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.top-links-right a {
    color: #555;
    font-size: 15px;
    transition: color .2s;
}
.top-links-right a:hover {
    color: var(--primary-color);
}

/* ==================== HEADER ==================== */
.main-header {
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-row {
    display: flex;
    align-items: center;
    gap: 30px;
}
.logo {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.logo img {
    max-height: 50px;
    width: auto;
}
.logo-name {
    font-size: 36px;
    font-weight: 800;
    color: #333;
    line-height: 1;
}
.logo-sub {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 520px;
}
.search-bar form {
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color .3s;
}
.search-bar form:focus-within {
    border-color: var(--primary-color);
}
.search-bar input {
    flex: 1;
    padding: 11px 16px;
    border: none;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: #fff;
}
.search-bar button {
    padding: 11px 18px;
    background: #fff;
    color: #333;
    border: none;
    border-left: 1px solid #e0e0e0;
    cursor: pointer;
    font-size: 16px;
    transition: background .3s;
}
.search-bar button:hover {
    background: #f5f5f5;
}

/* Header User */
.header-user {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.user-greeting {
    text-align: right;
}
.user-greeting span {
    display: block;
    font-size: 12px;
    color: #666;
}
.user-greeting a {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}
.user-greeting a:hover {
    color: var(--primary-color);
}
.cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    transition: all .2s;
}
.cart-btn:hover {
    color: #555;
}
.cart-btn {
    position: relative;
}
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ==================== CATEGORY NAV ==================== */
.cat-nav {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 2px solid #eee;
    position: relative;
}
.cat-menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}
.cat-menu li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    transition: color .2s, background .2s;
    border-bottom: 2px solid transparent;
}
.cat-menu li a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.cat-menu li a i {
    font-size: 13px;
}

/* ==================== MEGA DROPDOWN ==================== */
.cat-menu li {
    position: relative;
}
.cat-menu li.has-dropdown > a .dd-arrow {
    font-size: 9px;
    margin-left: 4px;
    transition: transform .2s;
}
.cat-menu li.has-dropdown:hover > a .dd-arrow {
    transform: rotate(180deg);
}
.mega-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #eee;
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 0 0 10px 10px;
    padding: 10px 0;
    z-index: 200;
}
.cat-menu li.has-dropdown:hover > .mega-dropdown {
    display: block;
}
.mega-grid {
    display: flex;
    flex-direction: column;
}
.mega-grid a {
    display: block;
    padding: 9px 20px;
    font-size: 13px;
    color: #444;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.mega-grid a:hover {
    color: var(--primary-color);
    background: #f8f8ff;
}

/* Mega dropdown right-edge fix */
.cat-menu li.has-dropdown:nth-last-child(-n+4) .mega-dropdown {
    left: auto;
    right: 0;
}

/* ==================== HERO BANNER SLIDER ==================== */
.hero-banner {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    background: #222;
}
.hero-slides {
    position: relative;
    width: 100%;
    min-height: 320px;
}
.hero-slide {
    display: none;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: linear-gradient(135deg, #86efac 0%, #4ade80 40%, #a3e635 100%);
    text-decoration: none;
    animation: heroFade 0.5s ease;
}
.hero-slide.active {
    display: flex;
    align-items: center;
}
@keyframes heroFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 50px 0;
}
.hero-slide-content h2 {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero-slide-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* Hero Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.85);
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all .2s;
}
.hero-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.hero-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    padding: 40px 0 20px;
    background: #f8f8f8;
}

/* Section Heading */
.section-heading {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 40px 0 20px;
    font-style: italic;
}
.section-heading:first-child {
    margin-top: 0;
}

/* ==================== CAROUSEL ==================== */
.carousel-wrapper {
    position: relative;
    margin-bottom: 30px;
}
.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 4px 20px;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

/* Carousel Arrows */
.car-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all .2s;
}
.car-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.car-prev { left: -18px; }
.car-next { right: -18px; }

/* ==================== PRODUCT CARD (NEW) ==================== */
.pcard {
    display: flex;
    flex-direction: column;
    min-width: 260px;
    max-width: 260px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all .3s;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}
.pcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}

/* Card Image */
.pcard-img {
    height: 200px;
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}
.pcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.badge {
    position: absolute;
    top: 10px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.badge-promo {
    left: 10px;
    background: #e74c3c;
    color: #fff;
}
.badge-novo {
    right: 10px;
    background: var(--primary-color);
    color: #fff;
}

/* Card Body */
.pcard-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.pcard-cat {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.pcard-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.3;
}
.pcard-stars {
    margin-bottom: 8px;
    color: #f59e0b;
    font-size: 12px;
}
.pcard-stars small {
    color: #999;
    font-size: 11px;
    margin-left: 3px;
}
.pcard-desc {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pcard-price {
    margin-top: auto;
}
.price-old {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-right: 6px;
}
.price-main {
    font-size: 22px;
    font-weight: 700;
    color: #16a34a;
}
.price-main small {
    font-size: 13px;
    font-weight: 400;
    color: #888;
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: #2d3436;
    color: #dfe6e9;
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #b2bec3;
}

.footer-col p i {
    color: var(--primary-color);
    margin-right: 6px;
    width: 16px;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    color: #b2bec3;
    font-size: 13px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '›';
    color: var(--primary-color);
    font-weight: 700;
}

.footer-col ul li a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.secure-badge {
    background: rgba(39, 174, 96, 0.15);
    border: 1px solid rgba(39, 174, 96, 0.3);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.secure-badge i {
    font-size: 28px;
    color: #27ae60;
}

.secure-badge strong {
    font-size: 12px;
    color: #27ae60;
    display: block;
}

.secure-badge small {
    font-size: 11px;
    color: #b2bec3;
}

/* Footer Bottom */
.footer-bottom-info {
    padding: 30px 0;
    border-bottom: 1px solid #444;
}

.footer-badges {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.badge-group h5 {
    font-size: 13px;
    color: #fff;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-icon {
    width: 50px;
    height: 34px;
    background: #444;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.pix-icon {
    font-size: 11px !important;
    font-weight: 700;
    background: #32bcad !important;
}

.footer-badge-img {
    max-height: 50px;
    width: auto;
    border-radius: 8px;
    background: #fff;
    padding: 8px 12px;
    object-fit: contain;
}

.footer-copy {
    padding: 20px 0;
    text-align: center;
}

.footer-copy p {
    font-size: 12px;
    color: #888;
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #25D366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 22px;
}

/* ==================== PRODUCT DETAIL PAGE ==================== */
.product-detail {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 30px;
    margin: 30px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-detail-image {
    background: #f5f5f5;
    border-radius: 12px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: #b2bec3;
}

.product-detail-info h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.product-detail-info .category-label {
    color: #0984e3;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-detail-info .detail-price {
    font-size: 32px;
    font-weight: 700;
    color: #27ae60;
    margin: 15px 0;
}

.product-detail-info .detail-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    white-space: pre-line;
}

.btn-orcamento {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: #0984e3;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s;
}

.btn-orcamento:hover {
    background: #0870c4;
}

/* ==================== ORCAMENTO PAGE ==================== */
.orcamento-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 30px;
    margin: 30px 0;
    max-width: 700px;
}

.orcamento-form h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 13px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0984e3;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    padding: 12px 30px;
    background: #0984e3;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #0870c4;
}

/* ==================== LOGIN PAGE ==================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 20px;
}

.login-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 420px;
    width: 100%;
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #2b5876, #4e4376);
    padding: 30px;
    text-align: center;
    color: #fff;
}

.login-header i {
    font-size: 48px;
    margin-bottom: 10px;
}

.login-header h2 {
    font-size: 20px;
    margin-bottom: 5px;
}

.login-header p {
    font-size: 13px;
    opacity: 0.8;
}

.login-body {
    padding: 30px;
}

.login-body .form-group {
    margin-bottom: 18px;
}

.login-body .form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.login-body .form-group input {
    padding: 12px 14px;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2b5876, #4e4376);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.3s;
}

.btn-login:hover {
    opacity: 0.9;
}

.login-footer {
    text-align: center;
    margin-top: 15px;
}

.login-footer a {
    color: #0984e3;
    font-size: 13px;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
}

.alert-danger {
    background: #fce4e4;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* ==================== MOBILE HAMBURGER MENU ==================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #333;
    border-radius: 2px;
    transition: all .3s ease;
}
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 999;
    backdrop-filter: blur(2px);
}
.mobile-menu-overlay.active {
    display: block;
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .cat-nav .container {
        position: relative;
    }
    .cat-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 60px 0 20px;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform .3s ease;
    }
    .cat-menu.open {
        display: flex;
        transform: translateX(0);
    }
    .cat-menu li {
        position: relative;
    }
    .cat-menu li a {
        padding: 14px 20px;
        font-size: 14px;
        border-bottom: 1px solid #f0f0f0;
        white-space: normal;
        border-left: 3px solid transparent;
    }
    .cat-menu li a:hover,
    .cat-menu li a:active {
        border-bottom-color: transparent;
        border-left-color: var(--primary-color);
        background: #f8f9fa;
    }
    .cat-menu li.has-dropdown > a .dd-arrow {
        margin-left: auto;
        transition: transform .3s ease;
    }
    .cat-menu li.has-dropdown.sub-open > a .dd-arrow {
        transform: rotate(180deg);
    }
    .cat-menu li.has-dropdown:hover > .mega-dropdown {
        display: none;
    }
    .mega-dropdown {
        position: static !important;
        display: none !important;
        min-width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        border-top: none !important;
        padding: 0 !important;
        background: #f8f9fa !important;
    }
    .mega-dropdown.sub-visible {
        display: block !important;
    }
    .mega-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    .mega-grid a {
        padding: 12px 20px 12px 36px !important;
        font-size: 13px !important;
        border-bottom: 1px solid #eee;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .header-row {
        flex-wrap: wrap;
    }
    .search-bar {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
    }
    .header-user {
        order: 2;
        margin-left: auto;
    }
    .hero-slide-content h2 { font-size: 32px; }
    .hero-slide-content p { font-size: 15px; }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-links-left a {
        display: none;
    }
    .brand-slogan {
        display: inline;
    }
    .mega-dropdown {
        min-width: 100vw;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0;
        position: fixed;
    }
    .hero-slide-content h2 { font-size: 28px; }
    .hero-banner { min-height: 240px; }
    .hero-slides { min-height: 240px; }
    .hero-slide { min-height: 240px; }
    .pcard {
        min-width: 220px;
        max-width: 220px;
    }
    .pcard-img {
        height: 160px;
        font-size: 50px;
    }
    .car-prev { left: -10px; }
    .car-next { right: -10px; }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-badges {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .promo-strip { font-size: 12px; }
    .top-links-bar { display: none; }
    .logo-name { font-size: 28px; }
    .hero-slide-content h2 { font-size: 24px; }
    .hero-banner { min-height: 200px; }
    .hero-slides { min-height: 200px; }
    .hero-slide { min-height: 200px; }
    .pcard {
        min-width: 200px;
        max-width: 200px;
    }
}
