:root {
    --wcc-bg: #f5f5f5;
    --wcc-card-bg: #fff;
    --wcc-text: #1a1a1a;
    --wcc-muted: #666;
    --wcc-border: #e8e8e8;
    --wcc-radius: 16px;
    --wcc-radius-sm: 12px;
    --wcc-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --wcc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body.wcc-store-page {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--wcc-font);
    color: var(--wcc-text);
    background: var(--wcc-bg);
    overflow-x: clip;
}

.wcc-store-header {
    background: #fff;
    border-bottom: 1px solid var(--wcc-border);
    flex-shrink: 0;
}

.wcc-store-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 64px;
}

.wcc-store-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--wcc-text);
    font-size: 18px;
    font-weight: 700;
}

.wcc-store-logo img {
    display: block;
    height: 40px;
    width: auto;
    max-width: min(280px, 50vw);
    object-fit: contain;
}

.wcc-store-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--wcc-text) !important;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    margin-left: auto;
}

.wcc-store-phone:hover {
    color: var(--wcc-text);
    opacity: 0.85;
}

.wcc-store-phone-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f3f3f3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231a1a1a' stroke-width='1.75'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 5a2 2 0 012-2h2.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-1.548.774a11.042 11.042 0 005.516 5.516l.774-1.548a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

.wcc-store-footer {
    background: #ededed;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
    flex-shrink: 0;
    padding: 32px 0 40px;
}

.wcc-store-footer-layout {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 40px;
    align-items: start;
}

.wcc-store-footer-contacts p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--wcc-text);
}

.wcc-store-footer-copy {
    color: var(--wcc-muted);
}

.wcc-store-footer-phone {
    margin-top: 12px !important;
    font-size: 28px !important;
    font-weight: 700;
    line-height: 1.2 !important;
}

.wcc-store-footer-phone a {
    color: var(--wcc-text) !important;
    text-decoration: none;
}

.wcc-store-footer-hours,
.wcc-store-footer-email {
    color: var(--wcc-muted);
}

.wcc-store-footer-email a {
    color: var(--wcc-text);
    text-decoration: none;
}

.wcc-store-footer-legal p {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--wcc-muted);
}

.wcc-store-footer-legal p:last-child {
    margin-bottom: 0;
}

.wcc-store-footer-legal a {
    color: var(--wcc-text);
    text-decoration: underline;
}

.wcc-page {
    flex: 1;
    font-family: var(--wcc-font);
    color: var(--wcc-text);
    background: var(--wcc-bg);
    padding: 24px 0 48px;
}

/* === Theme / Elementor isolation: typography & form fields === */
body.wcc-store-page .wcc-page :is(h1, h2, h3, h4, h5, h6)[class*="wcc-"],
body.wcc-store-page .wcc-page .wcc-recommendations > h2 {
    font-family: var(--wcc-font) !important;
    color: var(--wcc-text) !important;
    font-weight: inherit;
    line-height: inherit;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none;
}

body.wcc-store-page .wcc-page a:not([class*="wcc-btn"]) {
    color: inherit !important;
    font-family: inherit !important;
    text-decoration: none;
    text-transform: none !important;
    letter-spacing: normal !important;
}

body.wcc-store-page .wcc-page a[class*="wcc-"]:not([class*="wcc-btn"]) {
    font-family: inherit !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

body.wcc-store-page .wcc-page a.wcc-link-btn {
    color: var(--wcc-primary) !important;
}

body.wcc-store-page .wcc-page h3.wcc-item-name {
    font-family: var(--wcc-font) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: var(--wcc-text) !important;
}

body.wcc-store-page .wcc-page h3.wcc-item-name a {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
}

body.wcc-store-page .wcc-page h3.wcc-item-name a:hover,
body.wcc-store-page .wcc-page h3.wcc-item-name a:focus {
    color: inherit !important;
    text-decoration: none !important;
}

body.wcc-store-page .wcc-page h4.wcc-rec-title,
body.wcc-store-page .wcc-page .wcc-rec-title {
    font-family: var(--wcc-font) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--wcc-text) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none;
    margin: 8px 0 0 !important;
}

