/* Path: /assets/css/retail.css */
/* Modern, accessible, conversion-optimized CSS for Mage Hookah Lounge Retail */

:root {
  --mage-blue:    #78A1BB;
  --mage-purple:  #391047;
  --mage-gold:    #E1B929;
  --mage-charcoal:#292727;
  --mage-teal:    #2180A2;
  --mage-card-bg: #fff;
  --mage-section-bg: #f7f7fa;
  --mage-border:  #ded7ed;
  --mage-radius:  1.3rem;
  --mage-shadow:  0 6px 24px 0 rgba(57,16,71,0.09);
  --font-main:    'Inter', 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --max-content:  760px;
}

body {
  font-family: var(--font-main);
  background: #f6faff;
  color: #292727;
  font-size: 1.13rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--mage-purple);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 0.3em;
}
h2 {
  font-size: 1.45rem;
  margin-top: 1.4em;
  margin-bottom: 0.7em;
}
h3 {
  font-size: 1.18rem;
  margin-top: 1em;
  margin-bottom: 0.4em;
}

/* Retail Hero */
.retail-hero {
  background: linear-gradient(96deg, var(--mage-blue) 0%, var(--mage-purple) 90%);
  color: #fff;
  padding: 2.2rem 1.2rem 2.1rem 1.2rem;
  text-align: center;
  border-radius: var(--mage-radius);
  box-shadow: var(--mage-shadow);
  margin: 2.2rem auto 2.2rem auto;
  max-width: var(--max-content);
}
.retail-hero h1,
.retail-hero p {
  color: #fff;
  text-shadow: 0 1px 4px rgba(41,16,71,0.16);
}
.retail-hero .cta-btn {
  margin: 1.5rem 0.5rem 0 0.5rem;
}
.retail-hero .pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--mage-gold); }
  70% { box-shadow: 0 0 0 14px rgba(225,185,41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225,185,41, 0); }
}
.today-hours {
  font-size: 1.07rem;
  margin-top: 1.2rem;
  background: rgba(255,255,255,0.17);
  border-radius: 0.55em;
  display: inline-block;
  padding: 0.36em 1.05em;
  color: #fff;
}

