/* ================================================================
   JOLLY GRID - STICKER SHOP
   Clean, minimal page-specific styles
   Theme colors from theme-variables.css | Layout from base.css
   ================================================================ */

/* ========================================
   SHOP BASE
   ======================================== */
.shop-page {
    min-height: 100vh;
    overflow-x: hidden;
}

.shop-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
    width: 100%;
}

/* ========================================
   HERO SECTION (Shop Home)
   ======================================== */
.shop-hero {
    position: relative;
    padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
    overflow: hidden;
}

.shop-hero__grain {
    position: absolute;
    inset: 0;
    background:
        var(--gradient-mesh-1),
        var(--gradient-mesh-2),
        var(--gradient-mesh-3);
    pointer-events: none;
    z-index: 1;
}

.shop-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.shop-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    padding: 8px 20px;
    background: var(--gradient-primary);
    border-radius: 100px;
    box-shadow: var(--shadow-glow-purple);
    margin-bottom: 24px;
    opacity: 0;
    animation: shopFadeUp 0.8s var(--ease-out-expo) 0.1s forwards;
}

.shop-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    opacity: 0;
    animation: shopFadeUp 0.8s var(--ease-out-expo) 0.25s forwards;
}

.shop-hero__title em {
    font-style: normal;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shop-hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 36px;
    opacity: 0;
    animation: shopFadeUp 0.8s var(--ease-out-expo) 0.4s forwards;
}

.shop-hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: shopFadeUp 0.8s var(--ease-out-expo) 0.55s forwards;
}

@keyframes shopFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   FEATURED CATEGORIES (Shop Home)
   ======================================== */
.shop-categories {
    padding: var(--section-spacing) 0;
    position: relative;
}

.shop-categories::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-primary);
    clip-path: ellipse(60% 100% at 50% 0%);
}

.shop-categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.shop-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.shop-category-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-purple);
}

.shop-category-card__icon {
    width: 56px;
    height: 56px;
    background: var(--accent-purple-10);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-purple);
    transition: var(--transition);
}

.shop-category-card:hover .shop-category-card__icon {
    background: var(--gradient-primary);
    color: #fff;
}

.shop-category-card__name {
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
}

.shop-category-card__count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   SECTION HEADER (reusable)
   ======================================== */
.shop-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.shop-section-header__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-purple);
    margin-bottom: 12px;
}

.shop-section-header__label::before,
.shop-section-header__label::after {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.shop-section-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.shop-section-header__subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   PRODUCT GRID
   ======================================== */
.shop-product-section {
    padding: var(--section-spacing) 0;
}

.shop-product-section--alt {
    background: var(--bg-secondary);
}

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.shop-product-grid--featured {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.shop-section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   PRODUCT CARD
   ======================================== */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card__media {
    position: relative;
}

.product-card__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out-expo);
}

.product-card:hover .product-card__image {
    transform: scale(1.06);
}

.product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-subtle);
    background: var(--bg-tertiary);
}

/* Badges */
.product-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 100px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-badge--sale {
    background: var(--error-bg);
    color: var(--accent-red);
    border: 1px solid var(--error-border);
}

.product-badge--new {
    background: var(--success-bg);
    color: var(--accent-green);
    border: 1px solid var(--success-border);
}

.product-badge--free {
    background: var(--accent-cyan-10);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan-30);
}

.product-badge--bestseller {
    background: var(--warning-bg);
    color: var(--accent-orange);
    border: 1px solid var(--warning-border);
}

.product-badge--digital {
    background: var(--info-bg);
    color: var(--accent-blue);
    border: 1px solid var(--info-border);
}

.product-badge--featured {
    background: var(--accent-purple-10);
    color: var(--accent-purple);
    border: 1px solid var(--accent-purple-30);
}

/* Quick action buttons — inline in card footer */
.product-card__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}

.product-card__action-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    background: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.82rem;
    transition: var(--transition);
}

.product-card__action-btn--cart:hover:not(:disabled) {
    background: var(--gradient-primary);
    color: #fff;
    border-color: var(--accent-purple);
    transform: scale(1.08);
}

