/* ===================================================================
   Announcement Ticker
   =================================================================== */
.sp-top-ticker {
	background: #6d388b;
	color: #fff;
	padding: 0.55rem 0;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.sp-top-ticker__track {
	display: flex;
	align-items: center;
	width: fit-content;
}

.horizontal-ticker__container {
	display: flex;
	align-items: center;
	width: fit-content;
	animation: sp-ticker-scroll 30s linear infinite;
}

.horizontal-ticker__container:hover {
	animation-play-state: paused;
}

.horizontal-ticker__item {
	margin: 0;
	color: #fff;
	line-height: 1;
	white-space: nowrap;
	font-size: 0.82rem;
	font-weight: 500;
	padding: 0 2rem;
	letter-spacing: 0.01em;
}

@keyframes sp-ticker-scroll {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Mobile: cart drawer */
@media (max-width: 480px) {
  .sp-cart-drawer__panel {
    width: 100%;
    max-width: 100vw;
    border-radius: 16px 16px 0 0;
    top: auto;
    bottom: 0;
    height: 88vh;
    transform: translateY(100%);
  }

  .sp-cart-drawer.open .sp-cart-drawer__panel {
    transform: translateY(0);
  }

  .sp-cart-drawer__item {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .sp-cart-drawer__item-img {
    width: 60px;
    height: 60px;
  }

  .sp-cart-drawer__header {
    padding: 0.9rem 1rem;
  }

  .sp-cart-drawer__footer {
    padding: 0.85rem 1rem 1.2rem;
  }

  .sp-cart-drawer__checkout-btn {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
}

/* Mobile: header drawer improvements */
@media (max-width: 480px) {
  .sp-header-drawer__panel {
    width: 300px;
    max-width: 88vw;
  }

  .sp-header-drawer__header {
    padding: 0.9rem 1rem;
  }

  .sp-header-drawer__body ul li a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .horizontal-ticker__item { font-size: 0.73rem; padding: 0 1rem; }
}

/* ===================================================================
   Sticky Header (Shopify Dawn style)
   =================================================================== */

/* ── Sticky wrapper ── */
.sp-sticky-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ── Inner header row ── */
.sp-sticky-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── Hamburger (mobile) ── */
.sp-sticky-header__hamburger {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #111;
  flex-shrink: 0;
}

.sp-sticky-header__hamburger svg {
  display: block;
}

.sp-hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.sp-hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ── Nav links (desktop) ── */
.sp-sticky-header__nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.sp-sticky-header__nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.sp-sticky-header__nav ul li a {
  display: block;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.sp-sticky-header__nav ul li a:hover {
  color: #6d388b;
}

/* ── Logo (center) ── */
.sp-sticky-header__logo {
  flex: 0 0 auto;
  margin: 0 auto;
  text-align: center;
}

.sp-sticky-header__logo a {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111;
  text-decoration: none;
  letter-spacing: 0.04em;
  font-style: normal;
}

.sp-sticky-header__logo a:hover {
  color: #6d388b;
}

/* ── Right icons ── */
.sp-sticky-header__icons {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: flex-end;
}

.sp-sticky-header__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  flex-shrink: 0;
}

.sp-sticky-header__icon-btn:hover {
  color: #6d388b;
}

.sp-sticky-header__icon-btn svg {
  display: block;
  pointer-events: none;
}

/* ── Cart badge ── */
.sp-sticky-header__cart-count {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: #6d388b;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 999px;
  line-height: 17px;
  text-align: center;
  pointer-events: none;
  display: none;
}

.sp-sticky-header__cart-count.show {
  display: block;
}

/* ── Mobile drawer ── */
.sp-header-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.sp-header-drawer.open {
  display: block;
}

.sp-header-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s;
}

.sp-header-drawer.open .sp-header-drawer__overlay {
  opacity: 1;
}

.sp-header-drawer__panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #fff;
  z-index: 10002;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sp-header-drawer.open .sp-header-drawer__panel {
  transform: translateX(0);
}

.sp-header-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.sp-header-drawer__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.sp-header-drawer__close {
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.sp-header-drawer__close:hover {
  background: rgba(0,0,0,0.06);
  color: #111;
}

.sp-header-drawer__body {
  padding: 0.5rem 0;
  flex: 1;
}

.sp-header-drawer__body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-header-drawer__body ul li a {
  display: block;
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.15s;
}

.sp-header-drawer__body ul li a:hover {
  background: rgba(0,0,0,0.04);
  color: #6d388b;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .sp-sticky-header__nav {
    display: none;
  }

  .sp-sticky-header__hamburger {
    display: flex;
  }

  .sp-sticky-header__logo {
    margin: 0;
    flex: 1;
    text-align: left;
  }

  .sp-sticky-header__inner {
    padding: 0 1rem;
    gap: 0;
  }

  .sp-sticky-header__icon-btn {
    width: 32px;
    height: 32px;
  }
}

/* Mobile: header logo text */
@media (max-width: 480px) {
  .sp-sticky-header__logo a {
    font-size: 1.1rem;
  }

  .sp-sticky-header__inner {
    height: 50px;
  }
}

@media (min-width: 769px) {
  .sp-sticky-header__nav {
    flex: 1;
  }

  .sp-sticky-header__logo {
    order: 2;
  }

  .sp-sticky-header__icons {
    order: 3;
  }

  .sp-header-drawer {
    display: none !important;
  }
}

/* Mobile: search modal */
@media (max-width: 480px) {
  .sp-header-search-modal {
    padding-top: 5vh;
  }

  .sp-header-search-modal__content {
    padding: 1.2rem;
  }

  .sp-header-search-modal__form {
    padding: 0.5rem 0.8rem;
  }
}

/* ── Search modal ── */
.sp-header-search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10010;
  background: rgba(0,0,0,0.5);
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}

.sp-header-search-modal.open {
  display: flex;
}

.sp-header-search-modal__content {
  background: #fff;
  width: 90%;
  max-width: 560px;
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.sp-header-search-modal__form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  transition: border-color 0.2s;
}

.sp-header-search-modal__form:focus-within {
  border-color: #6d388b;
}

.sp-header-search-modal__form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  color: #111;
}

.sp-header-search-modal__form input::placeholder {
  color: #9ca3af;
}

.sp-header-search-modal__form button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #6d388b;
  display: flex;
  align-items: center;
}

