@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

/* ==========================================
   1. GLOBAL VARIABLES & RESETS
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Condensed", sans-serif;
}

:root {
    /* Backgrounds */
    --bg-dark: hsl(220, 80%, 92%);
    --bg: hsl(220, 100%, 97%);
    --bg-light: hsl(0, 0%, 100%);
    --highlight: hsl(220, 90%, 95%);

    /* Text */
    --text: hsl(220, 50%, 10%);
    --text-muted: hsl(220, 40%, 40%);

    /* Borders */
    --border: hsl(220, 50%, 30%);
    --border-muted: hsl(220, 40%, 80%);

    /* Brand Colors */
    --primary: hsl(220, 70%, 45%);
    --secondary: hsl(220, 60%, 25%);
    --info: hsl(220, 80%, 60%);

    /* Functional Colors */
    --danger: hsl(350, 70%, 50%);
    --warning: hsl(45, 90%, 50%);
    --success: hsl(150, 60%, 40%);

    /* Misc */
    --border-radius: 12px;
    --transition-speed: 0.2s ease;
}

body {
    background: var(--bg);
}

a {
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--secondary);
}

li {
    list-style: none;
}

img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    margin: auto;
    display: block;
}

/* ==========================================
   2. TYPOGRAPHY
   ========================================== */
h1 {
    font-size: 5.6vw;
    color: var(--secondary);
}

h1 span {
    color: var(--warning);
}

h2 {
    font-size: 3rem;
    text-transform: capitalize;
    color: var(--text);
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
    text-transform: capitalize;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: bold;
}

h4 {
    font-size: 1.5rem;
    color: var(--text);
}

h5 {
    font-size: 1.5rem;
    letter-spacing: .2rem;
    color: var(--warning);
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 1rem;
}

p {
    font-size: 1.25rem;
    color: gray;
    line-height: 1.8rem;
    font-weight: 400;
}

.para {
    margin-block: 2rem;
    max-width: 550px;
}

/* ==========================================
   3. UTILITY CLASSES
   ========================================== */
.wrapper {
    max-width: 1600px;
    margin: auto;
    padding-inline: 1.5rem;
}

.flex {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-around;
}

.between { justify-content: space-between; }
.text-center { text-align: center; }
.m-auto { margin: auto; }

/* Spacing */
.gap-2 { gap: 2rem; }
.gap-3 { gap: 3rem; }
.gap-4 { gap: 4rem; }
.p-top { padding-top: 10rem; }
.p-top-1 { padding-top: 7.5rem; }
.mt-half { margin-top: .5rem; }
.mt-one-half { margin-top: 1.5rem; }
.mt-4 { margin-top: 4rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: .9rem 2rem;
    background: var(--primary);
    border-radius: 1rem;
    font-size: 1.1rem;
    color: var(--bg);
    box-shadow: rgba(0, 0, 0, 0.1) 0 2px 1px;
    transition: .3s ease-in-out;
}

.btn:hover {
    color: var(--secondary);
    background: var(--bg);
    border: 2px solid var(--secondary);
}

/* ==========================================
   4. HEADER & NAVIGATION
   ========================================== */