.product-card__action-btn--wish:hover {
    color: #e91e63;
    border-color: #e91e63;
    transform: scale(1.08);
}

.product-card__action-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.product-card__action-btn:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}

/* Card body */
.product-card__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.product-card__category {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-purple);
}

.product-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.product-card__stars {
    display: flex;
    gap: 1px;
    color: var(--accent-yellow);
    font-size: 0.7rem;
}

.product-card__rating-count {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.product-card__price-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1 1 0;
}

/* ========================================
   PRICE DISPLAY
   ======================================== */
.price-display {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.price-display__current {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-display__current--free {
    color: var(--accent-green);
}

.price-display__original {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-display__discount {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-red);
    background: var(--error-bg);
    padding: 2px 8px;
    border-radius: 100px;
}

/* Large variant for detail page */
.price-display--lg .price-display__current {
    font-size: 2rem;
}

.price-display--lg .price-display__original {
    font-size: 1.1rem;
}

.price-display--lg .price-display__discount {
    font-size: 0.8rem;
    padding: 4px 10px;
}

/* ========================================
   SHOP TOOLBAR (Product List Page)
   ======================================== */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    margin-bottom: 32px;
}

.shop-toolbar__count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.shop-toolbar__count strong {
    color: var(--text-primary);
    font-weight: 700;
}

.shop-toolbar__controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ========================================
   SHOP SIDEBAR (Filters)
   ======================================== */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    max-height: calc(100vh - var(--header-height) - 48px);
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.shop-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.shop-sidebar__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

.shop-sidebar__clear {
    font-size: 0.8rem;
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.shop-sidebar__clear:hover {
    color: var(--accent-pink);
}

.shop-filter-group {
    margin-bottom: 24px;
}

.shop-filter-group__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.shop-sidebar__toggle {
    display: none;
    width: 100%;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: left;
    margin-bottom: 16px;
    transition: var(--transition-fast);
}

.shop-sidebar__toggle i {
    margin-right: 8px;
}

.shop-sidebar__toggle:hover {
    border-color: var(--border-accent);
}

/* ========================================
   BREADCRUMB
   ======================================== */
.shop-breadcrumb {
    padding: clamp(5rem, 10vw, 7rem) 0 0;
}

.shop-breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}

.shop-breadcrumb__item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.shop-breadcrumb__item a:hover {
    color: var(--accent-purple);
}

.shop-breadcrumb__separator {
    color: var(--text-subtle);
    font-size: 0.7rem;
}

.shop-breadcrumb__item--active {
    color: var(--text-primary);
    font-weight: 600;
}

/* ========================================
   PAGE HEADER (List/Category/Tag pages)
   ======================================== */
.shop-page-header {
    padding: clamp(5rem, 10vw, 7rem) 0 clamp(2rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
}

.shop-page-header__grain {
    position: absolute;
    inset: 0;
    background:
        var(--gradient-mesh-1),
        var(--gradient-mesh-3);
    pointer-events: none;
    z-index: 1;
}

.shop-page-header__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.shop-page-header__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.shop-page-header__description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 540px;
}

.shop-page-header__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */
.product-detail {
    padding: clamp(5rem, 10vw, 7rem) 0 var(--section-spacing);
}

.product-detail__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.product-gallery__main {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    margin-bottom: 12px;
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-gallery__main.is-loading img {
    opacity: 0.4;
}

.product-gallery__thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.product-gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.product-gallery__thumb {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 2px solid var(--border-light);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
    border-color: var(--accent-purple);
    opacity: 1;
}

.product-gallery__thumb:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
    opacity: 1;
}

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

/* Info column */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-info__category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-purple);
    text-decoration: none;
}

.product-info__category:hover {
    color: var(--accent-pink);
}

.product-info__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.product-info__rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-info__stars {
    display: flex;
    gap: 2px;
    color: var(--accent-yellow);
    font-size: 0.9rem;
}

.product-info__rating-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.product-info__description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Specs grid */
.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.product-spec {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
}

