/* ==========================================================
   SENA THEME - Account / Cart / Checkout / Auth CSS
   Reference: arkhan07/revisisenahtml
   ========================================================== */

/* ----------------------------------------------------------
   HEADER: Login & Cart Icon (PC / Tablet) — icon only, no border
   ---------------------------------------------------------- */

.util .account_btn,
.util .cart_btn {
    display: flex;
    align-items: center;
}

.util .account_btn a,
.util .cart_btn a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    transition: color 0.3s ease;
}

.util .account_btn a:hover,
.util .cart_btn a:hover {
    color: #E30613;
}

.util .account_btn a svg,
.util .cart_btn a svg {
    display: block;
    border: none;
    outline: none;
}

.util .cart_btn .cart_count {
    position: absolute;
    top: -0.8rem;
    right: -0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    background: #E30613;
    color: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    border: none;
}

/* Mobile: login, cart links */
.bottom .util .login,
.bottom .util .account,
.bottom .util .cart_mo {
    position: relative;
}

.bottom .util .cart_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    background: #E30613;
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    margin-left: 4px;
    vertical-align: middle;
    border: none;
}

/* White header variant */
.headerArea:not(.white) .util .account_btn svg,
.headerArea:not(.white) .util .cart_btn svg {
    stroke: #fff;
}

/* ----------------------------------------------------------
   COMMON PAGE WRAPPER
   ---------------------------------------------------------- */

.woocommerce-cart-page,
.woocommerce-checkout-page,
.woocommerce-account-page {
    padding-top: calc(100vw * (120 / 1920));
    padding-bottom: calc(100vw * (120 / 1920));
    min-height: 70vh;
    background: #F9F9F9;
}

@media (max-width: 1180px) {

    .woocommerce-cart-page,
    .woocommerce-checkout-page,
    .woocommerce-account-page {
        padding-top: calc(100vw * (100 / 1180));
        padding-bottom: calc(100vw * (100 / 1180));
    }
}

@media (max-width: 767px) {

    .woocommerce-cart-page,
    .woocommerce-checkout-page,
    .woocommerce-account-page {
        padding-top: calc(100vw * (80 / 390));
        padding-bottom: calc(100vw * (80 / 390));
    }
}

.cart_section .inner,
.checkout_section .inner,
.account_section .inner {
    padding: 0 calc(100vw * (80 / 1920));
}

@media (max-width: 1180px) {

    .cart_section .inner,
    .checkout_section .inner,
    .account_section .inner {
        padding: 0 calc(100vw * (40 / 1180));
    }
}

@media (max-width: 767px) {

    .cart_section .inner,
    .checkout_section .inner,
    .account_section .inner {
        padding: 0 calc(100vw * (20 / 390));
    }
}

/* Page Heading */
.page_head {
    margin-bottom: calc(100vw * (60 / 1920));
    border-bottom: 2px solid #E30613;
    padding-bottom: calc(100vw * (30 / 1920));
}

.page_head h2 {
    font-size: calc(100vw * (48 / 1920));
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
    text-transform: uppercase;
    color: #000;
}

@media (max-width: 1180px) {
    .page_head {
        margin-bottom: calc(100vw * (40 / 1180));
        padding-bottom: calc(100vw * (20 / 1180));
    }

    .page_head h2 {
        font-size: calc(100vw * (36 / 1180));
    }
}

@media (max-width: 767px) {
    .page_head {
        margin-bottom: calc(100vw * (30 / 390));
        padding-bottom: calc(100vw * (16 / 390));
    }

    .page_head h2 {
        font-size: calc(100vw * (28 / 390));
    }
}

/* WooCommerce notices */
.woocommerce-notices-wrapper,
.woocommerce-info,
.woocommerce-error,
.woocommerce-message {
    margin-bottom: 24px;
    padding: 16px 20px;
    font-size: 1.4rem;
    border-left: 4px solid #E30613;
    background: #fff;
    list-style: none;
}

.woocommerce-error {
    border-left-color: #E30613;
    color: #E30613;
}

.woocommerce-message {
    border-left-color: #000;
}

/* ==========================================================
   AUTH SPLIT LAYOUT — Login / Register / Forgot Password
   ========================================================== */

/* Remove default padding for auth split pages */
.woocommerce-account-page.auth-split-page {
    padding: 0 !important;
    margin: 0 !important;
    background: #fff;
    min-height: 100vh;
}

.auth_split_container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Left: Form Area */
.auth_split_form_area {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 4rem;
    background: #fff;
}

.auth_split_form_inner {
    width: 100%;
    max-width: 44rem;
}

.auth_split_logo {
    margin-bottom: 4rem;
}

.auth_split_logo img {
    height: 3.2rem;
    width: auto;
}

.auth_split_header {
    margin-bottom: 3.2rem;
}

.auth_split_header h2 {
    font-size: 3.6rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.auth_split_header p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.5;
}

/* Form Groups inside Split Layout */
.auth_split_form_area .form_group {
    margin-bottom: 2rem;
}

.auth_split_form_area .form_group label {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.8rem;
}

.auth_split_form_area .form_group label .required,
.auth_split_form_area .form_group label em {
    color: #E30613;
    font-style: normal;
    margin-left: 2px;
}

