/* ==========================================================================
   AMOR THE LUXE - LUXURY CART & MY ACCOUNT REDESIGN (FINAL PERFECTION)
   Strictly scoped to body.woocommerce-account and body.woocommerce-cart
   ========================================================================== */

/* -------------------------------------------------------------------------
   0. CRITICAL HEADER OVERLAP & LATKAN FIX
   ------------------------------------------------------------------------- */
body.woocommerce-account #masthead,
body.woocommerce-account .site-header,
body.woocommerce-cart #masthead,
body.woocommerce-cart .site-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    z-index: 99 !important;
    background-color: #1A0F24 !important;
}

body.woocommerce-account .site-content,
body.woocommerce-cart .site-content {
    margin-top: 0 !important;
    padding-top: 40px !important;
    background-color: #faf8f5 !important;
}

/* Hide hanging latkans on cart, checkout, and my-account */
body.woocommerce-account .amor-latkan-rig,
body.woocommerce-cart .amor-latkan-rig,
body.woocommerce-checkout .amor-latkan-rig {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* -------------------------------------------------------------------------
   1. LOGIN & REGISTER / MY ACCOUNT AUTHENTICATION
   ------------------------------------------------------------------------- */
body.woocommerce-account {
    background-color: #faf8f5 !important;
}

body.woocommerce-account .site-content,
body.woocommerce-account .entry-content,
body.woocommerce-account .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* KILL WOOSTIFY & WOOCOMMERCE FORM OVERRIDES (NO DASHED BORDER, NO 50% SQUEEZE) */
body.woocommerce-account form.woocommerce-form,
body.woocommerce-account form.woocommerce-form-login,
body.woocommerce-account form.woocommerce-form-register,
body.woocommerce-account .woocommerce-form.woocommerce-form-login,
body.woocommerce-account .woocommerce-form.woocommerce-form-register,
.amor-auth-card form.woocommerce-form-login,
.amor-auth-card form.woocommerce-form-register {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    float: none !important;
    clear: both !important;
    box-shadow: none !important;
}

.amor-auth-page-wrapper {
    width: 100%;
    padding: 10px 16px 60px;
    box-sizing: border-box;
}

.amor-auth-card {
    display: grid !important;
    grid-template-columns: 420px 1fr !important;
    max-width: 980px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    overflow: hidden !important;
    min-height: 560px !important;
}

/* --- Left Branding Panel --- */
.amor-auth-branding {
    background: linear-gradient(150deg, #0d0d0f 0%, #18171d 55%, #241f19 100%) !important;
    padding: 48px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    position: relative !important;
    color: #ffffff !important;
    overflow: hidden !important;
}

.amor-auth-branding-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.amor-auth-brand-logo {
    text-align: left;
}

.amor-auth-emblem {
    font-size: 28px;
    margin-bottom: 6px;
    display: inline-block;
}

.amor-auth-brand-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    color: #ffffff !important;
    margin: 0 0 6px !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, #ffffff 40%, #e8c872 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.amor-auth-badge {
    display: inline-block;
    font-size: 10.5px;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.amor-auth-divider {
    display: flex;
    align-items: center;
    margin: 22px 0;
    position: relative;
}

.amor-auth-divider::before,
.amor-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.35), transparent);
}

.amor-divider-diamond {
    color: #d4af37;
    font-size: 10px;
    padding: 0 8px;
}

.amor-auth-quote {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #d8d4cf !important;
    font-style: italic !important;
    margin: 0 0 24px !important;
}

.amor-auth-perks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.amor-perk-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.amor-perk-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.amor-perk-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.amor-perk-text strong {
    font-size: 12.5px;
    font-weight: 600;
    color: #f5f2ec;
}

.amor-perk-text span {
    font-size: 11px;
    color: #a8a39d;
    line-height: 1.35;
}

.amor-auth-brand-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #c59d5f;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Right Interactive Form Panel --- */
.amor-auth-form-side {
    padding: 44px 48px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: #ffffff !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.amor-auth-mobile-header {
    display: none;
    text-align: center;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.amor-auth-mobile-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #111111;
}

.amor-auth-mobile-badge {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #c59d5f;
    font-weight: 600;
}

/* Tab Switcher */
.amor-auth-tabs {
    display: flex !important;
    background: #f4efe9 !important;
    padding: 4px !important;
    border-radius: 12px !important;
    margin-bottom: 24px !important;
    border: 1px solid #e8e2d8 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.amor-tab-btn {
    flex: 1 !important;
    padding: 11px 16px !important;
    border: none !important;
    background: transparent !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #7a7369 !important;
    border-radius: 9px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    letter-spacing: 0.5px !important;
}

