/*
Theme Name: SIMON-DZ
Theme URI: https://www.shopsimon.com
Author: 百家
Author URI: https://www.shopsimon.com
Description: A modern WordPress theme inspired by Shop Simon design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simon-dz
*/

/* ========== Reset & Base ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #000;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========== Top Utility Bar ========== */
.site-top-bar {
    background-color: #fff;
    padding: 6px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-top-bar__inner {
    width: 100%;
    max-width: 1600px;
    display: flex;
    align-items: center;
}

.site-top-bar__links {
    display: flex;
    align-items: center;
    gap: 0;
}

.site-top-bar__links a {
    color: #000;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.site-top-bar__links a:hover {
    opacity: 0.7;
}

.site-top-bar__links a.is-bold {
    font-weight: 700;
}

.site-top-bar__separator {
    color: rgba(0, 0, 0, 0.3);
    margin: 0 10px;
    font-size: 11px;
    user-select: none;
}

/* ========== Promo Banner ========== */
.site-promo-banner {
    background: linear-gradient(90deg, var(--promo-bg-start, #9f005b) 27.27%, var(--promo-bg-end, #6c003e));
    text-align: center;
    padding: 8px 24px;
    display: flex;
    justify-content: center;
}

.site-promo-banner__inner {
    width: 100%;
    max-width: 1600px;
}

.site-promo-banner p {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

/* ========== Main Header ========== */
.site-header-main {
    background: #fff;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}

.site-header-main.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(0);
    border-top: 3px solid var(--sticky-border-color, #6c003e);
}

.site-header-main.is-sticky.is-hidden {
    pointer-events: none;
}

.site-top-bar.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-top-bar.is-sticky.is-hidden {
    pointer-events: none;
}

.site-header-main-placeholder {
    display: none;
}

.site-header-main-placeholder.is-active {
    display: block;
}

.site-header-main__inner {
    width: 100%;
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header-main__left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.site-hamburger {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 36px;
    height: 36px;
    cursor: pointer;
    padding: 0;
}

.site-hamburger svg {
    width: 22px;
    height: 22px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.site-logo__icon {
    display: flex;
    align-items: center;
}

.site-logo__icon svg {
    width: 28px;
    height: 16px;
}

.site-logo__img {
    height: 28px;
    width: auto;
    display: block;
}

.site-logo__text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
}

/* Search Bar */
.site-header-main__center {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding: 0 40px;
    max-width: 480px;
    margin-left: auto;
}

.site-search {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.site-search__input {
    width: 100%;
    height: 36px;
    border: none;
    border-radius: 4px;
    background: #f2f2f2;
    padding: 0 12px 0 36px;
    font-size: 13px;
    outline: none;
    transition: background-color 0.2s;
    font-family: inherit;
}

.site-search__input:focus {
    background: #e9e9e9;
}

.site-search__input::placeholder {
    color: #999;
}

.site-search__btn {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #666;
}

.site-search__btn svg {
    width: 16px;
    height: 16px;
}

/* Icon Group */
.site-header-main__right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    margin-left: 16px;
}

.site-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: opacity 0.2s;
}

.site-header-icon:hover {
    opacity: 0.6;
}

.site-header-icon svg {
    width: 20px;
    height: 20px;
}

/* ========== Navigation Bar ========== */
.site-nav {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-nav__inner {
    width: 100%;
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-nav__left {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__left li {
    display: flex;
    align-items: center;
}

.site-nav__left a {
    display: inline-block;
    padding: 10px 14px;
    font-size: 13px;
    color: #000;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.2s;
    position: relative;
}

.site-nav__left a:hover {
    color: #555;
}

.site-nav__left a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: #000;
    transform: scaleX(0);
    transition: transform 0.2s;
}

.site-nav__left a:hover::after {
    transform: scaleX(1);
}

.site-nav__left > a:first-child,
.site-nav__left > li:first-child a {
    padding-left: 0;
}

.site-nav__left > a:first-child::after,
.site-nav__left > li:first-child a::after {
    left: 0;
}

.site-nav__right {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__right li {
    display: flex;
    align-items: center;
}

.site-nav__right a {
    display: inline-block;
    padding: 10px 14px;
    font-size: 13px;
    color: #000;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s;
}

.site-nav__right a:hover {
    color: #555;
}

.site-nav__right a.is-sale,
.site-nav__right li.is-sale a {
    color: #e00;
    font-weight: 600;
}

.site-nav__right a.is-sale:hover,
.site-nav__right li.is-sale a:hover {
    color: #b00;
}

.site-nav__right > a:last-child,
.site-nav__right > li:last-child a {
    padding-right: 0;
}

/* ========== Drawer ========== */
.site-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.site-drawer-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.site-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 340px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
}

.site-drawer::-webkit-scrollbar {
    width: 4px;
}

.site-drawer::-webkit-scrollbar-track {
    background: transparent;
}

.site-drawer::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
}

.site-drawer::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.25);
}

.site-drawer.is-active {
    transform: translateX(0);
}

.site-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.site-drawer__logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #000;
}

.site-drawer__logo span {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-drawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background 0.2s;
    color: #000;
}

.site-drawer__close:hover {
    background: #f2f2f2;
}

.site-drawer__nav {
    flex: 1;
    padding: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
}

.site-drawer__nav::-webkit-scrollbar {
    width: 4px;
}

.site-drawer__nav::-webkit-scrollbar-track {
    background: transparent;
}

.site-drawer__nav::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
}

.site-drawer__nav::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.25);
}

