.dn-price-list {
max-width: 900px;
margin: 0 auto;
}
.dn-price-tabs {
display: flex;
gap: 0.5rem;
border-bottom: 2px solid #e5e5e5;
margin-bottom: 1.5rem;
flex-wrap: wrap;
}
.dn-price-tab {
appearance: none;
background: none;
border: none;
cursor: pointer;
font-size: 1rem;
font-weight: 600;
padding: 0.75rem 1.25rem;
color: #666;
border-bottom: 2px solid transparent;
margin-bottom: -2px;
transition: color 0.15s ease, border-color 0.15s ease;
}
.dn-price-tab:hover {
color: #222;
}
.dn-price-tab:focus-visible {
outline: 2px solid #7a5cff;
outline-offset: 2px;
}
.dn-price-tab[aria-selected="true"] {
color: #222;
border-bottom-color: currentColor;
}
.dn-price-panel[hidden] {
display: none;
}
.dn-accordion-item {
border-bottom: 1px solid #e5e5e5;
}
.dn-accordion-header {
margin: 0;
font-size: 1.25rem;
}
.dn-accordion-trigger {
appearance: none;
background: none;
border: none;
cursor: pointer;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 1rem 0.25rem;
font: inherit;
font-weight: 600;
color: #222;
text-align: left;
}
.dn-accordion-trigger:hover {
color: #7a5cff;
}
.dn-accordion-trigger:focus-visible {
outline: 2px solid #7a5cff;
outline-offset: 2px;
}
.dn-accordion-icon {
flex-shrink: 0;
display: inline-block;
transition: transform 0.2s ease;
transform: rotate(0deg);
font-size: 0.85em;
line-height: 1;
}
.dn-accordion-icon::before {
content: "\25BE"; }
.dn-accordion-trigger[aria-expanded="true"] .dn-accordion-icon {
transform: rotate(180deg);
}
.dn-accordion-panel {
overflow: hidden;
transition: max-height 0.35s ease;
}
.dn-accordion-panel[aria-hidden="true"] {
max-height: 0;
}
.dn-accordion-panel .dn-price-table {
margin-bottom: 1.25rem;
}
.dn-price-table {
width: 100%;
border-collapse: collapse;
}
.dn-price-table th,
.dn-price-table td {
text-align: left;
padding: 0.5rem 0.75rem;
border-bottom: 1px solid #eee;
}
.dn-price-table th {
font-weight: 600;
color: #444;
}
.dn-price-table td:last-child,
.dn-price-table th:last-child {
text-align: right;
white-space: nowrap;
}
.dn-price-table td:nth-child(2),
.dn-price-table th:nth-child(2) {
white-space: nowrap;
color: #666;
}
@media (max-width: 600px) {
.dn-price-table th:nth-child(2),
.dn-price-table td:nth-child(2) {
display: none;
}
}