.amor-tab-btn:hover {
    color: #111111 !important;
}

.amor-tab-btn.active {
    background: #111111 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

/* Panels */
.amor-auth-tab-panel {
    display: none;
    width: 100% !important;
}

.amor-auth-tab-panel.active {
    display: block !important;
    width: 100% !important;
}

.amor-panel-header {
    margin-bottom: 20px;
}

.amor-panel-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 0 5px !important;
}

.amor-panel-desc {
    font-size: 13px !important;
    color: #777169 !important;
    margin: 0 !important;
}

/* Form Fields */
.amor-field-wrap {
    margin-bottom: 16px !important;
    width: 100% !important;
    clear: both !important;
}

.amor-field-label {
    display: block !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #2b2723 !important;
    margin-bottom: 6px !important;
}

.amor-field-label .required {
    color: #c59d5f !important;
}

.amor-input-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.amor-input-icon {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #9c958c !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.amor-lux-input {
    width: 100% !important;
    height: 48px !important;
    padding-left: 42px !important;
    padding-right: 44px !important;
    background: #faf8f5 !important;
    border: 1.5px solid #e5e0d8 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #111111 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.amor-lux-input:focus {
    background: #ffffff !important;
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16) !important;
    outline: none !important;
}

/* Password Toggle & Hide Native Browser Reveals */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none !important;
}

.amor-password-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 3 !important;
    background: none !important;
    border: none !important;
    color: #8c857b !important;
    cursor: pointer !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.amor-password-toggle:hover {
    color: #111111 !important;
}

/* Actions Row: Remember Me & Forgot */
.amor-auth-actions-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 14px 0 22px !important;
    width: 100% !important;
    font-size: 13px !important;
    clear: both !important;
}

.amor-checkbox-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    color: #55504a !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.amor-lux-checkbox {
    width: 16px !important;
    height: 16px !important;
    accent-color: #111111 !important;
    margin: 0 !important;
    cursor: pointer !important;
}

.amor-forgot-link {
    color: #8f773b !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    white-space: nowrap !important;
}

.amor-forgot-link:hover {
    color: #111111 !important;
    text-decoration: underline !important;
}

/* Submit Button */
.amor-auth-submit-btn {
    width: 100% !important;
    height: 48px !important;
    background: #111111 !important;
    color: #ffffff !important;
    border: 1.5px solid #d4af37 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
    margin-top: 8px !important;
    clear: both !important;
}

.amor-auth-submit-btn span {
    white-space: nowrap !important;
}

.amor-auth-submit-btn:hover {
    background: #d4af37 !important;
    color: #111111 !important;
    border-color: #d4af37 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35) !important;
}

/* Switch Prompt */
.amor-switch-prompt {
    text-align: center !important;
    margin-top: 18px !important;
    font-size: 13px !important;
    color: #777169 !important;
    width: 100% !important;
}

.amor-switch-trigger {
    background: none !important;
    border: none !important;
    color: #c59d5f !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-left: 6px !important;
    padding: 0 !important;
    text-decoration: none !important;
    font-size: 13px !important;
}

.amor-switch-trigger:hover {
    color: #111111 !important;
    text-decoration: underline !important;
}

.amor-privacy-reassurance {
    font-size: 11px !important;
    color: #8c857b !important;
    line-height: 1.5 !important;
    margin: 10px 0 16px !important;
    background: #faf8f5 !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #e8e2d8 !important;
}

.amor-auth-mini-trust {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 24px !important;
    padding-top: 16px !important;
    border-top: 1px solid #eee7dc !important;
    font-size: 11px !important;
    color: #7a7369 !important;
    flex-wrap: wrap !important;
}

/* -------------------------------------------------------------------------
   2. LUXURY CART PAGE (body.woocommerce-cart)
   ------------------------------------------------------------------------- */
body.woocommerce-cart {
    background-color: #faf8f5 !important;
}