/* Sign in row */
.site-drawer__signin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 15px;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background 0.15s;
}

.site-drawer__signin:hover {
    background: #f7f7f7;
}

.site-drawer__signin strong {
    font-weight: 700;
}

.site-drawer__signin svg {
    flex-shrink: 0;
    color: #999;
}

/* Promo banner */
.site-drawer__promo {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #eee;
    transition: background 0.15s;
}

.site-drawer__promo:hover {
    background: #f7f7f7;
}

.site-drawer__promo-img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.site-drawer__promo-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-drawer__promo-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #c35600;
}

.site-drawer__promo svg {
    flex-shrink: 0;
    color: #c35600;
}

/* Menu items */
.site-drawer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-drawer__menu li {
    border-bottom: 1px solid #eee;
}

.site-drawer__menu li:last-child {
    border-bottom: none;
}

.site-drawer__menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    text-decoration: none;
    color: #000;
    transition: background 0.15s;
}

.site-drawer__menu li a:hover {
    background: #f7f7f7;
}

.site-drawer__menu li a svg {
    flex-shrink: 0;
    color: #999;
}

.site-drawer__menu-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-drawer__menu-title {
    font-size: 15px;
    font-weight: 400;
    color: #000;
}

.site-drawer__menu-sub {
    font-size: 12px;
    color: #777;
    font-weight: 400;
}

body.drawer-open {
    overflow: hidden;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .site-nav__left a,
    .site-nav__right a {
        padding: 10px 10px;
        font-size: 12px;
    }

    .site-header-main__center {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .site-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav__left,
    .site-nav__right {
        flex-shrink: 0;
    }

    .site-header-main__center {
        display: none;
    }

    .site-top-bar {
        padding: 6px 16px;
    }

    .site-header-main {
        padding: 10px 16px;
    }

    .site-nav {
        padding: 0 16px;
    }
}

/* ========== Footer ========== */
.site-footer {
    background: #f5f5f5;
    margin-top: 60px;
}

.footer__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__left {
    flex: 1;
    max-width: 600px;
    padding-right: 60px;
}

.footer__logo {
    height: 36px !important;
    max-height: 36px;
    width: auto !important;
    display: block;
    margin-bottom: 20px;
}

.footer__desc {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.footer__link {
    color: #000;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer__link:hover {
    opacity: 0.7;
}

.footer__right {
    flex-shrink: 0;
}

.footer__right a {
    display: block;
}

.footer__img {
    display: block;
    max-width: 420px;
    width: 100%;
    height: auto;
}

/* Bottom section */
.footer__bottom {
    border-top: 1px solid #e0e0e0;
}

.footer__bottom-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 48px 40px;
}

/* App download bar */
.footer__app-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    margin-bottom: 40px;
}

.footer__social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    color: #000;
    transition: opacity 0.2s;
}

.footer__social-link svg {
    width: 24px;
    height: 24px;
}

.footer__social-link:hover {
    opacity: 0.6;
}

.footer__app-icons {
    display: flex;
    gap: 12px;
}

.footer__app-link {
    display: block;
    transition: opacity 0.2s;
}

.footer__app-link:hover {
    opacity: 0.8;
}

.footer__app-badge {
    height: 40px;
    width: auto;
    display: block;
}

.footer__bottom-row {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 40px;
    margin-bottom: 32px;
}

/* Left: Newsletter */
.footer__bottom-left {
    flex: 1;
    max-width: 400px;
}

.footer__newsletter-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #000;
}

.footer__newsletter-desc {
    font-size: 14px;
    color: #333;
    margin: 0 0 16px;
    line-height: 1.5;
}

.footer__newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.footer__newsletter-input {
    flex: 1;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
    padding: 12px 14px;
    background: #fff;
    color: #000;
}

.footer__newsletter-input::placeholder {
    color: #999;
}

.footer__newsletter-btn {
    background: #000;
    border: none;
    cursor: pointer;
    padding: 12px 28px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.footer__newsletter-btn:hover {
    background: #333;
}

/* SMS subscribe box */
.footer__sms-box {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 16px 20px;
    text-decoration: none;
    color: #000;
    transition: border-color 0.2s;
}

.footer__sms-box:hover {
    border-color: #999;
}

.footer__sms-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: #666;
}

.footer__sms-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
    color: #000;
}

.footer__sms-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: #000;
}

