/**
 * Custom Features CSS
 * 
 * Styles for: Gallery, Wishlist, Quick View, Filters
 * 
 * @package Glogglz
 */

/* ==========================================================================
   PRODUCT GALLERY
   ========================================================================== */
.gl-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gl-gallery__main {
    position: relative;
    background: var(--gl-white);
    border-radius: var(--gl-radius-2xl);
    overflow: hidden;
}

.gl-gallery__viewport {
    position: relative;
    aspect-ratio: 1;
}

.gl-gallery__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-in;
    overflow: hidden;
}

.gl-gallery__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.gl-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease;
}

.gl-gallery__zoom-lens {
    display: none;
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid var(--gl-brand);
    border-radius: 50%;
    pointer-events: none;
    background: rgba(240, 228, 9, 0.1);
}

/* Navigation */
.gl-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gl-gray-100);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-full);
    color: var(--gl-white);
    cursor: pointer;
    opacity: 0;
    transition: all var(--gl-transition-base);
    z-index: 10;
}

.gl-gallery:hover .gl-gallery__nav {
    opacity: 1;
}

.gl-gallery__nav:hover {
    background: var(--gl-brand);
    color: var(--gl-gray-100);
    border-color: var(--gl-brand);
}

.gl-gallery__nav--prev {
    left: 16px;
}

.gl-gallery__nav--next {
    right: 16px;
}

/* Zoom Button */
.gl-gallery__zoom-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gl-gray-100);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-lg);
    color: var(--gl-white);
    cursor: pointer;
    transition: all var(--gl-transition-base);
    z-index: 10;
}

.gl-gallery__zoom-btn:hover {
    background: var(--gl-brand);
    color: var(--gl-gray-100);
    border-color: var(--gl-brand);
}

/* Badge */
.gl-gallery__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
}

/* Thumbnails */
.gl-gallery__thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gl-gallery__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    padding: 0;
    background: var(--gl-white);
    border: 2px solid var(--gl-border);
    border-radius: var(--gl-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--gl-transition-base);
}

.gl-gallery__thumb:hover,
.gl-gallery__thumb.is-active {
    border-color: var(--gl-brand);
}

.gl-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   LIGHTBOX (Consolidated - single source of truth)
   ========================================================================== */
/* 
 * This is the canonical lightbox styling.
 * Previously duplicated in main.css and product-page.css - now consolidated here.
 */
.gl-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gl-lightbox[aria-hidden="false"],
.gl-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.gl-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
}

.gl-lightbox__container {
    position: relative;
    width: 90vw;
    height: 90vh;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gl-lightbox__content {
    position: relative;
    width: 100%;
    height: 100%;
}

.gl-lightbox__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.gl-lightbox__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.gl-lightbox__slide img,
.gl-lightbox__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gl-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.gl-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gl-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gl-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gl-lightbox__nav--prev {
    left: 20px;
}

.gl-lightbox__nav--next {
    right: 20px;
}

.gl-lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* ==========================================================================
   WISHLIST
   ========================================================================== */
.gl-wishlist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--gl-gray-100);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-full);
    color: var(--gl-gray-400);
    cursor: pointer;
    transition: all var(--gl-transition-base);
}

.gl-wishlist-btn:hover {
    border-color: var(--gl-brand);
    color: var(--gl-brand);
}

.gl-wishlist-btn.is-active {
    background: var(--gl-brand);
    border-color: var(--gl-brand);
    color: var(--gl-gray-100);
}

.gl-wishlist-btn.is-loading {
    pointer-events: none;
    opacity: 0.5;
}

.gl-wishlist-btn__icon--filled {
    display: none;
}

.gl-wishlist-btn.is-active .gl-wishlist-btn__icon--empty {
    display: none;
}

.gl-wishlist-btn.is-active .gl-wishlist-btn__icon--filled {
    display: block;
}

/* Wishlist button in product card */
.gl-wishlist-btn--loop {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    opacity: 0;
    transform: translateY(-8px);
}

