/**
 * Store Microsite Styles
 * ÇiftçidenEve - Etsy-style Modern Store Pages
 * Created: 2026-01-24
 */

/* =============================================================================
   CSS Variables
   ============================================================================= */

:root {
    /* Hero Section */
    --hero-height: 320px;
    --hero-height-tablet: 260px;
    --hero-height-mobile: 200px;

    /* Logo */
    --logo-size: 120px;
    --logo-size-tablet: 100px;
    --logo-size-mobile: 80px;
    --logo-border-width: 4px;
    --logo-offset: -60px; /* Half of logo size for overlap effect */

    /* Tab Navigation */
    --tab-nav-height: 52px;
    --tab-sticky-top: 70px; /* Main header height */

    /* Mobile Action Bar */
    --mobile-action-bar-height: 64px;

    /* Brand Colors (can be overridden via inline style for theming) */
    --store-primary: #1A6355;
    --store-accent: #b9475e;
    --store-accent-hover: #e79275;

    /* Section Spacing */
    --section-padding: 40px;
    --section-padding-mobile: 24px;
}

/* =============================================================================
   Store Microsite Container
   ============================================================================= */

.store-microsite {
    background: #fff;
    min-height: 100vh;
}

.store-microsite * {
    box-sizing: border-box;
}

/* =============================================================================
   Hero Section
   ============================================================================= */

.store-hero {
    position: relative;
    width: 100%;
    height: var(--hero-height);
    overflow: visible;
}

.store-hero__cover {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #e6e6e6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.store-hero__cover--parallax {
    background-attachment: fixed;
}

.store-hero__cover--contained {
    max-width: 1230px;
    margin: 0 auto;
    border-radius: 0 0 8px 8px;
}

/* Cover Overlay for text readability */
.store-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

/* =============================================================================
   Store Info Bar (below cover)
   ============================================================================= */

.store-info-bar {
    position: relative;
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: var(--logo-offset);
    z-index: 10;
}

/* Logo - Rounded Square */
.store-hero__logo {
    flex-shrink: 0;
    width: var(--logo-size);
    height: var(--logo-size);
    border-radius: 12px;
    border: var(--logo-border-width) solid #fff;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    overflow: hidden;
}

.store-hero__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Store Details */
.store-hero__details {
    flex: 1;
    padding-top: calc(var(--logo-size) / 2 + 15px);
    min-width: 0;
}

.store-hero__name {
    margin: 0 0 4px 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #1A6355;
    line-height: 1.2;
}

.store-hero__tagline {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #595959;
    font-style: italic;
}

.store-hero__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #7d91a3;
    margin-bottom: 12px;
}

.store-hero__location i {
    color: var(--store-primary);
}

/* =============================================================================
   Etsy-style Stats Bar
   ============================================================================= */

.store-hero__stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.store-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.store-stat__stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: #f5a623;
    font-size: 13px;
}

.store-stat__stars i {
    color: #f5a623;
}

.store-stat__value {
    font-weight: 600;
    color: #1A6355;
}

.store-stat__label {
    color: #595959;
}

.store-stat__divider {
    color: #c8c0bb;
    margin: 0 4px;
}

/* =============================================================================
   Producer Profile Link
   ============================================================================= */

.store-hero__producer {
    margin-top: 16px;
}

