/* Shop page specific styles */

/* Shop header */
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-md);
    margin-top: 44px; /* Status bar height */
}

.shop-location {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.location-avatar {
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.location-info p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: -5px;
}

.location-info h1 {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.location-info h1 i {
    font-size: 0.8rem;
    margin-top: 3px;
    transition: transform 0.3s ease;
}

/* Dropdown styling */
.location-info {
    position: relative;
    cursor: pointer;
}

.location-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: none;
    overflow: hidden;
    margin-top: 5px;
}

.location-info.open .location-dropdown {
    display: block;
}

.location-info.open h1 i {
    transform: rotate(180deg);
}

.location-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-dropdown li {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1rem;
    transition: background-color 0.2s;
}

.location-dropdown li:hover {
    background-color: var(--bg-hover);
}

.location-dropdown li.active {
    background-color: var(--bg-active);
    font-weight: 500;
}

.shop-actions {
    display: flex;
    gap: var(--spacing-md);
}

/* Store hours */
.store-hours {
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-md) var(--spacing-md);
    font-size: 0.9rem;
    color: #555;
}

.store-hours i {
    margin-right: var(--spacing-xs);
}

.store-status {
    margin-left: var(--spacing-md);
    display: flex;
    align-items: center;
}

.store-status::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #4CAF50;
    border-radius: 50%;
    margin-right: 4px;
}

/* Store exclusive products */
.store-exclusive {
    margin-bottom: var(--spacing-lg);
}

/* Loyalty card */
.loyalty-section {
    padding: 0 var(--spacing-md) var(--spacing-xl);
}

.loyalty-card {
    background-color: var(--primary-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    color: var(--secondary-color);
}

.loyalty-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.loyalty-tag {
    background-color: #C0C0C0;
    color: var(--text-color);
    font-weight: 600;
    padding: 2px var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.loyalty-location {
    font-size: 0.9rem;
    opacity: 0.9;
}

.loyalty-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: -5px;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.loyalty-wheel-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.loyalty-wheel {
    position: relative;
    width: 70px;
    height: 70px;
}

.wheel-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #FF5252 0deg 72deg,
        #FF9800 72deg 144deg,
        #FFEB3B 144deg 216deg,
        #4CAF50 216deg 288deg,
        #2196F3 288deg 360deg
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.wheel-circle::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 4px;
    bottom: 4px;
    left: 4px;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: 0;
}

.wheel-value {
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.wheel-label {
    font-size: 0.7rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
    margin-top: -5px;
}

.wheel-caption {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wheel-caption div:first-child {
    font-size: 0.9rem;
    font-weight: 600;
}

.wheel-caption div:last-child {
    font-size: 0.8rem;
    opacity: 0.8;
}

.next-level {
    font-size: 0.9rem;
}

.next-level-name {
    color: #FFD700; /* Gold color */
    font-weight: 600;
}

.progress-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    margin-top: var(--spacing-xs);
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: #FFD700;
    border-radius: var(--radius-full);
}

.progress-marker {
    position: absolute;
    top: -2px;
    right: 32%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #4CAF50;
}

/* Products from looks */
.looks-products {
    margin-bottom: var(--spacing-xl);
}
