.gdwsc {
    --gdwsc-ink: #1f2d2a;
    --gdwsc-muted: #6b7b80;
    --gdwsc-line: #d7e2dd;
    --gdwsc-accent: #00a551;
    --gdwsc-panel: #fff;
    --gdwsc-btn-border: #cfdad6;
    color: var(--gdwsc-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gdwsc * { box-sizing: border-box; }

.gdwsc__card {
    background: var(--gdwsc-panel);
    border: 1px solid var(--gdwsc-line);
    border-radius: 10px;
    overflow: hidden;
}

.gdwsc__grid {
    display: grid;
    grid-template-columns: 51% 1fr;
}

.gdwsc__media {
    min-height: 520px;
    background: #f3f7f5;
    border-right: 1px solid var(--gdwsc-line);
    overflow: hidden;
}

.gdwsc__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.gdwsc__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
}

.gdwsc__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
}

.gdwsc__heading-wrap { min-width: 0; }

.gdwsc__product-name {
    margin: 0 0 5px;
    color: var(--gdwsc-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gdwsc__title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
}

.gdwsc__kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    min-width: 365px;
    border-left: 3px solid var(--gdwsc-accent);
}

.gdwsc__kpi {
    padding: 6px 10px;
    text-align: center;
    border-right: 1px solid var(--gdwsc-line);
}

.gdwsc__kpi:last-child { border-right: 0; }

.gdwsc__kpi-label {
    color: var(--gdwsc-muted);
    font-size: 11px;
    line-height: 1.25;
    text-transform: uppercase;
}

.gdwsc__kpi-value {
    margin-top: 4px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
    white-space: nowrap;
}

.gdwsc__kpi-value .price,
.gdwsc__kpi-value .woocommerce-Price-amount,
.gdwsc__kpi-value ins,
.gdwsc__kpi-value del {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.gdwsc__kpi-value ins { text-decoration: none; }
.gdwsc__kpi-value del { opacity: .55; margin-right: 4px; }

.gdwsc__main-price {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 800;
}

.gdwsc__payline {
    min-height: 24px;
    margin: 16px 0 18px;
    font-size: 18px;
}

.gdwsc__short-description,
.gdwsc__intro {
    margin: 0 0 16px;
}

.gdwsc__row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 0;
    margin: 14px 0;
}

.gdwsc__row-label { color: var(--gdwsc-muted); }

.gdwsc__segments {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gdwsc__native-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.gdwsc__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gdwsc__option {
    appearance: none;
    border: 1px solid var(--gdwsc-btn-border);
    background: #fff;
    color: var(--gdwsc-ink);
    padding: 11px 14px;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    line-height: 1.25;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.gdwsc__option:hover:not(:disabled) { border-color: var(--gdwsc-accent); }

.gdwsc__option.is-active {
    background: rgba(0, 165, 81, .10);
    border-color: var(--gdwsc-accent);
    box-shadow: inset 0 0 0 1px var(--gdwsc-accent);
    font-weight: 700;
}

.gdwsc__option.is-disabled,
.gdwsc__option:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.gdwsc__reset {
    display: inline-block;
    margin: 2px 0 8px 120px;
    color: var(--gdwsc-muted);
    font-size: 12px;
    text-decoration: underline;
}

.gdwsc .single_variation {
    display: none !important;
}

.gdwsc__purchase-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
}

.gdwsc .quantity {
    flex: 0 0 auto;
    margin: 0 !important;
}

.gdwsc .quantity .qty {
    height: 100%;
    min-height: 48px;
    width: 78px;
    border: 1px solid var(--gdwsc-btn-border);
    border-radius: 8px;
    background: #fff;
    color: var(--gdwsc-ink);
    padding: 8px;
    text-align: center;
}

.gdwsc__cta {
    appearance: none;
    display: block;
    flex: 1 1 auto;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 10px;
    background: var(--gdwsc-accent);
    color: #fff;
    padding: 14px 22px;
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: filter .18s ease, transform .18s ease, opacity .18s ease;
}

.gdwsc__cta:hover:not(:disabled) { filter: brightness(.94); }
.gdwsc__cta:active:not(:disabled) { transform: translateY(1px); }
.gdwsc__cta:disabled,
.gdwsc__cta.disabled { opacity: .45; cursor: not-allowed; }

.gdwsc__notice {
    margin-top: 12px;
    font-size: 14px;
}

.gdwsc__notice.is-success { color: #08783d; }
.gdwsc__notice.is-error { color: #b42318; }
.gdwsc__notice a { text-decoration: underline; }

.gdwsc--empty {
    padding: 18px;
    border: 1px dashed #cfdad6;
    background: #fff;
}

@media (max-width: 1100px) {
    .gdwsc__top { flex-direction: column; }
    .gdwsc__kpis { min-width: 0; width: 100%; }
}

@media (max-width: 980px) {
    .gdwsc__grid { grid-template-columns: 1fr !important; }
    .gdwsc__media {
        min-height: 260px !important;
        max-height: 440px;
        border-right: 0;
        border-bottom: 1px solid var(--gdwsc-line);
    }
}

@media (max-width: 640px) {
    .gdwsc__content { padding: 18px; }
    .gdwsc__title { font-size: 23px; }
    .gdwsc__kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gdwsc__kpi { padding: 6px 5px; }
    .gdwsc__kpi-label { font-size: 9px; }
    .gdwsc__kpi-value { font-size: 17px; }
    .gdwsc__payline { font-size: 16px; }
    .gdwsc__row { grid-template-columns: 1fr; gap: 8px; }
    .gdwsc__option { padding: 10px 12px; }
    .gdwsc__reset { margin-left: 0; }
    .gdwsc__purchase-row { flex-direction: column; }
    .gdwsc .quantity .qty { width: 100%; }
}
