/* Cherry Vintage Chandelier Size Guide - Combined Stylesheet */

.cvsg-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: "Helvetica", sans-serif;
    color: #000000;
    background-color: transparent;
    padding: 40px 20px;
    line-height: 1.6;
}

/* Typography */
.cvsg-header {
    text-align: center;
    margin-bottom: 60px;
}

.cvsg-header h1 {
    font-family: "Libre Baskerville", serif;
    font-size: 3em;
    margin-bottom: 15px;
    color: #000000;
    text-transform: none;
}

.cvsg-subtitle {
    font-size: 1.2em;
    color: #735346;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

.cvsg-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.cvsg-section-header h2 {
    font-family: "Libre Baskerville", serif;
    font-size: 2em;
    margin-bottom: 10px;
    color: #000000;
}

.cvsg-section-header p {
    color: #735346;
    font-size: 1.1em;
}

/* Sections */
.cvsg-intro-section {
    margin-bottom: 80px;
}

.cvsg-intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1em;
}

.cvsg-intro-text p {
    margin-bottom: 20px;
}

.cvsg-calculator-section {
    margin-bottom: 100px;
}

.cvsg-categories-section {
    margin-bottom: 100px;
}

.cvsg-table-section {
    margin-bottom: 80px;
}

/* Calculator Grid */
.cvsg-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Cards */
.cvsg-card {
    background: transparent;
    border: 1px solid #735346;
    padding: 35px;
    border-radius: 0;
    height: 100%;
}

.cvsg-card h3 {
    font-family: "Libre Baskerville", serif;
    color: #000000;
    margin-bottom: 25px;
    font-size: 1.4em;
    border-bottom: 1px solid #735346;
    padding-bottom: 10px;
}

.cvsg-card h4 {
    color: #735346;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tabs */
.cvsg-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #735346;
}

.cvsg-tab-btn {
    padding: 10px 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    color: #735346;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cvsg-tab-btn.active {
    color: #000000;
    border-bottom-color: #735346;
}

.cvsg-tab-pane {
    display: none;
}

.cvsg-tab-pane.active {
    display: block;
}

/* Forms */
.cvsg-form-group {
    margin-bottom: 20px;
}

.cvsg-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cvsg-form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #735346;
    border-radius: 0;
    font-size: 1em;
    background-color: transparent;
}

.cvsg-form-group input:focus {
    outline: none;
    border-color: #735346;
    background-color: rgba(115, 83, 70, 0.05);
}

.cvsg-hint {
    font-size: 0.8em;
    color: #735346;
    margin-top: 5px;
    font-style: italic;
}

/* Results */
.cvsg-result {
    background: transparent;
    border: 1px solid #735346;
    color: #735346;
    padding: 25px;
    text-align: center;
    margin-top: 20px;
}

.cvsg-result h4 {
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    color: #735346;
    border: none;
    padding: 0;
}

.cvsg-result-value {
    font-family: "Libre Baskerville", serif;
    font-size: 2.8em;
    font-weight: 400;
    color: #735346;
    margin-bottom: 5px;
}

.cvsg-result-unit {
    font-size: 0.9em;
    color: #735346;
}

.cvsg-info {
    background: transparent;
    border-left: 2px solid #735346;
    padding: 15px;
    margin-top: 20px;
    font-size: 0.9em;
    line-height: 1.6;
}

/* Diagrams */
.cvsg-diagrams {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 30px 0;
    flex-wrap: nowrap;
    gap: 20px;
}

.cvsg-diagram {
    text-align: center;
}

.cvsg-diagram svg {
    margin-bottom: 15px;
}

.cvsg-diagram-label {
    font-size: 0.85em;
    font-weight: 600;
    margin-top: 10px;
}

.cvsg-diagram-value {
    color: #735346;
    font-weight: 700;
    font-size: 1.1em;
}

/* Category Grid */
.cvsg-category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.cvsg-category-item {
    border: 1px solid #735346;
    display: flex;
    flex-direction: column;
}

.cvsg-category-img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.cvsg-category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cvsg-category-item:hover .cvsg-category-img img {
    transform: scale(1.05);
}

.cvsg-category-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cvsg-category-info h3 {
    font-family: "Libre Baskerville", serif;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.cvsg-category-info p {
    font-size: 0.95em;
    margin-bottom: 20px;
    color: #333;
}

/* Table */
.cvsg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.cvsg-table th, .cvsg-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #735346;
}

.cvsg-table th {
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #735346;
    font-weight: 700;
}

.cvsg-table td a {
    color: #735346;
    font-weight: 600;
    text-decoration: underline;
}

/* Buttons */
.cvsg-action-button {
    margin-top: 15px;
}

.cvsg-action-button a {
    display: inline-block;
    padding: 12px 24px;
    background-color: #735346;
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85em;
    transition: all 0.3s;
    border: 2px solid #735346;
}

.cvsg-action-button a:hover {
    background-color: transparent;
    color: #735346;
}

/* Footer */
.cvsg-footer {
    text-align: center;
    color: #735346;
    font-size: 0.9em;
    margin-top: 50px;
    border-top: 1px solid #735346;
    padding-top: 30px;
}

.cvsg-footer p {
    margin-bottom: 10px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
    .cvsg-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cvsg-category-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .cvsg-header h1 {
        font-size: 2.2em;
    }
    
    .cvsg-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 0 auto;
    }
    
    .cvsg-left,
    .cvsg-right {
        margin: 0 auto;
        width: 100%;
    }
    
    .cvsg-diagrams {
        flex-wrap: nowrap;
        gap: 15px;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: center;
        margin: 0 auto;
    }

    .cvsg-diagram {
        flex-shrink: 0;
        min-width: 80px;
    }

    .cvsg-diagram svg {
        width: 80px;
        height: auto;
    }
    
    .cvsg-category-grid {
        grid-template-columns: 1fr;
    }
    
    .cvsg-table {
        display: block;
        overflow-x: auto;
    }
    
    .cvsg-card {
        margin: 0 auto;
    }
    
    .cvsg-form-group input {
        text-align: center;
    }
    
    .cvsg-result {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cvsg-wrapper {
        padding: 20px 15px;
    }
    
    .cvsg-header h1 {
        font-size: 1.8em;
    }
    
    .cvsg-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cvsg-left,
    .cvsg-right {
        margin: 0 auto;
        width: 100%;
    }
    
    .cvsg-card {
        padding: 20px;
        margin: 0 auto;
    }
    
    .cvsg-tabs {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
    }
    
    .cvsg-tab-btn {
        text-align: center;
        border-bottom: 1px solid #735346;
        padding: 12px 5px;
    }
    
    .cvsg-form-group input {
        text-align: center;
    }
    
    .cvsg-result {
        text-align: center;
    }
    
    .cvsg-diagrams {
        justify-content: center;
        margin: 0 auto;
    }
    
    .cvsg-category-grid {
        grid-template-columns: 1fr;
    }
    
    .cvsg-section-header {
        text-align: center;
    }
}