body.wcc-store-page .wcc-page .wcc-rec-title a,
body.wcc-store-page .wcc-page .wcc-rec-title a.wcc-rec-link {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

body.wcc-store-page .wcc-page .wcc-rec-title a:hover,
body.wcc-store-page .wcc-page .wcc-rec-title a:focus {
    color: var(--wcc-primary) !important;
    text-decoration: none !important;
}

body.wcc-store-page .wcc-page label[class*="wcc-"] {
    font-family: var(--wcc-font) !important;
    color: var(--wcc-text) !important;
    font-size: inherit;
    font-weight: inherit !important;
    line-height: inherit !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* === Theme / Elementor isolation: form fields === */
body.wcc-store-page :is(.wcc-page, .wcc-modal) input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body.wcc-store-page :is(.wcc-page, .wcc-modal) textarea {
    box-sizing: border-box !important;
    border-style: solid !important;
    background-image: none !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    font-family: var(--wcc-font) !important;
    font-weight: inherit !important;
    line-height: normal !important;
    letter-spacing: normal !important;
    color: var(--wcc-text) !important;
    background-color: #fff !important;
}

body.wcc-store-page .wcc-page .wcc-coupon-form input,
body.wcc-store-page .wcc-page .wcc-field-input-wrap input,
body.wcc-store-page .wcc-page .wcc-field input,
body.wcc-store-page .wcc-page .wcc-courier-comment-input,
body.wcc-store-page .wcc-page .wcc-search-input,
body.wcc-store-page .wcc-page .wcc-address-details input,
body.wcc-store-page .wcc-page .wcc-recipient-other-fields input:not([type="checkbox"]),
body.wcc-store-page .wcc-modal .wcc-search-input,
body.wcc-store-page .wcc-modal .wcc-address-details input {
    padding: 14px 18px !important;
    border-width: 1px !important;
    border-color: var(--wcc-border) !important;
    border-radius: 24px !important;
    font-size: 15px !important;
}

body.wcc-store-page .wcc-page .wcc-field-input-wrap input {
    padding: 14px 44px 14px 18px !important;
}

body.wcc-store-page .wcc-page .wcc-coupon-form input {
    display: block !important;
    align-items: unset !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    padding: 12px 16px !important;
    border-radius: var(--wcc-radius-sm) !important;
    border-width: 1px !important;
    border-color: var(--wcc-border) !important;
    font-family: var(--wcc-font) !important;
    font-size: 15px !important;
    line-height: normal !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
}

body.wcc-store-page .wcc-page .wcc-courier-comment-wrap input,
body.wcc-store-page .wcc-page #wcc-courier-comment {
    display: block !important;
    align-items: unset !important;
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    padding: 14px 18px !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: var(--wcc-border) !important;
    border-radius: 24px !important;
    font-family: var(--wcc-font) !important;
    font-size: 15px !important;
    line-height: normal !important;
    letter-spacing: normal !important;
    color: var(--wcc-text) !important;
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.wcc-store-page .wcc-page .wcc-search-wrap .wcc-search-input,
body.wcc-store-page .wcc-modal .wcc-search-wrap .wcc-search-input {
    padding: 14px 44px 14px 18px !important;
    border-radius: 999px !important;
}

body.wcc-store-page .wcc-page input.wcc-qty-input,
body.wcc-store-page .wcc-page .wcc-qty-input {
    width: 40px;
    text-align: center;
    padding: 0 !important;
    border-width: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    font-size: 16px !important;
    height: auto !important;
    -moz-appearance: textfield;
    appearance: textfield;
}

body.wcc-store-page .wcc-page input[type="checkbox"][class*="wcc-"],
body.wcc-store-page .wcc-page .wcc-cart-actions input[type="checkbox"] {
    padding: 0 !important;
    border-radius: 3px !important;
    font-family: inherit !important;
    color: inherit !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.wcc-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.wcc-card {
    background: var(--wcc-card-bg);
    border-radius: var(--wcc-radius);
    box-shadow: var(--wcc-shadow);
    padding: 24px;
}

.wcc-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px;
}

/* === Theme / Elementor isolation for plugin buttons === */
body.wcc-store-page button[class*="wcc-"],
body.wcc-store-page input[type="submit"][class*="wcc-"],
body.wcc-store-page input[type="button"][class*="wcc-"],
body.wcc-store-page a[class*="wcc-btn"] {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    font-family: var(--wcc-font) !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-shadow: none;
    outline: none;
    vertical-align: baseline;
    margin: 0;
    line-height: normal;
    height: auto !important;
    min-height: unset;
    max-width: none;
    box-shadow: none;
    border-style: solid;
    border-width: 0;
    background-image: none;
}

/* Action buttons (.wcc-btn) */
body.wcc-store-page .wcc-btn,
body.wcc-store-page a.wcc-btn,
body.wcc-store-page input.wcc-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 24px !important;
    border-radius: var(--wcc-radius-sm) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    background-color: transparent !important;
    color: inherit;
    width: auto;
    overflow: visible;
}

body.wcc-store-page .wcc-btn:hover,
body.wcc-store-page .wcc-btn:focus,
body.wcc-store-page .wcc-btn:active,
body.wcc-store-page a.wcc-btn:hover,
body.wcc-store-page a.wcc-btn:focus,
body.wcc-store-page a.wcc-btn:active,
body.wcc-store-page input.wcc-btn:hover,
body.wcc-store-page input.wcc-btn:focus,
body.wcc-store-page input.wcc-btn:active {
    opacity: 0.9;
    text-decoration: none !important;
    border-radius: var(--wcc-radius-sm) !important;
    box-shadow: none !important;
    outline: none;
}

body.wcc-store-page .wcc-btn-primary,
body.wcc-store-page a.wcc-btn.wcc-btn-primary,
body.wcc-store-page a.wcc-btn-primary,
body.wcc-store-page input.wcc-btn-primary {
    background-color: var(--wcc-primary) !important;
    background-image: none !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--wcc-radius-sm) !important;
}

