/* ═══════════════════════════════════════════════
   MORRISON DTF — Global Stylesheet
   ═══════════════════════════════════════════════ */

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

:root {
  --green:       #34472C;
  --green-mid:   #4a6340;
  --green-lite:  #5d7a52;
  --green-pale:  #eef2eb;
  --beige:       #E7DFD0;
  --beige-dark:  #d4c9b5;
  --cream:       #f5f0e8;
  --white:       #ffffff;
  --text-dark:   #1a2415;
  --text-mid:    #3d4f35;
  --text-lite:   #6b7f62;
  --text-muted:  #9aaa93;
  --accent:      #c8a84b;
  --accent2:     #e8c46a;
  --red:         #e05252;
  --r-sm:        10px;
  --r:           16px;
  --r-lg:        24px;
  --sh:          0 4px 24px rgba(52,71,44,.09);
  --sh-md:       0 8px 40px rgba(52,71,44,.13);
  --sh-lg:       0 20px 60px rgba(52,71,44,.18);
  --transition:  .22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Poppins', sans-serif; background: var(--cream); color: var(--text-dark); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: 'Poppins', sans-serif; cursor: pointer; }
input, select, textarea { font-family: 'Poppins', sans-serif; }
ul { list-style: none; }

/* ── TICKER ── */
.ticker { background: var(--green); color: var(--beige); font-size: .73rem; font-weight: 500; letter-spacing: .04em; overflow: hidden; white-space: nowrap; padding: 8px 0; }
.ticker-track { display: inline-block; animation: tickerMove 36s linear infinite; }
.ticker-track span { margin: 0 2.5rem; }
@keyframes tickerMove { 0% { transform: translateX(0) } 100% { transform: translateX(-50%) } }

/* ── HEADER ── */
.site-header { background: var(--white); border-bottom: 1.5px solid rgba(52,71,44,.08); position: sticky; top: 0; z-index: 200; }

.header-top { display: flex; align-items: center; gap: 1.25rem; padding: .9rem clamp(1rem,5vw,3rem); max-width: 1440px; margin: 0 auto; }

.h-logo { display: flex; align-items: center; gap: .65rem; font-weight: 800; font-size: 1.05rem; color: var(--green); white-space: nowrap; flex-shrink: 0; }
.logo-sq { width: 38px; height: 38px; background: var(--green); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--beige); font-weight: 900; font-size: .95rem; }

.h-search { flex: 1; max-width: 520px; position: relative; }
.h-search input { width: 100%; background: var(--cream); border: 1.5px solid rgba(52,71,44,.12); border-radius: 50px; padding: .55rem 1rem .55rem 2.6rem; font-size: .88rem; color: var(--text-dark); outline: none; transition: border-color var(--transition), box-shadow var(--transition); }
.h-search input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(52,71,44,.08); }
.h-search input::placeholder { color: var(--text-muted); }
.h-search-icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: .85rem; pointer-events: none; }

.h-actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.h-btn { display: flex; align-items: center; gap: .4rem; background: none; border: none; font-size: .84rem; font-weight: 600; color: var(--text-mid); padding: .45rem .7rem; border-radius: 8px; transition: background var(--transition), color var(--transition); white-space: nowrap; }
.h-btn:hover { background: var(--green-pale); color: var(--green); }
.h-btn-icon { font-size: 1.1rem; }
.h-cart-btn { background: var(--green); color: var(--beige); padding: .5rem 1.1rem; border-radius: 50px; font-weight: 700; transition: background var(--transition); }
.h-cart-btn:hover { background: var(--green-mid); }
.cart-badge { background: var(--accent2); color: var(--green); border-radius: 50%; width: 19px; height: 19px; display: flex; align-items: center; justify-content: center; font-size: .66rem; font-weight: 800; }