.auth_split_form_area .form_group input[type="text"],
.auth_split_form_area .form_group input[type="email"],
.auth_split_form_area .form_group input[type="password"],
.auth_split_form_area .form_group input[type="tel"],
.auth_split_form_area .woocommerce-Input,
.auth_split_form_area .input-text {
    width: 100%;
    height: 5.2rem;
    padding: 0 1.6rem;
    border: 1px solid #E5E7EB;
    background: #fff;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: 500;
    color: #000;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.auth_split_form_area .form_group input:focus,
.auth_split_form_area .woocommerce-Input:focus,
.auth_split_form_area .input-text:focus {
    border-color: #E30613;
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.1);
    outline: none;
}

/* Checkbox row inside split layout */
.auth_split_form_area .form_check_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 0.8rem;
}

.auth_split_form_area .check_label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 400 !important;
    color: #444;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.auth_split_form_area .check_label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #E30613;
    cursor: pointer;
    flex-shrink: 0;
}

.auth_split_form_area .lost_password {
    font-size: 1.4rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.auth_split_form_area .lost_password:hover {
    color: #E30613;
    text-decoration: underline;
}

/* Submit button in split layout */
.auth_split_form_area .form_submit {
    margin-top: 2.4rem;
    margin-bottom: 0 !important;
}

.auth_split_form_area .btn_submit,
.auth_split_form_area .form_submit .btn_black {
    width: 100%;
    height: 5.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth_split_form_area .btn_submit:hover,
.auth_split_form_area .form_submit .btn_black:hover {
    background: #374151;
    transform: translateY(-1px);
}

.auth_split_form_area .form_submit .btn_black .arrow {
    position: static;
    padding-right: 0;
}

.auth_split_form_area .form_submit .btn_black .arrow::after {
    display: none;
}

/* Divider */
.auth_divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #9CA3AF;
    font-size: 1.4rem;
    margin: 2.4rem 0;
}

.auth_divider::before,
.auth_divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #E5E7EB;
}

.auth_divider::before {
    margin-right: 1.2rem;
}

.auth_divider::after {
    margin-left: 1.2rem;
}

/* Social Login Button */
.btn_social {
    width: 100%;
    height: 5.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn_social:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
}

.btn_social svg {
    flex-shrink: 0;
}

/* Footer link below form */
.auth_split_footer {
    margin-top: 2.8rem;
    text-align: center;
    font-size: 1.5rem;
    color: #6B7280;
}

.auth_split_footer a {
    color: #111827;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.2s;
}

.auth_split_footer a:hover {
    color: #E30613;
    text-decoration-color: #E30613;
}

/* Right: Image/Promotional Area */
.auth_split_image_area {
    width: 50%;
    position: relative;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.auth_split_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/auth/auth-hero.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.auth_split_image_area::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 2;
}

.auth_split_image_overlay {
    position: relative;
    z-index: 3;
    padding: 6rem;
    color: #fff;
    width: 100%;
}

.auth_split_image_overlay h2 {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
    line-height: 1.25;
}

.auth_split_image_overlay p {
    font-size: 1.7rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 3.2rem;
}

.auth_split_features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
}

.auth_split_feature {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
    width: calc(50% - 0.8rem);
}

.auth_split_feature svg {
    color: #60A5FA;
    flex-shrink: 0;
}

/* Responsive — hide image panel on tablet/mobile
   NOTE: rem values here use browser default (16px) since 62.5% root
   font-size only applies at min-width:1181px. Use px instead. */
@media (max-width: 1024px) {
    .auth_split_container {
        flex-direction: column;
    }

    .auth_split_form_area {
        width: 100%;
        min-height: 100vh;
        padding: 48px 32px;
    }

    .auth_split_image_area {
        display: none;
    }

    .auth_split_header h2 {
        font-size: 28px;
    }

    .auth_split_header p {
        font-size: 15px;
    }

    .auth_split_form_area .form_group input[type="text"],
    .auth_split_form_area .form_group input[type="email"],
    .auth_split_form_area .form_group input[type="password"],
    .auth_split_form_area .form_group input[type="tel"],
    .auth_split_form_area .woocommerce-Input,
    .auth_split_form_area .input-text {
        height: 48px;
        font-size: 15px;
    }

    .auth_split_form_area .btn_submit,
    .auth_split_form_area .form_submit .btn_black {
        height: 48px;
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .auth_split_form_area {
        padding: 28px 20px;
        min-height: auto;
    }

    .auth_split_form_inner {
        max-width: 100%;
    }

    .auth_split_header {
        margin-bottom: 24px;
    }

    .auth_split_header h2 {
        font-size: 22px;
    }

    .auth_split_header p {
        font-size: 13px;
    }

    .auth_split_logo img {
        height: 24px;
    }

    .auth_split_logo {
        margin-bottom: 24px;
    }

    .auth_split_form_area .form_group {
        margin-bottom: 14px;
    }

    .auth_split_form_area .form_group label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .auth_split_form_area .form_group input[type="text"],
    .auth_split_form_area .form_group input[type="email"],
    .auth_split_form_area .form_group input[type="password"],
    .auth_split_form_area .form_group input[type="tel"],
    .auth_split_form_area .woocommerce-Input,
    .auth_split_form_area .input-text {
        height: 42px;
        font-size: 14px;
        padding: 0 12px;
        border-radius: 6px;
    }

    .auth_split_form_area .btn_submit,
    .auth_split_form_area .form_submit .btn_black {
        height: 44px;
        font-size: 14px;
        border-radius: 6px;
    }

    .auth_split_form_area .check_label {
        font-size: 12px;
    }

    .auth_split_form_area .lost_password {
        font-size: 12px;
    }

    .auth_split_footer {
        font-size: 13px;
        margin-top: 20px;
    }

    /* Register: single-column grid on mobile */
    .auth_split_form_area .form_row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth_split_form_area .form_submit {
        margin-top: 16px;
    }

    /* info_txt — "Password akan dikirimkan ke email Anda." */
    .info_txt {
        font-size: 13px !important;
        line-height: 1.5;
    }
}

/* ----------------------------------------------------------
   LEGACY AUTH FORMS (when registration both shown)
   ---------------------------------------------------------- */

.account_forms_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(100vw * (60 / 1920));
    align-items: start;
}