body.wcc-store-page .wcc-btn-primary:hover,
body.wcc-store-page .wcc-btn-primary:focus,
body.wcc-store-page .wcc-btn-primary:active,
body.wcc-store-page a.wcc-btn.wcc-btn-primary:hover,
body.wcc-store-page a.wcc-btn.wcc-btn-primary:focus,
body.wcc-store-page a.wcc-btn.wcc-btn-primary:active,
body.wcc-store-page a.wcc-btn-primary:hover,
body.wcc-store-page a.wcc-btn-primary:focus,
body.wcc-store-page a.wcc-btn-primary:active,
body.wcc-store-page input.wcc-btn-primary:hover,
body.wcc-store-page input.wcc-btn-primary:focus,
body.wcc-store-page input.wcc-btn-primary:active {
    color: #fff !important;
    background-color: var(--wcc-primary) !important;
    border-radius: var(--wcc-radius-sm) !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

body.wcc-store-page a.wcc-btn.wcc-btn-primary .wcc-go-checkout-label,
body.wcc-store-page a.wcc-btn.wcc-btn-primary span {
    color: inherit !important;
}

body.wcc-store-page .wcc-btn-outline,
body.wcc-store-page input.wcc-btn-outline {
    background-color: transparent !important;
    border: 1px solid var(--wcc-border) !important;
    color: var(--wcc-text) !important;
}

body.wcc-store-page .wcc-btn-block { width: 100% !important; }

/* Text / ghost controls */
body.wcc-store-page button.wcc-link-btn,
body.wcc-store-page button.wcc-delivery-change,
body.wcc-store-page button.wcc-modal-back,
body.wcc-store-page button.wcc-transport-back-link {
    justify-content: flex-start !important;
    height: auto !important;
    min-height: unset !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    font-weight: inherit !important;
    font-size: inherit;
    line-height: normal !important;
    color: inherit;
}

body.wcc-store-page .wcc-link-btn {
    display: inline !important;
    color: var(--wcc-primary) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    cursor: pointer;
}

body.wcc-store-page button.wcc-summary-savings-toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    background-image: none !important;
    font-family: var(--wcc-font) !important;
    font-size: 14px !important;
    font-weight: inherit !important;
    line-height: normal !important;
    color: var(--wcc-muted) !important;
    box-shadow: none !important;
    cursor: pointer;
    text-align: left;
}

