/* Art Photography for WooCommerce - Frontend Styles */

/* Main container */
.art-photography-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    color: #333;
}

/* Product header */
.art-photography-product-header {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    border: none;
}

.art-photography-product-title {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 10px;
    color: #333;
    letter-spacing: 0.5px;
}

.art-photography-product-artist {
    font-size: 18px;
    margin-bottom: 5px;
    font-style: italic;
    color: #777;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25em;
}

/* Article (A/An) before collection adjective */
.collection-article {
    color: #777;
    font-style: italic;
    font-weight: 400;
}

/* "by" text between collection and artist name */
.artist-by-text {
    color: #777;
    font-style: italic;
    font-weight: 400;
}

/* Artist name - bold styling */
.artist-name {
    color: #333;
    font-weight: 600;
    font-style: normal;
}

/* Collection name link styling - consistent color, no visited state change */
.collection-name-link {
    color: #5a6a51;
    text-decoration: none;
    transition: color 0.2s ease;
    font-style: italic;
    font-weight: 400;
}

.collection-name-link:visited {
    color: #5a6a51;
}

.collection-name-link:hover {
    color: #3d4a36;
    text-decoration: underline;
}

/* Non-linked collection name */
.collection-name {
    color: #5a6a51;
    font-style: italic;
    font-weight: 400;
}

/* Main product layout */
.art-photography-product-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.art-photography-product-image {
    flex: 1 1 55%;
    position: relative;
}

.art-photography-product-info {
    flex: 1 1 35%;
    min-width: 300px;
}