.navbar {
    padding-top: 2rem;
    min-height: 14vh;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.cart-icon {
    font-size: 1.3rem;
    position: relative;
}

.cart-icon .cart-value {
    position: absolute;
    top: 50%;
    right: -10px;
    font-size: .85rem;
    width: 20px;
    aspect-ratio: 1;
    border-radius: 100vw;
    background-color: gold;
    color: var(--secondary);
    text-align: center;
    line-height: 20px;
}

.desktop-action .hamburger {
    font-size: 1.5rem;
    display: none;
}

.mobile-nav {
    display: none;
}

/* ==========================================
   5. PAGE SECTIONS (HOME)
   ========================================== */
/* Hero Section */
.hero-section {
    min-height: calc(100vh - 14vh);
    align-items: center;
}

.content, .image-container {
    flex: 1;
    flex-basis: 300px;
}

/* Services (Section 01) */
.service-card {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: transparent;
    border: none;
    box-shadow: none;
}

.service-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Product Cards (Section 02) */
.order-card {
    flex: 1;
    flex-basis: 300px;
    padding: 0 1rem 1rem 1rem;
    background: white;
    border: .1rem solid var(--secondary);
    border-radius: 2rem;
    box-shadow: rgba(0, 0, 0, 0.05) 8px 8px 8px,
                rgba(0, 0, 0, 0.05) 8px 8px 8px inset;
}

.order-card img {
    width: 15rem;
    filter: drop-shadow(rgba(0, 0, 0, 0.3) 0 10px 10px);
}

.order-card .price {
    font-size: 1.3rem;
    color: var(--primary);
    padding: 1rem 0 1rem 0;
}

/* Consultation (Section 03) */
.consultation {
    background: var(--bg-dark);
    padding: 5rem 6rem;
    border-radius: 3rem;
    align-items: center;
    flex: 1;
}

.consultation .content h2 {
    font-size: 4.5rem;
}

.consultation .image-container img {
    width: 35rem;
    max-width: 100%;
}

/* Reviews (Section 04) */
.reviews-section {
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.reviews-section .image-container {
    flex: 1;
    min-width: 300px;
}

.reviews-section img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

.reviews-section .content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.user-review {
    width: 650px;
    max-width: 100%;
    flex: 1;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide .flex {
    justify-content: flex-start;
    align-items: center;
}

.profile {
    width: 4rem;
    aspect-ratio: 1;
    border-radius: 100vw;
    overflow: hidden;
}

.profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fa-star {
    color: gold;
}

.arrow {
    width: 2.5rem;
    aspect-ratio: 1;
    border-radius: 100vw;
    background: gold;
    color: var(--primary);
    text-align: center;
    line-height: 2.5rem;
}

/* ==========================================
   6. CATALOG & BRAND WRAPPERS
   ========================================== */
/* Brand Header Box (Catalog Pages) */
.brand-header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.brand-header-box.western-theme {
    background: linear-gradient(135deg, #0e6b33 0%, #158b45 100%);
    border-left: 8px solid #FFD700; 
}

.brand-header-box .brand-title h5 {
    color: #FFD700;
    margin-bottom: 0.3rem;
    letter-spacing: 1.5px;
}

.brand-header-box .brand-title h2 {
    color: #ffffff;
    margin: 0;
    font-size: 2.2rem;
    text-transform: uppercase;
}

.brand-header-box .custom-select {
    border: 2px solid #FFD700;
    color: #0e6b33;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.brand-header-box .custom-select:hover {
    background-color: #f0fdf4;
    border-color: #ffffff;
}

/* Western Home Page Box */
.western-brand-wrapper {
    background: linear-gradient(135deg, #0e6b33 0%, #158b45 100%);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-left: 8px solid #FFD700;
    margin-bottom: 3rem;
}

.western-brand-wrapper .header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1.5rem;
}

.western-brand-wrapper .brand-title h5 {
    color: #FFD700;
    margin-bottom: 0.3rem;
    letter-spacing: 1.5px;
}

.western-brand-wrapper .brand-title h2 {
    color: #ffffff;
    margin: 0;
    font-size: 2.2rem;
    text-transform: uppercase;
}

.western-brand-wrapper .view-all-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #0e6b33;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.western-brand-wrapper .view-all-btn:hover {
    background-color: #ffffff;
    color: #0e6b33;
}

/* Custom Dropdowns & Multi-Select */
.custom-select {
    padding: 0.5rem 1rem;
    border: 2px solid #1a2b4c;
    border-radius: 5px;
    background-color: #ffffff;
    color: #1a2b4c;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.custom-select:hover {
    background-color: #f4f7fb;
}

.multi-select-container {
    position: relative;
    display: inline-block;
}

.multi-select-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 160px;
    user-select: none;
}

.multi-select-menu {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 2px solid #1a2b4c;
    border-radius: 5px;
    min-width: 300px;
    max-height: 350px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    margin-top: 5px;
    text-align: left;
}

.multi-select-menu.show {
    display: block; 
}

.multi-select-menu label {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    color: #1a2b4c;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

.multi-select-menu label:last-child {
    border-bottom: none;
}

.multi-select-menu label:hover {
    background-color: #f4f7fb;
}

.multi-select-menu input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

/* ==========================================
   HOSHIZAKI HOME PAGE WRAPPER 
   ========================================== */

/* The Main Blue Box containing Header + Products */
.hoshizaki-brand-wrapper {
    /* Deep blue to sky blue gradient based on the Hoshizaki catalog */
    background: linear-gradient(135deg, #1c527e 0%, #348abf 100%);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-left: 8px solid #4fc3f7; /* Cyan Accent */
}

/* The Header Layout inside the box */
.hoshizaki-brand-wrapper .header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1.5rem;
}

/* Title text colors */
.hoshizaki-brand-wrapper .brand-title h5 {
    color: #4fc3f7; /* Cyan matching the border */
    margin-bottom: 0.3rem;
    letter-spacing: 1.5px;
}

.hoshizaki-brand-wrapper .brand-title h2 {
    color: #ffffff;
    margin: 0;
    font-size: 2.2rem;
    text-transform: uppercase;
}

/* Cyan 'View All' Button */
.hoshizaki-brand-wrapper .view-all-btn {
    display: inline-block;
    background-color: #4fc3f7;
    color: #1c527e; /* Dark blue text for contrast */
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hoshizaki-brand-wrapper .view-all-btn:hover {
    background-color: #ffffff;
    color: #1c527e;
}



/* ==========================================
   7. FOOTER
   ========================================== */
.footer-container {
    margin-top: 7.5rem;
    padding-block: 4rem;
    background: var(--bg-dark);
}

.footer-container .flex.wrapper {
    flex-wrap: wrap; 
    gap: 3rem; 
}

.footer-wrapper {
    text-align: left;
}

.footer-wrapper.brand-info {
    max-width: 400px;
    margin-right: 0;
}

.second-list {
    margin-left: 0;
    margin-right: 0;
}

.footer-wrapper h4 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.footer-wrapper .logo img {
    margin: 0;
}

.footer-wrapper .flex {
    justify-content: flex-start;
}

.footer-wrapper .social-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    text-decoration: none;
}

.footer-wrapper .social-icons:hover {
    background: var(--primary);
    color: var(--bg);
}

.footer-link {
    color: gray;
    font-size: 1.1rem;
}

.footer-link:hover {
    color: var(--primary);
}

/* ==========================================
   8. MEDIA QUERIES
   ========================================== */

/* --- Desktop Layout Tweaks --- */
@media screen and (min-width: 1100px) {
    .footer-wrapper.brand-info {
        margin-right: auto; 
    }
    .second-list {
        margin-left: 3rem;
        margin-right: 4rem;
    }
}

/* --- Tablet / Mid-size Screens --- */
@media (max-width: 825px) {
    /* Header */
    .navlist, .desktop-action .btn { display: none; }
    .desktop-action .hamburger { display: block; }
    
    .mobile-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        position: absolute;
        top: 20%;
        left: -100%;
        transform: translateX(-50%);
        width: 20rem;
        padding: 2rem;
        background: white;
        border: .1rem solid var(--secondary);
        border-radius: 2rem;
        box-shadow: rgba(0, 0, 0, 0.05) 8px 8px 8px,
                    rgba(0, 0, 0, 0.05) 8px 8px 8px inset;
        transition: all .5s ease-in-out;
    }

    .mobile-nav-active {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Hero Section */
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .hero-section .image-container { width: 100%; min-width: 0; }
    .hero-section .content { text-align: center; }

    /* Typography & Spacing */
    h1 { font-size: 3.6rem; }
    h2 { font-size: 3rem; }
    .content { padding-top: 3rem; }
    .gap-2 { gap: 1.4rem; }
    .gap-4 { gap: 4rem; }

    /* Services */
    .services-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    /* Consultation */
    .consultation {
        padding: 2.2rem;
        flex-direction: column;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        gap: 1rem;
    }
    .consultation .image-container { width: 100%; margin-bottom: 0; }
    .consultation .content { padding-top: 0; }
    .consultation .content h2 { font-size: 2.5rem; }

    /* Reviews */
    .reviews-section {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        width: 100%;
    }
    .reviews-section .image-container {
        width: 100%;
        min-width: 0;
        margin-bottom: 1rem;
    }
    .reviews-section .content {
        width: 100%;
        min-width: 0;
        text-align: center;
        padding: 0;
    }
    .user-review {
        width: 100% !important;
        max-width: 100%;
        padding: 0 1rem;
        margin: auto;
    }
    .user-review .flex.between {
        justify-content: center;
        gap: 2rem;
        margin-top: 1.5rem;
    }

    /* Footer */
    .footer-container .flex.wrapper {
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        text-align: center;
    }
    .footer-wrapper { text-align: center; }
    .footer-wrapper .logo img { margin: auto; }
    .footer-wrapper .flex.gap-2 { justify-content: center; }
    .mobile-hide { display: none; }
    .footer-wrapper.brand-info { margin-right: 0; }
    .second-list {
        margin-left: 0;
        margin-right: 0;
        margin-top: -1.5rem;
    }
}

/* --- Mobile Specific Overrides --- */
@media (max-width: 768px) {
    .brand-header-box, 
    .western-brand-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
    
    .western-brand-wrapper .header-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hoshizaki-brand-wrapper {
        padding: 1.5rem;
    }
    .hoshizaki-brand-wrapper .header-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}