/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.header-image {
    width: 100%;
    height: 320px;
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center center / cover no-repeat;
    position: relative;
}

.header-image.image-1 {
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center center / cover no-repeat;
}

.header-image.image-2 {
    background: url('https://images.unsplash.com/photo-1505142468610-359e7d316be0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center center / cover no-repeat;
}

.header-image.image-3 {
    background: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center center / cover no-repeat;
}

.header-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.1) 0px,
        rgba(255, 255, 255, 0.1) 2px,
        transparent 2px,
        transparent 8px
    );
    opacity: 0.3;
}

.header-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 10;
}

.image-indicator {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
}

.nav-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-icon::before {
    content: '';
    display: block;
}

.back-arrow::before {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 10px solid rgba(255, 255, 255, 0.8);
}

.after-arrow::before {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid rgba(255, 255, 255, 0.8);
}

.share-icon::before {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    box-shadow: 
        6px -6px 0 -4px rgba(255, 255, 255, 0.8),
        -6px 6px 0 -4px rgba(255, 255, 255, 0.8);
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    margin-top: -64px;
    position: relative;
    z-index: 5;
}

.profile-avatar {
    width: 128px;
    height: 128px;
    border-radius: 64px;
    background: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80') center center / cover no-repeat;
    border: 4px solid #ffffff;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.profile-avatar::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
}

.profile-avatar::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 60px;
    background: transparent;
    border-radius: 50% 50% 0 0;
}

.profile-info {
    text-align: center;
}

.profile-name {
    font-size: 22px;
    font-weight: 700;
    color: #0f1417;
    line-height: 28px;
    margin-bottom: 4px;
}

.profile-title {
    font-size: 16px;
    font-weight: 400;
    color: #5c738a;
    line-height: 24px;
    margin-bottom: 2px;
}

.profile-location {
    font-size: 16px;
    font-weight: 400;
    color: #5c738a;
    line-height: 24px;
}

.profile-description {
    padding: 16px;
    text-align: center;
}

.profile-description p {
    font-size: 16px;
    font-weight: 400;
    color: #0f1417;
    line-height: 24px;
    max-width: 400px;
    margin: 0 auto;
}

.social-links {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.social-button {
    background-color: #ebedf2;
    border: none;
    border-radius: 20px;
    height: 40px;
    width: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f1417;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-button:hover {
    background-color: #d6dae0;
}

/* Shopify product component centering */
#product-component-1751650784361 {
    display: flex;
    justify-content: center;
    padding: 20px 16px;
    max-width: 100%;
}

#product-component-1751650784361 > div {
    max-width: 100%;
    margin: 0 auto;
}

/* Override Shopify's default styles for better centering */
.shopify-buy__product {
    margin: 0 auto !important;
    max-width: 100% !important;
}

.shopify-buy__product-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Product section wrapper */
.product-section {
    padding: 20px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Responsive design */
@media (max-width: 480px) {
    .app-container {
        box-shadow: none;
    }
    
    .header-nav {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .header-image {
        height: 280px;
    }
    
    .profile-section {
        margin-top: -50px;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
        border-radius: 50px;
    }
    
    .profile-name {
        font-size: 20px;
    }
}

@media (max-width: 320px) {
    .profile-description {
        padding: 12px;
    }
    
    .social-links {
        padding: 8px 12px;
    }
}