@media (max-width: 767px) {
    .account_forms_wrap {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.account_form {
    padding: calc(100vw * (48 / 1920));
    border: none;
    background: #fff;
    border-radius: 0;
}

@media (max-width: 1180px) {
    .account_form {
        padding: calc(100vw * (32 / 1180));
    }
}

@media (max-width: 767px) {
    .account_form {
        padding: 24px 20px;
    }
}

.account_form h3 {
    font-size: calc(100vw * (28 / 1920));
    font-weight: 800;
    letter-spacing: -.01em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #000;
}

@media (max-width: 1180px) {
    .account_form h3 {
        font-size: calc(100vw * (22 / 1180));
    }
}

@media (max-width: 767px) {
    .account_form h3 {
        font-size: 22px;
    }
}

.account_form .form_desc {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: calc(100vw * (32 / 1920));
}

@media (max-width: 767px) {
    .account_form .form_desc {
        margin-bottom: 24px;
    }
}

/* Two-column form row for register page */
.auth_split_form_area .form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    margin-bottom: 0;
}

.auth_split_form_area .form_row .form_group {
    margin-bottom: 2rem;
}

@media (max-width: 480px) {
    .auth_split_form_area .form_row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form_row {
    margin-bottom: 20px;
}

.form_row label {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 8px;
    color: #444;
}

.form_row label .required {
    color: #E30613;
    margin-left: 2px;
}

.form_row .info_txt,
.info_txt {
    font-size: 13px;
    color: #666;
    padding: 12px;
    background: #f0f0f0;
}

.form_check_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.check_label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-direction: row !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
}

.check_label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #E30613;
    cursor: pointer;
    flex-shrink: 0;
}

.lost_password {
    font-size: 1.3rem;
    color: #888;
    text-decoration: underline;
    transition: color .2s;
}

.lost_password:hover {
    color: #E30613;
}

.form_submit {
    margin-top: 32px;
    margin-bottom: 0 !important;
}

.form_submit .btn_black {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 0;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.form_submit .btn_black:hover {
    background: #E30613;
    border-color: #E30613;
}

.form_submit .btn_black .arrow {
    position: relative;
    padding-right: 20px;
}

.form_submit .btn_black .arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    rotate: 45deg;
}

/* ==========================================================
   MY ACCOUNT / MEMBER DASHBOARD
   ========================================================== */

.myaccount_wrap {
    display: grid;
    grid-template-columns: 28rem 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1180px) {
    .myaccount_wrap {
        grid-template-columns: 24rem 1fr;
        gap: calc(100vw * (30 / 1180));
    }
}

@media (max-width: 767px) {
    .myaccount_wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Sidebar */
.myaccount_sidebar {
    background: #fff;
    border: 1px solid #D9D9D9;
    position: sticky;
    top: 120px;
}

/* User Info Block */
.account_user_info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 2.4rem;
    background: #fff;
    border-bottom: 2px solid #E30613;
}