/* Right: Nav columns */
.footer__bottom-right {
    display: flex;
    gap: 60px;
}

.footer__nav-col {
    min-width: 140px;
}

.footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__nav-list li:first-child a {
    color: #333;
}

.footer__nav-list li {
    margin-bottom: 10px;
}

.footer__nav-list a {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.footer__nav-list a:hover {
    color: #000;
    text-decoration: underline;
}

/* Legal section */
.footer__legal {
    padding-top: 0;
}

.footer__legal-text {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 8px;
}

.footer__legal-text a {
    color: #666;
    text-decoration: underline;
}

.footer__legal-copyright {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    margin: 0;
}

.footer__legal-copyright a {
    color: #999;
    text-decoration: underline;
}

.footer__legal-text a:hover,
.footer__legal-copyright a:hover {
    color: #000;
}

/* Footer tablet */
@media (max-width: 1024px) {
    .footer__inner {
        padding: 0 24px;
    }

    .footer__left {
        padding-right: 30px;
    }

    .footer__img {
        max-width: 320px;
    }

    .footer__bottom-inner {
        padding: 40px 24px;
    }

    .footer__bottom-row {
        gap: 40px;
    }

    .footer__bottom-right {
        gap: 40px;
    }
}

/* Footer mobile */
@media (max-width: 767px) {
    .site-footer {
        padding-top: 0;
    }

    .footer__inner {
        padding: 24px 16px;
    }

    .footer__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer__left {
        max-width: 100%;
        padding-right: 0;
    }

    .footer__logo {
        height: 28px;
        margin-bottom: 14px;
    }

    .footer__desc {
        font-size: 14px;
    }

    .footer__img {
        max-width: 100%;
    }

    .footer__bottom-inner {
        padding: 28px 16px;
    }

    .footer__bottom-row {
        flex-direction: column;
        gap: 28px;
        padding-bottom: 28px;
        margin-bottom: 24px;
    }

    .footer__bottom-left {
        max-width: 100%;
    }

    .footer__newsletter-title {
        font-size: 16px;
    }

    .footer__newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .footer__newsletter-btn {
        padding: 14px 28px;
        text-align: center;
    }

    .footer__sms-box {
        padding: 14px 16px;
        gap: 12px;
    }

    .footer__bottom-right {
        flex-direction: row;
        gap: 24px;
    }

    .footer__nav-col {
        min-width: unset;
        flex: 1;
    }

    .footer__app-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-bottom: 24px;
        margin-bottom: 28px;
    }

    .footer__social-link svg {
        width: 22px;
        height: 22px;
    }

    .footer__app-badge {
        height: 36px;
    }

    .footer__legal-text,
    .footer__legal-copyright {
        font-size: 11px;
    }
}

/* ========== Cart Page ========== */
body.woocommerce-cart,
body.woocommerce-checkout {
    overflow-x: hidden;
    max-width: 100vw;
}

body.woocommerce-cart img,
body.woocommerce-checkout img {
    max-width: 100%;
    height: auto;
}

body.woocommerce-cart table,
body.woocommerce-checkout table {
    max-width: 100%;
    table-layout: auto;
}

body.woocommerce-cart .sdz-cart {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    overflow: hidden;
}

body.woocommerce-cart .sdz-cart__title {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

/* Cart items list */
body.woocommerce-cart .sdz-cart__items {
    border-top: 1px solid #ddd;
}

body.woocommerce-cart .sdz-cart__item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 20px;
    align-items: start;
    padding: 24px 0;
    border-bottom: 1px solid #ddd;
}

/* Thumbnail */
body.woocommerce-cart .sdz-cart__item-image {
    width: 100px;
}

body.woocommerce-cart .sdz-cart__item-image a {
    display: block;
}

body.woocommerce-cart .sdz-cart__item-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

/* Product info column */
body.woocommerce-cart .sdz-cart__item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