.product-spec__icon {
    color: var(--accent-purple);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.product-spec__label {
    color: var(--text-muted);
}

.product-spec__value {
    font-weight: 700;
    margin-left: auto;
}

/* Add to cart form */
.product-add-to-cart {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
}

.product-add-to-cart__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.product-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-medium);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.product-qty__btn {
    width: 40px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.product-qty__btn:hover {
    background: var(--accent-purple-10);
    color: var(--accent-purple);
}

.product-qty__input {
    width: 52px;
    height: 44px;
    border: none;
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    background: var(--input-bg);
    color: var(--text-primary);
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    -moz-appearance: textfield;
}

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

.product-variant-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--input-bg);
    border: 1px solid var(--border-medium);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.product-variant-select:focus {
    outline: none;
    border-color: var(--input-focus-border);
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.product-stock__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.product-stock__dot--in {
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green-30);
}

.product-stock__dot--low {
    background: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange-30);
}

.product-stock__dot--out {
    background: var(--accent-red);
}

.product-stock__text--in {
    color: var(--accent-green);
}

.product-stock__text--low {
    color: var(--accent-orange);
}

.product-stock__text--out {
    color: var(--accent-red);
}

/* Tags */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tag {
    padding: 6px 14px;
    background: var(--accent-purple-08);
    border: 1px solid var(--accent-purple-20);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-purple);
    text-decoration: none;
    transition: var(--transition-fast);
}

.product-tag:hover {
    background: var(--accent-purple-15);
    border-color: var(--accent-purple-30);
}

/* ── Social Share Buttons ── */
.product-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.product-share__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 4px;
}

.product-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.product-share__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-share__btn--facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.product-share__btn--twitter:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.product-share__btn--pinterest:hover {
    background: #e60023;
    border-color: #e60023;
    color: #fff;
}

.product-share__btn--copy:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: #fff;
}

.product-share__btn--copy.is-copied {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */
.shop-reviews {
    padding: var(--section-spacing) 0;
    border-top: 1px solid var(--border-light);
}

.review-summary {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    margin-bottom: 32px;
}

.review-summary__big-number {
    text-align: center;
    min-width: 120px;
}

.review-summary__avg {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.review-summary__total {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.review-summary__bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
}

.review-bar__label {
    width: 20px;
    text-align: right;
    font-weight: 700;
    color: var(--text-secondary);
}

.review-bar__track {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 100px;
    overflow: hidden;
}

.review-bar__fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 100px;
    transition: width 0.6s var(--ease-out-expo);
}

.review-bar__count {
    width: 28px;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Review card */
.review-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
}

.review-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card__avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.review-card__name {
    font-weight: 700;
    font-size: 0.95rem;
}

.review-card__date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.review-card__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-green);
}

.review-card__stars {
    display: flex;
    gap: 2px;
    color: var(--accent-yellow);
    font-size: 0.75rem;
}

.review-card__title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
}

.review-card__content {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.review-card__helpful {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.78rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.review-card__helpful:hover,
.review-card__helpful.is-active {
    background: var(--accent-purple-10);
    border-color: var(--accent-purple-20);
    color: var(--accent-purple);
}

/* ========================================
   BUTTONS
   ======================================== */
.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.shop-btn--primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    box-shadow: var(--shadow-glow-purple);
}

.shop-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-purple), 0 4px 20px rgba(0, 0, 0, 0.2);
}

.shop-btn--secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: 1px solid var(--btn-secondary-border);
}

.shop-btn--secondary:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    background: var(--accent-purple-08);
}

.shop-btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.shop-btn--full {
    width: 100%;
}

.shop-btn--sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.shop-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.shop-btn:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}

/* ========================================
   CART PAGE
   ======================================== */
.shop-cart {
    padding: clamp(5rem, 10vw, 7rem) 0 var(--section-spacing);
}

.shop-cart__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    transition: var(--transition), opacity 0.2s ease;
}

.cart-item:hover {
    border-color: var(--border-medium);
}

.cart-item__image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: var(--bg-tertiary);
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item__title {
    font-weight: 700;
    font-size: 1rem;
}

.cart-item__title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.cart-item__title a:hover {
    color: var(--accent-purple);
}

