File: /home/salamatk/public_html/wp-content/plugins/woodmart-plus/assets/css/custom-attribute.css
:root {
--primary-light: rgba(13, 110, 253, 0.1);
--heading-bg: #f7f7f7;
--content-bg: #f9f9f9;
--border-color: #e9e9e9;
--text-color: #333;
--text-secondary: #666;
--radius-md: 6px;
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.attr__custom_gp-product-title {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid var(--border-color);
}
.attr__custom_gp-product-title h1 {
font-size: 18px;
margin: 0;
font-weight: 600;
}
.attr__custom_gp-product-subtitle {
font-size: 14px;
margin: 5px 0 0 0;
color: var(--text-secondary);
font-weight: normal;
}
.attr__custom_gp-product-icon {
color: var(--wd-primary-color);
flex-shrink: 0;
margin-top: 3px;
display: flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
background-color: var(--primary-light);
border-radius: 50%;
}
.attr__custom_gp-section {
margin-bottom: 12px;
border-radius: var(--radius-md);
overflow: hidden;
box-shadow: var(--shadow-sm);
border: 1px solid var(--border-color);
}
.attr__custom_gp-header {
background-color: var(--heading-bg);
padding: 10px 15px;
cursor: pointer;
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
transition: all 0.3s ease;
user-select: none;
border-bottom: 1px solid var(--border-color);
}
.attr__custom_gp-header:hover {
background-color: #f0f0f0;
}
.attr__custom_gp-header.active {
background-color: var(--wd-primary-color);
color: white;
}
.attr__custom_gp-title {
font-weight: 600;
font-size: 15px;
display: flex;
align-items: center;
gap: 8px;
}
.attr__custom_gp-icon {
display: inline-flex;
transition: transform 0.3s ease;
}
.attr__custom_gp-header.active .attr__custom_gp-icon {
transform: rotate(180deg);
}
.attr__custom_gp-content {
background-color: var(--content-bg);
padding: 0;
max-height: 0;
overflow: hidden;
transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}
.attr__custom_gp-content.show {
max-height: 1000px;
padding: 10px 20px;
transition: max-height 0.4s ease-in-out, padding 0.3s ease;
}
.attr__custom_gp-item {
display: flex;
padding: 8px 0;
border-bottom: 1px dashed var(--border-color);
}
.attr__custom_gp-item:last-child {
border-bottom: none;
}
.attr__custom_gp-label {
flex: 0 0 30%;
font-weight: 500;
color: var(--text-secondary);
font-size: 13px;
}
.attr__custom_gp-value {
flex: 0 0 70%;
font-size: 13px;
}
/* Responsive Styles */
@media (max-width: 768px) {
.attr__custom_gp-item {
flex-direction: column;
}
.attr__custom_gp-label,
.attr__custom_gp-value {
flex: 0 0 100%;
}
.attr__custom_gp-label {
margin-bottom: 3px;
}
.attr__custom_gp-content.show {
padding: 10px 15px;
}
}
/* Regular attribute section (numeric keys) */
.attr__custom_gp-section.regular-attr {
background-color: #f9f9f9;
padding: 10px;
margin-bottom: 10px;
border-radius: 5px;
box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.attr__custom_gp-section.regular-attr .attr__custom_gp-item {
display: flex;
justify-content: space-between;
padding: 5px 0;
}
.attr__custom_gp-section.regular-attr .attr__custom_gp-label {
font-weight: bold;
color: #333;
}
.attr__custom_gp-section.regular-attr .attr__custom_gp-value {
color: #555;
}