.user_avatar img {
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.user_meta {
    overflow: hidden;
}

.user_name {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user_email {
    display: block;
    font-size: 1.3rem;
    color: #888;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigation */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 1.6rem 0;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #f5f5f5;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 1.4rem 2.4rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #FFF5F5;
    color: #E30613;
    border-left-color: #E30613;
    padding-left: 2.8rem;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout.is-active a {
    background: #FFF5F5;
    color: #E30613;
    border-left-color: #E30613;
}

/* Main Content */
.myaccount_content {
    background: #fff;
    border: 1px solid #D9D9D9;
    padding: calc(100vw * (40 / 1920));
    min-height: 400px;
}

@media (max-width: 1180px) {
    .myaccount_content {
        padding: calc(100vw * (30 / 1180));
    }
}

@media (max-width: 767px) {
    .myaccount_content {
        padding: 2.4rem;
    }
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-size: calc(100vw * (22 / 1920));
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding-bottom: 1.6rem;
    border-bottom: 2px solid #E30613;
}

/* Orders Table */
.woocommerce-orders-table,
.woocommerce-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
    margin-top: 2rem;
}

.woocommerce-orders-table thead,
.woocommerce-table thead {
    background: #F3F3F3;
}

.woocommerce-orders-table th,
.woocommerce-table th {
    padding: 1.4rem 1.6rem;
    background: #F3F3F3;
    color: #000;
    font-weight: 700;
    text-align: left;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 2px solid #D9D9D9;
}

.woocommerce-orders-table td,
.woocommerce-table td {
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.woocommerce-orders-table tr:hover td,
.woocommerce-table tr:hover td {
    background: #F9F9F9;
}

.woocommerce-orders-table .button,
.woocommerce-table .button {
    display: inline-block;
    padding: 8px 16px;
    background: #E30613;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .05em;
    transition: background .2s;
    border: none;
    border-radius: 0;
}

.woocommerce-orders-table .button:hover,
.woocommerce-table .button:hover {
    background: #c0050f;
}

/* Order status badges */
.woocommerce-order-status {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Address Fields */
.woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 767px) {
    .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

.woocommerce-Address {
    padding: 2.4rem;
    border: 1px solid #D9D9D9;
    background: #F9F9F9;
}

.woocommerce-Address h3 {
    font-size: 1.6rem !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #D9D9D9 !important;
    padding-bottom: 1.2rem !important;
}

.woocommerce-Address address {
    font-size: 1.4rem;
    line-height: 1.7;
    color: #444;
}

.woocommerce-Address .edit {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 18px;
    background: #E30613;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .05em;
    transition: background .2s;
    border: none;
}

.woocommerce-Address .edit:hover {
    background: #c0050f;
}

/* Edit Account / Address Forms */
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
    max-width: 640px;
}

.woocommerce-EditAccountForm fieldset {
    border: 1px solid #D9D9D9;
    padding: 20px;
    margin: 20px 0;
}

.woocommerce-EditAccountForm fieldset legend {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 8px;
    letter-spacing: .05em;
}

.woocommerce-EditAccountForm .form-row,
.woocommerce-address-fields .form-row {
    margin-bottom: 16px;
}

.woocommerce-EditAccountForm .form-row label,
.woocommerce-address-fields .form-row label {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #444;
}

.woocommerce-EditAccountForm .button,
.woocommerce-address-fields+p .button {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: #E30613;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    border: none;
    cursor: pointer;
    transition: background .2s;
}

.woocommerce-EditAccountForm .button:hover,
.woocommerce-address-fields+p .button:hover {
    background: #c0050f;
}

/* Mobile My Account */
@media (max-width: 767px) {
    .myaccount_sidebar {
        position: static;
    }

    .account_user_info {
        padding: 1.6rem;
        gap: 12px;
    }

    .user_avatar img {
        width: 44px;
        height: 44px;
    }

    .woocommerce-MyAccount-navigation ul li a {
        padding: 1.2rem 1.6rem;
        font-size: 1.3rem;
    }

    .woocommerce-orders-table th,
    .woocommerce-orders-table td {
        padding: 10px;
        font-size: 1.2rem;
    }

    .woocommerce-MyAccount-content h2,
    .woocommerce-MyAccount-content h3 {
        font-size: 18px;
    }
}

/* ==========================================================
   CART PAGE
   ========================================================== */

.cart_count {
    display: inline-block;
    font-size: calc(100vw * (16 / 1920));
    font-weight: 500;
    color: #666;
    margin-top: 8px;
}

/* Cart Table Header */
.cart_table_head {
    display: grid;
    grid-template-columns: 100px 1fr 120px 120px 120px 50px;
    gap: 0 20px;
    padding: 14px 0;
    border-bottom: 2px solid #E30613;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #888;
}

@media (max-width: 767px) {
    .cart_table_head {
        display: none;
    }
}

/* Cart Items */
.cart_items {
    border-bottom: 1px solid #e5e5e5;
}

.cart_item {
    display: grid;
    grid-template-columns: 100px 1fr 120px 120px 120px 50px;
    gap: 0 20px;
    align-items: center;
    padding: calc(100vw * (24 / 1920)) 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart_item:last-child {
    border-bottom: none;
}

.cart_item_image img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: #f7f7f7;
    display: block;
}

.cart_item_name {
    font-size: 1.6rem;
    font-weight: 600;
    color: #000;
}

.cart_item_name a {
    color: #000;
    text-decoration: none;
    transition: color .2s;
}

.cart_item_name a:hover {
    color: #E30613;
}

.cart_item_name .variation {
    font-size: 1.3rem;
    font-weight: 400;
    color: #666;
    margin-top: 6px;
}

.cart_item_price,
.cart_item_subtotal {
    font-size: 1.6rem;
    font-weight: 600;
}

.cart_item_quantity .quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart_item_quantity input[type="number"] {
    width: 60px !important;
    height: 42px !important;
    text-align: center;
    font-size: 1.5rem;
    padding: 0 8px;
    border: 1px solid #D9D9D9;
    background: #fff;
}

.cart_item_remove .remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid #ccc;
    border-radius: 50%;
    color: #666;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
}

.cart_item_remove .remove:hover {
    background: #E30613;
    border-color: #E30613;
    color: #fff;
}

/* Cart Actions */
.cart_actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: calc(100vw * (24 / 1920)) 0;
    border-bottom: 1px solid #e5e5e5;
    flex-wrap: wrap;
}

.cart_actions .coupon {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.cart_actions .coupon input {
    max-width: 240px;
    height: 48px !important;
}

/* Cart Sidebar */
.cart_sidebar {
    display: flex;
    justify-content: flex-end;
    margin-top: calc(100vw * (40 / 1920));
}

.cart_sidebar .cart_collaterals {
    width: 380px;
    max-width: 100%;
}

/* Cart Totals */
.cart_totals h2,
.cart_totals h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid #E30613;
}

.cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.cart_totals table tr {
    border-bottom: 1px solid #f0f0f0;
}

.cart_totals table th,
.cart_totals table td {
    padding: 14px 0;
    font-size: 1.5rem;
    vertical-align: top;
}

.cart_totals table th {
    font-weight: 600;
    width: 40%;
    color: #444;
}

.cart_totals .order-total .amount {
    font-size: 2rem;
    font-weight: 800;
    color: #E30613;
}

.cart_totals .wc-proceed-to-checkout {
    margin-top: 20px;
}

.cart_totals .wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: #E30613;
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    text-decoration: none;
    transition: background .2s;
    border: none;
}