body.woocommerce-cart .site-content,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .container {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart {
    margin: 20px auto 60px !important;
    max-width: 1200px !important;
    padding: 0 16px !important;
}

/* Filled Cart Grid */
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
    display: grid !important;
    grid-template-columns: 1fr 380px !important;
    gap: 32px !important;
    align-items: start !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart-items-block,
body.woocommerce-cart .woocommerce-cart-form {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #ebe4d8 !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04) !important;
    padding: 24px !important;
}

/* Table Headers */
body.woocommerce-cart .wc-block-cart-items__header,
body.woocommerce-cart table.shop_table th {
    background: #faf8f5 !important;
    color: #635c52 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 12px 16px !important;
    border-bottom: 1.5px solid #eee5d8 !important;
}

/* Line Item Rows */
body.woocommerce-cart .wc-block-cart-items__row,
body.woocommerce-cart table.shop_table td {
    padding: 18px 16px !important;
    border-bottom: 1px solid #f2ede4 !important;
    vertical-align: middle !important;
}

/* Thumbnail */
body.woocommerce-cart .wc-block-cart-item__image img,
body.woocommerce-cart table.shop_table td.product-thumbnail img {
    border-radius: 10px !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    max-width: 75px !important;
    height: auto !important;
}

/* Product Title */
body.woocommerce-cart .wc-block-cart-item__product,
body.woocommerce-cart table.shop_table td.product-name a {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

body.woocommerce-cart .wc-block-cart-item__product:hover,
body.woocommerce-cart table.shop_table td.product-name a:hover {
    color: #d4af37 !important;
}

/* Quantity Selector */
body.woocommerce-cart .wc-block-components-quantity-selector,
body.woocommerce-cart .quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1.5px solid #ded6c8 !important;
    border-radius: 25px !important;
    background: #faf8f5 !important;
    overflow: hidden !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector button,
body.woocommerce-cart .quantity .plus,
body.woocommerce-cart .quantity .minus {
    background: transparent !important;
    border: none !important;
    color: #443e36 !important;
    font-size: 15px !important;
    width: 30px !important;
    height: 32px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector button:hover,
body.woocommerce-cart .quantity .plus:hover,
body.woocommerce-cart .quantity .minus:hover {
    background: #111111 !important;
    color: #ffffff !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector input,
body.woocommerce-cart .quantity .qty {
    border: none !important;
    background: transparent !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    text-align: center !important;
    width: 34px !important;
    padding: 0 !important;
}

/* Totals Sidebar */
body.woocommerce-cart .wp-block-woocommerce-cart-totals-block,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart_totals {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) !important;
    padding: 24px !important;
    position: sticky !important;
    top: 90px !important;
}

/* Checkout Button */
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block a,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: #111111 !important;
    color: #ffffff !important;
    border: 2px solid #d4af37 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 16px 20px !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    text-decoration: none !important;
    margin-top: 18px !important;
    transition: all 0.25s ease !important;
}

body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block a:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #d4af37 !important;
    color: #111111 !important;
    border-color: #d4af37 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35) !important;
}

/* ========================================================
   EMPTY CART STATE & "NEW IN STORE" PRODUCT GRID FIX
   ======================================================== */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
    max-width: 1100px !important;
    width: 100% !important;
    margin: 0 auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 0 40px !important;
}

/* Replace sad face with luxury shopping emblem */
body.woocommerce-cart .wc-block-cart__empty-cart__title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #111111 !important;
    text-align: center !important;
    margin: 20px auto 10px !important;
    letter-spacing: -0.3px !important;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon:before {
    content: "🛍️" !important;
    mask-image: none !important;
    background: none !important;
    font-size: 54px !important;
    line-height: 1 !important;
    height: auto !important;
    width: auto !important;
    margin: 0 auto 16px !important;
    display: block !important;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.4));
}

body.woocommerce-cart .wp-block-separator.is-style-dots {
    border: none !important;
    text-align: center !important;
    margin: 24px auto !important;
    color: #d4af37 !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2:not(.wc-block-cart__empty-cart__title) {
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #111111 !important;
    text-align: center !important;
    margin: 36px auto 24px !important;
}

/* Cross Sells Product Grid & Product Card Fix */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid ul.wc-block-grid__products,
body.woocommerce-cart .wc-block-grid.has-4-columns ul.wc-block-grid__products,
body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

body.woocommerce-cart .wc-block-grid__product,
body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block li.product {
    max-width: 100% !important;
    width: 100% !important;
    flex: none !important;
    background: #ffffff !important;
    border: 1px solid #ebe5dc !important;
    border-radius: 14px !important;
    padding: 16px !important;
    text-align: center !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

body.woocommerce-cart .wc-block-grid__product:hover,
body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
}

body.woocommerce-cart .wc-block-grid__product-image img,
body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block li.product img {
    border-radius: 10px !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
}

body.woocommerce-cart .wc-block-grid__product-title,
body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block .woocommerce-loop-product__title {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    margin: 12px 0 6px !important;
    line-height: 1.4 !important;
    height: 38px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    word-break: normal !important;
    white-space: normal !important;
}

body.woocommerce-cart .wc-block-grid__product-price,
body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block .price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin-bottom: 12px !important;
    display: block !important;
    white-space: nowrap !important;
}

body.woocommerce-cart .wc-block-grid__product-price *,
body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block .price * {
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    white-space: nowrap !important;
}

body.woocommerce-cart .wp-block-button.wc-block-grid__product-add-to-cart {
    width: 100% !important;
    margin-top: auto !important;
}

