/* David Scott Studio - White Header/Footer Version */
:root {
    --white: #ffffff;
    --off-white: #fafafa;
    --light-grey: #f0f0f0;
    --mid-grey: #dddddd;
    --dark-grey: #333333;
    --text-dark: #222222;
    --text-light: #666666;
    --border-color: #eeeeee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Site Header - Clean White */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    padding: 10px 0;
    width: 100%;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo Area - This is the key part */
.logo-area {
    display: flex;
    align-items: center;
    flex-direction: row;  /* Force horizontal layout */
    gap: 15px;
}

.logo-link {
    display: block;
    line-height: 0;  /* Removes extra space below image */
}

.logo-link img {
    height: 45px;
    width: auto;
    display: block;
}

.artist-name {
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    white-space: nowrap;
    line-height: 1.2;
}

/* Menu Styles */
.mod-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.mod-menu a {
    color: #333333;
    text-decoration: none;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-area {
        width: 100%;
        justify-content: center;
    }
}
/* Navigation Menu */
.mod-menu {
    background: transparent;
}

.mod-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.mod-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.mod-menu a:hover {
    color: #000;
    border-bottom-color: #000;
}

/* Main Content Area */
.site-main {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 60vh;
}

/* White Footer */
.site-footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    margin-top: 60px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.site-footer p {
    margin-top: 20px;
}

.site-footer a {
    color: var(--text-dark);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Product Grid (for J2Store/VirtueMart) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.product-item {
    text-align: center;
    transition: transform 0.2s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 5px;
    color: var(--text-dark);
}

.product-price {
    font-size: 15px;
  font-weight: normal;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 10px;
    }
    
    .mod-menu ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 30px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}
.mt-4 {
    margin-top: 40px;
}
.mb-4 {
    margin-bottom: 40px;
}


/* Clear float after the elements */
.com_j2store.view-product .j2store-product-details:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive - stack on mobile */
@media (max-width: 768px) {
    .com_j2store.view-product .product-image-container,
    .com_j2store.view-product .product-details {
        float: none;
        width: 100%;
        margin-right: 0;
    }
}


/* Adjust for Bootstrap's grid */
@media (min-width: 768px) {
    .com_j2store.view-product .tab-content {
        left: calc(50% + 15px) !important; /* Account for Bootstrap gutters */
        width: calc(45% - 30px) !important;
    }
}

/* Style the description text */
.com_j2store.view-product .product-sdesc {
    padding: 0 !important;
    margin-top: 80px !important; /* Push it below the title/add-to-cart area */
}

.com_j2store.view-product .product-sdesc p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}



/* Mobile responsive - restore tabs on small screens */
@media (max-width: 767px) {
    .com_j2store.view-product #j2store-product-detail-tab {
        display: flex !important;
    }
    
    .com_j2store.view-product .tab-content {
        position: static !important;
        width: 100% !important;
        margin-top: 20px !important;
    }
    
    .com_j2store.view-product .product-sdesc {
        margin-top: 0 !important;
    }

/* Override J2Store price bold styling */
html body .j2store .product-price-container .sale-price,
html body .item-page .sale-price,
html body .sale-price {
    font-weight: normal !important;
    font-size: 14px !important;
}