@charset "UTF-8";
/* Category Handcraft - Gallery Page Styles */
/* ═══════════════════════════════════════════
   Shared Category Page – Gallery Styles
   ═══════════════════════════════════════════ */
.category-hero {
  position: relative;
  height: 100vh;
  min-height: 37.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 0;
}
.category-hero .category-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.category-hero .category-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-hero .category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.2) 100%);
}
.category-hero .category-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 2.5rem;
}
.category-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(0.25rem);
}
.category-hero .back-link:hover, .category-hero .back-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-0.1875rem);
}
.category-hero .back-link:focus-visible {
  outline: 0.125rem solid #fff;
  outline-offset: 0.125rem;
}
.category-hero .category-hero-text {
  color: #fff;
}
.category-hero .category-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--cat-accent, var(--color-pink));
  color: #1a1625;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.2);
}
.category-hero h1 {
  font-family: "Fredoka", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.3);
}
.category-hero p {
  font-family: "Quicksand", sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 32.5rem;
}

.category-about {
  padding: 3rem 0 1rem;
}
.category-about .category-about-title {
  font-family: "Fredoka", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.category-about .category-about-title i {
  color: var(--cat-accent, var(--color-pink));
  font-size: 1.3rem;
}
.category-about .category-about-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg, 1rem);
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.06);
  border: 0.0625rem solid var(--bg-accent, rgba(0, 0, 0, 0.06));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-about .category-about-card:hover {
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.1);
}
[data-theme=dark] .category-about .category-about-card {
  box-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.25);
}
[data-theme=dark] .category-about .category-about-card:hover {
  box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.35);
}
.category-about .category-about-card h3 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.category-about .category-about-card p {
  font-family: "Quicksand", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
.category-about .category-about-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--cat-accent, var(--color-pink));
  color: #1a1625;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 0.1875rem 0.625rem rgba(0, 0, 0, 0.12);
}

@media (max-width: 767.98px) {
  .category-about {
    padding: 2rem 0 0.5rem;
  }
  .category-about .category-about-title {
    font-size: 1.35rem;
  }
  .category-about .category-about-card {
    padding: 1.25rem;
  }
}
.gallery-section {
  padding: 3rem 1rem 5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-lg, 1rem);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-secondary);
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
[data-theme=dark] .gallery-item {
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.3);
}
.gallery-item .gallery-item-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item .gallery-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item .gallery-item-img .gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item .gallery-item-img .gallery-item-overlay i {
  color: #fff;
  font-size: 1.6rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.gallery-item .gallery-caption {
  display: block;
  padding: 0.65rem 0.85rem;
  color: var(--text-secondary);
  font-family: "Quicksand", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}
.gallery-item .gallery-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0 0.85rem 0.75rem;
}
.gallery-item .gallery-actions button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.3rem 0.25rem;
  border: 0.125rem solid transparent;
  border-radius: 3.125rem;
  font-family: "Quicksand", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