body.woocommerce-cart .sdz-cart__item-name {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

body.woocommerce-cart .sdz-cart__item-name a {
    color: #000;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
}

body.woocommerce-cart .sdz-cart__item-name a:hover {
    text-decoration: underline;
}

/* Variation meta — flatten dl/dt/dd to inline text */
body.woocommerce-cart .sdz-cart__item-meta {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

body.woocommerce-cart .sdz-cart__item-meta dl.variation {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
}

body.woocommerce-cart .sdz-cart__item-meta dl.variation dt {
    display: none;
}

body.woocommerce-cart .sdz-cart__item-meta dl.variation dd {
    margin: 0;
    padding: 0;
}

body.woocommerce-cart .sdz-cart__item-meta dl.variation dd p {
    display: inline;
    margin: 0;
}

body.woocommerce-cart .sdz-cart__item-meta dl.variation dd + dd::before {
    display: none;
}

body.woocommerce-cart .sdz-cart__item-meta dl.variation dd::after {
    content: ' / ';
    color: #999;
}

body.woocommerce-cart .sdz-cart__item-meta dl.variation dd:last-child::after {
    content: '';
}

body.woocommerce-cart .sdz-cart__item-backorder {
    font-size: 12px;
    color: #b00;
    margin: 4px 0 0;
}

/* Remove link */
body.woocommerce-cart .sdz-cart__item-actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

body.woocommerce-cart .sdz-cart__remove {
    font-size: 13px;
    color: #333;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

body.woocommerce-cart .sdz-cart__remove:hover {
    color: #000;
}

/* Quantity */
body.woocommerce-cart .sdz-cart__item-qty {
    display: flex;
    align-items: flex-start;
    padding-top: 2px;
}

body.woocommerce-cart .sdz-cart__item-qty .quantity {
    display: flex;
    align-items: center;
}

body.woocommerce-cart .sdz-cart__item-qty .quantity input.qty {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 14px;
    font-family: inherit;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
    appearance: textfield;
    background: #fff;
    outline: none;
}

body.woocommerce-cart .sdz-cart__item-qty .quantity input.qty:focus {
    border-color: #000;
}

body.woocommerce-cart .sdz-cart__item-qty .quantity input.qty::-webkit-outer-spin-button,
body.woocommerce-cart .sdz-cart__item-qty .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Price */
body.woocommerce-cart .sdz-cart__item-price {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    text-align: right;
    min-width: 80px;
    padding-top: 2px;
}

/* Coupon row */
body.woocommerce-cart .sdz-cart__coupon-row {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 16px 0;
}

body.woocommerce-cart .sdz-cart__coupon-input {
    height: 42px;
    padding: 0 14px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 14px;
    font-family: inherit;
    min-width: 200px;
    background: #fff;
    outline: none;
}

body.woocommerce-cart .sdz-cart__coupon-input:focus {
    border-color: #000;
}

body.woocommerce-cart .sdz-cart__coupon-btn {
    height: 42px;
    padding: 0 20px;
    border: 1px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
}

body.woocommerce-cart .sdz-cart__coupon-btn:hover {
    background: #000;
    color: #fff;
}

/* Buttons row — UPDATE BAG + CHECK OUT side by side */
body.woocommerce-cart .sdz-cart__buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 24px;
}

body.woocommerce-cart .sdz-cart__update-btn {
    height: 44px;
    padding: 0 28px;
    border: 1px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
}

body.woocommerce-cart .sdz-cart__update-btn:hover {
    background: #f5f5f5;
}

body.woocommerce-cart .sdz-cart__update-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

body.woocommerce-cart .sdz-cart__checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 36px;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
    line-height: 1;
}

body.woocommerce-cart .sdz-cart__checkout-btn:hover {
    opacity: 0.85;
    color: #fff;
}

/* Cart totals */
body.woocommerce-cart .sdz-cart__collaterals {
    margin-top: 8px;
}

body.woocommerce-cart .sdz-cart__collaterals .cart_totals {
    float: none;
    width: 100%;
}

body.woocommerce-cart .sdz-cart__collaterals .cart_totals > h2 {
    display: none;
}

body.woocommerce-cart .sdz-cart__collaterals .cart_totals table.shop_table {
    border: none;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: 0;
    width: auto;
    min-width: 340px;
    border-radius: 0;
}

body.woocommerce-cart .sdz-cart__collaterals .cart_totals table.shop_table tr th,
body.woocommerce-cart .sdz-cart__collaterals .cart_totals table.shop_table tr td {
    padding: 8px 0;
    border: none;
    border-top: none;
    font-size: 14px;
    font-weight: 400;
    vertical-align: top;
    background: transparent;
}

body.woocommerce-cart .sdz-cart__collaterals .cart_totals table.shop_table tr th {
    text-align: left;
    color: #333;
    padding-right: 40px;
}

body.woocommerce-cart .sdz-cart__collaterals .cart_totals table.shop_table tr td {
    text-align: right;
    color: #000;
}

body.woocommerce-cart .sdz-cart__collaterals .cart_totals .order-total th,
body.woocommerce-cart .sdz-cart__collaterals .cart_totals .order-total td {
    font-weight: 600;
    font-size: 15px;
    padding-top: 16px;
    border-top: 1px solid #ddd;
}

/* Hide original checkout button inside cart_totals (we have custom buttons row) */
body.woocommerce-cart .sdz-cart__collaterals .wc-proceed-to-checkout {
    display: none;
}

/* Hide cross-sells */
body.woocommerce-cart .sdz-cart .cross-sells {
    display: none;
}

/* Notices */
body.woocommerce-cart .woocommerce-notices-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
    padding: 12px 20px;
    font-size: 14px;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 767px) {
    body.woocommerce-cart .sdz-cart {
        padding: 24px 16px 40px;
    }

    body.woocommerce-cart .sdz-cart__title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    body.woocommerce-cart .sdz-cart__item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
        gap: 12px;
    }

    body.woocommerce-cart .sdz-cart__item-image {
        width: 80px;
        grid-row: 1 / 2;
    }

    body.woocommerce-cart .sdz-cart__item-info {
        grid-column: 2;
        grid-row: 1 / 2;
    }

    body.woocommerce-cart .sdz-cart__item-qty {
        grid-column: 1;
        grid-row: 2;
    }

    body.woocommerce-cart .sdz-cart__item-price {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
    }

    body.woocommerce-cart .sdz-cart__coupon-row {
        flex-direction: column;
        align-items: stretch;
    }

    body.woocommerce-cart .sdz-cart__coupon-input {
        min-width: unset;
        width: 100%;
    }

    body.woocommerce-cart .sdz-cart__collaterals .cart_totals table.shop_table {
        width: 100%;
        min-width: unset;
    }

    body.woocommerce-cart .sdz-cart__buttons {
        flex-direction: column;
    }

    body.woocommerce-cart .sdz-cart__update-btn,
    body.woocommerce-cart .sdz-cart__checkout-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    body.woocommerce-cart .sdz-cart__item-price {
        min-width: unset;
    }

    body.woocommerce-cart .woocommerce-notices-wrapper {
        padding: 0 16px;
    }
}

