/*
Theme Name: BAZZ FIT Theme
Theme URI: http://bazz-fit.com/
Author: Antigravity
Description: A minimal and clean theme for BAZZ FIT, inspired by clean apparel shops. Designed to integrate Stripe payments and email inquiries.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bazz-theme
*/

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    color: #252525;
    background-color: #ffffff;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #252525;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Layout Wrapper */
.site-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Header (Left Sidebar) */
.site-header {
    width: 240px;
    background-color: #ffffff;
    border-right: 1px solid #f2f2f2;
    padding: 60px 40px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 40px;
    overflow-y: auto;
}

.site-logo {
    margin-bottom: 10px;
}

.site-logo img {
    width: 100%;
    max-width: 160px;
    height: auto;
}

.site-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 16px;
}

.main-navigation li {
    font-size: 13px;
}

.main-navigation a {
    color: #666666;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: block;
    padding: 4px 0;
}

.main-navigation a:hover {
    color: #252525;
}

/* SNS Links in Sidebar */
.site-sns-links {
    margin-top: auto;
    display: flex;
    gap: 16px;
    align-items: center;
}

.instagram-icon {
    color: #888888;
    transition: color 0.2s ease;
}

.instagram-icon:hover {
    color: #252525;
}

/* SNS Links in Footer */
.footer-sns-links {
    display: none;
}

/* Menu Toggle Button for Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    color: #252525;
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
    margin-left: 240px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main Content Area */
.site-main {
    flex: 1;
    padding: 60px 50px;
    background-color: #ffffff;
}

/* Footer */
.site-footer {
    border-top: 1px solid #f2f2f2;
    padding: 40px 0;
    margin-top: 80px;
    font-size: 11px;
    color: #999999;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #888888;
}

/* Archive / Front Page Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 40px 30px;
    margin: 20px 0 60px;
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-image-link {
    display: block;
    overflow: hidden;
    background-color: #f7f7f7;
    margin-bottom: 15px;
    aspect-ratio: 1 / 1;
}

.product-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-image-link img {
    transform: scale(1.05);
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #252525;
}

.product-price {
    font-size: 13px;
    color: #666666;
    font-weight: 600;
}

/* Single Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    margin: 20px 0 60px;
}

.product-gallery {
    background-color: #f7f7f7;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-detail-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-detail-price {
    font-size: 16px;
    font-weight: 600;
    color: #252525;
    margin-bottom: 30px;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 15px;
}

.product-description {
    font-size: 13px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 40px;
}

/* Purchase Actions */
.purchase-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-payment-wrapper {
    width: 100%;
}

/* Buttons */
.btn-primary,
.simpay-checkout-btn {
    display: block;
    width: 100%;
    background-color: #1a2a4a;
    color: #ffffff;
    text-align: center;
    padding: 16px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.btn-primary:hover,
.simpay-checkout-btn:hover {
    background-color: #2c3e60;
}

.btn-secondary {
    display: block;
    width: 100%;
    background-color: #ffffff;
    color: #1a2a4a;
    border: 1px solid #1a2a4a;
    text-align: center;
    padding: 15px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.btn-secondary:hover {
    background-color: #f4f6f9;
}

/* Page styles */
.page-title {
    font-size: 24px;
    font-weight: 500;
    margin: 20px 0 30px;
    text-align: left;
}

.page-content {
    margin-bottom: 60px;
}

/* WordPress Default Alignments */
.aligncenter {
    display: block;
    margin: 20px auto;
}
.alignleft {
    float: left;
    margin: 20px 20px 20px 0;
}
.alignright {
    float: right;
    margin: 20px 0 20px 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .site-wrapper {
        flex-direction: column;
    }
    
    .site-header {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid #f2f2f2;
        padding: 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        overflow-y: visible;
        gap: 0;
    }
    
    .site-logo {
        margin-bottom: 0;
    }
    
    .site-logo img {
        max-height: 32px;
        width: auto;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid #f2f2f2;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        z-index: 99;
    }
    
    .main-navigation.is-open {
        display: block;
    }
    
    .content-wrapper {
        margin-left: 0;
    }
    
    .site-main {
        padding: 40px 20px;
    }
    
    .site-sns-links {
        display: none;
    }
    
    .footer-sns-links {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-detail-title {
        font-size: 20px;
    }
}