.gl-product-card:hover .gl-wishlist-btn--loop,
.gl-wishlist-btn--loop.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* Wishlist button on single product */
.gl-wishlist-btn--single {
    width: auto;
    padding: 0 20px;
    gap: 8px;
    border-radius: var(--gl-radius-lg);
}

/* Wishlist Page */
.gl-wishlist-empty {
    text-align: center;
    padding: 64px 24px;
}

.gl-wishlist-empty__icon {
    color: var(--gl-gray-600);
    margin-bottom: 24px;
}

.gl-wishlist-empty h3 {
    margin-bottom: 8px;
}

.gl-wishlist-empty p {
    color: var(--gl-gray-400);
    margin-bottom: 24px;
}

.gl-wishlist__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gl-wishlist__item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px;
    background: var(--gl-white);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-xl);
    transition: all 0.3s ease;
}

.gl-wishlist__image {
    border-radius: var(--gl-radius-lg);
    overflow: hidden;
}

.gl-wishlist__image img {
    width: 100%;
    height: auto;
}

.gl-wishlist__details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.gl-wishlist__name {
    font-size: 1rem;
    margin: 0;
}

.gl-wishlist__name a {
    color: var(--gl-white);
    text-decoration: none;
}

.gl-wishlist__name a:hover {
    color: var(--gl-brand);
}

.gl-wishlist__price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gl-brand);
}

.gl-wishlist__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gl-wishlist__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-lg);
    color: var(--gl-gray-400);
    cursor: pointer;
    transition: all var(--gl-transition-base);
}

.gl-wishlist__remove:hover {
    border-color: var(--gl-sunset);
    color: var(--gl-sunset);
}

/* Stock badges */
.gl-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.gl-stock--in {
    color: var(--gl-success);
}

.gl-stock--out {
    color: var(--gl-error);
}

/* ==========================================================================
   QUICK VIEW
   ========================================================================== */
.gl-quick-view-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--gl-gray-100);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-full);
    color: var(--gl-gray-400);
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--gl-transition-base);
    z-index: 5;
}

.gl-product-card:hover .gl-quick-view-btn {
    opacity: 1;
    transform: translateY(0);
}

.gl-quick-view-btn:hover {
    background: var(--gl-brand);
    border-color: var(--gl-brand);
    color: var(--gl-gray-100);
}

/* Quick View Modal */
.gl-quick-view {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gl-quick-view[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.gl-quick-view__overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 182, 212, 0.4);
    backdrop-filter: blur(8px);
}

.gl-quick-view__container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--gl-gray-100);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-2xl);
    overflow: hidden;
}

.gl-quick-view__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gl-white);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-full);
    color: var(--gl-gray-400);
    cursor: pointer;
    transition: all var(--gl-transition-base);
    z-index: 10;
}

.gl-quick-view__close:hover {
    border-color: var(--gl-brand);
    color: var(--gl-brand);
}

.gl-quick-view__content {
    max-height: 90vh;
    overflow-y: auto;
}

.gl-quick-view__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.gl-quick-view__product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

@media (max-width: 768px) {
    .gl-quick-view__product {
        grid-template-columns: 1fr;
    }
}

.gl-quick-view__gallery {
    padding: 32px;
    background: var(--gl-white);
}

.gl-quick-view__main-image {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--gl-radius-xl);
    overflow: hidden;
    margin-bottom: 16px;
}

.gl-quick-view__main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gl-quick-view__thumbs {
    display: flex;
    gap: 8px;
}

.gl-quick-view__thumb {
    width: 60px;
    height: 60px;
    padding: 0;
    background: var(--gl-gray-100);
    border: 2px solid var(--gl-border);
    border-radius: var(--gl-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--gl-transition-base);
}

.gl-quick-view__thumb:hover,
.gl-quick-view__thumb.is-active {
    border-color: var(--gl-brand);
}