.sp-header-search-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 0.3rem;
  display: flex;
  align-items: center;
}

.sp-header-search-modal__close:hover {
  color: #111;
}

/* ===================================================================
   Sidebar Cart Drawer
   =================================================================== */
.sp-cart-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10020;
}

.sp-cart-drawer.open {
  display: block;
}

.sp-cart-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10021;
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
}

.sp-cart-drawer.open .sp-cart-drawer__overlay {
  opacity: 1;
}

.sp-cart-drawer__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 95vw;
  background: #fff;
  z-index: 10022;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.sp-cart-drawer.open .sp-cart-drawer__panel {
  transform: translateX(0);
}

.sp-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.sp-cart-drawer__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.sp-cart-drawer__close {
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
  color: #555;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.sp-cart-drawer__close:hover {
  background: #f5f5f5;
  color: #111;
}

.sp-cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.sp-cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #666;
  height: 100%;
  min-height: 200px;
}

.sp-cart-drawer__empty-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  opacity: 0.35;
}

.sp-cart-drawer__empty p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.sp-cart-drawer__empty a {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  background: #6d388b;
  color: #fff;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.sp-cart-drawer__empty a:hover {
  background: #5a2d74;
}

.sp-cart-drawer__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-cart-drawer__item {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid #f0f0f0;
}

.sp-cart-drawer__item:last-child {
  border-bottom: none;
}

.sp-cart-drawer__item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #f5f5f5;
}

.sp-cart-drawer__item-info {
  flex: 1;
  min-width: 0;
}

.sp-cart-drawer__item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #111;
  margin: 0 0 0.3rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-cart-drawer__item-name a {
  color: inherit;
  text-decoration: none;
}

.sp-cart-drawer__item-name a:hover {
  color: #6d388b;
}

.sp-cart-drawer__item-meta {
  font-size: 0.78rem;
  color: #888;
  margin: 0 0 0.4rem;
}