/* Image styling */
.art-photography-full-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Premium frame styling - matches the design in reference image */
.art-photography-premium-frame {
    border: 6px solid white;
    padding: 10px; /* Fallback value */
    padding: var(--art-photography-frame-padding);
    box-sizing: border-box;
    background-color: white;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

/* Copyright notice styling - center aligned as shown in reference */
.art-photography-copyright {
    font-size: 12px;
    color: #777;
    text-align: center;
    margin-top: 8px;
    padding-top: 6px;
    font-style: normal;
    font-family: 'Helvetica', Arial, sans-serif;
    line-height: 1.5;
}

/* First line: Copyright © Year Photographer's Name */
.art-photography-copyright .copyright-line {
    margin-bottom: 3px;
}

/* Second line: Brand name */
.art-photography-copyright .copyright-brand {
    font-size: 11px;
}

.art-photography-copyright .brand-highlight {
    font-weight: bold;
    color: #555;
    background-color: #4a5a41;
    color: white;
    padding: 2px 10px;
    border-radius: 2px;
    margin-left: 5px;
}

/* Limited edition badge */
/* Limited Edition badge removed */

.brand-name {
    font-weight: bold;
    margin: 0 5px;
}

.art-photography-label {
    font-style: italic;
}

/* About section */
.art-photography-about {
    margin-top: 20px;
    padding-top: 20px;
}

.art-photography-about-content {
    line-height: 1.7;
    font-size: 16px;
}

.art-photography-about-content p {
    margin-bottom: 15px;
}

/* Purchase form */
.art-photography-purchase-form {
    padding: 10px;
}

/* Price display */
.product-price-display {
    margin-bottom: 20px;
    text-align: center;
}

.current-price-container {
    display: inline-block;
    position: relative;
}

.current-price-value {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

/* Purchase type section */
.purchase-type-section {
    margin-bottom: 30px;
}

.purchase-options-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Radio options */
.radio-option {
    display: flex;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover, .radio-option.selected {
    border-color: #666;
    background-color: #f5f5f5;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.purchase-option-radio {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.custom-radio {
    display: inline-block;
    width: 14px !important;
    height: 14px !important;
    border: none;
    border-radius: 50%;
    position: relative;
}

.radio-option.selected .custom-radio:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #333;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.purchase-option-content {
    flex-grow: 1;
}

.purchase-option-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.radio-option-label {
    font-weight: bold;
    color: #333;
}

.option-price {
    font-weight: bold;
}

.option-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Collapsible section styling */
.art-photography-purchase-options {
    margin-top: 5px;
}

.option-section {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

/* Style for purchase type section - no outer border */
.purchase-type-section {
    margin-bottom: 15px;
    overflow: hidden;
}

.option-title {
    position: relative;
    padding: 15px;
    margin: 0;
    background-color: #f9f9f9;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.section-title-text {
    flex-grow: 1;
    color: #555;
}

.collapse-indicator {
    width: 20px;
    height: 20px;
    position: relative;
}

.collapse-indicator:before,
.collapse-indicator:after {
    content: '';
    position: absolute;
    background-color: #555;
    transition: transform 0.3s ease;
}

.collapse-indicator:before {
    width: 2px;
    height: 10px;
    top: 5px;
    left: 9px;
}

.collapse-indicator:after {
    width: 10px;
    height: 2px;
    top: 9px;
    left: 5px;
}

.collapsed .collapse-indicator:before {
    transform: rotate(-90deg);
}

.selected-option-preview {
    font-size: 14px;
    color: #888;
    margin-left: 10px;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collapsible-content {
    max-height: 1000px;
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
}

.collapsed .collapsible-content {
    max-height: 0;
}

/* Compact option style for collapsible content */
.compact-option {
    display: flex;
    padding: 12px 15px;
    border: 1px solid #e0e0e0 !important;
    border-radius: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.compact-option:last-child {
    border-bottom: none;
}

.compact-option:hover, .compact-option.selected {
    background-color: #f5f5f5;
}

.compact-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.compact-radio {
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.compact-option .custom-radio {
    border: none !important;
    width: 14px !important;
    height: 14px !important;
}

.compact-label {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
    margin-bottom: 3px;
}

.compact-price {
    color: #666;
}

.compact-description {
    font-size: 13px;
    color: #777;
    margin-left: 30px;
}

/* Checkbox option style */
.checkbox-option {
    display: flex;
    padding: 15px;
    border: 1px solid #e0e0e0 !important;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.checkbox-option:hover, .checkbox-option.selected {
    border-color: #666;
    background-color: #f5f5f5;
}

.checkbox-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.custom-checkbox {
    display: inline-block;
    width: 14px !important;
    height: 14px !important;
    border: none;
    position: relative;
}

.checkbox-option.selected .custom-checkbox:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 5px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(-45deg);
    top: 4px;
    left: 3px;
}

.checkbox-option-label {
    font-weight: bold;
    color: #333;
}

/* Total price section */
.art-photography-total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.art-photography-total-price-label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.art-photography-total-price-value {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

/* Button styling */
.art-photography-buttons {
    margin-top: 20px;
    text-align: center;
}

.art-photography-add-to-cart {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.art-photography-add-to-cart:hover {
    background-color: #555;
}

/* Profile info section */
.art-photography-profile-info {
    margin-top: 50px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

/* Photographer profile section - removing gap */
.art-photography-photographer-profile {
    gap: 0 !important;
    display: block;
}

.art-photography-profile-info h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 500;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.art-photography-profile-image {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}

.art-photography-profile-image img {
    width: 100%;
    height: auto;
}

.art-photography-profile-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.art-photography-profile-bio,
.art-photography-profile-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* Collection Archive Styles - Redesigned for 1.3.7 - SINGLE PRODUCT VIEW ONLY */

/* Main container for collection pages - matched with single product template */
/* ONLY affects single product pages, not taxonomy pages */
.single-product .art-photography-collection-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
}

/* Collection header with left-aligned text as in screenshot */
/* ONLY affects single product pages, not taxonomy pages */
.single-product .art-photography-collection-header {
    text-align: left;
    margin-bottom: 30px; 
    margin-top: 0;
    padding: 0;
}

/* Tagline styling - "To Appreciate Art More Deeply" */
/* ONLY affects single product pages, not taxonomy pages */
.single-product .art-photography-collection-tagline {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-align: left;
}

/* Collection title - Large format as in screenshot */
/* ONLY affects single product pages, not taxonomy pages */
.single-product .art-photography-collection-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: #333;
    letter-spacing: -0.5px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-transform: none;
    text-align: left;
}

/* Collection description - matches screenshot */
/* ONLY affects single product pages, not taxonomy pages */
.single-product .art-photography-collection-description {
    font-size: 15px;
    line-height: 1.65;
    color: #666;
    margin: 0 0 40px 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    max-width: 100%;
    text-align: left;
}

/* Collection list - vertical list as in screenshot */
/* These styles ONLY apply to product pages, not taxonomy pages */
.single-product .art-photography-collection-list {
    display: block;
    margin: 0 0 60px 0;
    padding: 0;
}

/* Individual collection item styling - vertical listing with correct spacing */
/* These styles ONLY apply to product pages, not taxonomy pages */
.single-product .art-photography-collection-item {
    width: 100%;
    transition: opacity 0.2s ease;
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 30px;
}

.single-product .art-photography-collection-item:last-child {
    border-bottom: none;
}

.single-product .art-photography-collection-item:hover {
    opacity: 0.9;
}

.single-product .art-photography-collection-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Image container - exactly as in screenshot */
/* These styles ONLY apply to product pages, not taxonomy pages */
.single-product .art-photography-collection-item-image {
    position: relative;
    width: 220px;
    margin-bottom: 15px;
    line-height: 0; /* Removes space below image */
}

/* Image styling - matches screenshot */
/* These styles ONLY apply to product pages, not taxonomy pages */
.single-product .art-photography-collection-item-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 0;
}

/* Details container */
/* These styles ONLY apply to product pages, not taxonomy pages */
.single-product .art-photography-collection-item-details {
    padding-top: 5px;
}

/* Title styling - matches screenshot */
/* These styles ONLY apply to product pages, not taxonomy pages */
.single-product .art-photography-collection-item-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #333;
    line-height: 1.3;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-align: left;
}

/* Photographer name styling - matches screenshot */
/* These styles ONLY apply to product pages, not taxonomy pages */
.single-product .art-photography-collection-item-photographer {
    font-size: 14px;
    font-style: normal;
    color: #777;
    margin-bottom: 4px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-align: left;
}

/* Price styling - matches screenshot */
/* These styles ONLY apply to product pages, not taxonomy pages */
.single-product .art-photography-collection-item-price {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-align: left;
}

/* Load More Button - matches screenshot */
/* Collection load more button removed from here - moved to collection-template.css */

.art-photography-load-more-button {
    display: inline-block;
    background-color: transparent;
    color: #555;
    border: none;
    padding: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 500;
}

/* No products message - moved to template-specific CSS files */

/* Responsive adjustments - ONLY FOR SINGLE PRODUCT */
@media (max-width: 1200px) {
    /* Collection grid styling moved to template-specific CSS files */
    
    .single-product .art-photography-collection-title {
        max-width: 90%;
        font-size: 44px;
    }
    
    .single-product .art-photography-collection-description {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    /* Collection grid styling moved to template-specific CSS files */
    
    .single-product .art-photography-collection-title {
        max-width: 100%;
        font-size: 40px;
    }
    
    .single-product .art-photography-collection-description {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    /* Collection grid styling moved to template-specific CSS files */
    
    .single-product .art-photography-collection-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    /* Collection grid styling moved to template-specific CSS files */
}

/* Pagination - moved most of this to collection-template.css */

/* Load more button styles moved to template-specific CSS files */

/* Pagination styles moved to template-specific CSS files */

/* No products message - moved to template-specific CSS files */

/* Responsive design */
@media (max-width: 1200px) {
    /* Collection grid styling moved to template-specific CSS files */
}

@media (max-width: 992px) {
    .art-photography-product-image,
    .art-photography-product-info {
        flex: 1 1 100%;
    }
    
    .art-photography-product-image {
        margin-bottom: 30px;
    }
    
    /* Collection grid styling moved to template-specific CSS files */
}

@media (max-width: 768px) {
    /* Collection grid styling moved to template-specific CSS files */
    
    .single-product .art-photography-collection-title {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .art-photography-product-title,
    .single-product .art-photography-collection-title {
        font-size: 28px;
    }
    
    /* Collection grid styling moved to template-specific CSS files */
    
    .purchase-option-header {
        flex-direction: column;
    }
    
    .compact-label {
        flex-direction: column;
    }
    
    .art-photography-total-price {
        flex-direction: column;
        text-align: center;
    }
    
    .art-photography-total-price-value {
        margin-top: 10px;
    }
}