.gallery-item .gallery-actions button i {
  font-size: 0.85rem;
}
.gallery-item .gallery-actions button:focus-visible {
  outline: 0.1875rem solid var(--color-pink);
  outline-offset: 0.125rem;
}
[data-theme=dark] .gallery-item .gallery-actions button:focus-visible {
  outline-color: var(--color-lavender);
}
.gallery-item .gallery-actions .btn-fav {
  color: var(--color-pink-second);
  border-color: var(--color-coral);
  background: rgba(255, 154, 154, 0.1);
}
.gallery-item .gallery-actions .btn-fav:hover {
  background: var(--color-coral);
  color: #fff;
  box-shadow: 0 0.1875rem 0.625rem rgba(255, 111, 97, 0.3);
}
.gallery-item .gallery-actions .btn-fav.active {
  background: var(--color-coral);
  color: #fff;
}
.gallery-item .gallery-actions .btn-fav.active i {
  font-weight: 900;
}
[data-theme=dark] .gallery-item .gallery-actions .btn-fav {
  background: rgba(239, 154, 154, 0.12);
}
[data-theme=dark] .gallery-item .gallery-actions .btn-fav:hover {
  background: var(--color-coral);
  color: #1a1625;
  box-shadow: 0 0.1875rem 0.625rem rgba(239, 154, 154, 0.35);
}
[data-theme=dark] .gallery-item .gallery-actions .btn-fav.active {
  background: var(--color-coral);
  color: #1a1625;
}
.gallery-item .gallery-actions .btn-add-cart {
  color: var(--color-pink-second);
  border-color: var(--cat-accent, var(--color-pink));
  background: var(--cat-accent, var(--color-pink));
}
.gallery-item .gallery-actions .btn-add-cart:hover {
  filter: brightness(1.1);
  box-shadow: 0 0.1875rem 0.625rem rgba(0, 0, 0, 0.2);
  transform: translateY(-0.0625rem);
}
[data-theme=dark] .gallery-item .gallery-actions .btn-add-cart {
  color: #1a1625;
}
[data-theme=dark] .gallery-item .gallery-actions .btn-add-cart:hover {
  box-shadow: 0 0.1875rem 0.625rem rgba(0, 0, 0, 0.4);
}
.gallery-item .gallery-actions .btn-expo {
  color: var(--text-expo);
  border: 0.125rem dotted var(--text-expo);
  background: transparent;
  cursor: pointer;
}
.gallery-item .gallery-actions .btn-expo i {
  font-size: 0.85rem;
}
.gallery-item .gallery-actions .btn-expo:hover {
  opacity: 1;
  background: var(--text-expo-bg);
  color: var(--text-expo);
  border-style: solid;
  transform: translateY(-0.0625rem);
}
[data-theme=dark] .gallery-item .gallery-actions .btn-expo {
  color: var(--text-expo);
  border-color: var(--text-expo);
}
[data-theme=dark] .gallery-item .gallery-actions .btn-expo:hover {
  background: var(--text-expo);
  color: var(--text-expo-bg);
}
.gallery-item:hover, .gallery-item:focus-visible {
  transform: translateY(-0.375rem);
  box-shadow: 0 0.75rem 2.1875rem rgba(0, 0, 0, 0.15);
}
[data-theme=dark] .gallery-item:hover, [data-theme=dark] .gallery-item:focus-visible {
  box-shadow: 0 0.75rem 2.1875rem rgba(0, 0, 0, 0.4);
}
.gallery-item:hover .gallery-item-img img, .gallery-item:focus-visible .gallery-item-img img {
  transform: scale(1.08);
}
.gallery-item:hover .gallery-item-img .gallery-item-overlay, .gallery-item:focus-visible .gallery-item-img .gallery-item-overlay {
  opacity: 1;
}
.gallery-item:hover .gallery-item-img .gallery-item-overlay i, .gallery-item:focus-visible .gallery-item-img .gallery-item-overlay i {
  transform: scale(1);
}
.gallery-item:focus-visible {
  outline: 0.1875rem solid var(--cat-accent, var(--color-pink));
  outline-offset: 0.1875rem;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: stretch;
  padding: 0;
}
.gallery-lightbox[hidden] {
  display: none;
}
.gallery-lightbox .lightbox-content {
  flex: 0 0 80%;
  max-width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.gallery-lightbox .lightbox-content img {
  max-width: 100%;
  max-height: calc(100vh - 3rem);
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 2.5rem rgba(0, 0, 0, 0.5);
  object-fit: contain;
}
.gallery-lightbox .lightbox-close,
.gallery-lightbox .lightbox-prev,
.gallery-lightbox .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(0.5rem);
  z-index: 2;
}
.gallery-lightbox .lightbox-close:hover,
.gallery-lightbox .lightbox-prev:hover,
.gallery-lightbox .lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}
.gallery-lightbox .lightbox-close:focus-visible,
.gallery-lightbox .lightbox-prev:focus-visible,
.gallery-lightbox .lightbox-next:focus-visible {
  outline: 0.125rem solid #fff;
  outline-offset: 0.125rem;
}
.gallery-lightbox .lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}
.gallery-lightbox .lightbox-prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}
.gallery-lightbox .lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}
.gallery-lightbox .lightbox-next {
  right: calc(20% + 1rem);
  top: 50%;
  transform: translateY(-50%);
}
.gallery-lightbox .lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}
.gallery-lightbox .lightbox-info {
  flex: 0 0 20%;
  max-width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: 2rem 1.25rem;
  background: rgba(12, 12, 20, 0.7);
  backdrop-filter: blur(1.5rem);
  border-left: 0.0625rem solid rgba(255, 255, 255, 0.08);
}
.gallery-lightbox .lightbox-caption {
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}
.gallery-lightbox .lightbox-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.gallery-lightbox .lightbox-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem 1rem;
  border: 0.0938rem solid rgba(255, 255, 255, 0.3);
  border-radius: 3.125rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(0.5rem);
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.gallery-lightbox .lightbox-actions button i {
  font-size: 0.9rem;
}
.gallery-lightbox .lightbox-actions button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}
.gallery-lightbox .lightbox-actions button:focus-visible {
  outline: 0.125rem solid #fff;
  outline-offset: 0.125rem;
}
.gallery-lightbox .lightbox-actions .btn-fav-lb.active {
  border-color: var(--color-coral);
  color: var(--color-coral);
  background: rgba(255, 111, 97, 0.25);
}
.gallery-lightbox .lightbox-actions .btn-expo-lb {
  border-color: var(--text-expo, #d4af76);
  color: var(--text-expo, #d4af76);
  background: rgba(212, 175, 118, 0.15);
}
.gallery-lightbox .lightbox-actions .btn-expo-lb:hover {
  background: rgba(212, 175, 118, 0.3);
  border-color: var(--text-expo, #d4af76);
}

@media (max-width: 767.98px) {
  .category-hero {
    height: 70vh;
    min-height: 25rem;
  }
  .category-hero h1 {
    font-size: 1.8rem;
  }
  .category-hero p {
    font-size: 0.95rem;
  }
  .category-hero .category-hero-badge {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.1rem;
  }
  .category-hero .back-link {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.3rem 0.6rem;
  }
  .category-hero .category-hero-content {
    padding-bottom: 1.5rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .gallery-lightbox {
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
  }
  .gallery-lightbox .lightbox-content {
    flex: 0 0 auto;
    max-width: 100%;
    padding: 0;
  }
  .gallery-lightbox .lightbox-content img {
    max-height: 70vh;
    border-radius: 0.75rem;
  }
  .gallery-lightbox .lightbox-prev {
    left: 0.5rem;
  }
  .gallery-lightbox .lightbox-next {
    right: 0.5rem;
    top: 50%;
  }
  .gallery-lightbox .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
  }
  .gallery-lightbox .lightbox-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    flex: 0 0 auto;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    backdrop-filter: none;
    border-left: none;
    gap: 0.75rem;
  }
  .gallery-lightbox .lightbox-actions {
    flex-direction: row;
    width: 100%;
  }
  .gallery-lightbox .lightbox-actions button {
    flex: 1;
    justify-content: center;
    padding: 0.45rem 0.6rem;
    font-size: 0.75rem;
  }
}
.font-zoom-125 .category-hero .category-hero-content {
  padding-top: 5rem;
}
.font-zoom-125 .category-hero .back-link {
  margin-bottom: 1rem;
}
.font-zoom-125 .gallery-item .gallery-actions {
  display: inline-block;
}
.font-zoom-125 .gallery-item .gallery-actions .btn-fav {
  margin-bottom: 15px;
}

.font-zoom-150 .category-hero .category-hero-content {
  padding-top: 6rem;
}
.font-zoom-150 .category-hero .back-link {
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.6rem;
}
.font-zoom-150 .category-hero .category-hero-badge {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.font-zoom-150 .category-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}
.font-zoom-150 .category-hero p {
  font-size: 0.95rem;
}
.font-zoom-150 .gallery-item .gallery-actions {
  display: inline-block;
}
.font-zoom-150 .gallery-item .gallery-actions .btn-fav {
  margin-bottom: 15px;
}

.font-zoom-175 .category-hero .category-hero-content {
  padding-top: 7.5rem;
}
.font-zoom-175 .category-hero .back-link {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.5rem;
}
.font-zoom-175 .category-hero .category-hero-badge {
  width: 38px;
  height: 38px;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.font-zoom-175 .category-hero h1 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}
.font-zoom-175 .category-hero p {
  font-size: 0.85rem;
}
.font-zoom-175 .gallery-item .gallery-actions {
  display: inline-block;
}
.font-zoom-175 .gallery-item .gallery-actions .btn-fav {
  margin-bottom: 15px;
}

.font-zoom-200 .category-hero .category-hero-content {
  padding-top: 9rem;
}
.font-zoom-200 .category-hero .back-link {
  font-size: 0.7rem;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.45rem;
}
.font-zoom-200 .category-hero .category-hero-badge {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}
.font-zoom-200 .category-hero h1 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}
.font-zoom-200 .category-hero p {
  font-size: 0.75rem;
}
.font-zoom-200 .gallery-item .gallery-actions {
  display: inline-block;
}
.font-zoom-200 .gallery-item .gallery-actions .btn-fav {
  margin-bottom: 15px;
}

/* ── Toast Notifications ── */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
  pointer-events: none;
}