.cart_totals .wc-proceed-to-checkout .checkout-button:hover {
    background: #c0050f;
}

/* Continue Shopping */
.cart_continue {
    margin-top: calc(100vw * (30 / 1920));
}

/* Cart Empty */
.cart_empty {
    text-align: center;
    padding: calc(100vw * (80 / 1920)) 0;
    background: #fff;
}

.cart_empty p {
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 32px;
}

/* Mobile Cart */
@media (max-width: 767px) {
    .cart_item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 8px 16px;
        padding: 20px 0;
    }

    .cart_item_image {
        grid-row: 1 / 3;
    }

    .cart_item_image img {
        width: 72px;
        height: 72px;
    }

    .cart_item_name {
        grid-column: 2;
        font-size: 1.4rem;
    }

    .cart_item_price,
    .cart_item_subtotal,
    .cart_item_quantity {
        grid-column: 2;
        font-size: 1.3rem;
    }

    .cart_item_price::before {
        content: attr(data-label) ": ";
        color: #888;
        font-weight: 400;
    }

    .cart_item_subtotal::before {
        content: attr(data-label) ": ";
        color: #888;
        font-weight: 400;
    }

    .cart_item_remove {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        align-items: flex-end;
    }

    .cart_sidebar {
        justify-content: stretch;
    }

    .cart_sidebar .cart_collaterals {
        width: 100%;
    }

    .cart_actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cart_actions .coupon {
        flex-direction: column;
    }

    .cart_actions .coupon input {
        max-width: 100%;
    }
}

/* ==========================================================
   CHECKOUT PAGE
   ========================================================== */

.checkout_wrap {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: calc(100vw * (60 / 1920));
    align-items: start;
}

@media (max-width: 1180px) {
    .checkout_wrap {
        grid-template-columns: 1fr 360px;
        gap: calc(100vw * (40 / 1180));
    }
}

@media (max-width: 767px) {
    .checkout_wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.checkout_block {
    margin-bottom: calc(100vw * (32 / 1920));
    background: #fff;
    padding: calc(100vw * (32 / 1920));
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

.checkout_block h3 {
    font-size: calc(100vw * (20 / 1920));
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: calc(100vw * (24 / 1920));
    padding-bottom: 12px;
    border-bottom: 2px solid #E30613;
}

@media (max-width: 1180px) {
    .checkout_block {
        margin-bottom: calc(100vw * (32 / 1180));
        padding: calc(100vw * (24 / 1180));
    }

    .checkout_block h3 {
        font-size: calc(100vw * (18 / 1180));
        margin-bottom: calc(100vw * (20 / 1180));
    }
}

@media (max-width: 767px) {
    .checkout_block {
        margin-bottom: 28px;
        padding: 20px;
    }

    .checkout_block h3 {
        font-size: 16px;
        margin-bottom: 16px;
    }
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1;
}

@media (max-width: 767px) {

    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
}

.woocommerce-checkout .form-row label {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #444;
}

.woocommerce-checkout .form-row label .required {
    color: #E30613;
    margin-left: 2px;
}

.woocommerce-checkout .select2-container .select2-selection--single {
    height: 5.6rem;
    border: 1px solid #D9D9D9;
    border-radius: 0;
    background: #F3F3F3;
    display: flex;
    align-items: center;
}

/* Order Review (right sidebar) */
.checkout_order {
    position: sticky;
    top: 120px;
}

.order_review_wrap {
    background: #fff;
    padding: calc(100vw * (32 / 1920));
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    position: sticky;
    top: calc(8rem + 2.4rem);
}

.order_review_wrap h3 {
    font-size: calc(100vw * (18 / 1920));
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: calc(100vw * (24 / 1920));
    padding-bottom: 12px;
    border-bottom: 2px solid #E30613;
}

@media (max-width: 1180px) {
    .order_review_wrap {
        padding: calc(100vw * (24 / 1180));
    }

    .order_review_wrap h3 {
        font-size: calc(100vw * (16 / 1180));
        margin-bottom: calc(100vw * (16 / 1180));
    }
}

@media (max-width: 767px) {
    .order_review_wrap {
        padding: 20px;
    }

    .order_review_wrap h3 {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .checkout_order {
        position: static;
    }
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
}

.woocommerce-checkout-review-order-table thead tr,
.woocommerce-checkout-review-order-table tfoot tr {
    border-bottom: 1px solid #e0e0e0;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 10px 0;
}

.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout-review-order-table .order-total th {
    font-weight: 800;
    font-size: 1.6rem;
}

.woocommerce-checkout-review-order-table .order-total .amount {
    color: #E30613;
}

/* Payment Box */
#payment {
    margin-top: 20px;
}

#payment ul.payment_methods {
    list-style: none;
    border: 1px solid #D9D9D9;
    background: #fff;
}

#payment ul.payment_methods li {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.4rem;
}