.gl-quick-view__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gl-quick-view__details {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gl-quick-view__categories {
    font-size: 0.8125rem;
    color: var(--gl-gray-500);
}

.gl-quick-view__categories a {
    color: var(--gl-gray-400);
}

.gl-quick-view__title {
    font-size: 1.5rem;
    margin: 0;
}

.gl-quick-view__price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gl-brand);
}

.gl-quick-view__price del {
    color: var(--gl-gray-500);
    font-weight: 400;
    font-size: 1rem;
}

.gl-quick-view__rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gl-quick-view__rating .star-rating {
    color: var(--gl-brand);
}

.gl-quick-view__rating-count {
    color: var(--gl-gray-500);
    font-size: 0.875rem;
}

.gl-quick-view__description {
    color: var(--gl-gray-300);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.gl-quick-view__form {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.gl-quick-view__add-btn {
    flex: 1;
}

.gl-quick-view__add-btn.is-success {
    background: var(--gl-success);
}

.gl-quick-view__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gl-gray-400);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--gl-transition-base);
}

.gl-quick-view__link:hover {
    color: var(--gl-brand);
}

.gl-quick-view__meta {
    padding-top: 16px;
    border-top: 1px solid var(--gl-border);
    font-size: 0.8125rem;
    color: var(--gl-gray-500);
}

/* Quantity Input */
.gl-quantity {
    display: flex;
    align-items: center;
    background: var(--gl-white);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-lg);
    overflow: hidden;
}

.gl-quantity__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--gl-gray-400);
    cursor: pointer;
    transition: all var(--gl-transition-base);
}

.gl-quantity__btn:hover {
    background: var(--gl-gray-50);
    color: var(--gl-brand);
}

.gl-quantity__input {
    width: 50px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--gl-white);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
}

.gl-quantity__input::-webkit-outer-spin-button,
.gl-quantity__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ==========================================================================
   FILTERS
   ========================================================================== */
.gl-filters {
    margin-bottom: 24px;
}

.gl-filters__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gl-white);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-lg);
    color: var(--gl-white);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--gl-transition-base);
}

.gl-filters__toggle:hover {
    border-color: var(--gl-brand);
}

.gl-filters__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--gl-brand);
    color: var(--gl-gray-100);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--gl-radius-full);
}

.gl-filters__sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 1024px) {
    .gl-filters__sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 320px;
        max-width: 100%;
        background: var(--gl-gray-100);
        border-right: 1px solid var(--gl-border);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 99999;
        overflow-y: auto;
        padding: 0 24px 24px;
    }
    
    .gl-filters__sidebar.is-open {
        transform: translateX(0);
    }
}

.gl-filters__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--gl-border);
    margin-bottom: 16px;
}

.gl-filters__header h3 {
    margin: 0;
    font-size: 1.125rem;
}

.gl-filters__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-lg);
    color: var(--gl-gray-400);
    cursor: pointer;
}

/* Filter Groups */
.gl-filter-group {
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-xl);
    overflow: hidden;
}

.gl-filter-group--simple {
    border: none;
    padding: 12px 0;
}

.gl-filter-group__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: var(--gl-white);
    border: none;
    color: var(--gl-white);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--gl-transition-base);
}

.gl-filter-group__header:hover {
    background: var(--gl-gray-50);
}

.gl-filter-group__header svg {
    transition: transform var(--gl-transition-base);
}

.gl-filter-group.is-collapsed .gl-filter-group__header svg {
    transform: rotate(-90deg);
}

.gl-filter-group__content {
    padding: 16px 20px;
    border-top: 1px solid var(--gl-border);
}

.gl-filter-group.is-collapsed .gl-filter-group__content {
    display: none;
}

/* Filter List */
.gl-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

/* Checkbox */
.gl-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.gl-filter-checkbox input {
    display: none;
}

.gl-filter-checkbox__box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--gl-gray-100);
    border: 2px solid var(--gl-border);
    border-radius: var(--gl-radius-sm);
    position: relative;
    transition: all var(--gl-transition-base);
}