/* Category Grid */
.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin: 1.8rem 0 0.5rem 0;
}
.category-card {
  background: var(--mage-card-bg);
  border: 1.7px solid var(--mage-border);
  border-radius: var(--mage-radius);
  box-shadow: 0 3px 16px 0 rgba(57,16,71,0.08);
  padding: 1.4rem 1rem 1.1rem 1rem;
  min-width: 148px;
  max-width: 175px;
  text-align: center;
  text-decoration: none;
  color: var(--mage-charcoal);
  font-weight: 600;
  font-size: 1.09rem;
  transition: transform 0.16s, box-shadow 0.19s, border 0.17s;
  cursor: pointer;
  outline: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category-card svg {
  margin-bottom: 0.8rem;
  display: block;
}
.category-card:focus,
.category-card:hover {
  border-color: var(--mage-gold);
  box-shadow: 0 0 0 3.5px var(--mage-gold, #E1B929);
  transform: translateY(-4px) scale(1.04);
  background: #fffbe5;
}

/* Featured Product Carousel — with Pill-Style Buttons */
.carousel {
  position: relative;
  max-width: var(--max-content, 760px);
  margin: 2.2rem auto;
  background: var(--mage-card-bg, #fff);
  border-radius: var(--mage-radius, 1.3rem);
  box-shadow: var(--mage-shadow, 0 6px 24px 0 rgba(57,16,71,0.09));
  overflow: hidden;
  padding-bottom: 0;
}
.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(.7,0,.2,1);
}
.carousel-item {
  flex: 0 0 100%;
  text-align: center;
  display: none;
  background: var(--mage-section-bg, #f7f7fa);
  padding: 2.1rem 2rem 1.6rem 2rem;
  min-height: 295px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.carousel-item.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.carousel-item img {
  display: block;
  margin: 0 auto 1.1rem auto;
  max-width: 130px;
  max-height: 140px;
  border-radius: 0.7rem;
  box-shadow: 0 1px 8px rgba(57,16,71,0.10);
  background: #fff;
}
.carousel-item h3 {
  margin: 0.5rem 0 0.15rem 0;
  font-size: 1.18rem;
  color: var(--mage-purple);
  font-family: var(--font-heading, Montserrat, Arial, sans-serif);
}
.carousel-item p {
  margin: 0.2rem 0 0 0;
  color: var(--mage-charcoal);
  font-size: 1.07rem;
}

/* Carousel pill-style buttons, Bootstrap lookalike */
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--mage-blue, #78A1BB);
  border: 2px solid var(--mage-blue, #78A1BB);
  border-radius: 2rem;
  font-size: 1.7rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(57,16,71,0.09);
  cursor: pointer;
  opacity: 1;
  transition: background 0.18s, color 0.16s, border 0.16s, box-shadow 0.16s;
  z-index: 2;
  outline: none;
}
.carousel-prev { left: 0; margin-left: 15px; }
.carousel-next { right: 0; margin-right: 15px; }
.carousel-prev:hover, .carousel-prev:focus,
.carousel-next:hover, .carousel-next:focus {
  background: var(--mage-blue, #78A1BB);
  color: #fff;
  border-color: var(--mage-gold, #E1B929);
  box-shadow: 0 4px 16px rgba(120,161,187,0.15);
  outline: 2px solid var(--mage-gold, #E1B929);
}

/* Mobile: buttons below, always visible */
@media (max-width: 700px) {
  .carousel-prev, .carousel-next {
    top: unset;
    bottom: 8px;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    box-shadow: 0 1px 7px rgba(57,16,71,0.11);
    margin-left: 0; margin-right: 0;
  }
  .carousel-prev { left: 17%; }
  .carousel-next { right: 17%; }
  .carousel-item {
    padding: 1.3rem 0.2rem 1.3rem 0.2rem;
    min-height: 210px;
  }
  .carousel-item img {
    max-width: 78px;
    max-height: 80px;
  }
}

/* CTA Banner — centered, 90% width, responsive */
.retail-cta-banner {
  background: linear-gradient(97deg, var(--mage-gold), var(--mage-teal));
  color: #292727;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 1.15rem 0.5rem;
  margin: 2.5rem auto 1.5rem auto;
  border-radius: var(--mage-radius);
  box-shadow: 0 2px 8px rgba(120,161,187,0.04);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90vw;
  max-width: 900px;
}
.retail-cta-banner > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.retail-cta-banner .cta-btn {
  margin-top: 0.7em;
}
@media (max-width: 600px) {
  .retail-cta-banner {
    font-size: 1rem;
    width: 97vw;
    padding: 1rem 0.2rem;
  }
}

/* Info, FAQ, Newsletter */
.retail-info, .retail-faq {
  background: var(--mage-section-bg);
  border-radius: var(--mage-radius);
  box-shadow: 0 2px 8px rgba(120,161,187,0.05);
  padding: 1.7rem 1.1rem;
  margin: 2.1rem auto 1.1rem auto;
  max-width: 640px;
}
.retail-info address {
  font-style: normal;
  margin-bottom: 0.6rem;
}
.retail-links .info-link {
  color: var(--mage-purple);
  margin: 0 0.55rem;
  text-decoration: underline dotted;
  font-weight: 500;
}
.retail-faq h2, .retail-info h2 {
  margin-top: 0;
}
.retail-faq ul {
  list-style: disc inside;
  padding-left: 0.4rem;
}
.retail-faq a {
  color: var(--mage-blue);
  text-decoration: underline;
  font-weight: 500;
}
.retail-faq a:focus,
.retail-faq a:hover {
  color: var(--mage-gold);
  background: #fffbe5;
  border-radius: 0.25rem;
  outline: none;
  text-decoration: underline solid;
}

/* Newsletter */
.retail-newsletter {
  background: var(--mage-section-bg);
  border-radius: var(--mage-radius);
  box-shadow: var(--mage-shadow);
  max-width: 520px;
  margin: 2.3rem auto 1.6rem auto;
  padding: 1.6rem 1.1rem 1.4rem 1.1rem;
  text-align: center;
}
.newsletter-form input[type="email"] {
  border: 1.2px solid var(--mage-border);
  border-radius: 0.6rem;
  padding: 0.7rem 1.1rem;
  font-size: 1.1rem;
  width: 64%;
  margin: 0.3rem 0 0.7rem 0;
  background: #fff;
}
.newsletter-form .cta-btn {
  background: var(--mage-blue);
  color: #fff;
  padding: 0.7rem 1.3rem;
  margin-left: 0.6rem;
  border-radius: 0.6rem;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}
.newsletter-form .cta-btn:hover {
  background: var(--mage-gold);
  color: var(--mage-charcoal);
}
.newsletter-feedback {
  display: block;
  margin-top: 0.7rem;
  color: var(--mage-purple);
  font-weight: 500;
}

/* --- Modern Ask Us Anything Modal --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(42, 40, 54, 0.26);
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}
.modal-card {
  background: #fff;
  color: var(--mage-charcoal);
  padding: 2.2rem 2rem 1.5rem 2rem;
  border-radius: 1.5rem;
  max-width: 420px;
  width: 95vw;
  margin: 4vh auto;
  box-shadow: 0 14px 50px 0 rgba(57,16,71,0.18), 0 2px 6px 0 rgba(57,16,71,0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: modal-pop-in 0.2s cubic-bezier(.59,1.39,.62,.96);
}
@keyframes modal-pop-in {
  0% { transform: translateY(40px) scale(.98); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.modal-header h2 {
  margin: 0 0 0.1em 0;
  font-size: 1.5rem;
  color: var(--mage-purple);
  font-weight: 700;
  text-align: left;
}
.modal-lead {
  color: var(--mage-blue);
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.45;
}
.form-group {
  margin-bottom: 1.2rem;
}
.contact-label {
  font-weight: 600;
  color: var(--mage-charcoal);
  display: block;
  margin-bottom: 0.18em;
}
.contact-input {
  width: 100%;
  padding: 0.9rem 1.15rem;
  border: 1.7px solid var(--mage-border, #ded7ed);
  border-radius: 0.75rem;
  font-size: 1.08rem;
  background: #f9fbfd;
  transition: border 0.16s, box-shadow 0.15s;
  outline: none;
  margin-top: 0.08em;
  resize: vertical;
  box-sizing: border-box;
}
.contact-input:focus {
  border-color: var(--mage-blue);
  box-shadow: 0 0 0 2px var(--mage-blue, #78A1BB);
  background: #f1f7fd;
}
.contact-btn {
  margin-top: 0.5rem;
  width: 100%;
  background: var(--mage-purple);
  color: #fff;
  border: none;
  padding: 1rem 0;
  border-radius: 0.9rem;
  font-size: 1.13rem;
  font-weight: 700;
  box-shadow: 0 2px 11px rgba(57,16,71,0.09);
  transition: background 0.16s, color 0.14s;
  letter-spacing: 0.01em;
}
.contact-btn:hover, .contact-btn:focus {
  background: var(--mage-gold);
  color: var(--mage-charcoal);
}
.contact-feedback {
  display: block;
  margin-top: 1rem;
  color: var(--mage-blue);
  font-weight: 600;
  text-align: center;
  min-height: 1.3em;
}
.contact-trust {
  margin-top: 1.7rem;
  font-size: 0.98rem;
  color: #999;
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1.15rem;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--mage-purple);
  cursor: pointer;
  opacity: 0.93;
  transition: color 0.14s, background 0.14s;
  border-radius: 1.5rem;
  line-height: 1;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover, .modal-close:focus {
  color: #fff;
  background: var(--mage-purple);
  outline: 2px solid var(--mage-gold);
}

/* --- Responsive Adjustments --- */
@media (max-width: 850px) {
  .category-grid {
    flex-direction: column;
    gap: 1.4rem;
    align-items: center;
  }
  .carousel, .retail-info, .retail-faq, .retail-newsletter {
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  .retail-hero, .retail-info, .retail-faq, .retail-newsletter, .carousel, .retail-cta-banner {
    padding: 1.15rem 0.5rem;
    margin-left: 0.4rem; margin-right: 0.4rem;
    border-radius: 1.07rem;
  }
  .carousel-item img {
    max-width: 78px;
    max-height: 80px;
  }
  .modal-card {
    padding: 1.1rem 0.5rem 1.1rem 0.5rem;
    font-size: 0.98rem;
    max-width: 99vw;
    border-radius: 1.1rem;
  }
  .modal-header h2 {
    font-size: 1.18rem;
  }
  .contact-btn { font-size: 1.05rem; padding: 0.82rem 0; }
}