.store-producer-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 10px 10px;
    background: #f9f9f9;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.store-producer-link:hover {
    background: #fff;
    border-color: var(--store-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.store-producer-link__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.store-producer-link__info {
    display: flex;
    flex-direction: column;
}

.store-producer-link__label {
    font-size: 11px;
    color: #7d91a3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-producer-link__name {
    font-size: 15px;
    font-weight: 600;
    color: #1A6355;
}

.store-producer-link__arrow {
    color: #c8c0bb;
    font-size: 12px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.store-producer-link:hover .store-producer-link__arrow {
    color: var(--store-primary);
    transform: translateX(3px);
}

/* Badges Container */
.store-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

/* Badge Base */
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: default;
    transition: transform 0.2s ease;
}

.store-badge:hover {
    transform: translateY(-1px);
}

/* Green Score Badge */
.store-badge--green {
    background: linear-gradient(135deg, var(--badge-color, #1A6355) 0%, color-mix(in srgb, var(--badge-color, #1A6355) 80%, white) 100%);
    color: #fff;
}

.store-badge--green .store-badge__icon {
    font-size: 16px;
}

/* Green Badge Variants */
.store-badge--green.badge-green-premium {
    background: linear-gradient(135deg, #1A6355 0%, #2d8a7a 100%);
}

.store-badge--green.badge-green-verified {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

.store-badge--green.badge-green-certified {
    background: linear-gradient(135deg, #bf833a 0%, #d4a054 100%);
}

.store-badge--green.badge-green-standard {
    background: linear-gradient(135deg, #7d91a3 0%, #95a7b8 100%);
}

/* Certified Producer Badge */
.store-badge--certified {
    background: #fff;
    color: #1A6355;
    border: 1px solid #1A6355;
}

.store-badge--certified i {
    color: #1A6355;
}

/* Rating Badge */
.store-badge--rating {
    background: #FFF3E5;
    color: #bf833a;
}

.store-badge--rating i {
    color: #f5a623;
}

/* Badge Tooltip */
.store-badge[data-tooltip] {
    position: relative;
}

.store-badge[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: #333;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    margin-bottom: 8px;
    z-index: 100;
}

.store-badge[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Certificate Type Badges */
.store-badge--cert-organic {
    background: linear-gradient(135deg, #1A6355 0%, #2d8a7a 100%);
    color: #fff;
}

.store-badge--cert-good {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: #fff;
}

.store-badge--cert-geo {
    background: linear-gradient(135deg, #bf833a 0%, #d4a054 100%);
    color: #fff;
}

.store-badge--cert-analysis {
    background: linear-gradient(135deg, #607D8B 0%, #78909C 100%);
    color: #fff;
}

.store-badge--cert-other {
    background: #fff;
    color: #1A6355;
    border: 1px solid #1A6355;
}

/* SVG icon inside badges */
.store-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.store-badge__icon svg {
    width: 16px;
    height: 16px;
}

.store-badge--clickable .store-badge__icon svg {
    width: 18px;
    height: 18px;
}

/* =============================================================================
   Producer Type Badges (Location, Store Type, Female Producer)
   ============================================================================= */

.store-hero__producer-badges {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding-bottom: 4px; /* Space for scroll indicator */
}

.store-hero__producer-badges::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.store-badge--producer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: default;
    transition: transform 0.2s ease;
}

.store-badge--producer:hover {
    transform: translateY(-1px);
}

/* Kooperatif */
.store-type--kooperatif {
    background: linear-gradient(135deg, #3F51B5 0%, #5C6BC0 100%);
    color: #fff;
}

/* Butik Üretici */
.store-type--butik {
    background: linear-gradient(135deg, #9C27B0 0%, #AB47BC 100%);
    color: #fff;
}

/* Genç Çiftçi */
.store-type--genc {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: #fff;
}

/* Yörük / Çoban */
.store-type--yoruk {
    background: linear-gradient(135deg, #795548 0%, #8D6E63 100%);
    color: #fff;
}

/* Aile Çiftliği */
.store-type--aile {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
    color: #fff;
}

/* Tarım İşletmesi */
.store-type--isletme {
    background: linear-gradient(135deg, #607D8B 0%, #78909C 100%);
    color: #fff;
}

/* Other / Diğer */
.store-type--other {
    background: #fff;
    color: #1A6355;
    border: 1px solid #1A6355;
}

/* Kadın Üretici */
.store-badge--female {
    background: linear-gradient(135deg, #E91E63 0%, #EC407A 100%);
    color: #fff;
}

/* Location Badge */
.store-badge--location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    background: #fff;
    color: #595959;
    border: 1px solid #ddd;
    cursor: default;
    transition: transform 0.2s ease;
}

.store-badge--location i {
    color: #1A6355;
}

.store-badge--location:hover {
    transform: translateY(-1px);
    border-color: #1A6355;
}

/* Green Score Progress Bar */
.store-green-score {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 50;
}

.store-green-score__header {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.store-green-score__label {
    font-size: 13px;
    font-weight: 500;
    color: #1A6355;
}

.store-green-score__info {
    color: #7d91a3;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

.store-green-score__info:hover {
    color: #1A6355;
}

.store-green-score__bar {
    flex: 1;
    height: 8px;
    background: #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
    min-width: 100px;
}

.store-green-score__progress {
    height: 100%;
    background: linear-gradient(90deg, #1A6355, #4CAF50);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.store-green-score__value {
    font-size: 16px;
    font-weight: 600;
    color: #1A6355;
    min-width: 40px;
    text-align: right;
}

/* Green Score Tooltip */
.store-green-score__info {
    position: relative;
    cursor: pointer;
}

.store-green-score__tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    margin-bottom: 10px;
}

.store-green-score__tooltip::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}

.store-green-score__info:hover .store-green-score__tooltip,
.store-green-score__info:focus .store-green-score__tooltip {
    opacity: 1;
    visibility: visible;
}

.store-green-score__tooltip-title {
    font-size: 14px;
    font-weight: 600;
    color: #1A6355;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e6e6e6;
}

.store-green-score__tooltip-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #4D4D4D;
}

.store-green-score__tooltip-list li {
    margin-bottom: 8px;
}

.store-green-score__tooltip-list li:last-child {
    margin-bottom: 0;
}

.store-green-score__tooltip-list strong {
    color: #1A6355;
}

/* Actions (Desktop) */
.store-hero__actions {
    display: flex;
    gap: 10px;
    padding-top: calc(var(--logo-size) / 2 + 15px);
    flex-shrink: 0;
}

.store-hero__action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
}

.store-hero__action-btn--primary {
    background: var(--store-accent);
    color: #fff;
}

.store-hero__action-btn--primary:hover {
    background: var(--store-accent-hover);
}

.store-hero__action-btn--secondary {
    background: #fff;
    color: var(--store-primary);
    border: 1px solid var(--store-primary);
}

.store-hero__action-btn--secondary:hover {
    background: var(--store-primary);
    color: #fff;
}

.store-hero__action-btn--following {
    background: var(--store-primary);
    color: #fff;
}

/* =============================================================================
   Sticky Tab Navigation
   ============================================================================= */

.store-tabs {
    position: sticky;
    top: var(--tab-sticky-top);
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
    transition: box-shadow 0.2s ease;
}

.store-tabs--stuck {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.store-tabs__container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--tab-nav-height);
}

.store-tabs__list {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.store-tabs__list::-webkit-scrollbar {
    display: none;
}

.store-tabs__item {
    position: relative;
    height: 100%;
}

.store-tabs__link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    color: #595959;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.store-tabs__link:hover {
    color: var(--store-primary);
}

.store-tabs__link.active {
    color: var(--store-primary);
    border-bottom-color: var(--store-primary);
}

.store-tabs__link i {
    margin-right: 8px;
    font-size: 16px;
}

/* Tab Count Badge */
.store-tabs__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 8px;
    background: #f3f3f3;
    color: #7d91a3;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
}

.store-tabs__link.active .store-tabs__count {
    background: var(--store-primary);
    color: #fff;
}

/* Store Search in Tabs */
.store-tabs__search {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Mobile Search Bar - hidden on desktop */
.store-mobile-search {
    display: none;
}

.store-search {
    position: relative;
    width: 220px;
}

.store-search__input {
    width: 100%;
    height: 36px;
    padding: 0 36px 0 12px;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
}

.store-search__input:focus {
    border-color: var(--store-primary);
    box-shadow: 0 0 0 3px rgba(26, 99, 85, 0.1);
}

.store-search__input::placeholder {
    color: #c8c0bb;
}

.store-search__btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #7d91a3;
    cursor: pointer;
    transition: color 0.2s ease;
}

.store-search__btn:hover {
    color: var(--store-primary);
}

/* =============================================================================
   Category Filter Bar
   ============================================================================= */

.store-categories {
    background: #f9f9f9;
    border-bottom: 1px solid #e6e6e6;
    padding: 12px 0;
}

.store-categories__container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-categories__label {
    font-size: 13px;
    font-weight: 500;
    color: #595959;
    white-space: nowrap;
}

.store-categories__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.store-categories__list::-webkit-scrollbar {
    display: none;
}

.store-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    font-size: 13px;
    color: #595959;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.store-category-chip:hover {
    border-color: var(--store-primary);
    color: var(--store-primary);
}

.store-category-chip.active {
    background: var(--store-primary);
    border-color: var(--store-primary);
    color: #fff;
}

.store-category-chip__count {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    background: rgba(0,0,0,0.08);
    border-radius: 10px;
}

.store-category-chip.active .store-category-chip__count {
    background: rgba(255,255,255,0.2);
}

/* =============================================================================
   Section Containers
   ============================================================================= */

.store-section {
    max-width: 1230px;
    margin: 0 auto;
    padding: var(--section-padding) 20px;
}

.store-section:first-of-type {
    padding-top: calc(var(--section-padding) + 20px);
}

/* Story Section Background - Light Rose */
.store-section--story {
    background: linear-gradient(180deg, #FFF8F5 0%, #FFF3EE 100%);
    max-width: none;
    padding-top: 40px;
    padding-bottom: 60px;
}

.store-section--story .store-section__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.store-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.store-section__title {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1A6355;
}

.store-section__subtitle {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #7d91a3;
}

/* =============================================================================
   Story Section
   ============================================================================= */

.store-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Main Title - Bigger and Centered */
.store-story__main-title {
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #1A6355;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
}

/* Description - Prominent */
.store-story__description {
    text-align: center;
    font-size: 17px;
    line-height: 1.8;
    color: #4D4D4D;
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 0 20px;
    position: relative;
}

/* Truncated description styles */
.store-story__description.is-truncated .store-story__description-content {
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.store-story__description.is-truncated.is-expanded .store-story__description-content {
    max-height: 2000px;
}

.store-story__description-fade {
    position: absolute;
    bottom: 45px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 243, 229, 0) 0%, rgba(255, 243, 229, 1) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.store-story__description.is-expanded .store-story__description-fade {
    opacity: 0;
}

.store-story__read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: #1A6355;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.store-story__read-more:hover {
    background: #145248;
    transform: translateY(-2px);
}

.store-story__read-more i {
    transition: transform 0.3s ease;
}

.store-story__read-more .read-less-text {
    display: none;
}

.store-story__description.is-expanded .store-story__read-more .read-more-text {
    display: none;
}

.store-story__description.is-expanded .store-story__read-more .read-less-text {
    display: inline;
}

.store-story__description.is-expanded .store-story__read-more i {
    transform: rotate(180deg);
}

.store-story__content {
    font-size: 15px;
    line-height: 1.7;
    color: #4D4D4D;
}

.store-story__content p {
    margin: 0 0 16px 0;
}

.store-story__content p:last-child {
    margin-bottom: 0;
}

/* Producer Note / Quote */
.store-story__quote {
    position: relative;
    padding: 30px;
    padding-left: 70px;
    background: #fff;
    border-radius: 12px;
    font-size: 16px;
    font-style: italic;
    color: #80452c;
    line-height: 1.7;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    max-width: 600px;
    margin: 0 auto 30px;
}

.store-story__quote-icon {
    position: absolute;
    left: 24px;
    top: 24px;
    font-size: 32px;
    color: #bf833a;
    opacity: 0.6;
}

.store-story__quote blockquote {
    margin: 0;
    padding: 0;
}

.store-story__author {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    color: #1A6355;
}

/* Timeline title */
.store-timeline__title {
    font-size: 14px;
    font-weight: 500;
    color: #7d91a3;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: center;
}

/* =============================================================================
   Store Manager Card (Redesigned)
   ============================================================================= */

.store-manager {
    max-width: 400px;
    margin: 0 auto 30px;
}

.store-manager__title {
    font-size: 14px;
    font-weight: 500;
    color: #7d91a3;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-align: center;
}

.store-manager__card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.store-manager__card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.store-manager__link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
}

.store-manager__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1A6355;
    flex-shrink: 0;
}

.store-manager__info {
    flex: 1;
    min-width: 0;
}

.store-manager__name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1A6355;
    margin-bottom: 2px;
}

.store-manager__role {
    display: block;
    font-size: 13px;
    color: #7d91a3;
}

.store-manager__arrow {
    color: #c8c0bb;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.store-manager__link:hover .store-manager__arrow {
    transform: translateX(4px);
    color: #1A6355;
}

/* =============================================================================
   About the Owner Card (Legacy - keeping for backward compatibility)
   ============================================================================= */

.store-about-owner {
    margin-bottom: 32px;
}

.store-about-owner .store-section__title {
    margin-bottom: 16px;
}

.store-owner-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
}

.store-owner-card__link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.store-owner-card__link:hover {
    background: #f9f9f9;
}

.store-owner-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.store-owner-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.store-owner-card__label {
    font-size: 12px;
    color: #7d91a3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-owner-card__name {
    font-size: 18px;
    font-weight: 600;
    color: #1A6355;
}

.store-owner-card__arrow {
    color: #c8c0bb;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.store-owner-card__link:hover .store-owner-card__arrow {
    color: var(--store-primary);
    transform: translateX(3px);
}

/* =============================================================================
   Reviews Section
   ============================================================================= */

.store-reviews__summary {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 24px;
}

.store-reviews__score {
    text-align: center;
}

.store-reviews__score-value {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #1A6355;
    line-height: 1;
}

.store-reviews__score-stars {
    display: flex;
    gap: 2px;
    margin-top: 8px;
    color: #f5a623;
}

.store-reviews__score-count {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #7d91a3;
}

.store-reviews__breakdown {
    flex: 1;
}

.store-reviews__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.store-reviews__bar:last-child {
    margin-bottom: 0;
}

.store-reviews__bar-label {
    width: 20px;
    font-size: 12px;
    color: #595959;
}

.store-reviews__bar-track {
    flex: 1;
    height: 8px;
    background: #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
}

.store-reviews__bar-fill {
    height: 100%;
    background: #1A6355;
    border-radius: 4px;
}

.store-reviews__bar-count {
    width: 30px;
    font-size: 12px;
    color: #7d91a3;
    text-align: right;
}

/* Review Cards */
.store-reviews__list {
    display: grid;
    gap: 16px;
}

.store-review-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
}

.store-review-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.store-review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.store-review-card__info {
    flex: 1;
}

.store-review-card__name {
    font-size: 14px;
    font-weight: 500;
    color: #1A6355;
}

.store-review-card__date {
    font-size: 12px;
    color: #7d91a3;
}

.store-review-card__stars {
    color: #f5a623;
    font-size: 14px;
}

.store-review-card__content {
    font-size: 14px;
    line-height: 1.6;
    color: #4D4D4D;
}

.store-review-card__product {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 12px;
    background: #f9f9f9;
    border-radius: 4px;
    font-size: 13px;
    color: #595959;
    text-decoration: none;
}

.store-review-card__product:hover {
    background: #f3f3f3;
}

.store-review-card__product img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
}

/* =============================================================================
   Certificates Section
   ============================================================================= */

.store-certificates__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.store-certificate-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.store-certificate-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.store-certificate-card__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF3E5;
    border-radius: 8px;
    color: #1A6355;
    font-size: 24px;
}

.store-certificate-card__info {
    flex: 1;
    min-width: 0;
}

.store-certificate-card__name {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 500;
    color: #1A6355;
}

.store-certificate-card__issuer {
    margin: 0;
    font-size: 12px;
    color: #7d91a3;
}

.store-certificate-card__badge {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    background: #cceeab;
    color: #1A6355;
    font-size: 11px;
    font-weight: 500;
    border-radius: 10px;
}

/* =============================================================================
   Mobile Action Bar
   ============================================================================= */

.store-mobile-actions {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border-top: 1px solid #e6e6e6;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
}

.store-mobile-actions__container {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.store-mobile-actions__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.store-mobile-actions__btn--message {
    background: var(--store-primary);
    color: #fff;
}

.store-mobile-actions__btn--message:hover {
    background: #155549;
}

.store-mobile-actions__btn--follow {
    background: #fff;
    color: var(--store-primary);
    border: 1px solid var(--store-primary);
}

.store-mobile-actions__btn--follow:hover {
    background: var(--store-primary);
    color: #fff;
}

.store-mobile-actions__btn--following {
    background: var(--store-primary);
    color: #fff;
    border: 1px solid var(--store-primary);
}

/* =============================================================================
   No Content States
   ============================================================================= */

.store-empty {
    text-align: center;
    padding: 40px 20px;
    color: #7d91a3;
}

.store-empty__icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.store-empty__text {
    font-size: 15px;
}

/* =============================================================================
   Responsive Styles - Tablet (750px - 1050px)
   ============================================================================= */

@media (max-width: 1050px) {
    :root {
        --hero-height: var(--hero-height-tablet);
        --logo-size: var(--logo-size-tablet);
        --logo-offset: -50px;
    }

    .store-hero__name {
        font-size: 28px;
    }

    .store-search {
        width: 180px;
    }

    .store-tabs__link {
        padding: 0 16px;
        font-size: 13px;
    }
}

/* =============================================================================
   Responsive Styles - Mobile (670px and below)
   ============================================================================= */

@media (max-width: 670px) {
    :root {
        --hero-height: var(--hero-height-mobile);
        --logo-size: var(--logo-size-mobile);
        --logo-offset: -40px;
        --tab-sticky-top: 56px;
        --section-padding: var(--section-padding-mobile);
    }

    /* Hero */
    .store-info-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0 16px;
    }

    .store-hero__logo {
        margin-bottom: 12px;
    }

    .store-hero__details {
        padding-top: 0;
        width: 100%;
    }

    .store-hero__name {
        font-size: 24px;
    }

    .store-hero__tagline {
        font-size: 14px;
    }

    .store-hero__location {
        font-size: 13px;
    }

    .store-hero__stats {
        font-size: 13px;
        gap: 6px;
        margin-bottom: 10px;
    }

    .store-stat__stars {
        font-size: 12px;
    }

    .store-stat__divider {
        margin: 0 2px;
    }

    .store-hero__badges {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        margin-right: -16px;
        padding-right: 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .store-hero__badges::-webkit-scrollbar {
        display: none;
    }

    .store-badge {
        flex-shrink: 0;
        font-size: 12px;
        padding: 5px 10px;
    }

    .store-hero__producer {
        margin-top: 12px;
    }

    .store-producer-link {
        padding: 8px 12px 8px 8px;
        gap: 10px;
    }

    .store-producer-link__avatar {
        width: 36px;
        height: 36px;
    }

    .store-producer-link__label {
        font-size: 10px;
    }

    .store-producer-link__name {
        font-size: 14px;
    }

    /* Hide desktop actions on mobile */
    .store-hero__actions {
        display: none;
    }

    /* Green Score tooltip - position from left on mobile */
    .store-green-score__tooltip {
        left: 0;
        right: auto;
        transform: none;
        width: calc(100vw - 48px);
        max-width: 280px;
    }

    .store-green-score__tooltip::before {
        left: 12px;
        right: auto;
        transform: none;
    }

    /* Tabs */
    .store-tabs__container {
        padding: 0 16px;
    }

    .store-tabs__list {
        margin-right: -16px;
        padding-right: 16px;
    }

    .store-tabs__link {
        padding: 0 14px;
        font-size: 13px;
    }

    .store-tabs__link i {
        display: none;
    }

    /* Hide search in tabs on mobile */
    .store-tabs__search {
        display: none;
    }

    /* Mobile Search Bar */
    .store-mobile-search {
        display: block;
        padding: 12px 16px;
        background: #f9f9f9;
        border-bottom: 1px solid #e6e6e6;
    }

    .store-search--mobile {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        background: #fff;
        border: 1px solid #e6e6e6;
        border-radius: 8px;
        padding: 0 12px;
    }

    .store-search--mobile .store-search__icon {
        color: #7d91a3;
        font-size: 14px;
        margin-right: 10px;
    }

    .store-search--mobile .store-search__input {
        flex: 1;
        border: none;
        padding: 12px 0;
        font-size: 14px;
        background: transparent;
    }

    .store-search--mobile .store-search__input:focus {
        outline: none;
        box-shadow: none;
    }

    .store-search__clear {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        color: #7d91a3;
        text-decoration: none;
    }

    .store-search__clear:hover {
        color: #b9475e;
    }

    .store-search__results-info {
        margin-top: 8px;
        font-size: 13px;
        color: #595959;
    }

    .store-search__results-info strong {
        color: #1A6355;
    }

    /* Categories */
    .store-categories {
        padding: 10px 0;
    }

    .store-categories__container {
        padding: 0 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .store-categories__label {
        font-size: 12px;
    }

    .store-categories__list {
        flex-wrap: nowrap;
        width: 100%;
        padding-bottom: 4px;
        margin-right: -16px;
        padding-right: 16px;
    }

    .store-category-chip {
        padding: 5px 12px;
        font-size: 12px;
    }

    /* Sections */
    .store-section {
        padding: var(--section-padding-mobile) 16px;
    }

    .store-section__title {
        font-size: 20px;
    }

    /* Story */
    .store-story__quote {
        padding: 20px 20px 20px 40px;
        font-size: 15px;
    }

    .store-story__quote::before {
        font-size: 36px;
        left: 12px;
    }

    /* Video - Full Bleed on Mobile */
    .store-cinema--compact {
        width: calc(100% + 40px);
        max-width: none;
        margin: 0 -20px 24px;
    }

    .store-cinema--compact .store-cinema__wrapper {
        border-radius: 0;
    }

    .store-cinema--compact .store-cinema__title {
        padding: 0 20px;
    }

    .store-cinema--compact .store-cinema__play-btn {
        width: 64px;
        height: 64px;
    }

    .store-cinema--compact .store-cinema__play-btn i {
        font-size: 24px;
    }

    /* Reviews */
    .store-reviews__summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .store-reviews__score {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .store-reviews__score-value {
        font-size: 36px;
    }

    .store-reviews__breakdown {
        width: 100%;
    }

    /* Certificates */
    .store-certificates__grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Action Bar - Show */
    .store-mobile-actions {
        display: block;
    }

    /* Add padding to prevent content hidden by fixed action bar */
    .store-microsite {
        padding-bottom: calc(var(--mobile-action-bar-height) + env(safe-area-inset-bottom, 0));
    }
}

/* =============================================================================
   Small Mobile (400px and below)
   ============================================================================= */

@media (max-width: 400px) {
    .store-hero__name {
        font-size: 22px;
    }

    .store-tabs__link {
        padding: 0 10px;
        font-size: 12px;
    }

    .store-tabs__count {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* =============================================================================
   Print Styles
   ============================================================================= */

@media print {
    .store-tabs,
    .store-mobile-actions,
    .store-hero__actions {
        display: none !important;
    }

    .store-hero {
        height: auto;
    }
}

/* =============================================================================
   Animation Utilities
   ============================================================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.store-section {
    animation: fadeInUp 0.4s ease;
}

/* =============================================================================
   Smooth Scroll Target Offset
   ============================================================================= */

/* Enable smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

.store-section[id] {
    scroll-margin-top: 142px; /* 70px header + 52px tabs + 20px padding */
}

@media (max-width: 670px) {
    .store-section[id] {
        scroll-margin-top: 128px; /* 56px header + 52px tabs + 20px padding */
    }
}

/* =============================================================================
   CINEMATIC STORYTELLING STYLES
   ============================================================================= */

/* =============================================================================
   Background Video Hero
   ============================================================================= */

.store-hero--video {
    overflow: hidden;
}

.store-hero__video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.store-hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Video Overlay for text contrast */
.store-hero__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

/* =============================================================================
   Glassmorphism Identity Card (Overlapping on Hero)
   ============================================================================= */

.store-hero__identity {
    position: absolute;
    bottom: -40px;
    left: 20px;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 16px 20px 16px 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 20;
    max-width: calc(100% - 40px);
}

.store-hero__identity-logo {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: #fff;
}

.store-hero__identity-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-hero__identity-info {
    min-width: 0;
}

.store-hero__identity-name {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1A6355;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-hero__identity-tagline {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: #595959;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =============================================================================
   Cinema Mode Video Player
   ============================================================================= */

.store-cinema {
    position: relative;
    margin-bottom: 32px;
}

.store-cinema__frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.store-cinema__frame--scale-in {
    animation: cinemaScaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cinemaScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Lite YouTube Embed */
.store-cinema__lite-youtube {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: #000;
    background-size: cover;
    background-position: center;
}

.store-cinema__lite-youtube::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.store-cinema__lite-youtube:hover::before {
    background: rgba(0, 0, 0, 0.4);
}

.store-cinema__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: var(--store-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(185, 71, 94, 0.4);
}

.store-cinema__play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

.store-cinema__lite-youtube:hover .store-cinema__play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--store-accent-hover);
}

.store-cinema__lite-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Cinema Caption */
.store-cinema__caption {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    color: #7d91a3;
    font-style: italic;
}

/* Cinema Title */
.store-cinema__title {
    font-size: 14px;
    font-weight: 500;
    color: #7d91a3;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-align: center;
}

/* Compact Video Mode - Larger size with lightbox */
.store-cinema--compact {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 30px;
}

.store-cinema--compact .store-cinema__wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.store-cinema--compact .store-cinema__lite-youtube {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: #000;
    background-size: cover;
    background-position: center;
}

.store-cinema--compact .store-cinema__lite-youtube::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease;
}

.store-cinema--compact .store-cinema__lite-youtube:hover::before {
    background: rgba(0, 0, 0, 0.35);
}

.store-cinema--compact .store-cinema__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(185, 71, 94, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.store-cinema--compact .store-cinema__play-btn i {
    color: #fff;
    font-size: 28px;
    margin-left: 5px;
}

.store-cinema--compact .store-cinema__lite-youtube:hover .store-cinema__play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: #e79275;
}

/* =============================================================================
   Video Modal / Lightbox
   ============================================================================= */

.store-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.store-video-modal.active {
    display: flex;
}

.store-video-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.store-video-modal__content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 1;
}

.store-video-modal__close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.store-video-modal__close:hover {
    opacity: 0.7;
}

.store-video-modal__player {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.store-video-modal__player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* =============================================================================
   Story Timeline
   ============================================================================= */

.store-timeline {
    position: relative;
    padding-left: 32px;
    margin: 32px 0;
}

/* Vertical Line */
.store-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--store-primary) 0%, #e6e6e6 100%);
}

.store-timeline__item {
    position: relative;
    padding-bottom: 32px;
    opacity: 0;
    transform: translateX(-20px);
    animation: timelineReveal 0.5s ease forwards;
}

.store-timeline__item:last-child {
    padding-bottom: 0;
}

/* Staggered Animation Delays */
.store-timeline__item:nth-child(1) { animation-delay: 0.1s; }
.store-timeline__item:nth-child(2) { animation-delay: 0.2s; }
.store-timeline__item:nth-child(3) { animation-delay: 0.3s; }
.store-timeline__item:nth-child(4) { animation-delay: 0.4s; }
.store-timeline__item:nth-child(5) { animation-delay: 0.5s; }
.store-timeline__item:nth-child(6) { animation-delay: 0.6s; }
.store-timeline__item:nth-child(7) { animation-delay: 0.7s; }
.store-timeline__item:nth-child(8) { animation-delay: 0.8s; }

@keyframes timelineReveal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Timeline Dot */
.store-timeline__dot {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid var(--store-primary);
    border-radius: 50%;
    z-index: 1;
}

.store-timeline__item:first-child .store-timeline__dot {
    background: var(--store-primary);
}

/* Timeline Year */
.store-timeline__year {
    display: inline-block;
    padding: 4px 12px;
    background: var(--store-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 8px;
}

/* Timeline Event */
.store-timeline__event {
    font-size: 15px;
    line-height: 1.6;
    color: #4D4D4D;
}

/* Timeline with Icon */
.store-timeline__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

/* =============================================================================
   Staggered Reveal Animation
   ============================================================================= */

.store-reveal {
    opacity: 0;
    transform: translateY(20px);
}

.store-reveal--visible {
    animation: staggeredReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger delays for sequential reveal */
.store-reveal[data-delay="1"] { animation-delay: 0.1s; }
.store-reveal[data-delay="2"] { animation-delay: 0.2s; }
.store-reveal[data-delay="3"] { animation-delay: 0.3s; }
.store-reveal[data-delay="4"] { animation-delay: 0.4s; }
.store-reveal[data-delay="5"] { animation-delay: 0.5s; }

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

/* Hero elements reveal order */
.store-hero .store-reveal--hero { animation-delay: 0s; }
.store-hero .store-reveal--logo { animation-delay: 0.15s; }
.store-hero .store-reveal--badge { animation-delay: 0.3s; }
.store-hero .store-reveal--actions { animation-delay: 0.45s; }

/* =============================================================================
   Masonry Product Grid with Story Cards
   ============================================================================= */

.store-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.store-masonry__item {
    break-inside: avoid;
}

/* Story Card (Non-product content) */
.store-story-card {
    background: linear-gradient(135deg, #FFF3E5 0%, #fff 100%);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #f0e6dc;
}

.store-story-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--store-primary);
    color: #fff;
    border-radius: 50%;
    margin-bottom: 12px;
    font-size: 18px;
}

.store-story-card__title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1A6355;
}

.store-story-card__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #595959;
}

.store-story-card__image {
    width: 100%;
    border-radius: 4px;
    margin-top: 12px;
}

/* =============================================================================
   Cinematic Responsive - Tablet
   ============================================================================= */

@media (max-width: 1050px) {
    .store-masonry {
        grid-template-columns: repeat(3, 1fr);
    }

    .store-hero__identity {
        bottom: -32px;
        left: 16px;
        padding: 12px 16px 12px 12px;
    }

    .store-hero__identity-logo {
        width: 60px;
        height: 60px;
    }

    .store-hero__identity-name {
        font-size: 18px;
    }

    .store-cinema__play-btn {
        width: 60px;
        height: 60px;
    }

    .store-cinema__play-btn::after {
        border-width: 10px 0 10px 16px;
    }
}

/* =============================================================================
   Cinematic Responsive - Mobile
   ============================================================================= */

@media (max-width: 670px) {
    .store-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .store-hero__identity {
        position: relative;
        bottom: auto;
        left: auto;
        margin: -24px 16px 0;
        border-radius: 8px;
    }

    .store-hero__identity-logo {
        width: 52px;
        height: 52px;
    }

    .store-hero__identity-name {
        font-size: 16px;
    }

    .store-hero__identity-tagline {
        font-size: 12px;
    }

    .store-cinema__frame {
        border-radius: 8px;
    }

    .store-cinema__play-btn {
        width: 52px;
        height: 52px;
    }

    .store-cinema__play-btn::after {
        border-width: 8px 0 8px 14px;
        margin-left: 3px;
    }

    .store-timeline {
        padding-left: 24px;
    }

    .store-timeline::before {
        left: 6px;
    }

    .store-timeline__dot {
        left: -22px;
        width: 12px;
        height: 12px;
    }

    .store-timeline__year {
        font-size: 12px;
        padding: 3px 10px;
    }

    .store-timeline__event {
        font-size: 14px;
    }

    .store-story-card {
        padding: 16px;
    }

    .store-story-card__icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .store-story-card__title {
        font-size: 14px;
    }

    .store-story-card__text {
        font-size: 13px;
    }
}

/* =============================================================================
   Small Mobile Cinematic
   ============================================================================= */

@media (max-width: 400px) {
    .store-masonry {
        grid-template-columns: 1fr;
    }

    .store-hero__identity {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
    }

    .store-hero__identity-logo {
        margin-bottom: 8px;
    }

    .store-hero__identity-name,
    .store-hero__identity-tagline {
        white-space: normal;
    }
}

/* =============================================================================
   Reduced Motion Preferences
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
    .store-reveal,
    .store-timeline__item,
    .store-cinema__frame--scale-in,
    .store-section {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .store-hero__cover--parallax {
        background-attachment: scroll;
    }
}

/* =============================================================================
   Store Info Widget
   ============================================================================= */

.store-info {
    margin-bottom: 32px;
}

.store-info__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.store-info__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
}

.store-info__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    color: var(--store-primary);
    font-size: 18px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.store-info__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store-info__label {
    font-size: 12px;
    color: #7d91a3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-info__value {
    font-size: 14px;
    font-weight: 500;
    color: #1A6355;
}

.store-info__note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    background: #FFF3E5;
    border-radius: 8px;
    font-size: 13px;
    color: #80452c;
}

.store-info__note i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #bf833a;
}

@media (max-width: 670px) {
    .store-info__grid {
        grid-template-columns: 1fr;
    }

    .store-info__item {
        padding: 12px;
    }

    .store-info__icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* =============================================================================
   Store Policies Widget (Accordion)
   ============================================================================= */

.store-policies {
    margin-bottom: 32px;
}

.store-policies__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-policy-item {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
}

.store-policy-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.store-policy-item__header:hover {
    background: #f9f9f9;
}

.store-policy-item__title {
    font-size: 15px;
    font-weight: 500;
    color: #1A6355;
}

.store-policy-item__icon {
    color: #7d91a3;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.store-policy-item.is-open .store-policy-item__icon {
    transform: rotate(180deg);
}

.store-policy-item__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.store-policy-item.is-open .store-policy-item__content {
    max-height: 1000px;
}

.store-policy-item__body {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #4D4D4D;
}

.store-policy-item__body p {
    margin: 0 0 12px 0;
}

.store-policy-item__body p:last-child {
    margin-bottom: 0;
}

.store-policy-item__body ul,
.store-policy-item__body ol {
    margin: 0 0 12px 0;
    padding-left: 20px;
}

@media (max-width: 670px) {
    .store-policy-item__header {
        padding: 14px;
    }

    .store-policy-item__title {
        font-size: 14px;
    }

    .store-policy-item__body {
        padding: 0 14px 14px;
        font-size: 13px;
    }
}

/* =============================================================================
   Load More Button
   ============================================================================= */

.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    border: 2px solid #1A6355;
    border-radius: 30px;
    font-family: 'Fira Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1A6355;
    cursor: pointer;
    transition: all 0.25s ease;
    margin: 10px auto;
}

.load-more-btn:hover {
    background: #1A6355;
    color: #fff;
}

.load-more-btn:hover .load-more-btn__icon svg {
    stroke: #fff;
}

.load-more-btn:active {
    transform: scale(0.97);
}

.load-more-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.load-more-btn:hover .load-more-btn__icon {
    transform: translateY(3px);
}

.load-more-btn__icon svg {
    stroke: #1A6355;
    transition: stroke 0.25s ease;
}

/* Loading state for button */
.load-more-btn.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

.load-more-btn.is-loading .load-more-btn__icon {
    animation: loadMoreBounce 0.6s ease infinite;
}

@keyframes loadMoreBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Store page specific - hide sort/filter header */
.store-section--products .grid-header-controls {
    display: none;
}

/* Store page specific - adjust product grid padding */
.store-section--products .container-size-1 {
    padding-top: 0;
}

@media (max-width: 670px) {
    .load-more-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: calc(100% - 32px);
        max-width: 300px;
    }
}

/* =============================================================================
   Store Edit Buttons (Owner Only)
   ============================================================================= */

.store-hero__upload-input {
    display: none;
}

/* Cover Edit Button */
.store-hero__edit-cover {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 20px;
    font-family: 'Fira Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1A6355;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.store-hero__edit-cover:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.store-hero__edit-cover i {
    font-size: 14px;
}

/* Logo Edit Button */
.store-hero__logo {
    position: relative;
}

.store-hero__edit-logo {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #1A6355;
    border-radius: 50%;
    font-size: 12px;
    color: #1A6355;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.store-hero__edit-logo:hover {
    background: #1A6355;
    color: #fff;
    transform: scale(1.1);
}

/* Upload Loading State */
.store-hero__edit-btn.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

.store-hero__edit-btn.is-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile adjustments */
@media (max-width: 670px) {
    .store-hero__edit-cover {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .store-hero__edit-cover span {
        display: none;
    }

    .store-hero__edit-logo {
        width: 28px;
        height: 28px;
        bottom: 2px;
        right: 2px;
        font-size: 11px;
    }
}