#payment ul.payment_methods li:last-child {
    border-bottom: none;
}

#payment .place-order {
    margin-top: 16px;
}

#payment .place-order .button {
    display: block;
    width: 100%;
    padding: 18px 24px;
    background: #E30613;
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .2s;
}

#payment .place-order .button:hover {
    background: #c0050f;
}

/* Buttons — Gray Line variant */
.btn_gray_line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #fff;
    color: #333;
    border: 1px solid #D9D9D9;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.btn_gray_line:hover {
    border-color: #E30613;
    color: #E30613;
}

/* ==========================================================
   CHECKOUT — Input / Form Field Styles (WooCommerce fields)
   ========================================================== */

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="number"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row select {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #D9D9D9;
    background: #F3F3F3;
    border-radius: 0;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.woocommerce-checkout .form-row textarea {
    display: block;
    width: 100%;
    min-height: 100px;
    padding: 12px 16px;
    border: 1px solid #D9D9D9;
    background: #F3F3F3;
    border-radius: 0;
    font-size: 15px;
    font-weight: 400;
    color: #000;
    resize: vertical;
    transition: border-color 0.3s, background 0.3s;
}

.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: #E30613;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.woocommerce-checkout .form-row {
    margin-bottom: 16px;
}

/* Select2 country/state dropdowns */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: 52px;
    border: 1px solid #D9D9D9;
    border-radius: 0;
    background: #F3F3F3;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 15px;
    color: #000;
    padding: 0;
    line-height: 1;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 52px;
    right: 16px;
}

/* Shipping method radio list */
.woocommerce-checkout #shipping_method {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-checkout #shipping_method li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-checkout #shipping_method li:last-child {
    border-bottom: none;
}

.woocommerce-checkout #shipping_method input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #E30613;
    flex-shrink: 0;
}

/* Checkbox: create account, ship to different address */
.woocommerce-checkout #createaccount,
.woocommerce-checkout #ship-to-different-address-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #E30613;
    cursor: pointer;
    flex-shrink: 0;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

/* "Ship to a different address?" heading */
.woocommerce-checkout #ship-to-different-address {
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

/* Cart table in order review */
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
    font-size: 14px;
    vertical-align: middle;
}

.woocommerce-checkout-review-order-table .product-name {
    font-weight: 600;
}

/* Payment methods */
#payment ul.payment_methods li label {
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

#payment .payment_box {
    padding: 12px 16px;
    background: #f9f9f9;
    border: 1px solid #eee;
    font-size: 13px;
    color: #555;
    margin-top: 8px;
}

/* Mobile: checkout inputs — already px so no rem issue */
@media (max-width: 767px) {

    .woocommerce-checkout .form-row .input-text,
    .woocommerce-checkout .form-row input[type="text"],
    .woocommerce-checkout .form-row input[type="email"],
    .woocommerce-checkout .form-row input[type="tel"],
    .woocommerce-checkout .form-row input[type="number"],
    .woocommerce-checkout .form-row input[type="password"],
    .woocommerce-checkout .form-row select {
        height: 44px;
        font-size: 14px;
    }

    .woocommerce-checkout .select2-container--default .select2-selection--single {
        height: 44px;
    }

    .woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 44px;
    }

    .checkout_wrap {
        gap: 32px;
    }

    .cart_table_head {
        display: none;
    }

    .cart_actions .coupon {
        flex-direction: column;
    }

    .cart_actions .coupon input {
        max-width: 100%;
    }

    .cart_sidebar {
        margin-top: 24px;
    }
}

/* ==========================================================
   CART — Full-width responsive table on tablet + fix rem→px
   ========================================================== */

@media (max-width: 1180px) {
    .cart_table_head {
        grid-template-columns: 80px 1fr 100px 100px 100px 44px;
        font-size: 12px;
    }

    .cart_item {
        grid-template-columns: 80px 1fr 100px 100px 100px 44px;
    }

    .cart_item_image img {
        width: 72px;
        height: 72px;
    }

    /* Fix rem-based sizes (1rem=16px on tablet) */
    .cart_item_name {
        font-size: 14px;
    }

    .cart_item_price,
    .cart_item_subtotal {
        font-size: 14px;
    }

    .cart_item_quantity input[type="number"] {
        width: 54px !important;
        height: 38px !important;
        font-size: 14px;
    }

    .cart_count {
        font-size: 14px;
    }

    .cart_totals h2,
    .cart_totals h3 {
        font-size: 16px;
    }

    .cart_totals table th,
    .cart_totals table td {
        font-size: 14px;
    }

    .cart_totals .order-total .amount {
        font-size: 18px;
    }

    .cart_totals .wc-proceed-to-checkout .checkout-button {
        font-size: 14px;
    }

    .cart_actions .coupon input {
        font-size: 14px;
    }

    .woocommerce-notices-wrapper,
    .woocommerce-info,
    .woocommerce-error,
    .woocommerce-message {
        font-size: 13px;
    }

    .cart_empty p {
        font-size: 16px;
    }
}

