@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

:root {
    --red:        #E62329;
    --red-hover:  #CF1D23;
    --red-light:  #FDECEC;
    --ink:        #1F2A24;
    --muted:      #5F6B63;
    --line:       #E6E9E6;
    --bg:         #FFFFFF;
    --card:       #FFFFFF;
    --shadow:     0 10px 30px rgba(20, 30, 25, .08);
    --radius:     16px;
    --wrap:       1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

h1, h2, h3, h4, .logo {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Navbar */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 12px rgba(0, 0, 0, .04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px max(24px, calc((100% - var(--wrap)) / 2));
}

header .logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--red);
    white-space: nowrap;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: var(--red);
    transition: width .2s ease;
}
nav a:hover { color: var(--red); }
nav a:hover::after { width: 100%; }

#call {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: .92rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
#call:hover {
    background: var(--red-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* Sections (full width, content centred within --wrap) */
section {
    padding: 84px max(24px, calc((100% - var(--wrap)) / 2));
}

.small_headings {
    display: inline-block;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-light);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.subtitle {
    color: var(--muted);
    margin-top: 8px;
    font-size: 1.05rem;
}

/* Hero */
.banner {
    text-align: center;
    color: #fff;
    background-color: var(--red);
    background-image: linear-gradient(rgba(230, 35, 41, .55), rgba(230, 35, 41, .66)), url('../Images/storefront-hero.png');
    background-size: cover;
    background-position: center 35%;
    min-height: 82vh;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.banner h2 {
    order: -1;
    font-size: .95rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .35);
    padding: 7px 18px;
    border-radius: 999px;
}

.banner h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 800;
    max-width: 800px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

.banner p {
    max-width: 580px;
    opacity: .95;
    font-size: 1.12rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .3);
}

.hero_buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

/* Buttons */
button,
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    border: none;
    border-radius: 999px;
    padding: 13px 28px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
button:hover,
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-light {
    background: #fff;
    color: var(--red);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .85);
}

/* Product grids */
.Product_Page,
.Popular_Products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    text-align: center;
}

.Popular_Products {
    background: var(--red-light);
}

.Product_Page > .small_headings,
.Product_Page > h2,
.Product_Page > .subtitle,
.Popular_Products > .small_headings,
.Popular_Products > h2,
.Popular_Products > .subtitle {
    grid-column: 1 / -1;
}

.Product_Page > .small_headings,
.Popular_Products > .small_headings {
    justify-self: center;
}

.Product_Page > h2,
.Popular_Products > h2 {
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    font-weight: 700;
}

.Product_Page > .subtitle,
.Popular_Products > .subtitle {
    margin-bottom: 30px;
}

.card,
.Popular_Product_Card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 0 22px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover,
.Popular_Product_Card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.icon {
    width: 100%;
    height: 180px;
    margin-bottom: 16px;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card h3,
.Popular_Product_Card h3 {
    font-size: 1.08rem;
    margin-bottom: 6px;
    padding: 0 18px;
}

.card p,
.Popular_Product_Card p {
    font-size: .9rem;
    color: var(--muted);
    padding: 0 18px;
}

/* About */
.about_us {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.about_us img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--red-light);
}

.about_text h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.5rem);
    margin-bottom: 16px;
}

.about_text p {
    color: var(--muted);
    margin-bottom: 14px;
}

/* Location */
.location_section { text-align: center; }

.location_section h2 {
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    font-weight: 700;
}

.map_wrap {
    margin-top: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.map_wrap iframe {
    width: 100%;
    height: 440px;
    border: 0;
    display: block;
}

/* Features */
.why_us_section {
    width: min(var(--wrap), 100% - 48px);
    margin: 0 auto 96px;
    padding: 44px;
    background: var(--red-light);
    border-radius: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.unique {
    background: #fff;
    border-radius: var(--radius);
    padding: 26px;
    text-align: center;
    box-shadow: var(--shadow);
}

.unique h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.08rem;
    margin-bottom: 6px;
}

.unique p {
    font-size: .9rem;
    color: var(--muted);
}

/* Footer */
footer {
    background: var(--ink);
    color: #aab4ac;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    padding: 64px max(24px, calc((100% - 1060px) / 2)) 30px;
}

footer h4 {
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin-bottom: 16px;
}

footer ul { list-style: none; }

footer li,
footer a {
    color: #aab4ac;
    margin-bottom: 10px;
    display: block;
}
footer a:hover { color: #fff; }

footer .logo {
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

footer > p:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 22px;
    margin-top: 8px;
    text-align: center;
    font-size: .85rem;
}

@media (max-width: 980px) {
    .Product_Page,
    .Popular_Products { grid-template-columns: repeat(3, 1fr); }
    .why_us_section,
    footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .about_us { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .about_us img { min-height: 240px; }
}

@media (max-width: 620px) {
    header { flex-wrap: wrap; justify-content: center; gap: 12px; }
    nav { flex-wrap: wrap; justify-content: center; gap: 16px; }
    .Product_Page,
    .Popular_Products { grid-template-columns: repeat(2, 1fr); }
    .why_us_section,
    footer { grid-template-columns: 1fr; }
    section { padding: 60px 20px; }
}

/*Store Expert chat widget*/

#expert-tab {
  position: fixed; bottom: 25px; right: 25px;
  background: var(--red); color: white; border: none; cursor: pointer;
  padding: 14px 22px; border-radius: 50px; font-size: 16px; font-weight: bold;
  box-shadow: 0 4px 16px rgba(230,35,41,0.35); z-index: 1000;
  display: flex; align-items: center; gap: 8px; transition: transform 0.2s;
}

#expert-tab:hover { transform: scale(1.05); }

#expert-panel {
  position: fixed; top: 0; right: -400px; width: 400px; height: 100%;
  background: #fdfaf6; box-shadow: -5px 0 20px rgba(0,0,0,0.2);
  transition: right 0.3s; display: flex; flex-direction: column; z-index: 1000;
}
#expert-panel.open { right: 0; }

#expert-header { background: var(--red); color: white; padding: 20px; }

#expert-messages {
  flex: 1; overflow-y: auto; padding: 15px;
  display: flex; flex-direction: column; gap: 10px;
}

.msg { padding: 10px 14px; border-radius: 12px; max-width: 80%; font-size: 14px; white-space: pre-line; }

.msg.bot { background: white; border: 1px solid #ddd; align-self: flex-start; }

.msg.user { background: var(--red); color: white; align-self: flex-end; }

#expert-input { display: flex; padding: 15px; border-top: 1px solid #eee; gap: 8px; }

#expert-input input { flex: 1; padding: 10px; border: 1px solid #ccc; border-radius: 10px; }

#expert-input button {
  padding: 10px 16px; background: var(--red); color: white;
  border: none; border-radius: 10px; cursor: pointer;
}