.toast-notification {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem 0.7rem 1rem;
  border-radius: 0.6rem;
  background: #1e293b;
  color: #f1f5f9;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  max-width: 22rem;
}
.toast-notification > i:first-child {
  font-size: 1rem;
  flex-shrink: 0;
  color: #94a3b8;
}
.toast-notification .toast-text {
  flex: 1;
}

.toast-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  margin-left: 0.25rem;
  border: none;
  border-radius: 0.3rem;
  background: transparent;
  color: #94a3b8;
  font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.toast-close:hover, .toast-close:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}
.toast-close:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 1px;
}

.toast-notification.toast-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-notification.toast-hiding {
  opacity: 0;
  transform: translateY(-0.5rem);
}

/* Dark-mode override */
@media (prefers-color-scheme: dark) {
  .toast-notification {
    background: #334155;
    color: #f8fafc;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  .toast-notification > i:first-child {
    color: #cbd5e1;
  }
  .toast-close {
    color: #cbd5e1;
  }
  .toast-close:hover, .toast-close:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
  }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .toast-notification,
  .toast-notification.toast-visible,
  .toast-notification.toast-hiding {
    transition: none;
  }
}
/* Mobile: toast at top center */
@media (max-width: 767px) {
  .toast-container {
    bottom: auto;
    top: 1rem;
    right: 50%;
    transform: translateX(50%);
    flex-direction: column;
    align-items: center;
  }
  .toast-notification {
    transform: translateY(-1rem);
  }
  .toast-notification.toast-visible {
    transform: translateY(0);
  }
  .toast-notification.toast-hiding {
    transform: translateY(-0.5rem);
  }
}

/*# sourceMappingURL=category-handcraft-styles.css.map */