/* ── NAV BAR (categories) ── */
.header-nav { border-top: 1px solid rgba(52,71,44,.06); background: var(--white); }
.header-nav-inner { display: flex; align-items: center; gap: 0; padding: 0 clamp(1rem,5vw,3rem); max-width: 1440px; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.header-nav-inner::-webkit-scrollbar { display: none; }
.nav-item { display: flex; align-items: center; gap: .35rem; padding: .7rem 1rem; font-size: .83rem; font-weight: 600; color: var(--text-mid); white-space: nowrap; border-bottom: 2.5px solid transparent; transition: color var(--transition), border-color var(--transition); }
.nav-item:hover, .nav-item.active { color: var(--green); border-bottom-color: var(--green); }
.nav-item-icon { font-size: .95rem; }

/* ── BREADCRUMB ── */
.breadcrumb { padding: .9rem clamp(1rem,5vw,3rem); max-width: 1440px; margin: 0 auto; display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-lite); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb-sep { color: var(--text-muted); }
.breadcrumb-current { color: var(--text-dark); font-weight: 600; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: none; border-radius: 50px; font-weight: 700; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--beige); padding: .75rem 1.75rem; font-size: .92rem; box-shadow: 0 4px 16px rgba(52,71,44,.25); }
.btn-primary:hover { background: var(--green-mid); box-shadow: 0 8px 24px rgba(52,71,44,.3); }
.btn-gold { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--green); padding: .75rem 1.75rem; font-size: .92rem; box-shadow: 0 4px 16px rgba(200,168,75,.35); }
.btn-gold:hover { box-shadow: 0 8px 24px rgba(200,168,75,.45); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); padding: .72rem 1.7rem; font-size: .92rem; }
.btn-outline:hover { background: var(--green); color: var(--beige); }
.btn-wsp { background: #25D366; color: #fff; padding: .75rem 1.75rem; font-size: .92rem; box-shadow: 0 4px 16px rgba(37,211,102,.35); }
.btn-wsp:hover { box-shadow: 0 8px 24px rgba(37,211,102,.45); }
.btn-sm { padding: .5rem 1.1rem; font-size: .8rem; }
.btn-lg { padding: .95rem 2.2rem; font-size: 1rem; }

/* ── SECTION HELPERS ── */
.section { padding: clamp(3.5rem,7vw,6rem) clamp(1rem,5vw,3rem); }
.container { max-width: 1440px; margin: 0 auto; }
.section-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); background: var(--green-pale); padding: .3rem .85rem; border-radius: 50px; margin-bottom: .8rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem,3vw,2.5rem); font-weight: 800; color: var(--green); line-height: 1.15; margin-bottom: .75rem; }
.section-sub { font-size: .95rem; color: var(--text-lite); max-width: 520px; line-height: 1.7; }
.section-header { margin-bottom: 2.5rem; }
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ── PRODUCT CARD ── */
.pcard { background: var(--white); border-radius: var(--r); border: 1.5px solid rgba(52,71,44,.07); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); position: relative; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.pcard-img { aspect-ratio: 1; background: linear-gradient(135deg, var(--green) 0%, var(--green-lite) 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.pcard-img .emoji { font-size: 3.5rem; }
.pcard-badges { position: absolute; top: .7rem; left: .7rem; display: flex; flex-direction: column; gap: .35rem; }
.pcard-badge { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 50px; }
.badge-cat { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); color: var(--beige); }
.badge-off { background: var(--accent2); color: var(--green); }
.badge-new { background: var(--green); color: var(--beige); }
.pcard-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.pcard-name { font-size: .9rem; font-weight: 700; color: var(--green); line-height: 1.3; }
.pcard-desc { font-size: .78rem; color: var(--text-lite); line-height: 1.5; }
.pcard-price-row { display: flex; align-items: baseline; gap: .5rem; }
.pcard-price { font-size: 1.15rem; font-weight: 800; color: var(--green); }
.pcard-price-old { font-size: .78rem; color: var(--text-muted); text-decoration: line-through; }
.pcard-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .6rem; border-top: 1px solid rgba(52,71,44,.06); }
.pcard-meta { font-size: .72rem; color: var(--text-muted); }
.add-to-cart { background: var(--green); color: var(--beige); border: none; border-radius: 50px; padding: .48rem 1rem; font-family: 'Poppins', sans-serif; font-size: .78rem; font-weight: 700; cursor: pointer; transition: background var(--transition), transform var(--transition); white-space: nowrap; }
.add-to-cart:hover { background: var(--green-mid); transform: scale(1.04); }

/* ── FOOTER ── */
.site-footer { background: var(--text-dark); color: rgba(231,223,208,.65); padding: clamp(3rem,6vw,5rem) clamp(1rem,5vw,3rem) 2rem; }
.footer-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo-row { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.footer-brand .logo-sq-f { width: 36px; height: 36px; background: var(--green); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--beige); font-weight: 900; font-size: .88rem; }
.footer-brand .brand-name { font-size: .95rem; font-weight: 800; color: var(--beige); }
.footer-brand p { font-size: .82rem; line-height: 1.7; max-width: 280px; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: .6rem; }
.social-btn { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: background var(--transition); }
.social-btn:hover { background: rgba(255,255,255,.14); }
.footer-col h4 { font-size: .73rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(231,223,208,.4); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li a { font-size: .83rem; color: rgba(231,223,208,.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--beige); }
.footer-bottom { max-width: 1440px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.05); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; font-size: .75rem; color: rgba(231,223,208,.25); }
.footer-bottom a { color: rgba(231,223,208,.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--beige); }
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ── SEARCH RESULTS DROPDOWN ── */
.search-results { position: absolute; top: calc(100% + .5rem); left: 0; right: 0; background: var(--white); border: 1.5px solid rgba(52,71,44,.1); border-radius: var(--r); box-shadow: var(--sh-lg); max-height: 320px; overflow-y: auto; z-index: 300; display: none; }
.search-results.open { display: block; }
.search-result-item { display: flex; align-items: center; gap: .85rem; padding: .75rem 1rem; transition: background var(--transition); cursor: pointer; }
.search-result-item:hover { background: var(--cream); }
.sri-img { width: 42px; height: 42px; border-radius: 8px; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.sri-name { font-size: .86rem; font-weight: 600; color: var(--text-dark); }
.sri-price { font-size: .78rem; color: var(--text-lite); }
.search-result-empty { padding: 1.25rem; text-align: center; font-size: .85rem; color: var(--text-muted); }

/* ── TOAST NOTIFICATION ── */
.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--green); color: var(--beige); padding: .9rem 1.4rem; border-radius: var(--r); font-size: .88rem; font-weight: 600; box-shadow: var(--sh-lg); z-index: 9999; display: flex; align-items: center; gap: .6rem; transform: translateY(120%); transition: transform .3s ease; }
.toast.show { transform: translateY(0); }

/* ── RESPONSIVE HELPERS ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .h-search { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .h-btn span { display: none; }
}