body.woocommerce-cart .wp-block-button__link.add_to_cart_button,
body.woocommerce-cart .wc-block-grid__product-add-to-cart a,
body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block li.product a.button {
    width: 100% !important;
    white-space: nowrap !important;
    text-align: center !important;
    box-sizing: border-box !important;
    background: #111111 !important;
    color: #ffffff !important;
    border: 1.5px solid #d4af37 !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 8px 18px !important;
    display: block !important;
    text-decoration: none !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
}

body.woocommerce-cart .wp-block-button__link.add_to_cart_button:hover,
body.woocommerce-cart .wc-block-grid__product-add-to-cart a:hover,
body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block li.product a.button:hover {
    background: #d4af37 !important;
    color: #111111 !important;
}

/* -------------------------------------------------------------------------
   3. RESPONSIVE ERGONOMICS
   ------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .amor-auth-card {
        grid-template-columns: 1fr !important;
        max-width: 520px !important;
    }

    .amor-auth-branding {
        padding: 32px 28px !important;
    }

    .amor-auth-branding-inner {
        gap: 16px !important;
    }

    .amor-auth-quote {
        margin-bottom: 16px !important;
    }

    .amor-auth-perks {
        display: none !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
        position: static !important;
    }

    body.woocommerce-cart .wc-block-grid.has-4-columns ul.wc-block-grid__products,
    body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 600px) {
    .amor-auth-page-wrapper {
        padding: 10px 8px 30px !important;
    }

    .amor-auth-card {
        border-radius: 16px !important;
    }

    .amor-auth-branding {
        display: none !important;
    }

    .amor-auth-mobile-header {
        display: flex !important;
    }

    .amor-auth-form-side {
        padding: 26px 18px !important;
    }

    .amor-auth-actions-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    body.woocommerce-cart .wc-block-cart-items__header {
        display: none !important;
    }

    body.woocommerce-cart .wc-block-cart-items__row,
    body.woocommerce-cart table.shop_table tr {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        padding: 14px 0 !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block a,
    body.woocommerce-cart .wc-block-cart__submit-button,
    body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        padding: 14px 16px !important;
        font-size: 14px !important;
    }

    body.woocommerce-cart .wc-block-grid.has-4-columns ul.wc-block-grid__products,
    body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    body.woocommerce-cart .wc-block-grid__product,
    body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block li.product {
        padding: 10px !important;
    }

    body.woocommerce-cart .wc-block-grid__product-title,
    body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block .woocommerce-loop-product__title {
        font-size: 11.5px !important;
        height: 32px !important;
    }

    body.woocommerce-cart .wc-block-grid__product-price,
    body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block .price {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }

    body.woocommerce-cart .wp-block-button__link.add_to_cart_button,
    body.woocommerce-cart .wc-block-grid__product-add-to-cart a,
    body.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-products-block li.product a.button {
        padding: 6px 12px !important;
        font-size: 11px !important;
    }
}


/* =========================================================================
   CONTINUE AS GUEST LUXURY STYLING - HIGH CONTRAST & LEGIBILITY
   ========================================================================= */

/* Top Express Checkout Banner (Solid Obsidian Dark with Sharp White & Gold Typography) */
.amor-guest-ribbon {
    background: #0f0f0f !important; /* SOLID 100% OPAQUE JET BLACK - NO TRANSPARENCY */
    border: 1.5px solid #d4af37 !important;
    border-radius: 12px !important;
    padding: 18px 22px !important;
    margin-bottom: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 2px 10px rgba(212, 175, 55, 0.15) !important;
    box-sizing: border-box !important;
}

.amor-guest-ribbon-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.amor-guest-ribbon-badge {
    background: #d4af37 !important;
    color: #000000 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

.amor-guest-ribbon-tag {
    color: #e6c55c !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

.amor-guest-ribbon-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.amor-guest-ribbon-title {
    color: #ffffff !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.amor-guest-ribbon-sub {
    color: #d1d5db !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.amor-guest-ribbon-btn {
    width: 100% !important;
    height: 44px !important;
    background: #d4af37 !important;
    color: #000000 !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3) !important;
    box-sizing: border-box !important;
}

.amor-guest-ribbon-btn:hover {
    background: #f0ce63 !important;
    color: #000000 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45) !important;
}

/* ZERO BORDER ON PROCEED TO CHECKOUT CONTAINER */
body.woocommerce-cart .wc-block-cart .wc-block-cart__submit-container,
body.woocommerce-cart .wc-block-cart__submit-container,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block,
body.woocommerce-cart .wc-block-cart__submit {
    border: none !important;
    border-width: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