.cart-item__variant {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.cart-item__price {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cart-item__controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cart-item__remove {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.cart-item__remove:hover {
    background: var(--error-bg);
    color: var(--accent-red);
}

.cart-item__total {
    font-weight: 700;
    font-size: 1.05rem;
    min-width: 80px;
    text-align: right;
}

/* Cart summary sidebar */
.cart-summary {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 28px;
}

.cart-summary__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
}

.cart-summary__row--label {
    color: var(--text-muted);
}

.cart-summary__row--total {
    padding: 16px 0 0;
    margin-top: 8px;
    border-top: 2px solid var(--border-medium);
    font-size: 1.15rem;
    font-weight: 700;
}

.cart-summary__free-shipping {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    border-radius: var(--border-radius-sm);
    font-size: 0.82rem;
    color: var(--success-text);
    margin: 16px 0;
}

.cart-summary__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */
.shop-checkout {
    padding: clamp(5rem, 10vw, 7rem) 0 var(--section-spacing);
}

.shop-checkout__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.checkout-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 32px;
}

.checkout-form-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-form-card__title i {
    color: var(--accent-purple);
}

.checkout-form-card+.checkout-form-card {
    margin-top: 20px;
}

/* ========================================
   FORMS
   ======================================== */
.shop-form-group {
    margin-bottom: 20px;
}

.shop-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.shop-form-group .form-control,
.shop-form-group .form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

.shop-form-group .form-control:focus,
.shop-form-group .form-select:focus {
    outline: none;
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 3px var(--accent-purple-15);
}

.shop-form-group .form-control::placeholder {
    color: var(--text-subtle);
}

.shop-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.shop-form-group .form-check-input {
    accent-color: var(--accent-purple);
}

.shop-form-group .form-check-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Form errors */
.shop-form-group .errorlist {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
}

.shop-form-group .errorlist li {
    font-size: 0.78rem;
    color: var(--error-text);
    padding: 4px 0;
}

/* ========================================
   ORDER PAGES
   ======================================== */
.shop-order-confirm {
    padding: clamp(5rem, 10vw, 7rem) 0 var(--section-spacing);
}

.order-success-card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    text-align: center;
}

.order-success-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--success-bg);
    border: 2px solid var(--success-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-green);
}

.order-success-card__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.order-success-card__number {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.order-items-table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    margin: 24px 0;
}

.order-items-table th {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-medium);
}

.order-items-table td {
    padding: 14px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.order-items-table .text-right {
    text-align: right;
}

.order-totals {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.order-totals__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.order-totals__row--label {
    color: var(--text-muted);
}

.order-totals__row--grand {
    font-size: 1.15rem;
    font-weight: 700;
    padding-top: 12px;
    border-top: 2px solid var(--border-medium);
    margin-top: 6px;
}

/* Order history */
.shop-orders {
    padding: clamp(5rem, 10vw, 7rem) 0 var(--section-spacing);
}

.order-history-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.order-history-card:hover {
    border-color: var(--border-medium);
}

.order-history-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.order-history-card__number {
    font-weight: 700;
    font-size: 1rem;
}

.order-history-card__number a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.order-history-card__number a:hover {
    color: var(--accent-purple);
}

.order-history-card__date {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.order-history-card__total {
    font-weight: 700;
    font-size: 1.05rem;
}

/* Status badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
}

.status-badge--pending {
    background: var(--warning-bg);
    color: var(--warning-text);
    border: 1px solid var(--warning-border);
}

.status-badge--processing {
    background: var(--info-bg);
    color: var(--info-text);
    border: 1px solid var(--info-border);
}

.status-badge--shipped {
    background: var(--accent-cyan-10);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan-30);
}

.status-badge--delivered {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

.status-badge--cancelled,
.status-badge--refunded {
    background: var(--error-bg);
    color: var(--error-text);
    border: 1px solid var(--error-border);
}

.status-badge--paid {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

/* ========================================
   EMPTY STATE
   ======================================== */
.shop-empty {
    text-align: center;
    padding: clamp(4rem, 8vw, 6rem) 24px;
}

.shop-empty__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--accent-purple-08);
    border: 1px solid var(--accent-purple-20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-purple);
}

.shop-empty__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.shop-empty__text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ========================================
   INQUIRY FORM SECTION
   ======================================== */
.shop-inquiry {
    padding: var(--section-spacing) 0;
    border-top: 1px solid var(--border-light);
}

.shop-inquiry__card {
    max-width: 600px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
}

/* ========================================
   PAGINATION
   ======================================== */
.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 48px;
}