/* ========== Checkout Page (Shopify-style) ========== */

/* Hide the default "Your order" heading */
body.woocommerce-checkout #order_review_heading {
    display: none;
}

/* Two-column layout */
body.woocommerce-checkout .sdz-checkout__layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    overflow: hidden;
}

/* Left column — main form */
body.woocommerce-checkout .sdz-checkout__main {
    padding: 40px 48px 60px 48px;
    max-width: 680px;
    margin-left: auto;
}

/* Right column — order summary sidebar */
body.woocommerce-checkout .sdz-checkout__sidebar {
    background: #fafafa;
    border-left: 1px solid #e1e1e1;
    padding: 40px 32px 60px;
}

body.woocommerce-checkout .sdz-checkout__sidebar-inner {
    position: sticky;
    top: 40px;
}

body.woocommerce-checkout .sdz-checkout__sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Sidebar product list */
body.woocommerce-checkout .sdz-checkout__products {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e1e1;
}

body.woocommerce-checkout .sdz-checkout__product {
    display: flex;
    align-items: center;
    gap: 14px;
}

body.woocommerce-checkout .sdz-checkout__product-thumb {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

body.woocommerce-checkout .sdz-checkout__product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.woocommerce-checkout .sdz-checkout__product-qty {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.woocommerce-checkout .sdz-checkout__product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.woocommerce-checkout .sdz-checkout__product-name {
    font-size: 13px;
    font-weight: 500;
    color: #000;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.woocommerce-checkout .sdz-checkout__product-meta {
    font-size: 12px;
    color: #717171;
    line-height: 1.3;
}

body.woocommerce-checkout .sdz-checkout__product-meta dl.variation {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

body.woocommerce-checkout .sdz-checkout__product-meta dl.variation dt {
    display: none;
}

body.woocommerce-checkout .sdz-checkout__product-meta dl.variation dd {
    margin: 0;
    padding: 0;
}

body.woocommerce-checkout .sdz-checkout__product-meta dl.variation dd p {
    display: inline;
    margin: 0;
}

body.woocommerce-checkout .sdz-checkout__product-meta dl.variation dd::after {
    content: ' / ';
    color: #aaa;
}

body.woocommerce-checkout .sdz-checkout__product-meta dl.variation dd:last-child::after {
    content: '';
}

body.woocommerce-checkout .sdz-checkout__product-price {
    font-size: 13px;
    font-weight: 500;
    color: #000;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Discount code row */
body.woocommerce-checkout .sdz-checkout__discount-row {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid #e1e1e1;
}

body.woocommerce-checkout .sdz-checkout__discount-input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    outline: none;
}

body.woocommerce-checkout .sdz-checkout__discount-input:focus {
    border-color: #000;
}

body.woocommerce-checkout .sdz-checkout__discount-btn {
    height: 40px;
    padding: 0 18px;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    background: #f6f6f6;
    color: #717171;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

body.woocommerce-checkout .sdz-checkout__discount-btn:hover {
    background: #e8e8e8;
    color: #333;
    border-color: #bbb;
}

/* Sidebar totals */
body.woocommerce-checkout .sdz-checkout__totals {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.woocommerce-checkout .sdz-checkout__totals-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
    color: #333;
}

body.woocommerce-checkout .sdz-checkout__totals-row--discount {
    color: #2b7a2b;
}

body.woocommerce-checkout .sdz-checkout__totals-row--total {
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1px solid #e1e1e1;
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

body.woocommerce-checkout .sdz-checkout__total-amount {
    font-size: 20px;
    font-weight: 600;
}

/* Section headings in left column */
body.woocommerce-checkout .sdz-checkout__section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-top: 8px;
}

/* Form fields styling */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body.woocommerce-checkout .form-row {
    margin: 0;
    padding: 0;
    width: 100%;
}

body.woocommerce-checkout .form-row-first {
    width: calc(50% - 6px);
    flex: 0 0 calc(50% - 6px);
}

body.woocommerce-checkout .form-row-last {
    width: calc(50% - 6px);
    flex: 0 0 calc(50% - 6px);
}

body.woocommerce-checkout .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

body.woocommerce-checkout .form-row label .optional {
    font-weight: 400;
    color: #999;
    font-size: 12px;
}

body.woocommerce-checkout .form-row label .required {
    color: #333;
}

body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
}

body.woocommerce-checkout .form-row textarea {
    height: auto;
    min-height: 80px;
    padding: 10px 12px;
    resize: vertical;
}

body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row textarea:focus {
    border-color: #000;
}

body.woocommerce-checkout .form-row select,
body.woocommerce-checkout .form-row .select2-container .select2-selection--single {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px;
    padding-left: 12px;
    color: #333;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
    right: 8px;
}

/* Payment section */
body.woocommerce-checkout .sdz-checkout__payment-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e1e1e1;
}

body.woocommerce-checkout #payment {
    background: transparent;
    border-radius: 0;
}

body.woocommerce-checkout #payment ul.payment_methods {
    padding: 0;
    border: none;
    margin: 0 0 16px;
}