.sp-cart-drawer__item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-cart-drawer__item-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.sp-cart-drawer__qty-btn {
  width: 26px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s;
}

.sp-cart-drawer__qty-btn:hover {
  background: #f0f0f0;
}

.sp-cart-drawer__qty-num {
  min-width: 22px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #111;
}

.sp-cart-drawer__item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: #6d388b;
}

.sp-cart-drawer__item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  margin-top: 0.2rem;
  transition: color 0.15s;
}

.sp-cart-drawer__item-remove:hover {
  color: #e60000;
}

.sp-cart-drawer__footer {
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid #eee;
  flex-shrink: 0;
  background: #fff;
}

.sp-cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.sp-cart-drawer__total-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
}

.sp-cart-drawer__total-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
}

.sp-cart-drawer__checkout-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  background: #6d388b;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  box-sizing: border-box;
}

.sp-cart-drawer__checkout-btn:hover {
  background: #5a2d74;
}

.sp-cart-drawer__note {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin-top: 0.65rem;
}

/* ===================================================================
   Footer (Shopify-style dark)
   =================================================================== */

/* Wave divider */
.sp-footer-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #fff;
}

.sp-footer-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

.sp-footer-wave .wave-fill-accent { fill: #6d388b; }
.sp-footer-wave .wave-fill-bg     { fill: #121212; }

/* Footer body */
.sp-site-footer {
  background: #121212;
  color: #fff;
  padding: 3rem 0 1.5rem;
}

.sp-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sp-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
  .sp-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .sp-site-footer {
    padding: 2.5rem 0 1.2rem;
  }

  .sp-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}

@media (max-width: 480px) {
  .sp-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sp-site-footer {
    padding: 2rem 0 1rem;
  }

  .sp-footer__inner {
    padding: 0 1rem;
  }

  .sp-footer__block-title {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .sp-footer__links li {
    margin-bottom: 0.45rem;
  }

  .sp-footer__links a {
    font-size: 0.85rem;
  }

  .sp-footer__newsletter-form input[type="email"],
  .sp-footer__newsletter-form button {
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
  }

  .sp-footer__newsletter-desc {
    font-size: 0.82rem;
  }

  .sp-footer__copyright {
    font-size: 0.72rem;
  }

  .sp-footer__payment-icons__placeholder {
    flex-wrap: wrap;
  }

  .sp-footer-wave svg {
    height: 35px;
  }
}

/* Footer block */
.sp-footer__block {}

.sp-footer__block-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* Block: contact */
.sp-footer__contact-email {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.sp-footer__contact-email:hover {
  color: #fff;
}

/* Block: menu links */
.sp-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-footer__links li {
  margin-bottom: 0.55rem;
}

.sp-footer__links li:last-child {
  margin-bottom: 0;
}

.sp-footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.sp-footer__links a:hover {
  color: #fff;
}

/* Block: newsletter */
.sp-footer__newsletter-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin: 0 0 1rem;
  line-height: 1.55;
}

.sp-footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sp-footer__newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 7px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}

.sp-footer__newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.35);
}

.sp-footer__newsletter-form input[type="email"]:focus {
  border-color: #6d388b;
  background: rgba(255,255,255,0.12);
}

.sp-footer__newsletter-form button {
  padding: 0.65rem 1rem;
  background: #6d388b;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.sp-footer__newsletter-form button:hover {
  background: #5a2d74;
}

.sp-footer__newsletter-msg {
  font-size: 0.82rem;
  margin: 0.35rem 0 0;
  min-height: 1.2em;
}

.sp-footer__newsletter-msg.success { color: #4caf50; }
.sp-footer__newsletter-msg.error   { color: #ff6b6b; }

/* Footer bottom */
.sp-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sp-footer__copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.sp-footer__copyright a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.sp-footer__copyright a:hover {
  color: #fff;
}

.sp-footer__payment-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-footer__payment-icons svg {
  height: 22px;
  width: auto;
  opacity: 0.5;
  filter: brightness(0) invert(1);
}

/* Payment icons fallback */
.sp-footer__payment-icons__placeholder {
  display: flex;
  gap: 0.4rem;
}

.sp-footer__payment-icon {
  height: 22px;
  width: auto;
  opacity: 0.45;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