.shop-pagination__link,
.shop-pagination__current {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.shop-pagination__link {
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.shop-pagination__link:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    background: var(--accent-purple-08);
}

.shop-pagination__current {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
}

.shop-pagination__ellipsis {
    min-width: 32px;
    text-align: center;
    color: var(--text-muted);
}

/* ========================================
   RELATED PRODUCTS
   ======================================== */
.shop-related {
    padding: var(--section-spacing) 0;
    border-top: 1px solid var(--border-light);
}

/* ========================================
   CHECKOUT CANCELLED
   ======================================== */
.checkout-cancelled-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    text-align: center;
}

.checkout-cancelled-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--warning-bg);
    border: 2px solid var(--warning-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-orange);
}

.checkout-cancelled-card__text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 12px 0 32px;
}

/* ========================================
   CHECKOUT SUMMARY ITEMS
   ======================================== */
.checkout-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.checkout-summary-item__image {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.checkout-summary-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-summary-item__info {
    flex: 1;
    min-width: 0;
}

.checkout-summary-item__title {
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-summary-item__qty {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.checkout-summary-item__price {
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* ========================================
   PRODUCT DETAIL HELPERS
   ======================================== */
.product-detail-badges {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.review-rating-widget {
    font-size: 1.5rem;
    cursor: pointer;
}

.shop-login-prompt {
    text-align: center;
    margin-top: 32px;
}

.shop-login-prompt__text {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.shop-login-prompt__link {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
}

.shop-login-prompt__link:hover {
    color: var(--accent-pink);
}

.product-add-to-cart__row .shop-btn {
    flex: 1;
}

/* ========================================
   ADDITIONAL UTILITY CLASSES
   ======================================== */
.shop-form-group--last {
    margin-bottom: 0;
}

.checkout-security-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

.checkout-security-note i {
    color: var(--accent-green);
}

/* ── Checkout: gift card / store credit / loyalty point balance messages ── */
.checkout-balance-msg {
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    margin-top: 8px;
}

.checkout-balance-msg--success {
    color: var(--accent-green, #28a745);
    background: rgba(40, 167, 69, 0.08);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.checkout-balance-msg--error {
    color: var(--accent-red, #dc3545);
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.checkout-balance-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.checkout-points-hint {
    margin-top: 6px;
    color: var(--text-muted);
}

/* ── Order confirmation: savings rows ─────────────────────────────────── */
.order-totals__row--savings {
    color: var(--accent-green, #28a745);
}

.order-totals__row--savings i {
    margin-right: 4px;
}

.cart-items__clear {
    text-align: right;
    margin-top: 8px;
}

.cart-item__placeholder {
    font-size: 1.5rem;
}

.cart-shipping-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cart-shipping-note i {
    color: var(--accent-purple);
    font-size: 0.85rem;
}

/* Disabled quantity buttons during API calls */
.product-qty__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.product-qty__btn:disabled:hover {
    background: transparent;
    color: var(--text-primary);
}

/* Focus styles for cart action buttons */
.product-qty__btn:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: -2px;
}

.cart-item__remove:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}

.checkout-shipping-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-shipping-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.checkout-shipping-option:hover {
    border-color: var(--border-medium);
}

.checkout-shipping-option:has(input:checked) {
    border-color: var(--accent-purple);
    background: var(--accent-purple-08);
}

.checkout-shipping-option input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border: 2px solid var(--border-medium);
    border-radius: 50%;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.checkout-shipping-option input[type="radio"]:checked {
    border-color: var(--accent-purple);
}

.checkout-shipping-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-purple);
}

.checkout-shipping-option__label {
    color: var(--text-primary);
    font-weight: 600;
}

.checkout-shipping-option__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.checkout-shipping-option__price {
    margin-left: auto;
    font-weight: 700;
    color: var(--accent-purple);
    white-space: nowrap;
}

.shop-page-header__icon {
    color: var(--icon-color, var(--accent-purple));
    margin-right: 8px;
}

.order-shipping-address {
    text-align: left;
    margin-top: 32px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
}

.order-shipping-address__label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.order-shipping-address__text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.order-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
}

.order-status-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.order-detail-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.order-detail-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.order-detail-link:hover {
    color: var(--accent-purple);
}

.tracking-link {
    color: var(--accent-purple);
    font-weight: 600;
}

.order-confirm-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cart-summary__section {
    margin-top: 16px;
}

.cart-summary__divider {
    margin: 16px 0;
    border-top: 1px solid var(--border-light);
}

.cart-summary__contact {
    font-size: 0.85rem;
}

.shop-toolbar__sort-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0;
}

.order-totals--right {
    max-width: 320px;
    margin-left: auto;
}

/* Missing status badge variants */
.status-badge--confirmed {
    background: var(--info-bg);
    color: var(--info-text);
    border: 1px solid var(--info-border);
}

.status-badge--unpaid {
    background: var(--warning-bg);
    color: var(--warning-text);
    border: 1px solid var(--warning-border);
}

.status-badge--partially_refunded {
    background: var(--warning-bg);
    color: var(--warning-text);
    border: 1px solid var(--warning-border);
}

.status-badge--failed {
    background: var(--error-bg);
    color: var(--error-text);
    border: 1px solid var(--error-border);
}

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */
@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
        max-height: none;
    }

    .shop-sidebar__toggle {
        display: flex;
        align-items: center;
    }

    .shop-sidebar.is-collapsed {
        display: none;
    }

    .product-detail__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-gallery {
        position: static;
    }

    .shop-cart__layout,
    .shop-checkout__layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .review-summary {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

/* ========================================
   RESPONSIVE — MOBILE
   ======================================== */
@media (max-width: 576px) {
    .shop-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card__body {
        padding: 12px;
    }

    .product-card__title {
        font-size: 0.88rem;
    }

    .product-card__action-btn {
        width: 30px;
        height: 30px;
        font-size: 0.72rem;
    }

    .product-card__actions {
        gap: 4px;
    }

    .price-display__current {
        font-size: 1rem;
    }

    .shop-categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-toolbar__controls {
        justify-content: space-between;
    }

    .product-specs {
        grid-template-columns: 1fr;
    }

    .shop-form-row {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 64px 1fr;
        gap: 12px;
    }

    .cart-item__image {
        width: 64px;
        height: 64px;
    }

    .cart-item__controls {
        grid-column: 1 / -1;
        justify-content: space-between;
        gap: 10px;
    }

    .cart-item__total {
        min-width: auto;
        font-size: 0.95rem;
    }

    .order-success-card,
    .checkout-cancelled-card {
        padding: 28px 20px;
    }

    .shop-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .shop-hero__actions .shop-btn {
        width: 100%;
        max-width: 280px;
    }

    .shop-breadcrumb__list {
        font-size: 0.78rem;
    }

    .order-history-card__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
#shop-toasts {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.shop-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

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

.shop-toast--success i {
    color: var(--accent-green);
}

.shop-toast--error i {
    color: var(--accent-red);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.shop-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.shop-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.shop-animate:nth-child(2) {
    transition-delay: 0.08s;
}

.shop-animate:nth-child(3) {
    transition-delay: 0.16s;
}

.shop-animate:nth-child(4) {
    transition-delay: 0.24s;
}

/* Disable animations for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
    .shop-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========================================
   RESPONSIVE — SMALL MOBILE
   ======================================== */
@media (max-width: 380px) {
    .shop-product-grid {
        grid-template-columns: 1fr;
    }

    .shop-categories__grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BACK-IN-STOCK "NOTIFY ME"
   ======================================== */
.product-notify-restock {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-secondary, #f9f9f9);
    border-radius: 8px;
}

.product-notify-restock p {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary, #666);
}

.product-notify-restock .shop-btn {
    margin-top: 0.25rem;
}

.product-notify-restock__form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.product-notify-restock__form .shop-form-input {
    flex: 1;
    min-width: 180px;
}

.product-notify-restock__status {
    display: none;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.product-notify-restock__status--success {
    background: #e8f5e9;
    color: #2e7d32;
}

.product-notify-restock__status--error {
    background: #fce4ec;
    color: #c62828;
}

/* ========================================
   ORDER STATUS TIMELINE
   ======================================== */
.order-timeline-card {
    margin-bottom: 1.5rem;
}

.order-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.order-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color, #e0e0e0);
}

.order-timeline__item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    position: relative;
}

.order-timeline__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    z-index: 1;
    background: var(--text-secondary, #999);
}

.order-timeline__dot--pending {
    background: #fb8c00;
}

.order-timeline__dot--confirmed {
    background: #1e88e5;
}

.order-timeline__dot--processing {
    background: #7b1fa2;
}

.order-timeline__dot--shipped {
    background: #00897b;
}

.order-timeline__dot--delivered {
    background: #43a047;
}

.order-timeline__dot--cancelled {
    background: #e53935;
}

.order-timeline__dot--refunded {
    background: #757575;
}

.order-timeline__content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.order-timeline__status {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary, #333);
}

.order-timeline__status small {
    font-weight: 400;
    color: var(--text-secondary, #666);
}

.order-timeline__date {
    font-size: 0.8rem;
    color: var(--text-secondary, #888);
}

.order-timeline__note {
    font-size: 0.85rem;
    color: var(--text-secondary, #666);
    font-style: italic;
    margin-top: 0.15rem;
}

/* ========================================
   WISHLIST BUTTON STATES
   ======================================== */

/* Card wishlist button — active state */
.product-card__action-btn.is-wishlisted {
    background: #e91e63;
    color: #fff;
    border-color: #e91e63;
}

.product-card__action-btn.is-wishlisted:hover {
    background: #c2185b;
    color: #fff;
    border-color: #c2185b;
    transform: scale(1.08);
}

/* Product detail wishlist button */
.product-wishlist-btn {
    min-width: auto;
    width: 52px;
    height: 52px;
    padding: 0;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.product-wishlist-btn.is-wishlisted {
    background: #e91e63;
    color: #fff;
    border-color: #e91e63;
}

.product-wishlist-btn.is-wishlisted:hover {
    background: #c2185b;
    border-color: #c2185b;
}

/* ========================================
   SHOP SEARCH AUTOCOMPLETE
   ======================================== */
.shop-search {
    position: relative;
    max-width: 500px;
    margin: 1.5rem auto 0;
    z-index: 10;
}

.shop-search__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.shop-search__icon {
    position: absolute;
    left: 16px;
    color: var(--text-tertiary, #999);
    font-size: 0.9rem;
    pointer-events: none;
}

.shop-search__input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.95rem;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.shop-search__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.shop-search__input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.18);
}

.shop-search__results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-light, #e0e0e0);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
}

.shop-search__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text-primary, #333);
    transition: background 0.15s;
    border-bottom: 1px solid var(--border-light, #f0f0f0);
}

.shop-search__item:last-of-type {
    border-bottom: none;
}

.shop-search__item:hover {
    background: var(--bg-secondary, #f5f5f5);
}

.shop-search__item-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-secondary, #f0f0f0);
}

.shop-search__item-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary, #ccc);
    font-size: 1rem;
}

.shop-search__item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.shop-search__item-title {
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-search__item-cat {
    font-size: 0.75rem;
    color: var(--text-secondary, #888);
}

.shop-search__item-price {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--accent-purple, #7c3aed);
    flex-shrink: 0;
}

.shop-search__view-all {
    display: block;
    padding: 12px 16px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-purple, #7c3aed);
    text-decoration: none;
    border-top: 1px solid var(--border-light, #e0e0e0);
    transition: background 0.15s;
}

.shop-search__view-all:hover {
    background: var(--bg-secondary, #f5f5f5);
}

.shop-search__empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--text-secondary, #888);
    font-size: 0.88rem;
}

.shop-search__empty i {
    margin-right: 6px;
    opacity: 0.5;
}


/* ══════════════════════════════════════════════════════════════════════════════
   PHASE 2 — Blog, Policies, Collections, Social Share
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Blog Grid & Cards ────────────────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.blog-grid--small {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.blog-card {
    background: var(--card-bg, #fff);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-subtle, rgba(0, 0, 0, .06));
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .10);
}

.blog-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__body {
    padding: 20px;
}

.blog-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent, #ff6b35);
    text-decoration: none;
    margin-bottom: 8px;
}

.blog-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.blog-card__title a {
    color: var(--text-primary, #1a1a2e);
    text-decoration: none;
}

.blog-card__title a:hover {
    color: var(--accent, #ff6b35);
}

.blog-card__excerpt {
    font-size: 0.92rem;
    color: var(--text-secondary, #666);
    line-height: 1.55;
    margin-bottom: 12px;
}

.blog-card__meta {
    font-size: 0.82rem;
    color: var(--text-tertiary, #999);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── Blog Post Detail ─────────────────────────────────────────────────────── */
.blog-post {
    max-width: 780px;
    margin: 0 auto;
}

.blog-post__header {
    margin-bottom: 28px;
}

.blog-post__title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--text-primary, #1a1a2e);
}

.blog-post__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
}

.blog-post__author {
    font-weight: 600;
}

.blog-post__hero {
    margin-bottom: 32px;
    border-radius: 16px;
    overflow: hidden;
}

.blog-post__hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post__content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-primary, #1a1a2e);
}

.blog-post__content h2,
.blog-post__content h3,
.blog-post__content h4 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-post__content p {
    margin-bottom: 18px;
}

.blog-post__content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

.blog-post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, .06));
}

.blog-post__related-products {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, .06));
}

.blog-post__related {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, .06));
}

/* ── Store Policies ───────────────────────────────────────────────────────── */
.shop-policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.shop-policy-card {
    background: var(--card-bg, #fff);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border-subtle, rgba(0, 0, 0, .06));
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.shop-policy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
    color: inherit;
    text-decoration: none;
}

.shop-policy-card i {
    font-size: 2rem;
    color: var(--accent, #ff6b35);
    margin-bottom: 14px;
}

.shop-policy-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.shop-policy-card p {
    font-size: 0.88rem;
    color: var(--text-secondary, #666);
    margin: 0;
}

/* ── Social Share ─────────────────────────────────────────────────────────── */
.shop-social-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, .06));
}

.shop-social-share__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary, #666);
    margin-right: 4px;
}