body.woocommerce-checkout #payment ul.payment_methods li {
    list-style: none;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    margin-bottom: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s;
}

body.woocommerce-checkout #payment ul.payment_methods li:hover {
    border-color: #999;
}

body.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    margin-right: 8px;
}

body.woocommerce-checkout #payment ul.payment_methods li label {
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

body.woocommerce-checkout #payment .payment_box {
    background: #f8f8f8;
    border-radius: 5px;
    padding: 12px 16px;
    margin-top: 10px;
    font-size: 13px;
    color: #555;
}

body.woocommerce-checkout #payment .payment_box::before {
    display: none;
}

/* Place order button */
body.woocommerce-checkout #payment .place-order {
    padding: 20px 0 0;
}

body.woocommerce-checkout #place_order {
    width: 100%;
    height: 52px;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
    text-transform: none;
}

body.woocommerce-checkout #place_order:hover {
    opacity: 0.85;
}

/* Privacy / terms */
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    font-size: 13px;
    color: #717171;
    margin-bottom: 12px;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text {
    font-size: 12px;
    color: #999;
    margin-bottom: 16px;
}

/* Login / coupon toggles at top */
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
    max-width: 1200px;
    margin: 0 auto 12px;
    padding: 0 48px;
}

body.woocommerce-checkout .woocommerce-info {
    border-top: none;
    border-left: none;
    background: #fafafa;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
}

body.woocommerce-checkout .woocommerce-info::before {
    display: none;
}

/* WooCommerce validation */
body.woocommerce-checkout .woocommerce-invalid input.input-text {
    border-color: #c00;
}

body.woocommerce-checkout .woocommerce-error {
    margin-bottom: 16px;
    border: 1px solid #c00;
    background: #fff5f5;
    border-radius: 5px;
    padding: 12px 16px;
}

/* Hide "Ship to different address?" if not needed */
body.woocommerce-checkout .woocommerce-shipping-fields h3#ship-to-different-address {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 900px) {
    body.woocommerce-checkout .sdz-checkout__layout {
        grid-template-columns: 1fr;
    }

    body.woocommerce-checkout .sdz-checkout__main {
        padding: 24px 20px;
        max-width: 100%;
    }

    body.woocommerce-checkout .sdz-checkout__sidebar {
        border-left: none;
        border-top: 1px solid #e1e1e1;
        padding: 24px 20px;
        order: -1;
    }

    body.woocommerce-checkout .sdz-checkout__sidebar-inner {
        position: static;
    }

    body.woocommerce-checkout .woocommerce-form-login-toggle,
    body.woocommerce-checkout .woocommerce-form-coupon-toggle {
        padding: 0 20px;
    }

    body.woocommerce-checkout .form-row-first,
    body.woocommerce-checkout .form-row-last {
        width: 100%;
        flex: 0 0 100%;
    }

    body.woocommerce-checkout .sdz-checkout__discount-row {
        flex-wrap: wrap;
    }

    body.woocommerce-checkout .sdz-checkout__discount-input {
        min-width: 0;
        flex: 1 1 0%;
    }

    body.woocommerce-checkout .sdz-checkout__product-name {
        white-space: normal;
        word-break: break-word;
    }

    body.woocommerce-checkout .select2-container {
        max-width: 100% !important;
    }

    body.woocommerce-checkout #payment ul.payment_methods li {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    body.woocommerce-checkout .sdz-checkout__main {
        padding: 20px 16px;
    }

    body.woocommerce-checkout .sdz-checkout__sidebar {
        padding: 20px 16px;
    }

    body.woocommerce-checkout .woocommerce-form-login-toggle,
    body.woocommerce-checkout .woocommerce-form-coupon-toggle {
        padding: 0 16px;
    }

    body.woocommerce-checkout .sdz-checkout__sidebar-title {
        font-size: 16px;
    }

    body.woocommerce-checkout .sdz-checkout__total-amount {
        font-size: 18px;
    }

    body.woocommerce-checkout .sdz-checkout__section h3 {
        font-size: 16px;
    }
}