/* ==========================================================
   CART & CHECKOUT — Full-Width Layout Override (SENA Design)
   Ensures pages take the full viewport width consistently
   ========================================================== */

/* Remove the site-content container constraints for cart/checkout */
body.woocommerce-cart .woocommerce-main,
body.woocommerce-checkout .woocommerce-main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Cart/Checkout outer section: full-width background */
body.woocommerce-cart .cart_section,
body.woocommerce-checkout .checkout_section {
    width: 100% !important;
}

/* Override .inner padding for cart/checkout with higher specificity */
body.woocommerce-cart .cart_section .inner,
body.woocommerce-checkout .checkout_section .inner,
body.woocommerce-cart-page .cart_section .inner,
body.woocommerce-checkout-page .checkout_section .inner {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: calc(100vw * (80 / 1920)) !important;
    padding-right: calc(100vw * (80 / 1920)) !important;
}

@media (max-width: 1180px) {

    body.woocommerce-cart .cart_section .inner,
    body.woocommerce-checkout .checkout_section .inner,
    body.woocommerce-cart-page .cart_section .inner,
    body.woocommerce-checkout-page .checkout_section .inner {
        padding-left: calc(100vw * (50 / 1180)) !important;
        padding-right: calc(100vw * (50 / 1180)) !important;
    }
}

@media (max-width: 767px) {

    body.woocommerce-cart .cart_section .inner,
    body.woocommerce-checkout .checkout_section .inner,
    body.woocommerce-cart-page .cart_section .inner,
    body.woocommerce-checkout-page .checkout_section .inner {
        padding-left: calc(100vw * (40 / 767)) !important;
        padding-right: calc(100vw * (40 / 767)) !important;
    }
}

/* Cart: improved mobile stacked card layout */
@media (max-width: 767px) {
    .cart_item {
        grid-template-columns: 72px 1fr auto;
        grid-template-areas:
            "img name    remove"
            "img price   price"
            "img qty     qty"
            "img total   total";
        gap: 6px 12px;
        padding: 16px 0;
        border-bottom: 1px solid #f0f0f0;
        align-items: start;
    }

    .cart_item_image {
        grid-area: img;
        grid-row: 1 / 5;
    }

    .cart_item_image img {
        width: 72px;
        height: 72px;
        object-fit: contain;
        background: #f7f7f7;
    }

    .cart_item_name {
        grid-area: name;
        font-size: 13px;
        line-height: 1.4;
    }

    .cart_item_price {
        grid-area: price;
        grid-column: 2;
        font-size: 12px;
        color: #666;
    }

    .cart_item_quantity {
        grid-area: qty;
        grid-column: 2;
    }

    .cart_item_quantity input[type="number"] {
        width: 48px !important;
        height: 34px !important;
        font-size: 13px;
    }

    .cart_item_subtotal {
        grid-area: total;
        grid-column: 2;
        font-size: 14px;
        font-weight: 700;
        color: #E30613;
    }

    .cart_item_remove {
        grid-area: remove;
        grid-column: 3;
        grid-row: 1;
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
    }

    /* Remove pseudo-label prefixes — shown inline instead */
    .cart_item_price::before,
    .cart_item_subtotal::before {
        content: none;
    }

    /* Cart sidebar totals: full width + sticky */
    .cart_sidebar {
        justify-content: stretch;
        margin-top: 24px;
    }

    .cart_sidebar .cart_collaterals {
        width: 100%;
    }

    /* Cart actions: stacked */
    .cart_actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px 0;
    }

    .cart_actions .coupon {
        flex-direction: column;
        gap: 8px;
    }

    .cart_actions .coupon input {
        max-width: 100%;
    }

    /* Checkout form: full-width single-col */
    .checkout_wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .checkout_order {
        position: static;
        top: auto;
    }

    .order_review_wrap {
        position: static;
        top: auto;
    }

    /* WooCommerce form fields: full-width */
    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper,
    .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    /* Place order button: easier tap target */
    #payment .place-order .button {
        padding: 16px;
        font-size: 14px;
    }
}

/* Tablet: checkout keep 2-col but tighter */
@media (min-width: 768px) and (max-width: 1180px) {
    .checkout_wrap {
        grid-template-columns: 1fr 320px;
        gap: calc(100vw * (30 / 1180));
    }

    .cart_table_head {
        grid-template-columns: 70px 1fr 90px 90px 90px 40px;
        font-size: 11px;
    }

    .cart_item {
        grid-template-columns: 70px 1fr 90px 90px 90px 40px;
    }
}
/* ==========================================================
   RESET PASSWORD — notification styling
   ========================================================== */

.reset_sent_box {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 3.2rem 2.4rem;
    text-align: center;
    margin-bottom: 2.4rem;
}

.reset_sent_icon {
    margin-bottom: 1.6rem;
}

.reset_sent_title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.2rem;
}

.reset_sent_desc {
    font-size: 1.5rem;
    color: #6B7280;
    line-height: 1.65;
}

/* ==========================================================
   DASHBOARD ANALYTICS CARDS
   ========================================================== */

.dashboard_analytics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.2rem;
}

