:root {
--wewc-brand: #01afa6;
--wewc-brand-dark: #007d78;
--wewc-brand-soft: #e0f7f5;
--wewc-text: #19201b;
--wewc-muted: #5e6962;
--wewc-border: #cbd7d2;
--wewc-bg: #f3f7f5;
--wewc-shadow: 0 24px 60px rgba(25, 32, 27, 0.18);
}
.wewc-configurator-trigger-wrap {
margin-top: 1rem;
}
.wewc-frame-product form.cart > .single_add_to_cart_button,
.wewc-frame-product form.cart .single_add_to_cart_button {
display: none !important;
} .woocommerce-cart .shop_table.cart th.product-quantity,
.woocommerce-cart .shop_table.cart td.product-quantity {
display: none !important;
}
.woocommerce-checkout-review-order-table tr.cart_item .product-total>.amount {
color: #01afa6;
font-weight: 600;
}
.wewc-product-options-notice {
display: inline-block;
margin-top: 0.75rem;
padding: 0.6rem 0.8rem;
border: 1px solid var(--wewc-brand);
border-radius: 4px;
background: var(--wewc-brand-soft);
color: var(--wewc-text);
font-size: 0.875rem;
}
.wewc-product-options-notice[hidden] {
display: none !important;
}
.wewc-cart-component {
display: block;
}
button.wewc-repeat-cart-item {
display: inline-block;
margin-top: 0.5rem;
padding: 0;
border: none;
border-radius: 0;
background: no-repeat;
color: var(--wewc-brand-dark);
cursor: pointer;
font-size: 0.8rem;
font-weight: 600;
text-decoration: underline;
}
button.wewc-repeat-cart-item:hover,
button.wewc-repeat-cart-item:focus-visible {
background: none;
text-decoration: none;
}
.wewc-cart-lens,
.wewc-cart-lens-price {
margin-top: 0.25rem;
}
.woocommerce-checkout-review-order-table .wewc-repeat-cart-item {
display: none !important;
}
.wewc-cart-offer-notice {
margin-top: 1rem;
padding: 0.9rem 1rem;
border: 1px solid var(--wewc-brand);
border-left-width: 4px;
background: var(--wewc-brand-soft);
color: var(--wewc-text);
}
.wewc-cart-offer-notice p {
margin: 0.25rem 0 0;
}
.wewc-product-offer-price {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.45rem;
margin-top: 0.25rem;
}
.wewc-product-offer-price del {
color: var(--wewc-muted);
}
.wewc-product-offer-price ins {
color: var(--wewc-brand-dark);
font-weight: 700;
}
.wd-carousel-item .wewc-product-offer-price, .wd-products .wd-product .wewc-product-offer-price{
justify-content: center;
}
.wewc-product-offer-label {
display: inline-flex;
align-items: center;
padding: 0.15rem 0.45rem;
border-radius: 999px;
background: var(--wewc-brand-soft);
color: var(--wewc-brand-dark);
font-size: 0.75rem;
font-weight: 700;
line-height: 1.4;
}
.button.wewc-select-lens-button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.85rem 1.4rem;
background: var(--wewc-brand);
color: #fff;
border-radius: 0.5rem;
font-weight: 600;
text-decoration: none;
transition: background-color 0.2s ease, transform 0.2s ease;
}
.button.wewc-select-lens-button:hover,
.button.wewc-select-lens-button:focus {
background: var(--wewc-brand-dark);
color: #fff;
text-decoration: none;
transform: translateY(-1px);
}
button.btn-brand {
background-color: var(--wewc-brand);
color: #fff;
border-color: var(--wewc-brand);
border-radius: 0.5rem;
}
button.btn-brand:hover {
background-color: var(--wewc-brand-dark);
color: #fff;
border-color: var(--wewc-brand-dark);
}
.button.wewc-select-lens-button:focus-visible {
outline: 3px solid rgba(1, 175, 166, 0.35);
outline-offset: 3px;
}
.wewc-configurator-modal {
position: fixed;
inset: 0;
z-index: 99999;
display: none;
}
.wewc-configurator-modal.is-open {
display: block;
}
.wewc-page-loader {
position: fixed;
inset: 0;
z-index: 1000000;
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
background: rgba(255, 255, 255, 0.94);
color: var(--wewc-text);
font-size: 1rem;
font-weight: 600;
}
.wewc-page-loader[hidden] {
display: none !important;
}
.wewc-page-loader-spinner {
width: 1.25rem;
height: 1.25rem;
border: 3px solid var(--wewc-border);
border-top-color: var(--wewc-brand);
border-radius: 50%;
animation: wewc-loader-spin 0.8s linear infinite;
}
@keyframes wewc-loader-spin {
to {
transform: rotate(360deg);
}
}
.wewc-configurator-backdrop {
position: absolute;
inset: 0;
background: rgba(25, 32, 27, 0.5);
}
.wewc-configurator-panel {
position: relative;
z-index: 1;
width: min(100%, 1040px);
max-height: 90vh;
overflow-y: auto;
margin: 5vh auto;
padding: 1.5rem;
background: #fff;
border-radius: 1rem;
box-shadow: var(--wewc-shadow);
}
:is(.btn,.button,button,[type=submit],[type=button]).wewc-configurator-close {
position: absolute;
top: 1rem;
right: 1rem;
border: 0;
background: transparent;
font-size: 2rem;
line-height: 1;
cursor: pointer;
color: var(--wewc-text);
}
.wewc-configurator-header {
padding-right: 2.5rem;
margin-bottom: 1rem;
}
.wewc-configurator-kicker {
margin: 0 0 0.4rem;
font-size: 0.72rem;
letter-spacing: 0.08em;
font-weight: 700;
text-transform: uppercase;
color: var(--wewc-brand);
}
.wewc-configurator-header h3 {
margin: 0;
font-size: clamp(1.35rem, 2vw, 2rem);
}
.wewc-stepper {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.75rem;
margin: 1.25rem 0 1.5rem;
}
.wewc-step-item {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.7rem 0.75rem;
border: 1px solid var(--wewc-border);
border-radius: 999px;
background: var(--wewc-bg);
color: var(--wewc-muted);
font-size: 0.8rem;
font-weight: 600;
}
.wewc-step-item.is-completed {
border-color: var(--wewc-brand);
color: var(--wewc-brand);
cursor: pointer;
}
.wewc-step-item:not(.is-active):not(.is-completed) {
opacity: 0.55;
cursor: default;
}
.wewc-step-item.is-active {
background: var(--wewc-brand-soft);
border-color: rgba(1, 175, 166, 0.45);
color: var(--wewc-brand);
}
.wewc-step-number {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.7rem;
height: 1.7rem;
border-radius: 50%;
background: rgba(25, 32, 27, 0.08);
font-size: 0.75rem;
}
.wewc-step-item.is-active .wewc-step-number {
background: var(--wewc-brand);
color: #fff;
}
.wewc-configurator-steps {
position: relative;
}
.wewc-configurator-step {
display: none;
}
.wewc-configurator-step[hidden] {
display: none !important;
}
.wewc-configurator-step.is-active {
display: block;
}
.wewc-section-copy {
margin-bottom: 1rem;
}
.wewc-section-copy h4 {
margin: 0;
font-size: 1.2rem;
}
.wewc-power-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
}
button.wewc-power-card {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.6rem;
padding: 1rem;
border: 1px solid var(--wewc-border);
border-radius: 1rem;
background: #fff;
text-align: left;
cursor: pointer;
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
button.wewc-power-card:hover,
button.wewc-power-card:focus-visible {
border-color: rgba(1, 175, 166, 0.55);
box-shadow: 0 0 0 3px rgba(1, 175, 166, 0.1);
transform: translateY(-1px);
background-color: #ffffff;
}
button.wewc-power-card.is-selected {
border-color: var(--wewc-brand);
background: var(--wewc-brand-soft);
box-shadow: 0 0 0 3px rgba(1, 175, 166, 0.1);
}
.wewc-power-card-top {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
gap: 0.75rem;
}
.wewc-power-card h5 {
margin: 0;
font-size: 1rem;
line-height: 1.3;
}
.wewc-badge {
display: inline-flex;
align-items: center;
border-radius: 999px;
padding: 0.25rem 0.5rem;
background: var(--wewc-brand-soft);
color: var(--wewc-brand);
font-size: 0.7rem;
font-weight: 700;
}
.wewc-power-card p,
.wewc-power-card small {
margin: 0;
color: var(--wewc-muted);
}
.wewc-lens-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
}
.wewc-lens-card {
display: flex;
flex-direction: column;
border: 1px solid var(--wewc-border);
border-radius: 1rem;
overflow: hidden;
background: #fff;
cursor: pointer;
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.wewc-lens-card:hover,
.wewc-lens-card:focus-visible {
border-color: var(--wewc-brand);
box-shadow: 0 0 0 3px rgba(1, 175, 166, 0.1);
transform: translateY(-1px);
}
.wewc-lens-card.is-selected {
border-color: var(--wewc-brand);
box-shadow: 0 0 0 3px rgba(1, 175, 166, 0.1);
}
.wewc-lens-image {
display: block;
width: 100%;
height: 180px;
object-fit: cover;
background: var(--wewc-bg);
}
.wewc-lens-content {
display: flex;
flex-direction: column;
gap: 0.8rem;
padding: 1rem;
}
.wewc-lens-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 0.75rem;
}
.wewc-lens-header h5 {
margin: 0;
font-size: 1rem;
}
.wewc-lens-price {
font-weight: 700;
color: var(--wewc-text);
}
.wewc-lens-description {
color: var(--wewc-muted);
line-height: 1.5;
}
.wewc-lens-description p {
margin: 0 0 0.65rem;
}
.wewc-lens-description ul,
.wewc-lens-description ol {
margin: 0;
padding-left: 1.2rem;
}
.wewc-lens-description li + li {
margin-top: 0.2rem;
}
.wewc-lens-description ul li{
margin-bottom: 0.2rem;
}
.wewc-lens-feature-list {
margin: 0;
padding-left: 1.1rem;
color: var(--wewc-muted);
line-height: 1.6;
}
.wewc-empty-state {
padding: 1rem;
border: 1px dashed var(--wewc-border);
border-radius: 0.75rem;
background: var(--wewc-bg);
color: var(--wewc-muted);
}
.wewc-configurator-footer {
display: flex;
justify-content: space-between;
gap: 1rem;
margin-top: 1.5rem;
padding-top: 1rem;
border-top: 1px solid var(--wewc-border);
}
button.wewc-nav-button {
float: right;	
padding: 0.8rem 1.2rem;
border-radius: 0.5rem;
border: 1px solid var(--wewc-border);
background: var(--wewc-brand);
color: #fff;
cursor: pointer;
font-weight: 600;
margin-top: 1rem;
}
button.wewc-nav-button:hover{
background: var(--wewc-brand-dark);
color: #fff;
text-decoration: none;
transform: translateY(-1px);
}
.wewc-nav-next {
background: var(--wewc-brand);
color: #fff;
border-color: var(--wewc-brand);
}
.wewc-prescription-choices {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-bottom: 1rem;
}
button.wewc-prescription-choice {
padding: 0.75rem 1rem;
border: 1px solid var(--wewc-border);
background: #fff;
border-radius: 0.75rem;
cursor: pointer;
font-weight: 600;
}
button.wewc-prescription-choice.is-selected {
background: var(--wewc-brand-soft);
border-color: var(--wewc-brand);
color: var(--wewc-brand);
}
.wewc-prescription-body {
padding: 1rem;
border: 1px solid var(--wewc-border);
border-radius: 1rem;
background: var(--wewc-bg);
}
.wewc-eye-group {
margin-bottom: 1rem;
}
.wewc-eye-group h5 {
margin: 0 0 0.75rem;
}
.wewc-fields-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.75rem;
}
.wewc-fields-grid label,
.wewc-add-group label {
display: grid;
gap: 0.4rem;
font-weight: 600;
}
.wewc-fields-grid input,
.wewc-fields-grid select,
.wewc-add-group input,
.wewc-upload-box input {
width: 100%;
padding: 0.7rem 0.75rem;
border: 1px solid var(--wewc-border);
border-radius: 0.5rem;
background: #fff;
color: inherit;
}
.wewc-fields-grid select {
min-height: 2.9rem;
}
.wewc-upload-box {
padding: 1rem;
border: 1px dashed var(--wewc-border);
border-radius: 0.75rem;
background: #fff;
}
.wewc-summary-card {
padding: 1rem;
border: 1px solid var(--wewc-border);
border-radius: 1rem;
background: var(--wewc-bg);
}
.wewc-summary-card h4 {
margin-top: 0;
}
.wewc-summary-list {
display: grid;
gap: 0.8rem;
margin: 1rem 0;
}
.wewc-summary-list div {
display: grid;
grid-template-columns: 120px 1fr;
gap: 0.75rem;
align-items: start;
}
.wewc-summary-list dt {
font-weight: 700;
}
.wewc-summary-list dd {
margin: 0;
color: var(--wewc-text);
}
.wewc-summary-total {
margin: 0;
font-weight: 700;
}
@media (max-width: 768px) {
.wewc-configurator-panel {
width: min(100%, calc(100% - 1rem));
margin: 1rem auto;
padding: 1rem;
}
.wewc-stepper,
.wewc-power-grid,
.wewc-lens-grid {
grid-template-columns: 1fr;
}
.wewc-configurator-footer {
flex-direction: column-reverse;
}
.wewc-nav-button {
width: 100%;
}
}
.wewc-prescription-body input:not([type="checkbox"]):not([type="radio"]),
.wewc-prescription-body textarea,
.wewc-prescription-body select,
.wewc-prescription-body button,
.wewc-order-prescription-card input:not([type="checkbox"]):not([type="radio"]),
.wewc-order-prescription-card textarea,
.wewc-order-prescription-card select,
.wewc-order-prescription-card button {
border-radius: 0.5rem !important;
}
button.button.wewc-enter-prescription-toggle, button.button.wewc-upload-prescription-toggle {
border-radius: 0.5rem;
}