.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #73C14C;
  font-weight: 600;
  text-decoration: none;
}

/* Store Card */
.store-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
}

.store-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.store-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Store details */
.store-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-address, .store-hours {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #444;
    font-size: 0.9rem;
    line-height: 1.4;
}

.store-address i, .store-hours i {
    color: #28a745;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Store description in meta */
.store-meta .store-description {
    color: #666;
    font-size: 0.85rem;
    margin-top: 4px;
    line-height: 1.3;
}

/* Store city */
.store-city {
    display: block;
    color: #777;
    font-size: 0.85rem;
}

/* Store info - general */
.store-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Store card specific info */
.store-card-info .store-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.store-card-info .store-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #e1e5e9;
}

.store-card-info .store-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* Correção para manter avatar circular em mobile */
.store-card-info .store-avatar,
.store-info .store-avatar {
    width: 60px;
    height: 60px;
    aspect-ratio: 1 / 1;
    flex: 0 0 60px;
    min-width: 60px;
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.store-card-info .store-logo,
.store-info .store-logo {
    width: 60px;
    height: 60px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    flex: 0 0 60px;
}

/* Store Cover */
.store-cover {
    width: 100%;
    height: 160px;
    background: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px 15px 0 0;
}

.store-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .store-card {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .store-description {
        text-align: left;
    }

    .store-contact {
        text-align: left;
    }

    .store-cover {
        height: 120px;
    }
}

/* Store location icon */
.store-location {
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-location .loc-icon {
    width: 14px;
    height: 14px;
    vertical-align: text-bottom;
    flex-shrink: 0;
}

/* Menu Toggle Button */
.menu-toggle {
    background: none;
    border: none;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    display: none;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(115, 193, 76, 0.1);
    color: #73C14C;
}

/* Header styles for store */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn {
    background: linear-gradient(45deg, #73C14C, #128c7e);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(115, 193, 76, 0.3);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    background: linear-gradient(45deg, #73C14C, #128c7e);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.user-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(115, 193, 76, 0.3);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-link {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.profile-link:hover {
    background: #f8f9fa;
    color: #73C14C;
}

.logout-link {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.logout-link:hover {
    background: #f8f9fa;
    color: #73C14C;
}

.panel-link {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.panel-link:hover {
    background: #f8f9fa;
    color: #73C14C;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .header-right {
        display: none;
    }

    .header-right.show {
        display: flex;
        flex-direction: column;
        gap: 12px;
        position: absolute;
        top: 100%;
        right: 15px;
        left: 15px;
        background: white;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        z-index: 200;
    }

    .login-btn {
        width: 100%;
        justify-content: center;
    }

    .user-dropdown {
        width: 100%;
    }

    .user-btn {
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu {
        right: auto;
        left: 0;
        min-width: 100%;
    }
}

/* Skeleton Loading Styles */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-store-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skeleton-store-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
}

.skeleton-store-name {
    height: 24px;
    width: 60%;
    margin-bottom: 8px;
}

.skeleton-store-description {
    height: 16px;
    width: 80%;
    margin-bottom: 4px;
}

.skeleton-store-description:last-child {
    width: 50%;
}

.skeleton-store-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.skeleton-store-location,
.skeleton-store-hours {
    height: 16px;
    width: 120px;
}

.skeleton-store-contact {
    height: 40px;
    width: 200px;
    border-radius: 25px;
    margin-top: 15px;
}

.skeleton-product-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-product-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
}

.skeleton-product-title {
    height: 20px;
    width: 70%;
}

.skeleton-product-price {
    height: 18px;
    width: 40%;
    margin-top: 8px;
}

.skeleton-product-stats {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.skeleton-product-stat {
    height: 16px;
    width: 50px;
}

/* Responsive skeleton adjustments */
@media (max-width: 768px) {
    .skeleton-store-card {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .skeleton-product-card {
        padding: 12px;
    }

    .skeleton-product-image {
        height: 150px;
    }
}