/* ========== Mini-Cart Drawer ========== */

/* Cart count badge on header icon */
#sdz-cart-toggle {
    position: relative;
}

.sdz-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 4px;
    pointer-events: none;
}

.sdz-cart-count--hidden {
    display: none;
}

/* Overlay */
.sdz-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sdz-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Drawer panel */
.sdz-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
}

.sdz-drawer.is-open {
    transform: translateX(0);
}

/* Drawer header */
.sdz-drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.sdz-drawer__title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.sdz-drawer__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.sdz-drawer__close:hover {
    color: #000;
}

/* Drawer body — scrollable */
.sdz-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Reset ALL WooCommerce defaults inside drawer */
#sdz-drawer .sdz-drawer__body ul.woocommerce-mini-cart {
    list-style: none !important;
    margin: 0 !important;
    padding: 16px 24px !important;
    flex: 1;
    border: none !important;
}

#sdz-drawer .sdz-drawer__body ul.woocommerce-mini-cart li.mini_cart_item {
    display: grid !important;
    grid-template-columns: 80px 1fr 28px !important;
    gap: 14px !important;
    padding: 14px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-top: none !important;
    list-style: none !important;
    float: none !important;
    overflow: hidden !important;
}

#sdz-drawer .sdz-drawer__body ul.woocommerce-mini-cart li.mini_cart_item:last-child {
    border-bottom: none !important;
}

/* Thumbnail — override WC float:right + width:32px */
#sdz-drawer .sdz-mc__thumb {
    width: 80px !important;
    height: 80px !important;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eee;
    grid-column: 1;
    grid-row: 1;
}

#sdz-drawer .sdz-mc__thumb a {
    display: block !important;
    float: none !important;
}

#sdz-drawer .sdz-mc__thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    display: block !important;
    float: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* Info column */
#sdz-drawer .sdz-mc__info {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
    grid-column: 2;
    grid-row: 1;
}

#sdz-drawer .sdz-mc__name a {
    font-size: 13px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

#sdz-drawer .sdz-mc__name a:hover {
    text-decoration: underline;
}

/* Variation meta */
#sdz-drawer .sdz-mc__info dl.variation {
    display: flex !important;
    flex-wrap: wrap;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px;
    color: #999;
}

#sdz-drawer .sdz-mc__info dl.variation dt {
    display: none !important;
}

#sdz-drawer .sdz-mc__info dl.variation dd {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

#sdz-drawer .sdz-mc__info dl.variation dd p {
    display: inline;
    margin: 0;
}

#sdz-drawer .sdz-mc__info dl.variation dd::after {
    content: ' / ';
    color: #ccc;
}

#sdz-drawer .sdz-mc__info dl.variation dd:last-child::after {
    content: '';
}

/* Quantity × price */
#sdz-drawer .sdz-mc__qty-price {
    font-size: 12px;
    color: #717171;
    margin-top: 2px;
}

#sdz-drawer .sdz-mc__qty-price .quantity {
    display: block;
}

/* Remove button column */
#sdz-drawer .sdz-mc__remove {
    grid-column: 3;
    grid-row: 1;
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2px;
}

#sdz-drawer .sdz-mc__remove a.remove {
    font-size: 18px !important;
    color: #999 !important;
    text-decoration: none !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
    line-height: 1;
    border-radius: 0 !important;
    background: none !important;
    float: none !important;
    position: static !important;
}

#sdz-drawer .sdz-mc__remove a.remove:hover {
    color: #c00 !important;
    background: none !important;
}

/* Totals */
#sdz-drawer .woocommerce-mini-cart__total.total {
    padding: 16px 24px !important;
    border-top: 1px solid #e5e5e5 !important;
    display: flex !important;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    margin: 0 !important;
}

/* Buttons (View Cart + Checkout) */
#sdz-drawer .woocommerce-mini-cart__buttons.buttons {
    padding: 0 24px 24px !important;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    margin: 0 !important;
}

#sdz-drawer .woocommerce-mini-cart__buttons a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 46px;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 0 !important;
    transition: opacity 0.2s;
    padding: 0 !important;
    line-height: 46px !important;
}

#sdz-drawer .woocommerce-mini-cart__buttons a.wc-forward:first-child {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}

#sdz-drawer .woocommerce-mini-cart__buttons a.wc-forward:first-child:hover {
    background: #f5f5f5 !important;
}

#sdz-drawer .woocommerce-mini-cart__buttons a.checkout {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
}

#sdz-drawer .woocommerce-mini-cart__buttons a.checkout:hover {
    opacity: 0.85;
}

/* Empty cart message */
#sdz-drawer .woocommerce-mini-cart__empty-message {
    padding: 60px 24px;
    text-align: center;
    font-size: 14px;
    color: #999;
}