/* Compact icon / qty controls */
body.wcc-store-page .wcc-page .wcc-qty > button.wcc-qty-btn,
body.wcc-store-page button.wcc-qty-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: #f5f5f5 !important;
    background-image: none !important;
    color: var(--wcc-text) !important;
    font-family: var(--wcc-font) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

body.wcc-store-page .wcc-page .wcc-qty > button.wcc-qty-btn:hover,
body.wcc-store-page .wcc-page .wcc-qty > button.wcc-qty-btn:focus,
body.wcc-store-page button.wcc-qty-btn:hover,
body.wcc-store-page button.wcc-qty-btn:focus {
    background-color: #f5f5f5 !important;
    color: var(--wcc-text) !important;
    box-shadow: none !important;
}

body.wcc-store-page .wcc-page button.wcc-rec-add {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background-color: var(--wcc-primary) !important;
    background-image: none !important;
    color: #fff !important;
    font-family: var(--wcc-font) !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-shadow: none !important;
    cursor: pointer;
    overflow: visible;
}

body.wcc-store-page .wcc-page button.wcc-rec-add:hover,
body.wcc-store-page .wcc-page button.wcc-rec-add:focus,
body.wcc-store-page .wcc-page button.wcc-rec-add:active {
    background-color: var(--wcc-primary) !important;
    color: #fff !important;
    box-shadow: none !important;
    opacity: 0.9;
}

body.wcc-store-page .wcc-page button.wcc-rec-add svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
}

body.wcc-store-page button.wcc-icon-btn,
body.wcc-store-page button.wcc-remove-coupon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    cursor: pointer;
    color: var(--wcc-muted) !important;
}

body.wcc-store-page button.wcc-icon-btn {
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 50% !important;
    font-size: 18px !important;
}

body.wcc-store-page button.wcc-icon-btn:hover,
body.wcc-store-page button.wcc-icon-btn:focus {
    background-color: #f5f5f5 !important;
    color: var(--wcc-text) !important;
    box-shadow: none !important;
}

body.wcc-store-page button.wcc-remove-coupon {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    border-radius: 50% !important;
}

body.wcc-store-page button.wcc-remove-coupon:hover,
body.wcc-store-page button.wcc-remove-coupon:focus {
    background-color: #f0f0f0 !important;
    color: var(--wcc-text) !important;
    box-shadow: none !important;
}

/* List / selector buttons (layout details in checkout.css) */
body.wcc-store-page button.wcc-payment-card,
body.wcc-store-page button.wcc-transport-tariff-item,
body.wcc-store-page button.wcc-suggest-item,
body.wcc-store-page button.wcc-transport-point-item,
body.wcc-store-page button.wcc-delivery-tab {
    justify-content: flex-start !important;
    height: auto !important;
    min-height: unset !important;
    font-weight: normal !important;
    font-size: inherit !important;
    line-height: normal !important;
    color: var(--wcc-text) !important;
    text-align: left;
    cursor: pointer;
}

.wcc-accent { color: var(--wcc-accent); }

.wcc-badge {
    display: inline-block;
    background: #e8f4fd;
    color: #0066cc;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.wcc-notices {
    margin-bottom: 16px;
}

.wcc-notices:empty {
    display: none;
}

.wcc-loading { opacity: 0.6; pointer-events: none; }

@media (max-width: 768px) {
    .wcc-store-header-inner { min-height: 56px; padding: 12px 16px; }
    .wcc-store-logo img { height: 32px; }
    .wcc-store-phone { font-size: 16px; gap: 10px; }
    .wcc-store-phone-icon { width: 36px; height: 36px; background-size: 18px 18px; }
    .wcc-store-footer-layout { grid-template-columns: 1fr; gap: 24px; }
    .wcc-store-footer-phone { font-size: 22px !important; }
    .wcc-page { padding: 16px 0 32px; }
    .wcc-card { padding: 16px; border-radius: 12px; }
    .wcc-title { font-size: 22px; }
}