.shop-social-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-tertiary, #f0f0f0);
    color: var(--text-secondary, #666);
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.shop-social-share__btn:hover {
    background: var(--accent, #ff6b35);
    color: #fff;
    transform: scale(1.1);
}

/* ── Filter Tags ──────────────────────────────────────────────────────────── */
.shop-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0;
}

.shop-filter-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary, #666);
    background: var(--bg-tertiary, #f0f0f0);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.shop-filter-tag:hover,
.shop-filter-tag--active {
    background: var(--accent, #ff6b35);
    color: #fff;
}

/* ── Pagination ───────────────────────────────────────────────────────────── */
.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
}

.shop-pagination__info {
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post__title {
        font-size: 1.6rem;
    }

    .shop-policies-grid {
        grid-template-columns: 1fr;
    }

    .shop-social-share {
        flex-wrap: wrap;
    }
}

/* ========================================
   RESPONSIVE — LARGE DESKTOP (1200px+)
   ======================================== */
@media (min-width: 1200px) {
    .shop-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .product-detail__layout {
        gap: 56px;
    }

    .shop-layout {
        gap: 48px;
    }

    .shop-sidebar {
        min-width: 280px;
    }

    .shop-cart__layout,
    .shop-checkout__layout {
        grid-template-columns: 1fr 420px;
    }
}