/* ========== Mega Menu ========== */

/* Menu item with mega needs relative for positioning context on the <ul> */
.site-nav__left {
    position: static;
}

.site-nav__inner {
    position: relative;
}

.site-nav__left li.menu-item-has-mega {
    position: static;
}

/* Dropdown panel */
.sdz-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), -2px 0 8px rgba(0, 0, 0, 0.04), 2px 0 8px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.site-nav__left li.menu-item-has-mega:hover > .sdz-mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Inner container matches site-nav__inner width */
.sdz-mega-dropdown__inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px 0;
}

/* ========== Account Modal ========== */

.sdz-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.sdz-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.sdz-account-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 9999;
    background: #fff;
    width: 420px;
    max-width: 92vw;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 40px 36px 36px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.sdz-account-modal.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.sdz-account-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    transition: color 0.15s;
}

.sdz-account-modal__close:hover {
    color: #000;
}

.sdz-account-modal__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #000;
}

.sdz-account-modal__subtitle {
    font-size: 13px;
    color: #888;
    margin: 0 0 24px;
}

/* Form fields */
.sdz-form-field {
    margin-bottom: 16px;
}

.sdz-form-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    margin-bottom: 6px;
}

.sdz-form-field input[type="email"],
.sdz-form-field input[type="password"],
.sdz-form-field input[type="text"] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    color: #000;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.sdz-form-field input:focus {
    outline: none;
    border-color: #000;
}

.sdz-form-field--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sdz-checkbox {
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-transform: none;
    font-weight: 400;
}

.sdz-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #000;
}

.sdz-form-link {
    font-size: 13px;
    color: #000;
    text-decoration: underline;
}

.sdz-form-link:hover {
    color: #555;
}

/* Messages */
.sdz-form-msg {
    font-size: 13px;
    min-height: 20px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.sdz-form-msg--error {
    color: #c00;
}

.sdz-form-msg--success {
    color: #0a7d00;
}

/* Buttons */
.sdz-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s;
}

.sdz-btn--primary {
    background: #000;
    color: #fff;
}

.sdz-btn--primary:hover {
    opacity: 0.85;
}

.sdz-btn--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Switch text */
.sdz-account-modal__switch {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin: 20px 0 0;
}

.sdz-account-modal__switch a {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

.sdz-account-modal__switch a:hover {
    color: #555;
}

/* ========== WooCommerce My Account ========== */

.woocommerce-account .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Nav sidebar */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 240px;
    flex-shrink: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s, color 0.15s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child a {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #000;
    color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #f5f5f5;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a:hover {
    background: #222;
}

/* Content area */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
}

.woocommerce-account .woocommerce-MyAccount-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* My-account forms */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row label,
.woocommerce-account .woocommerce-MyAccount-content .form-row label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-content textarea {
    height: auto;
    padding: 10px 14px;
    min-height: 100px;
}

.woocommerce-account .woocommerce-MyAccount-content input:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus,
.woocommerce-account .woocommerce-MyAccount-content textarea:focus {
    outline: none;
    border-color: #000;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button,
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 32px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button:hover,
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"]:hover {
    opacity: 0.85;
}

/* Orders table */
.woocommerce-account .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-account .woocommerce-orders-table th {
    background: #f8f8f8;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    text-align: left;
    border-bottom: 2px solid #e5e5e5;
}

.woocommerce-account .woocommerce-orders-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-account .woocommerce-orders-table td a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-account .woocommerce-orders-table td a:hover {
    text-decoration: underline;
}

.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 16px;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a:hover {
    opacity: 0.85;
    text-decoration: none;
}

/* Address cards */
.woocommerce-account .woocommerce-Addresses {
    display: flex;
    gap: 24px;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
    flex: 1;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 20px;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address header h3 {
    font-size: 15px;
    margin-bottom: 12px;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address address {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    font-style: normal;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
        padding: 20px 16px;
        gap: 24px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        overflow-x: auto;
        border-radius: 0;
        border: none;
        border-bottom: 2px solid #e5e5e5;
        gap: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
        white-space: nowrap;
        padding: 10px 16px;
        border-bottom: none;
        font-size: 13px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
        background: none;
        color: #000;
        border-bottom: 2px solid #000;
        margin-bottom: -2px;
    }

    .woocommerce-account .woocommerce-Addresses {
        flex-direction: column;
    }
}

/* ========== SMS Modal ========== */

.sdz-sms-modal__icon {
    text-align: center;
    margin-bottom: 16px;
}

.sdz-sms-modal__note {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    margin: 16px 0 0;
    line-height: 1.4;
}

.sdz-form-field input[type="tel"] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    color: #000;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.sdz-form-field input[type="tel"]:focus {
    outline: none;
    border-color: #000;
}

/* Newsletter message under form */
.footer__bottom-left .sdz-form-msg {
    margin-top: 8px;
    font-size: 13px;
}