@media (max-width: 1180px) {
    .dashboard_analytics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .dashboard_analytics {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 2rem;
    }
}

.analytics_card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.6rem !important;
    background: #F9F9F9 !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    padding: 2rem !important;
    box-sizing: border-box !important;
}

.analytics_icon {
    width: 4.8rem !important;
    height: 4.8rem !important;
    min-width: 4.8rem !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border-radius: 50% !important;
    border: 1px solid #E5E7EB !important;
    color: #E30613 !important;
}

.analytics_icon svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
}

.analytics_info {
    min-width: 0 !important;
    flex: 1 !important;
}

.analytics_value {
    display: block !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #000 !important;
    line-height: 1.2 !important;
    margin-bottom: 0.4rem !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.analytics_value * {
    font-size: inherit !important;
    font-weight: inherit !important;
}

.analytics_label {
    display: block !important;
    font-size: 1.3rem !important;
    color: #888 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.order_status_badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}

.order_status_badge.status-processing {
    background: #dbeafe;
    color: #1d4ed8;
}

.order_status_badge.status-completed {
    background: #dcfce7;
    color: #15803d;
}

.order_status_badge.status-pending {
    background: #fef9c3;
    color: #854d0e;
}

.order_status_badge.status-on-hold {
    background: #fff7ed;
    color: #c2410c;
}

.order_status_badge.status-cancelled,
.order_status_badge.status-failed {
    background: #fee2e2;
    color: #b91c1c;
}

/* ==========================================================
   THANKYOU / ORDER RECEIVED PAGE
   ========================================================== */

.thankyou_wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: calc(100vw * (60 / 1920)) 0;
}

@media (max-width: 767px) {
    .thankyou_wrap {
        padding: 32px 0;
    }
}

.thankyou_header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3.2rem;
    border-bottom: 1px solid #E5E7EB;
}

.thankyou_icon {
    margin-bottom: 2rem;
}

.thankyou_header h2 {
    font-size: calc(100vw * (28 / 1920));
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #000;
    margin-bottom: 1.2rem;
}

@media (max-width: 767px) {
    .thankyou_header h2 {
        font-size: 22px;
    }
}

.thankyou_header p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.6;
}

/* Summary strip */
.thankyou_summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 4rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}

.thankyou_summary_item {
    flex: 1;
    min-width: 160px;
    padding: 2rem 2.4rem;
    border-right: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.thankyou_summary_item:last-child {
    border-right: none;
}

.thankyou_summary_item .label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 0.6rem;
}

.thankyou_summary_item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

@media (max-width: 767px) {
    .thankyou_summary {
        flex-direction: column;
    }

    .thankyou_summary_item {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.4rem 1.6rem;
    }

    .thankyou_summary_item:last-child {
        border-bottom: none;
    }

    .thankyou_summary_item .label {
        margin-bottom: 0;
    }
}

/* Order details section */
.thankyou_details {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3.2rem;
    align-items: start;
}

@media (max-width: 767px) {
    .thankyou_details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.thankyou_section {
    margin-bottom: 2.4rem;
}

.thankyou_section_title {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    padding-bottom: 1.2rem !important;
    border-bottom: 2px solid #E30613 !important;
    margin-bottom: 1.6rem !important;
}

.thankyou_addresses {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Order item inner layout */
.order_item_inner {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.order_item_image {
    width: 6rem;
    height: 6rem;
    flex-shrink: 0;
}

.order_item_image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #F9F9F9;
}

.order_item_info strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.order_item_info .qty {
    font-size: 1.3rem;
    color: #888;
}

/* Address */
.thankyou_section address {
    font-style: normal;
    font-size: 1.4rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1rem;
}

.address_phone,
.address_email {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    color: #444;
    margin-top: 0.6rem;
}

/* CTA */
.thankyou_cta {
    display: flex;
    gap: 1.6rem;
    margin-top: 4rem;
    padding-top: 3.2rem;
    border-top: 1px solid #E5E7EB;
}

@media (max-width: 767px) {
    .thankyou_cta {
        flex-direction: column;
    }
}

/* ==========================================================
   ORDER VIEW — inside my-account content
   ========================================================== */

.woocommerce-order-details,
.woocommerce-customer-details {
    margin-bottom: 3.2rem;
}

.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    padding-bottom: 1.2rem !important;
    border-bottom: 2px solid #E30613 !important;
    margin-bottom: 1.6rem !important;
}

.woocommerce-customer-details address {
    font-style: normal;
    font-size: 1.4rem;
    line-height: 1.7;
    color: #444;
    padding: 1.6rem;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
}

.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 3.2rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    list-style: none;
    padding: 0;
}

.woocommerce-order-overview li {
    flex: 1;
    min-width: 140px;
    padding: 1.6rem 2rem;
    border-right: 1px solid #E5E7EB;
    background: #F9FAFB;
    font-size: 1.4rem;
    color: #666;
}

.woocommerce-order-overview li:last-child {
    border-right: none;
}

.woocommerce-order-overview li strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-top: 4px;
}

@media (max-width: 767px) {
    .woocommerce-order-overview {
        flex-direction: column;
    }

    .woocommerce-order-overview li {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .woocommerce-order-overview li:last-child {
        border-bottom: none;
    }

    .woocommerce-order-overview li strong {
        margin-top: 0;
    }
}