/* ============================================================
   BRANDO TECH & HOME - Main Style CSS
   ============================================================ */

@import url("font-awesome.css");
@import url("animations.css");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Montserrat:wght@400;600;700;800&display=swap');

/* ---- RESET & BASE ---- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp, small,
strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure,
figcaption, footer, header, hgroup, menu, nav,
output, ruby, section, summary, time, mark, audio, video {
    margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1.5; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-spacing: 0; border-collapse: collapse; }
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; outline: none; }
iframe { border: 0; }

/* ---- TYPOGRAPHY ---- */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #3D0A18;
}

a {
    color: #7B1032;
    text-decoration: none;
}

a:hover {
    color: #5C0A24;
    text-decoration: none;
}

/* ---- LAYOUT ---- */
.wrapper {
    overflow-x: hidden;
}

.main { padding-top: 20px; }

/* ---- HERO SLIDER ---- */
.brando-hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 16px;
}

.brando-hero-slider img {
    width: 100%;
    display: block;
}

/* MasterSlider overrides */
.master-slider .ms-slide img {
    width: 100%;
    height: auto;
}

/* ---- CATEGORY GRID ---- */
.brando-categories-section {
    padding: 20px 0;
}

.brando-category-item {
    margin-bottom: 16px;
    padding: 0 8px;
}

.brando-category-item a {
    display: block;
    text-decoration: none;
}

.brando-category-item .cat-img-wrap {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #f9f5f0;
    position: relative;
}

.brando-category-item .cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.brando-category-item:hover .cat-img-wrap img {
    transform: scale(1.05);
}

.brando-category-item .cat-title {
    background: #7B1032;
    color: #fff;
    text-align: center;
    padding: 10px 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 0 8px 8px;
    transition: background 0.2s;
}

.brando-category-item:hover .cat-title {
    background: #5C0A24;
}

/* ---- PROMO BANNERS ---- */
.brando-promo-row {
    margin: 10px 0 20px;
}

.brando-promo-row .promo-item {
    padding: 0 6px;
    margin-bottom: 12px;
}

.brando-promo-row .promo-item img {
    width: 100%;
    border-radius: 8px;
    display: block;
    transition: opacity 0.2s;
}

.brando-promo-row .promo-item img:hover {
    opacity: 0.9;
}

/* ---- PRODUCTS GRID ---- */
.brando-products-grid {
    padding: 10px 0 20px;
}

.brando-products-grid .sorting-grid {
    margin: 0 -8px;
}

.brando-products-grid .mix {
    padding: 8px;
}

/* ---- BADGES / LABELS ---- */
.badge-promo {
    background: #E8D5B7;
    color: #7B1032;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

.badge-new {
    background: #7B1032;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* ---- FOOTER ---- */
.site-footer {
    background-color: #3D0A18;
    color: #E8D5B7;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.site-footer h4 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #7B1032;
}

.site-footer a {
    color: #E8D5B7;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer ul li {
    padding: 4px 0;
    font-size: 13px;
}

.site-footer ul li i {
    margin-right: 6px;
    color: #7B1032;
}

.site-footer-bottom {
    background-color: #2A0612;
    color: #9a7a6e;
    padding: 12px 0;
    font-size: 12px;
}

.site-footer-bottom .social-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #7B1032;
    color: #fff;
    text-align: center;
    line-height: 30px;
    margin-left: 4px;
    transition: background 0.2s;
}

.site-footer-bottom .social-icons a:hover {
    background: #E8D5B7;
    color: #7B1032;
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
}

/* ---- BACK TO TOP ---- */
#back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: #7B1032;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s;
}

#back-to-top:hover {
    background: #5C0A24;
}

/* ---- UTILITIES ---- */
.spacer-20 { height: 20px; }
.spacer-40 { height: 40px; }
.text-burgundy { color: #7B1032; }
.bg-light-cream { background-color: #f9f5f0; }
.border-top-primary { border-top: 3px solid #7B1032; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .brando-category-item .cat-img-wrap { height: 130px; }
}

@media (max-width: 767px) {
    .brando-category-item .cat-img-wrap { height: 110px; }
    .site-footer h4 { margin-top: 20px; }
    .main { padding-top: 10px; }
}