.gl-filter-checkbox input:checked + .gl-filter-checkbox__box {
    background: var(--gl-brand);
    border-color: var(--gl-brand);
}

.gl-filter-checkbox input:checked + .gl-filter-checkbox__box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid var(--gl-gray-100);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.gl-filter-checkbox__label {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--gl-gray-300);
    transition: color var(--gl-transition-base);
}

.gl-filter-checkbox:hover .gl-filter-checkbox__label {
    color: var(--gl-white);
}

.gl-filter-checkbox__count {
    color: var(--gl-gray-500);
    font-size: 0.8125rem;
}

/* Color Swatches */
.gl-filter-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gl-filter-color {
    cursor: pointer;
}

.gl-filter-color input {
    display: none;
}

.gl-filter-color__swatch {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: var(--gl-radius-full);
    border: 2px solid var(--gl-border);
    transition: all var(--gl-transition-base);
}

.gl-filter-color:hover .gl-filter-color__swatch,
.gl-filter-color input:checked + .gl-filter-color__swatch {
    border-color: var(--gl-brand);
    transform: scale(1.1);
}

/* Price Slider */
.gl-price-slider {
    position: relative;
    padding: 8px 0;
}

.gl-price-slider__track {
    position: relative;
    height: 6px;
    background: var(--gl-border);
    border-radius: 3px;
    margin: 12px 0;
}

.gl-price-slider__range {
    position: absolute;
    height: 100%;
    background: var(--gl-brand);
    border-radius: 3px;
}

.gl-price-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 12px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
}

.gl-price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--gl-brand);
    border: 3px solid var(--gl-gray-100);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(6, 182, 212, 0.3);
}

.gl-price-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--gl-brand);
    border: 3px solid var(--gl-gray-100);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(6, 182, 212, 0.3);
}

.gl-price-slider__values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gl-gray-300);
    font-weight: 600;
}

/* Active Filters */
.gl-filters__active {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.gl-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--gl-white);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-full);
    font-size: 0.8125rem;
    color: var(--gl-gray-300);
}

.gl-filter-tag button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--gl-gray-500);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.gl-filter-tag button:hover {
    color: var(--gl-brand);
}

.gl-filter-tag--clear {
    background: transparent;
    border-color: var(--gl-brand);
    color: var(--gl-brand);
    cursor: pointer;
}

/* Filter Actions (Mobile) */
.gl-filters__actions {
    display: flex;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--gl-border);
    margin-top: 16px;
}

.gl-filters__actions .gl-btn {
    flex: 1;
}

/* No Products */
.gl-no-products {
    text-align: center;
    padding: 64px 24px;
    grid-column: 1 / -1;
}

.gl-no-products p {
    color: var(--gl-gray-400);
    margin-bottom: 24px;
}

/* Products Loading State */
.products.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ==========================================================================
   NOTIFICATION TOAST
   ========================================================================== */
.gl-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--gl-white);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-xl);
    box-shadow: var(--gl-shadow-xl);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99999;
}

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

.gl-notification--success {
    border-color: var(--gl-success);
}

.gl-notification--error {
    border-color: var(--gl-error);
}

.gl-notification__message {
    color: var(--gl-white);
    font-weight: 500;
}

.gl-notification__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--gl-gray-500);
    cursor: pointer;
}

.gl-notification__close:hover {
    color: var(--gl-white);
}

/* ==========================================================================
   SPINNER
   ========================================================================== */
.gl-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gl-border);
    border-top-color: var(--gl-brand);
    border-radius: 50%;
    animation: gl-spin 0.8s linear infinite;
}

.gl-spinner--sm {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.gl-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.gl-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: var(--gl-white);
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius-lg);
    color: var(--gl-gray-300);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--gl-transition-base);
}

.gl-pagination .page-numbers:hover,
.gl-pagination .page-numbers.current {
    background: var(--gl-brand);
    border-color: var(--gl-brand);
    color: var(--gl-gray-100);
}

.gl-pagination .page-numbers.dots {
    background: transparent;
    border: none;
    pointer-events: none;
}

