/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/* Quick feedback toast/badge for product actions */
.action-feedback {
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    opacity: 0.95;
    z-index: 100;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.5s;
}

.pro-qty .dec.disabled {
    color: #ccc;
    pointer-events: none;
    cursor: not-allowed;
}

.pro-qty .inc.disabled {
    color: #ccc;
    pointer-events: none;
    cursor: not-allowed;
}


.featured__item__pic {
    position: relative;
    height: 320px;         /* Make all image boxes the same height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}
.featured__item__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* Always fills box, keeps aspect ratio */
    display: block;
}
.featured__item__pic__hover {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    margin: auto;
    display: flex;
    justify-content: center;
    z-index: 2;
    background: rgba(255,255,255,0.92);
    border-radius: 20px;
    padding: 5px 0;
    width: 100%;
}
.featured__item__pic__hover a {
    margin: 0 8px;
    display: inline-block;
    color: #222;
    font-size: 22px;
}

.featured__badge {
    position: absolute;
    top: 18px;
    left: -48px;
    transform: rotate(-45deg);
    background: linear-gradient(135deg, #ffe084, #F4A019);
    color: #181818;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 6px 70px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.featured__item--coming .featured__item__pic img {
    filter: grayscale(0.15) saturate(0.9);
    opacity: 0.9;
}

.featured__coming-soon-copy {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8b1e1e;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.featured__coming-soon-copy i {
    font-size: 0.9rem;
}

.add-to-cart.disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.footer__link-columns {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .footer__link-columns {
        flex-wrap: nowrap;
        align-items: flex-start;
    }
}

.footer__link-columns ul {
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 180px;
}

.footer__link-columns li {
    margin: 0.4rem 0;
}

.footer__link-columns a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer__link-columns a:hover,
.footer__link-columns a:focus {
    color: #181818;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    padding: 2px 6px;
}

.footer__about__logo img {
    display: inline-block;
    max-height: 105px;
    margin-top: -4px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1 1 220px;
    border-radius: 30px;
    border: none;
    padding: 0.75rem 1rem;
}

.newsletter-feedback {
    min-height: 1.25rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.newsletter-feedback[data-state="success"] {
    color: #cde8b7;
}

.newsletter-feedback[data-state="error"] {
    color: #ffb8b8;
}

.product-coming-soon {
    border: 1px dashed rgba(0, 0, 0, 0.2);
    background: rgba(244, 160, 25, 0.08);
    color: #8b1e1e;
}

header, footer {
  background-color: #F4A019;
}

.blog__item__pic--portrait {
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    overflow: hidden;
    display: block;
    background: #fff;
}

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


/* ===== Fancy “All departments” dropdown =====
   Works with Ogani’s .hero__categories structure.
   Non-destructive: only enhances visuals.
================================================ */

.hero__categories ul {
  /* panel styling */
  background: #fffdf8;                      /* warm off-white */
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 6px;
  overflow: hidden;                          /* clip rounded corners */
}

/* item separators */
.hero__categories ul li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* links: spacing + subtle micro-interaction */
.hero__categories ul li a {
  display: block;
  padding: 12px 14px 12px 28px;  /* extra left padding for bullet space */
  position: relative;
  border-radius: 8px;
  transition: background-color 140ms ease, transform 100ms ease;
  text-decoration: none;
}

/* brand bullet before each label (no HTML changes needed) */
.hero__categories ul li a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F4A019; /* trolley yellow */
  position: absolute;
  left: 12px;          /* sits in the padding space */
  top: 50%;
  transform: translateY(-50%);
}

/* hover/focus states */
.hero__categories ul li a:hover,
.hero__categories ul li a:focus {
  background-color: rgba(244, 160, 25, 0.12);/* trolley yellow @ 12% */
  transform: translateX(2px);
  outline: none;
}

/* active/selected look (if you apply .active on the li or a) */
.hero__categories ul li.active > a,
.hero__categories ul li a.active {
  background: rgba(139, 30, 30, 0.08);       /* circle red @ 8% */
  box-shadow: inset 0 0 0 1px rgba(139, 30, 30, 0.25);
}

/* keep dropdown above content */
.hero__categories ul {
  z-index: 1002;
}

/* optional: compact on very small screens */
@media (max-width: 575.98px) {
  .hero__categories ul li a {
    padding: 10px 12px;
  }
}

.hero__contact-link {
  color: #222;
  text-decoration: none;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.35);
  transition: color 160ms ease, border-color 160ms ease;
}

.hero__contact-link:hover,
.hero__contact-link:focus {
  color: #F4A019;
  border-color: #F4A019;
  outline: none;
}

/* ==========================================================================
   Category list polish: bullets/spacing + better diacritics rendering
   Targets common sidebar category blocks without requiring template changes.
   ========================================================================== */
/* Container tweaks */
.sidebar__item .side-categories,
.sidebar__categories,
.shop__sidebar__categories,
.side-categories {
  text-rendering: optimizeLegibility;   /* improve kerning/ligatures */
  -webkit-font-smoothing: antialiased;  /* crisper on WebKit */
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  hyphens: auto;                        /* allow soft breaks for long words with diacritics */
  overflow-wrap: anywhere;              /* avoid overflow on long category names */
}

/* List & bullets alignment */
.sidebar__categories ul,
.shop__sidebar__categories ul,
.side-categories ul,
.sidebar__item .side-categories ul {
  list-style-type: disc;
  list-style-position: outside;         /* bullets outside; indent text for clean alignment */
  margin: 0;                            /* reset odd theme margins */
  padding-left: 1.1rem;                 /* space to show bullets nicely */
}

/* Spacing between items */
.sidebar__categories li,
.shop__sidebar__categories li,
.side-categories li,
.sidebar__item .side-categories li {
  margin: 0.25rem 0;                    /* compact vertical rhythm */
  line-height: 1.3;
}

/* Links */
.sidebar__categories a,
.shop__sidebar__categories a,
.side-categories a,
.sidebar__item .side-categories a {
  display: inline-block;
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 4px;
}

/* Hover/active feedback (subtle) */
.sidebar__categories a:hover,
.shop__sidebar__categories a:hover,
.side-categories a:hover,
.sidebar__item .side-categories a:hover {
  background: rgba(244, 160, 25, 0.12); /* trolley yellow @12% */
  text-decoration: none;
}

.sidebar__categories a.active,
.shop__sidebar__categories a.active,
.side-categories a.active,
.sidebar__item .side-categories a.active {
  background: rgba(139, 30, 30, 0.08);  /* circle red @8% */
  box-shadow: inset 0 0 0 1px rgba(139, 30, 30, 0.25);
}

/* =========================================================
   MOBILE POLISH
   - Prevent bullet overlap in the All departments dropdown
   - Reposition “GET 10% OFF!” bubble to the right
   ========================================================= */
@media (max-width: 576px) {
  /* Bullets & label spacing for the hero categories list */
  .hero__categories ul li a {
    /* more space on the left specifically for the marker */
    padding-left: 40px !important;
    min-height: 44px;            /* nicer tap target */
    line-height: 1.35;
    display: flex;
    align-items: center;
    word-break: break-word;
  }
  .hero__categories ul li a::before {
    left: 16px !important;       /* nudge bullet right a bit */
    width: 8px;
    height: 8px;
  }

  /* Move the “GET 10% OFF!” bubble to bottom-right on mobile.
     Add your widget’s exact class here if different. */
  .promo-badge,
  .get10off,
  .get-10-off,
  .discount-bubble,
  .coupon-bubble,
  .floating-discount,
  .get10off-bubble {
    position: fixed !important;
    right: 12px !important;
    left: auto !important;
    bottom: 18px !important;
    z-index: 1050 !important;
  }
}
