/* ==================================================
   ALERTIQA — STOREFRONT CUSTOM CSS
   ================================================== */

/* Must remain before all other CSS rules */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');


/* ==================================================
   1. VARIABLES & BACKGROUND
   ================================================== */

:root {
    --alertiqa-gold: #a78036;
    --alertiqa-gold-dark: #826026;
    --alertiqa-border: #e5ded3;
    --alertiqa-ink: #292d2f;
    --alertiqa-muted: #626b75;
    --alertiqa-arabic-font: "IBM Plex Sans Arabic", sans-serif;
}

html {
    background: #fff !important;
}

body {
    position: relative;
    isolation: isolate;
    background: transparent !important;
}

/* Marble background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("https://alertiqa.co/wp-content/uploads/2026/10/Subtle-white-marble-texture.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.5;
}

#page,
.site-content,
.site-main {
    background: transparent !important;
}


/* ==================================================
   2. HEADER
   ================================================== */

#masthead.site-header {
    background: rgba(255, 255, 255, 0.5) !important;
}

#masthead .storefront-primary-navigation,
#masthead .main-navigation {
    background: transparent !important;
}

@media (min-width: 768px) {
    .site-header {
        padding-top: 10px !important;
        padding-bottom: 0 !important;
    }

    .site-branding,
    .site-search,
    .site-header-cart {
        margin-bottom: 0 !important;
    }

    .main-navigation {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

.main-navigation,
.main-navigation a,
.main-navigation ul li a {
    font-family: "Noto Sans Mono", monospace;
    font-weight: 700 !important;
}

.home .site-header {
    margin-bottom: 0 !important;
}

.home .content-area {
    margin-top: 0 !important;
}


/* ==================================================
   3. HIDDEN DEFAULT ELEMENTS
   ================================================== */

/* Old homepage image */
img[src*="/2024/11/mov.jpg"] {
    display: none !important;
}

/* Homepage comments and post navigation */
body.elementor-page-33 #comments,
body.elementor-page-33 #post-navigation {
    display: none !important;
}

/* Automatic page headings */
body.page .entry-header {
    display: none !important;
}

/* Breadcrumbs */
.woocommerce-breadcrumb,
.storefront-breadcrumb {
    display: none !important;
}

/* WordPress edit links */
.edit-link,
.post-edit-link {
    display: none !important;
}

/* Storefront footer credit */
.site-info {
    display: none !important;
}

/* Image lightbox captions */
.wp-lightbox-overlay figcaption,
.wp-lightbox-overlay .wp-element-caption {
    display: none !important;
}


/* ==================================================
   4. FOOTER LINKS
   ================================================== */

.site-footer .widget_nav_menu a,
.site-footer .menu a,
.site-footer .widget a {
    color: #000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none;
}

.site-footer .widget_nav_menu a:hover,
.site-footer .menu a:hover,
.site-footer .widget a:hover {
    color: #555 !important;
}


/* ==================================================
   5. EMOJI SIZE
   ================================================== */

img.emoji,
img.wp-smiley {
    display: inline !important;
    width: 1em !important;
    height: 1em !important;
    max-width: 1em !important;
    min-width: 0 !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    aspect-ratio: auto !important;
}


/* ==================================================
   6. MOBILE NAVIGATION
   CSS supports existing custom scripts and
   Storefront's native submenu toggle.
   ================================================== */

@media (max-width: 767px) {
    .handheld-navigation li.menu-item-has-children {
        position: relative !important;
    }

    .handheld-navigation li.menu-item-has-children > a {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        padding-inline-end: 48px !important;
        box-sizing: border-box;
        cursor: pointer;
        pointer-events: auto !important;
    }

    .handheld-navigation li.menu-item-has-children > .sub-menu {
        display: none !important;
        position: static !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 5px 0 !important;
        padding-inline-start: 20px !important;
        box-sizing: border-box;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .handheld-navigation li.alertiqa-submenu-open > .sub-menu,
    .handheld-navigation li.accordion-open > .sub-menu,
    .handheld-navigation li > .sub-menu.toggled-on,
    .handheld-navigation li > button[aria-expanded="true"] ~ .sub-menu {
        display: block !important;
    }

    .handheld-navigation li.menu-item-has-children > a::after {
        position: absolute !important;
        top: 50% !important;
        right: auto !important;
        left: auto !important;
        inset-inline-end: 15px !important;
        transform: translateY(-50%) !important;
        transition: transform 0.2s ease;
    }

    .handheld-navigation li.alertiqa-submenu-open > a::after,
    .handheld-navigation li.accordion-open > a::after {
        transform: translateY(-50%) rotate(180deg) !important;
    }
}


/* ==================================================
   7. TRANSLATEPRESS
   Move the outer wrapper only.
   Nested switchers keep their normal positioning.
   ================================================== */

@media (max-width: 1024px) {
    .trp_language_switcher_shortcode .trp-language-switcher {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
    }
}

@media (max-width: 767px) {
    .trp_language_switcher_shortcode,
    .trp-floater-ls {
        position: absolute !important;
        top: 90px !important;
        right: 170px !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        z-index: 9999 !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .trp_language_switcher_shortcode,
    .trp-floater-ls {
        position: absolute !important;
        top: 25px !important;
        right: 300px !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        z-index: 9999 !important;
    }
}


/* ==================================================
   8. PRODUCT GRID — ALL CLASSIC WOOCOMMERCE LOOPS
   Includes New Arrivals and newly appended products.
   ================================================== */

body ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    margin: 0 0 32px !important;
    padding: 0 !important;
    list-style: none;
}

body ul.products::before,
body ul.products::after {
    display: none !important;
    content: none !important;
}

/* Product cards */
body ul.products li.product:not(.product-category) {
    position: relative;
    display: flex !important;
    flex-direction: column;
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 16px !important;
    overflow: hidden;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--alertiqa-border);
    border-radius: 7px;
    box-shadow: 0 3px 12px rgb(0 0 0 / 3%);
    text-align: start !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body ul.products li.product:not(.product-category):hover {
    border-color: var(--alertiqa-gold);
    box-shadow: 0 6px 20px rgb(167 128 54 / 12%);
}

/* Keep category tiles inside the grid */
body ul.products li.product-category {
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

/* Product link */
body ul.products li.product:not(.product-category)
a.woocommerce-LoopProduct-link,
body ul.products li.product:not(.product-category)
a.woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    color: var(--alertiqa-ink);
    text-decoration: none;
}

/* Product images — exclude emoji and rating images */
body ul.products li.product:not(.product-category)
a.woocommerce-LoopProduct-link img:not(.emoji):not(.wp-smiley):not(.star),
body ul.products li.product:not(.product-category)
a.woocommerce-loop-product__link img:not(.emoji):not(.wp-smiley):not(.star) {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    margin: 0 0 16px !important;
    background: #fff;
    border-radius: 0;
}

/* Product names */
body ul.products li.product:not(.product-category)
.woocommerce-loop-product__title {
    min-height: 72px;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: var(--alertiqa-ink);
    font-size: 16px !important;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

/* Prices */
body ul.products li.product:not(.product-category) .price {
    display: block;
    min-height: 24px;
    margin: auto 0 18px !important;
    padding-top: 8px;
    color: var(--alertiqa-ink) !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.6;
}

body ul.products li.product .price del {
    margin-inline-end: 8px;
    color: #929292;
    font-size: 12px;
    font-weight: 400;
    opacity: 1;
}

body ul.products li.product .price ins {
    background: transparent;
    color: var(--alertiqa-ink);
    text-decoration: none;
}

/* Purchase buttons */
body ul.products li.product:not(.product-category) > .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin: auto 0 0 !important;
    padding: 10px 12px !important;
    box-sizing: border-box;
    background: #fff !important;
    color: var(--alertiqa-gold-dark) !important;
    border: 1px solid var(--alertiqa-gold) !important;
    border-radius: 3px;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body ul.products li.product:not(.product-category) > .button:hover {
    background: var(--alertiqa-gold) !important;
    color: #fff !important;
}

/* Sale badge */
body ul.products li.product:not(.product-category) .onsale {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    inset-inline-end: auto;
    z-index: 2;
    min-width: 0;
    min-height: 0;
    margin: 0 !important;
    padding: 6px 10px !important;
    background: var(--alertiqa-gold) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

/* Ratings and cart link */
body ul.products li.product .star-rating {
    margin-inline: 0;
    color: var(--alertiqa-gold);
}

body ul.products li.product .added_to_cart {
    display: block;
    margin-top: 10px;
    color: var(--alertiqa-gold-dark);
    font-size: 13px;
    text-align: center;
}

body ul.products li.product a:focus-visible {
    outline: 2px solid var(--alertiqa-gold-dark);
    outline-offset: 3px;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    body ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body ul.products li.product:not(.product-category) {
        padding: 10px !important;
    }

    body ul.products li.product:not(.product-category)
    .woocommerce-loop-product__title {
        min-height: 84px;
        font-size: 14px !important;
    }

    body ul.products li.product:not(.product-category) .price {
        font-size: 13px !important;
    }

    body ul.products li.product:not(.product-category) > .button {
        min-height: 42px;
        font-size: 12px !important;
    }
}


/* ==================================================
   9. NEW ARRIVALS — SECTION HEADING ONLY
   Product cards use the shared rules above.
   ================================================== */

.alertiqa-arrivals {
    max-width: 1300px;
    margin: 48px auto;
    padding: 32px 0;
    background: transparent !important;
    color: #25292b;
}

.alertiqa-arrivals,
.alertiqa-arrivals * {
    box-sizing: border-box;
}

.alertiqa-arrivals .ana-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.alertiqa-arrivals .ana-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 12px;
    color: #98713b;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 3px;
}

.alertiqa-arrivals .ana-eyebrow::after {
    content: "";
    width: 65px;
    height: 1px;
    background: #b88d46;
}

.alertiqa-arrivals .ana-header h2 {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #25292b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1px;
}

.alertiqa-arrivals .ana-description {
    margin: 0;
    color: #686868;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.alertiqa-arrivals a.ana-view-all {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
    padding-bottom: 6px;
    border-bottom: 1px solid #b88d46;
    color: #88652e;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
}

.alertiqa-arrivals a.ana-view-all:hover {
    color: #25292b;
}

@media (max-width: 600px) {
    .alertiqa-arrivals {
        margin: 28px auto;
        padding: 20px 0;
    }

    .alertiqa-arrivals .ana-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 22px;
    }

    .alertiqa-arrivals .ana-description {
        font-size: 14px;
    }
}


/* ==================================================
   10. SINGLE PRODUCT GALLERY THUMBNAILS
   ================================================== */

.single-product .woocommerce-product-gallery .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin-top: 5px !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    width: 100% !important;
    min-width: 0;
    float: none !important;
    margin: 0 !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    object-fit: contain;
    opacity: 1 !important;
    border: 1px solid transparent;
    border-radius: 2px;
}

.single-product .woocommerce-product-gallery
.flex-control-thumbs li img.flex-active {
    border-color: #333;
}


/* ==================================================
   11. BLOCK CART — MOBILE
   ================================================== */

@media (max-width: 767px) {
    .wc-block-cart .wc-block-cart-items__row {
        display: grid !important;
        grid-template-columns: 80px minmax(0, 1fr) !important;
        grid-template-areas:
            "image product"
            "image total";
        column-gap: 14px !important;
        row-gap: 8px !important;
        align-items: start !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .wc-block-cart .wc-block-cart-item__image {
        grid-area: image;
        width: 80px !important;
        max-width: 80px !important;
        padding: 0 !important;
    }

    .wc-block-cart .wc-block-cart-item__image img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .wc-block-cart .wc-block-cart-item__product {
        grid-area: product;
        width: auto !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    .wc-block-cart .wc-block-cart-item__wrap {
        width: auto !important;
        min-width: 0 !important;
    }

    .wc-block-cart .wc-block-components-product-name {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .wc-block-cart .wc-block-cart-item__total {
        grid-area: total;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 0 !important;
        text-align: start !important;
        white-space: normal !important;
    }

    .wc-block-cart .wc-block-cart-item__quantity {
        margin-top: 12px !important;
    }

    .wp-block-woocommerce-cart,
    .wc-block-cart {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }
}


/* ==================================================
   12. CHECKOUT — MOBILE & TABLET
   Supports the sidebar classes on the block itself
   or on a nested wrapper.
   ================================================== */

@media (max-width: 1024px) {
    .wp-block-woocommerce-checkout.wc-block-checkout {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    .wc-block-checkout.wc-block-components-sidebar-layout,
    .wc-block-checkout .wc-block-components-sidebar-layout {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .wc-block-checkout .wc-block-components-main,
    .wc-block-checkout .wc-block-components-sidebar {
        display: block !important;
        position: static !important;
        float: none !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .wc-block-checkout .wc-block-components-main {
        margin: 0 !important;
    }

    .wc-block-checkout .wc-block-components-sidebar {
        margin: 0 0 25px !important;
    }

    .wc-block-checkout :where(
        fieldset,
        .wc-block-components-checkout-step,
        .wc-block-components-checkout-step__container,
        .wc-block-components-checkout-step__heading-container,
        .wc-block-components-checkout-step__heading,
        .wc-block-components-checkout-step__content,
        .wc-block-components-address-address-wrapper,
        .wc-block-components-address-card-wrapper,
        .wc-block-components-address-card,
        .wc-block-components-address-form-wrapper,
        .wc-block-components-address-form,
        .wc-block-components-radio-control,
        .wc-block-components-radio-control-accordion-option,
        .wc-block-components-radio-control__option,
        .wc-block-components-radio-control__option-layout,
        .wc-block-components-radio-control__label-group,
        .wc-block-checkout__order-notes,
        .wc-block-checkout__terms,
        .wc-block-checkout__actions
    ) {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-checkout
    input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
    body.woocommerce-checkout select,
    body.woocommerce-checkout textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-checkout input[type="radio"],
    body.woocommerce-checkout input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        max-width: 20px !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }

    .wc-block-checkout :where(h1, h2, h3, p, label, a) {
        word-break: normal !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
}


/* ==================================================
   13. HERO & MOSAIC
   ================================================== */

/* Elementor mosaic title */
.elementor-element-b30cd3a .elementor-heading-title {
    font-size: 48px !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .elementor-element-b30cd3a .elementor-heading-title {
        font-size: 38px !important;
    }
}

@media (max-width: 767px) {
    .elementor-element-b30cd3a .elementor-heading-title {
        font-size: 30px !important;
    }
}

/* Keep the intended text panel on the left */
.alertiqa-hero,
.alertiqa-mosaic {
    direction: ltr !important;
}

.alertiqa-hero .ah-content {
    width: 46% !important;
    max-width: 580px !important;
    margin: 0 auto 0 0 !important;
    padding: 64px 32px !important;
    box-sizing: border-box;
}

.alertiqa-mosaic .am-content {
    justify-self: start !important;
    width: 38% !important;
    margin: 0 auto 0 0 !important;
    box-sizing: border-box;
}

html[lang^="ar"] .alertiqa-hero .ah-content,
html[lang^="ar"] .alertiqa-mosaic .am-content {
    direction: rtl !important;
    text-align: right !important;
}

html[lang^="ar"] .alertiqa-hero h1 {
    font-size: clamp(36px, 4vw, 56px) !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
}

html[lang^="ar"] .alertiqa-mosaic h2 {
    line-height: 1.4;
    letter-spacing: 0;
}

html[lang^="ar"] .alertiqa-hero h1,
html[lang^="ar"] .alertiqa-hero .ah-description,
html[lang^="ar"] .alertiqa-hero .ah-note {
    unicode-bidi: plaintext;
}

@media (max-width: 900px) {
    .alertiqa-mosaic .am-content {
        width: 100% !important;
    }
}

@media (max-width: 680px) {
    .alertiqa-hero .ah-content {
        width: 100% !important;
        max-width: none !important;
        padding: 36px 18px 24px !important;
    }
}


/* ==================================================
   14. ABOUT US
   ================================================== */

.alertiqa-about-intro,
.alertiqa-about-intro *,
.alertiqa-experience,
.alertiqa-experience *,
.alertiqa-offer,
.alertiqa-offer *,
.alertiqa-values,
.alertiqa-values *,
.alertiqa-about-cta,
.alertiqa-about-cta * {
    box-sizing: border-box;
}

/* Introduction */
.alertiqa-about-intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 90px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 30px;
    background: #fff;
}

.alertiqa-about-intro p {
    margin-top: 0;
}

.alertiqa-about-intro .alertiqa-eyebrow {
    display: block;
    margin: 0 0 18px !important;
    color: #a67c42;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
}

.alertiqa-about-left h2 {
    margin: 0 0 28px;
    color: #1d2633;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
}

.alertiqa-highlight {
    padding-inline-start: 24px;
    border-inline-start: 4px solid #b58a52;
    color: #1d2633;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.75;
}

.alertiqa-about-right {
    min-width: 0;
    color: #626b75;
    font-size: 16px;
    line-height: 1.8;
}

.alertiqa-about-right p {
    margin-bottom: 22px;
}

.alertiqa-about-right .alertiqa-lead {
    color: #16202d;
    font-size: 21px;
    line-height: 1.7;
}

/* Full-width sections */
.alertiqa-experience,
.alertiqa-offer,
.alertiqa-values,
.alertiqa-about-cta {
    position: relative;
    left: auto;
    right: auto;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Contain full-width section overflow on About Us only */
body:has(.alertiqa-about-intro) #page {
    overflow-x: clip;
}

.alertiqa-experience,
.alertiqa-values {
    background: #f5f3ef;
}

.alertiqa-offer {
    background: #fff;
}

.alertiqa-experience-inner,
.alertiqa-offer-inner,
.alertiqa-values-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.alertiqa-experience-inner {
    padding: 90px 30px;
}

.alertiqa-offer-inner {
    padding: 85px 30px 95px;
}

.alertiqa-values-inner {
    padding: 85px 30px 100px;
}

.alertiqa-section-label {
    margin: 0 0 16px;
    color: #a67c42;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
}

.alertiqa-experience h2,
.alertiqa-offer h2,
.alertiqa-values h2 {
    color: #172231;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
}

.alertiqa-experience h2 {
    margin: 0 0 40px;
}

.alertiqa-offer h2 {
    max-width: 1050px;
    margin: 0 0 26px;
}

.alertiqa-values h2 {
    margin: 0 0 38px;
}

/* Experience cards */
.alertiqa-experience-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.alertiqa-experience-card {
    min-width: 0;
    min-height: 280px;
    padding: 38px 34px;
    background: #fff;
    border: 1px solid #dedbd5;
}

.alertiqa-card-number {
    margin-bottom: 14px;
    color: #b1874e;
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
}

.alertiqa-experience-card h3,
.alertiqa-value h3 {
    margin: 0 0 18px;
    color: #172231;
    font-size: 22px;
    font-weight: 700;
}

.alertiqa-experience-card p,
.alertiqa-value p {
    margin: 0;
    color: #626b75;
    font-size: 16px;
    line-height: 1.7;
}

/* What we offer */
.alertiqa-offer-lead {
    max-width: 1150px;
    margin: 0 0 20px;
    color: #111820;
    font-size: 20px;
    line-height: 1.75;
}

.alertiqa-offer-description {
    max-width: 1150px;
    margin: 0;
    color: #626b75;
    font-size: 16px;
    line-height: 1.8;
}

/* Values */
.alertiqa-values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.alertiqa-value {
    min-width: 0;
    padding-top: 22px;
    border-top: 3px solid #a9824d;
}

/* Contact CTA */
.alertiqa-about-cta {
    background: #242424;
    color: #fff;
}

.alertiqa-about-cta-inner {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 80px 25px;
    text-align: center;
}

.alertiqa-about-cta h2 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.25;
}

.alertiqa-about-cta p {
    max-width: 700px;
    margin: 0 auto 28px;
    color: #eee;
    font-size: 17px;
    line-height: 1.7;
}

.alertiqa-cta-button {
    display: inline-block;
    padding: 15px 28px;
    background: #a9824d;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.25s ease;
}

.alertiqa-cta-button:hover {
    background: #8c6b3f;
}

/* Arabic layout */
html[lang^="ar"] .alertiqa-about-intro,
html[lang^="ar"] .alertiqa-experience-inner,
html[lang^="ar"] .alertiqa-offer-inner,
html[lang^="ar"] .alertiqa-values-inner {
    direction: rtl;
    text-align: right;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 900px) {
    .alertiqa-experience-cards,
    .alertiqa-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alertiqa-values-grid {
        gap: 35px 24px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .alertiqa-about-intro {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 55px 22px;
    }

    .alertiqa-experience-inner,
    .alertiqa-offer-inner,
    .alertiqa-values-inner {
        padding: 60px 22px 70px;
    }

    .alertiqa-about-cta-inner {
        padding: 65px 22px;
    }

    .alertiqa-experience-cards,
    .alertiqa-values-grid {
        grid-template-columns: 1fr;
    }

    .alertiqa-values-grid {
        gap: 30px;
    }

    .alertiqa-about-left h2,
    .alertiqa-experience h2,
    .alertiqa-offer h2,
    .alertiqa-values h2,
    .alertiqa-about-cta h2 {
        font-size: 31px;
        line-height: 1.35;
    }

    .alertiqa-experience-card {
        min-height: auto;
        padding: 28px 24px;
    }

    .alertiqa-highlight,
    .alertiqa-about-right .alertiqa-lead {
        font-size: 19px;
        line-height: 1.65;
    }

    .alertiqa-offer-lead {
        font-size: 18px;
        line-height: 1.65;
    }
}


/* ==================================================
   15. CAREERS & JOB PAGE
   Careers: 4098
   Job detail: 4114
   Application form: 4109
   ================================================== */

body:is(.page-id-4098, .page-id-4114)
.site-content > .col-full {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:is(.page-id-4098, .page-id-4114)
:is(#primary, #main, article, .entry-content) {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.alertiqa-careers,
.alertiqa-job-page,
.alertiqa-careers *,
.alertiqa-job-page * {
    box-sizing: border-box;
}

.alertiqa-careers,
.alertiqa-job-page {
    width: 100%;
    margin: 0;
    color: #293138;
}

.alertiqa-inner {
    width: min(1180px, 90%);
    margin: 0 auto;
}

/* Hero */
.alertiqa-careers-hero,
.alertiqa-job-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(183, 145, 73, 0.23),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #111820 0%,
            #26313a 55%,
            #171b1e 100%
        );
}

.alertiqa-careers-hero {
    min-height: 540px;
    padding: 80px 7%;
}

.alertiqa-job-hero {
    min-height: 300px;
    padding: 65px 7%;
}

.alertiqa-careers-hero::after,
.alertiqa-job-hero::after {
    content: "";
    position: absolute;
    top: 15%;
    right: 7%;
    width: 340px;
    height: 70%;
    border: 1px solid rgba(201, 164, 91, 0.35);
    transform: rotate(8deg);
    pointer-events: none;
}

.alertiqa-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

/* Scoped to careers to avoid changing About Us */
.alertiqa-careers .alertiqa-eyebrow,
.alertiqa-job-page .alertiqa-eyebrow {
    display: block;
    margin-bottom: 22px;
    color: #d1ad67;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.alertiqa-careers-hero h1,
.alertiqa-job-hero h1 {
    margin: 0 0 20px;
    color: #fff;
    font-weight: 500;
    line-height: 1.15;
}

.alertiqa-careers-hero h1 {
    font-size: 56px;
}

.alertiqa-job-hero h1 {
    font-size: 48px;
}

.alertiqa-careers-hero p,
.alertiqa-job-hero p {
    max-width: 650px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.7;
}

.alertiqa-button,
.alertiqa-button:visited {
    display: inline-block;
    padding: 15px 28px;
    background: #bd9650;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.alertiqa-button:hover {
    background: #a47d39;
    transform: translateY(-2px);
}

/* Open positions */
.alertiqa-openings {
    padding: 90px 0;
    background: #fff;
}

.alertiqa-section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.alertiqa-section-heading h2,
.alertiqa-careers-cta h2 {
    margin: 0 0 16px;
    color: #20272d;
    font-size: 38px;
    font-weight: 500;
}

.alertiqa-section-heading p,
.alertiqa-careers-cta p {
    margin: 0;
    color: #697177;
    font-size: 17px;
    line-height: 1.75;
}

.alertiqa-job-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 42px;
    border: 1px solid #e5e2dc;
    background: #faf9f7;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.055);
}

.alertiqa-job-card h3 {
    margin: 0 0 20px;
    color: #20272d;
    font-size: 28px;
    font-weight: 600;
}

.alertiqa-tags,
.alertiqa-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.alertiqa-job-meta {
    gap: 12px;
    margin-bottom: 42px;
}

.alertiqa-tag {
    padding: 9px 13px;
    background: #f0eee9;
    color: #4a5156;
    font-size: 13px;
}

.alertiqa-job-card p {
    margin: 0 0 26px;
    color: #626a70;
    font-size: 16px;
    line-height: 1.8;
}

.alertiqa-careers-cta {
    padding: 85px 20px;
    background: #f3f1ed;
    text-align: center;
}

/* Job description */
.alertiqa-job-content {
    width: min(950px, 90%);
    margin: 0 auto;
    padding: 65px 0 45px;
}

.alertiqa-job-section {
    margin-bottom: 42px;
}

.alertiqa-job-section h2 {
    margin: 0 0 17px;
    color: #20272d;
    font-size: 31px;
    font-weight: 500;
}

.alertiqa-job-section p,
.alertiqa-job-section li {
    color: #5e676d;
    font-size: 16px;
    line-height: 1.85;
}

.alertiqa-job-section p {
    margin: 0 0 18px;
}

.alertiqa-job-section ul {
    margin: 0;
    padding: 0;
    padding-inline-start: 22px;
}

.alertiqa-job-section li {
    margin-bottom: 9px;
}

.alertiqa-compensation {
    margin-top: 36px;
    padding: 26px 30px;
    border-inline-start: 4px solid #bd9650;
    background: #f6f4f0;
}

.alertiqa-compensation p {
    margin: 0;
}

/* Application */
.alertiqa-apply {
    padding: 75px 0 90px;
    background: #f3f1ed;
}

.alertiqa-apply-inner {
    width: min(950px, 90%);
    margin: 0 auto;
    padding: 45px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.alertiqa-apply-heading {
    margin-bottom: 32px;
    text-align: center;
}

.alertiqa-apply-heading h2 {
    margin: 0 0 12px;
    color: #20272d;
    font-size: 34px;
    font-weight: 500;
}

.alertiqa-apply-heading p {
    margin: 0;
    color: #6c7479;
    font-size: 16px;
}

.alertiqa-apply .forminator-ui {
    margin: 0 !important;
}

.alertiqa-apply .forminator-label {
    color: #30363b !important;
    font-weight: 600 !important;
}

.alertiqa-apply input,
.alertiqa-apply textarea,
.alertiqa-apply select {
    border-radius: 0 !important;
}

.alertiqa-apply .forminator-button-submit {
    padding: 15px 30px !important;
    border-radius: 0 !important;
    background: #20272d !important;
    color: #fff !important;
}

.alertiqa-apply .forminator-button-submit:hover {
    background: #b58b43 !important;
}

/* Form width */
body.page-id-4114 #forminator-module-4109 {
    display: block !important;
    float: none !important;
    width: calc(100% - 40px) !important;
    max-width: 950px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* Arabic */
html[lang^="ar"] .alertiqa-careers,
html[lang^="ar"] .alertiqa-job-page,
body.rtl .alertiqa-careers,
body.rtl .alertiqa-job-page {
    direction: rtl;
    text-align: right;
}

html[lang^="ar"] .alertiqa-careers-hero,
html[lang^="ar"] .alertiqa-job-hero {
    background:
        radial-gradient(
            circle at 20% 25%,
            rgba(183, 145, 73, 0.23),
            transparent 35%
        ),
        linear-gradient(
            240deg,
            #111820 0%,
            #26313a 55%,
            #171b1e 100%
        );
}

html[lang^="ar"] .alertiqa-careers-hero::after,
html[lang^="ar"] .alertiqa-job-hero::after {
    right: auto;
    left: 7%;
    transform: rotate(-8deg);
}

@media (max-width: 767px) {
    .alertiqa-careers-hero,
    .alertiqa-job-hero {
        min-height: 430px;
        padding: 55px 24px;
    }

    .alertiqa-careers-hero::after,
    .alertiqa-job-hero::after {
        display: none;
    }

    .alertiqa-careers-hero h1,
    .alertiqa-job-hero h1 {
        font-size: 37px;
    }

    .alertiqa-openings,
    .alertiqa-apply {
        padding: 60px 0;
    }

    .alertiqa-section-heading h2,
    .alertiqa-careers-cta h2,
    .alertiqa-apply-heading h2 {
        font-size: 30px;
    }

    .alertiqa-job-card,
    .alertiqa-apply-inner {
        padding: 28px 22px;
    }

    .alertiqa-job-content {
        padding: 50px 0 30px;
    }

    .alertiqa-job-section h2 {
        font-size: 27px;
    }

    body.page-id-4114 #forminator-module-4109 {
        width: calc(100% - 24px) !important;
        max-width: 100% !important;
    }
}


/* ==================================================
   16. CONTACT PAGE
   ================================================== */

.alertiqa-contact {
    --gold: #aa854b;
    --ink: #242830;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 16px 60px;
    color: var(--ink);
}

.alertiqa-contact,
.alertiqa-contact * {
    box-sizing: border-box;
}

.alertiqa-contact .ac-heading {
    margin-bottom: 32px;
    text-align: center;
}

.alertiqa-contact h2 {
    margin: 0 0 10px;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
}

.alertiqa-contact .ac-heading p {
    margin: 0;
    color: #6c6c6c;
    font-size: 18px;
}

.alertiqa-contact .ac-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.alertiqa-contact .ac-contact,
.alertiqa-contact .ac-location {
    min-width: 0;
    border: 1px solid #e6dfd4;
    border-radius: 10px;
    background: #fffdf9;
}

.alertiqa-contact .ac-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px;
}

.alertiqa-contact .ac-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    background: #f2ece2;
    color: var(--gold);
}

.alertiqa-contact .ac-icon svg {
    display: block;
    width: 27px !important;
    height: 27px !important;
    max-width: 27px !important;
    margin: 0;
}

.alertiqa-contact .ac-icon.ac-green {
    color: #158c39;
    background: #e8f6e9;
}

.alertiqa-contact h3 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, serif;
    font-size: 24px;
    line-height: 1.3;
}

.alertiqa-contact .ac-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--gold);
    border-radius: 5px;
    background: #fff;
    color: #80602f;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none !important;
    overflow-wrap: anywhere;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.alertiqa-contact .ac-contact .ac-button {
    margin-inline-start: auto;
}

.alertiqa-contact .ac-button:hover {
    background: var(--gold);
    color: #fff;
}

.alertiqa-contact .ac-button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.alertiqa-contact .ac-locations-title {
    margin: 48px 0 24px;
    text-align: center;
    font-size: clamp(28px, 4vw, 38px);
}

.alertiqa-contact .ac-location {
    overflow: hidden;
}

.alertiqa-contact iframe.ac-map {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 250px !important;
    margin: 0;
    border: 0;
}

.alertiqa-contact .ac-location-body {
    padding: 24px;
}

.alertiqa-contact .ac-location-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.alertiqa-contact .ac-address {
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px solid #e6dfd4;
    color: #6c6c6c;
    line-height: 1.7;
}

html[lang^="ar"] .alertiqa-contact {
    direction: rtl;
    text-align: right;
}

@media (max-width: 700px) {
    .alertiqa-contact {
        padding: 24px 12px 40px;
    }

    .alertiqa-contact .ac-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .alertiqa-contact .ac-contact {
        padding: 20px;
    }

    .alertiqa-contact .ac-contact .ac-button {
        width: 100%;
        margin-inline-start: 0;
    }

    .alertiqa-contact iframe.ac-map {
        height: 220px !important;
    }

    .alertiqa-contact .ac-location-body {
        padding: 20px;
    }
}


/* ==================================================
   17. ARABIC FONT — IBM PLEX SANS ARABIC
   Text elements only, preserving icon fonts.
   ================================================== */

html[lang^="ar"] body {
    font-family: var(--alertiqa-arabic-font) !important;
}

html[lang^="ar"] body :where(
    h1, h2, h3, h4, h5, h6,
    p, a, li, label,
    button, input, select, textarea,
    table, th, td,
    blockquote, figcaption,
    .main-navigation,
    .woocommerce-Price-amount,
    .woocommerce-Price-currencySymbol
) {
    font-family: var(--alertiqa-arabic-font) !important;
}

/* Text spans, excluding common icon classes */
html[lang^="ar"] body span:not(
    [class*="icon"],
    [class*="dashicons"],
    [class*="fa-"],
    [class~="fa"],
    [class~="fas"],
    [class~="far"],
    [class~="fab"],
    [class~="star-rating"]
) {
    font-family: var(--alertiqa-arabic-font) !important;
}

html[lang^="ar"] :where(
    .alertiqa-eyebrow,
    .alertiqa-section-label,
    .alertiqa-button,
    .alertiqa-arrivals .ana-eyebrow,
    .alertiqa-arrivals .ana-header h2,
    .alertiqa-hero .ah-eyebrow,
    .alertiqa-mosaic .am-eyebrow
) {
    letter-spacing: 0 !important;
    text-transform: none;
}


/* ==================================================
   18. REDUCED MOTION
   ================================================== */

@media (prefers-reduced-motion: reduce) {
    body ul.products li.product,
    body ul.products li.product > .button,
    .alertiqa-button,
    .alertiqa-cta-button,
    .alertiqa-contact .ac-button,
    .handheld-navigation li.menu-item-has-children > a::after {
        transition: none !important;
    }

    .alertiqa-button:hover {
        transform: none;
    }
}


/* ========================================
   ALERTIQA — PAGE TITLE BANNER
   Regular pages + WooCommerce archives
   ======================================== */

body:not(.home):not(.single-product) .site-main > article.page > .entry-header,
body:not(.home):not(.single-product) .site-main > .woocommerce-products-header {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0 32px;
    padding: 32px 24px 28px;
    text-align: center;
    background: linear-gradient(
        120deg,
        rgba(250, 248, 243, 0.97),
        rgba(242, 235, 222, 0.94),
        rgba(250, 248, 243, 0.97)
    );
    border: 1px solid rgba(170, 128, 48, 0.22);
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(57, 45, 24, 0.035);
}

/* Page title */
body:not(.home):not(.single-product) .site-main > article.page > .entry-header .entry-title,
body:not(.home):not(.single-product) .woocommerce-products-header__title {
    margin: 0 !important;
    padding: 0 !important;
    color: #34322e;
    font-family: inherit;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: normal;
    overflow-wrap: anywhere;
}

/* Gold accent below the title */
body:not(.home):not(.single-product) .site-main > article.page > .entry-header .entry-title::after,
body:not(.home):not(.single-product) .woocommerce-products-header__title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 3px;
    background: #ad8235;
}

/* Category description, if present */
body:not(.home):not(.single-product)
.woocommerce-products-header .term-description {
    max-width: 760px;
    margin: 16px auto 0;
    color: #69645a;
    font-size: 15px;
    line-height: 1.8;
}

body:not(.home):not(.single-product)
.woocommerce-products-header .term-description p:last-child {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 767px) {
    body:not(.home):not(.single-product) .site-main > article.page > .entry-header,
    body:not(.home):not(.single-product) .site-main > .woocommerce-products-header {
        margin: 12px 0 24px;
        padding: 24px 16px 22px;
        border-radius: 6px;
    }
}

/* إخفاء زر اللغة العائم على الكمبيوتر فقط */
@media (min-width: 768px) {
  html body #trp-floater-ls,
  html body .trp-floating-switcher,
  html body .trp-language-switcher:has(.trp-floating-switcher) {
    display: none !important;
  }
}

/* Fix footer link colours */
body #colophon .aq-footer a,
body #colophon .aq-footer a:visited,
body #colophon .aq-footer a span {
  color: #eee9e1 !important;
}

body #colophon .aq-footer a:hover,
body #colophon .aq-footer a:hover span,
body #colophon .aq-footer .aq-guide,
body #colophon .aq-footer .aq-social a {
  color: #d6b17a !important;
}

/* Keep the gold button text dark */
body #colophon .aq-footer a.aq-whatsapp,
body #colophon .aq-footer a.aq-whatsapp span,
body #colophon .aq-footer a.aq-whatsapp:hover,
body #colophon .aq-footer a.aq-whatsapp:hover span {
  color: #202322 !important;
}

/* Social button hover */
body #colophon .aq-footer .aq-social a:hover {
  background: #d6b17a !important;
  color: #202322 !important;
}



/* ============================================
   ALERTIQA | MY ACCOUNT - PREMIUM DESIGN
   WooCommerce + Storefront
   Colors: Gold, White, Charcoal
   ============================================ */

/* General Page */
body.woocommerce-account {
    --am-gold: #b18d4d;
    --am-gold-dark: #95743b;
    --am-dark: #252b2b;
    --am-bg: #f7f5f1;
    --am-border: #e7e3dc;
    --am-muted: #777777;
}

body.woocommerce-account .site-main > .entry-header,
body.woocommerce-account .entry-title {
    text-align: center;
}

body.woocommerce-account .entry-title {
    color: var(--am-dark);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 600;
    letter-spacing: -1px;
    margin: 24px auto 12px;
}

body.woocommerce-account .entry-content {
    width: 100%;
}

body.woocommerce-account .entry-content > .woocommerce {
    max-width: 1150px;
    margin: 25px auto 65px;
    padding: 36px;
    background: var(--am-bg);
    border: 1px solid var(--am-border);
    border-radius: 20px;
    box-sizing: border-box;
}

/* ============================================
   LOGIN / REGISTER GRID
   ============================================ */

body.woocommerce-account #customer_login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
}

body.woocommerce-account #customer_login:before,
body.woocommerce-account #customer_login:after {
    display: none;
}

body.woocommerce-account #customer_login > .u-column1,
body.woocommerce-account #customer_login > .u-column2 {
    width: 100%;
    float: none;
    margin: 0;
    padding: 30px;
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--am-border);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.035);
    box-sizing: border-box;
}

body.woocommerce-account #customer_login h2,
body.woocommerce-account .woocommerce > h2 {
    color: var(--am-dark);
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--am-gold);
}

/* Forms */
body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register,
body.woocommerce-account .woocommerce form.edit-account,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.woocommerce-account .woocommerce form .form-row {
    margin-bottom: 17px;
}

body.woocommerce-account .woocommerce form label {
    display: block;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
}

body.woocommerce-account .woocommerce input.input-text,
body.woocommerce-account .woocommerce input[type="email"],
body.woocommerce-account .woocommerce input[type="password"],
body.woocommerce-account .woocommerce input[type="text"],
body.woocommerce-account .woocommerce input[type="tel"],
body.woocommerce-account .woocommerce textarea,
body.woocommerce-account .woocommerce select {
    width: 100%;
    min-height: 47px;
    padding: 12px 14px;
    color: var(--am-dark);
    background: #ffffff;
    border: 1px solid #dedbd5;
    border-radius: 8px;
    box-shadow: none;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

body.woocommerce-account .woocommerce input:focus,
body.woocommerce-account .woocommerce textarea:focus,
body.woocommerce-account .woocommerce select:focus {
    outline: none;
    border-color: var(--am-gold);
    box-shadow: 0 0 0 3px rgba(177,141,77,.12);
}

/* Main buttons */
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce a.button,
body.woocommerce-account .woocommerce input.button {
    background: var(--am-gold);
    color: #ffffff;
    border: 1px solid var(--am-gold);
    border-radius: 8px;
    min-height: 46px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.2s, transform 0.2s;
}

body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce a.button:hover,
body.woocommerce-account .woocommerce input.button:hover {
    background: var(--am-gold-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* Login button full width */
body.woocommerce-account form.woocommerce-form-login
button[name="login"] {
    width: 100%;
    display: block;
    margin: 12px 0;
    float: none;
}

/* Remember me */
body.woocommerce-account .woocommerce-form-login__rememberme {
    display: flex !important;
    align-items: center;
    gap: 7px;
    margin: 10px 0;
    font-size: 13px;
}

body.woocommerce-account .woocommerce-form-login__rememberme input {
    accent-color: var(--am-gold);
}

/* Lost password */
body.woocommerce-account .lost_password {
    margin: 10px 0 0;
    text-align: center;
}

body.woocommerce-account .lost_password a,
body.woocommerce-account .woocommerce a:not(.button) {
    color: var(--am-gold-dark);
}

/* ============================================
   GOOGLE LOGIN - NEXTEND SOCIAL LOGIN
   Keeps the plugin's actual sign-in behavior
   ============================================ */

body.woocommerce-account #customer_login
.nsl-container {
    width: 100%;
    max-width: 100%;
    margin: 10px 0 24px;
}

body.woocommerce-account #customer_login
.nsl-container .nsl-button {
    border-radius: 9px !important;
    box-shadow: none !important;
    border: 1px solid #dddddd !important;
    min-height: 48px;
    overflow: hidden;
}

body.woocommerce-account #customer_login
.nsl-container .nsl-button:hover {
    border-color: var(--am-gold) !important;
}

body.woocommerce-account #customer_login
.nsl-container a {
    text-decoration: none;
}

/* ============================================
   ACCOUNT DASHBOARD - AFTER LOGIN
   ============================================ */

body.woocommerce-account
.woocommerce-MyAccount-navigation {
    width: 25%;
    float: left;
    margin: 0;
    padding: 14px;
    background: var(--am-dark);
    border-radius: 14px;
    box-sizing: border-box;
}

body.woocommerce-account
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.woocommerce-account
.woocommerce-MyAccount-navigation li {
    list-style: none;
    margin: 3px 0;
    padding: 0;
    border: 0;
}

body.woocommerce-account
.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 13px 15px;
    color: #eaeaea;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

body.woocommerce-account
.woocommerce-MyAccount-navigation li a:hover,
body.woocommerce-account
.woocommerce-MyAccount-navigation li.is-active a {
    background: var(--am-gold);
    color: #ffffff;
}

body.woocommerce-account
.woocommerce-MyAccount-content {
    width: calc(75% - 24px);
    float: right;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--am-border);
    border-radius: 14px;
    min-height: 280px;
    box-sizing: border-box;
    color: var(--am-dark);
    line-height: 1.8;
}

body.woocommerce-account
.woocommerce-MyAccount-content h2,
body.woocommerce-account
.woocommerce-MyAccount-content h3 {
    color: var(--am-dark);
}

body.woocommerce-account
.woocommerce-MyAccount-content a {
    color: var(--am-gold-dark);
}

/* Addresses */
body.woocommerce-account
.woocommerce-Address {
    padding: 18px;
    border: 1px solid var(--am-border);
    border-radius: 10px;
    background: #faf9f6;
    box-sizing: border-box;
}

/* Orders */
body.woocommerce-account
.woocommerce-MyAccount-orders {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--am-border);
}

body.woocommerce-account
.woocommerce-MyAccount-orders th {
    background: var(--am-dark);
    color: #ffffff;
    padding: 13px;
}

body.woocommerce-account
.woocommerce-MyAccount-orders td {
    padding: 13px;
    border-bottom: 1px solid var(--am-border);
}

/* Notifications */
body.woocommerce-account
.woocommerce-message,
body.woocommerce-account
.woocommerce-info {
    background: #fff;
    border-top: 3px solid var(--am-gold);
    color: var(--am-dark);
    border-radius: 8px;
    box-shadow: none;
}

/* ============================================
   TABLET
   ============================================ */

@media (max-width: 900px) {
    body.woocommerce-account
    .entry-content > .woocommerce {
        padding: 22px;
    }

    body.woocommerce-account #customer_login {
        gap: 15px;
    }

    body.woocommerce-account
    #customer_login > .u-column1,
    body.woocommerce-account
    #customer_login > .u-column2 {
        padding: 22px;
    }

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

    body.woocommerce-account
    .woocommerce-MyAccount-content {
        width: calc(71% - 16px);
    }
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 767px) {
    body.woocommerce-account .entry-title {
        font-size: 29px;
    }

    body.woocommerce-account
    .entry-content > .woocommerce {
        padding: 12px;
        margin: 15px auto 35px;
        border-radius: 12px;
    }

    body.woocommerce-account #customer_login {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    body.woocommerce-account
    #customer_login > .u-column1,
    body.woocommerce-account
    #customer_login > .u-column2 {
        padding: 22px 17px;
        border-radius: 12px;
    }

    body.woocommerce-account #customer_login h2 {
        font-size: 23px;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation,
    body.woocommerce-account
    .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation {
        margin-bottom: 18px;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 6px;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation li a {
        font-size: 12px;
        padding: 12px 8px;
        text-align: center;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-content {
        padding: 18px 14px;
        min-height: auto;
        overflow-x: auto;
    }
}

/* ============================================
   ALERTIQA - PREMIUM ACCOUNT DASHBOARD
   LOGGED-IN USERS ONLY
   ============================================ */

body.woocommerce-account.logged-in {
    --ad-gold: #b18d4d;
    --ad-dark: #252b2b;
    --ad-border: #e9e5dd;
}

/* Remove the background panel after login */
body.woocommerce-account.logged-in
.entry-content > .woocommerce {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 1150px;
    margin: 35px auto 65px;
}

/* Account sidebar */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-navigation {
    width: 26%;
    float: left;
    background: var(--ad-dark) !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 18px 14px !important;
    box-sizing: border-box;
    box-shadow: 0 12px 30px rgba(0,0,0,.07);
}

/* Sidebar links */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-navigation li {
    margin: 3px 0;
    border: none !important;
    background: transparent;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 13px 15px;
    border-radius: 8px;
    color: #f0eeea !important;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.5;
    transition: background .2s, color .2s;
}

/* Active menu item */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-navigation li.is-active a {
    background: var(--ad-gold) !important;
    color: #fff !important;
}

/* Hover */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-navigation li:not(.is-active) a:hover {
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
}

/* Logout appearance */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 14px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
}

/* Existing menu icons */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-navigation li a::before,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-navigation li a::after,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-navigation li a i {
    color: #e6e2da !important;
    opacity: 1;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-navigation li.is-active a::before,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-navigation li.is-active a::after {
    color: #fff !important;
}

/* Content panel */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content {
    float: right;
    width: calc(74% - 24px);
    padding: 28px;
    background: #fff !important;
    border: 1px solid var(--ad-border) !important;
    border-radius: 16px !important;
    min-height: 320px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,.035);
}

/* Hide WooCommerce default dashboard text ONLY
   when our custom dashboard exists */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content:has(.alertiqa-dashboard)
> p:nth-of-type(-n+2) {
    display: none !important;
}

/* ============================================
   DASHBOARD WELCOME SECTION
   ============================================ */

.alertiqa-dashboard {
    font-family: inherit;
    width: 100%;
    color: #252b2b;
}

.alertiqa-dashboard *,
.alertiqa-dashboard *::before,
.alertiqa-dashboard *::after {
    box-sizing: border-box;
}

.alertiqa-dashboard-welcome {
    padding: 8px 2px 25px;
}

.alertiqa-dashboard-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #a27d42;
    margin-bottom: 12px;
}

.alertiqa-dashboard-welcome h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 650;
    color: #252b2b;
    line-height: 1.3;
    margin: 0 0 12px;
}

.alertiqa-dashboard-welcome p {
    color: #777;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   DASHBOARD CARDS
   ============================================ */

.alertiqa-dashboard-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
a.alertiqa-dashboard-card {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 20px;
    width: 100%;
    min-height: 95px;
    background: #fff;
    border: 1px solid #e9e5dd;
    border-radius: 12px;
    color: #252b2b !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,.025);
    transition:
        transform .2s,
        border-color .2s,
        box-shadow .2s;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
a.alertiqa-dashboard-card:hover {
    transform: translateY(-2px);
    border-color: #b18d4d;
    box-shadow: 0 9px 24px rgba(0,0,0,.07);
}

/* Icons */
.alertiqa-dashboard-card-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b18d4d;
    background: #f8f5ef;
    border-radius: 12px;
}

.alertiqa-dashboard-card-icon svg {
    width: 25px;
    height: 25px;
}

/* Card labels */
.alertiqa-dashboard-card-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 5px;
}

.alertiqa-dashboard-card-text strong {
    color: #252b2b;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.3;
}

.alertiqa-dashboard-card-text small {
    display: block;
    color: #777;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

/* Arrow */
.alertiqa-dashboard-arrow {
    font-family: Arial, sans-serif;
    font-size: 31px;
    line-height: 1;
    color: #b18d4d;
    margin-left: auto;
    transition: transform .2s;
}

.alertiqa-dashboard-card:hover
.alertiqa-dashboard-arrow {
    transform: translateX(4px);
}

/* Improve accessibility */
.alertiqa-dashboard-card:focus-visible,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-navigation a:focus-visible {
    outline: 3px solid #b18d4d !important;
    outline-offset: 3px;
}

/* ============================================
   TABLET
   ============================================ */

@media (max-width: 950px) {

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-navigation {
        width: 30%;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-content {
        width: calc(70% - 16px);
        padding: 20px;
    }

    .alertiqa-dashboard-card-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 767px) {

    body.woocommerce-account.logged-in
    .entry-content > .woocommerce {
        margin: 18px auto 40px;
        padding: 0 12px !important;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-navigation {
        float: none !important;
        width: 100% !important;
        margin: 0 0 18px !important;
        padding: 16px 12px !important;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 6px;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-navigation li {
        min-width: 0;
        margin: 0;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-navigation li a {
        padding: 13px 7px;
        font-size: 12px;
        text-align: center;
        overflow-wrap: anywhere;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-content {
        float: none !important;
        width: 100% !important;
        min-height: auto;
        padding: 20px 15px !important;
        overflow-x: auto;
    }

    .alertiqa-dashboard-welcome {
        padding-bottom: 20px;
    }

    .alertiqa-dashboard-welcome h2 {
        font-size: 24px;
    }

    .alertiqa-dashboard-welcome p {
        font-size: 13px;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-content
    a.alertiqa-dashboard-card {
        padding: 15px 12px;
        min-height: 85px;
        gap: 12px;
    }

    .alertiqa-dashboard-card-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .alertiqa-dashboard-card-icon svg {
        width: 22px;
        height: 22px;
    }

    .alertiqa-dashboard-card-text strong {
        font-size: 14px;
    }

    .alertiqa-dashboard-card-text small {
        font-size: 11px;
    }

    .alertiqa-dashboard-arrow {
        font-size: 25px;
    }
}

/* =============================================
   ALERTIQA - MY ACCOUNT INNER PAGES
   Orders / Addresses / Account Details
   WooCommerce + Storefront
   ============================================= */

body.woocommerce-account.logged-in {
    --ai-gold: #b18d4d;
    --ai-gold-hover: #98743e;
    --ai-dark: #252b2b;
    --ai-muted: #777777;
    --ai-border: #e9e5dd;
    --ai-soft: #f8f6f2;
}

/* GENERAL HEADINGS */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content h2,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content h3 {
    color: var(--ai-dark);
    font-weight: 650;
    letter-spacing: -.3px;
    line-height: 1.4;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content p {
    line-height: 1.8;
}

/* =============================================
   ORDERS TABLE
   ============================================= */

body.woocommerce-account.logged-in
.woocommerce-MyAccount-orders {
    border: 1px solid var(--ai-border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    background: #ffffff;
    box-shadow: none;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-orders thead th {
    background: var(--ai-dark);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 16px 13px;
    border: none;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-orders tbody td {
    background: #ffffff;
    color: var(--ai-dark);
    font-size: 13px;
    padding: 17px 13px;
    border-bottom: 1px solid var(--ai-border);
    vertical-align: middle;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-orders tbody tr:last-child td {
    border-bottom: none;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-orders tbody tr:hover td {
    background: var(--ai-soft);
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-orders a:not(.button) {
    color: var(--ai-gold-hover);
    font-weight: 600;
}

/* Order status */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-orders
.woocommerce-orders-table__cell-order-status {
    font-weight: 600;
}

/* =============================================
   BUTTONS INSIDE ACCOUNT CONTENT
   ============================================= */

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
button.button,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
a.button,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
input.button {
    display: inline-block;
    background: var(--ai-gold) !important;
    color: #ffffff !important;
    border: 1px solid var(--ai-gold) !important;
    border-radius: 8px !important;
    padding: 11px 20px;
    min-height: 42px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
button.button:hover,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
a.button:hover,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
input.button:hover {
    background: var(--ai-gold-hover) !important;
    border-color: var(--ai-gold-hover) !important;
}

/* =============================================
   ADDRESSES
   ============================================= */

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
.woocommerce-Addresses {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 20px 0 0;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
.woocommerce-Address {
    flex: 1 1 260px;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 22px;
    background: var(--ai-soft);
    border: 1px solid var(--ai-border);
    border-radius: 12px;
    box-sizing: border-box;
}

body.woocommerce-account.logged-in
.woocommerce-Address-title {
    margin-bottom: 18px;
}

body.woocommerce-account.logged-in
.woocommerce-Address-title h3 {
    font-size: 18px;
    margin: 0 0 12px;
}

body.woocommerce-account.logged-in
.woocommerce-Address-title a.edit {
    float: none;
    color: var(--ai-gold-hover);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
}

body.woocommerce-account.logged-in
.woocommerce-Address address {
    color: #555555;
    font-size: 14px;
    line-height: 1.9;
    border: none;
    padding: 0;
    margin: 0;
}

/* =============================================
   EDIT ACCOUNT / EDIT ADDRESS
   ============================================= */

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
form .form-row {
    margin: 0 0 20px;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
form label {
    display: block;
    margin-bottom: 8px;
    color: var(--ai-dark);
    font-size: 13px;
    font-weight: 600;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
input.input-text,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
textarea,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
select {
    width: 100%;
    min-height: 48px;
    background: #ffffff;
    border: 1px solid #dedbd5;
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--ai-dark);
    font-size: 14px;
    box-sizing: border-box;
    box-shadow: none;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
input:focus,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
textarea:focus,
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
select:focus {
    outline: none;
    border-color: var(--ai-gold);
    box-shadow: 0 0 0 3px rgba(177,141,77,.12);
}

/* Password change section */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content fieldset {
    margin: 25px 0;
    padding: 22px;
    background: var(--ai-soft);
    border: 1px solid var(--ai-border);
    border-radius: 12px;
    min-width: 0;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content fieldset legend {
    padding: 0 10px;
    color: var(--ai-dark);
    font-size: 16px;
    font-weight: 650;
}

/* Select2 - WooCommerce country/state selectors */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
.select2-container .select2-selection--single {
    min-height: 48px;
    border: 1px solid #dedbd5;
    border-radius: 8px;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
.select2-selection__rendered {
    line-height: 46px;
    padding-left: 14px;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
.select2-selection__arrow {
    height: 46px;
}

/* Notices */
body.woocommerce-account.logged-in
.woocommerce-message,
body.woocommerce-account.logged-in
.woocommerce-info,
body.woocommerce-account.logged-in
.woocommerce-error {
    border-radius: 10px;
    box-shadow: none;
}

/* =============================================
   MOBILE RESPONSIVENESS
   ============================================= */

@media (max-width: 767px) {

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-content
    .woocommerce-Addresses {
        display: block;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-content
    .woocommerce-Address {
        width: 100%;
        margin-bottom: 15px;
        padding: 18px;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-content fieldset {
        padding: 15px;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-orders
    tbody td {
        padding: 12px;
    }

    /* WooCommerce responsive order table */
    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-orders
    thead {
        display: none;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-orders
    tbody tr {
        display: block;
        margin-bottom: 12px;
        border-bottom: 1px solid var(--ai-border);
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-orders
    tbody td {
        display: block;
        width: 100%;
        text-align: right !important;
        box-sizing: border-box;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-orders
    tbody td::after {
        content: "";
        display: block;
        clear: both;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-orders
    tbody td::before {
        float: left;
        font-weight: 600;
        color: var(--ai-dark);
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-orders
    .button {
        max-width: 100%;
    }
}

/* ==========================================
   ALERTIQA - ORDERS CLEAN FIX
   ========================================== */

/* Unified row backgrounds */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
table.woocommerce-MyAccount-orders tbody tr > td {
    background-color: #ffffff !important;
    background-image: none !important;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
table.woocommerce-MyAccount-orders tbody tr:nth-child(even) > td {
    background-color: #faf9f7 !important;
}

/* Include links and pseudo elements */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-orders td::before {
    background: transparent !important;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-orders
.woocommerce-orders-table__cell-order-number a {
    color: #a58044 !important;
    background: transparent !important;
    font-weight: 700;
}

/* Email confirmation notice */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content .woocommerce-info {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    padding: 20px 22px !important;
    background: #faf8f4 !important;
    border: 1px solid #e7e0d4 !important;
    border-top: 3px solid #b18d4d !important;
    border-radius: 10px;
    color: #252b2b !important;
    line-height: 1.7;
}

/* Prevent Storefront notice icon overlapping text */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content .woocommerce-info::before {
    display: none !important;
}

/* Confirmation button */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content .woocommerce-info .button {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
    order: 2;
}

/* Mobile */
@media (max-width: 767px) {
    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-content .woocommerce-info {
        display: block;
        padding: 18px !important;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-content .woocommerce-info .button {
        display: block;
        width: 100%;
        margin-bottom: 14px !important;
    }
}

/* ======================================
   ALERTIQA - PREMIUM ADDRESS DESIGN
   ====================================== */

/* Address card */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content .woocommerce-Address {
    background: #ffffff !important;
    border: 1px solid #e8e3db !important;
    border-radius: 14px !important;
    padding: 25px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,.025);
}

/* Address header */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
.woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8e3db;
}

/* Address title */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
.woocommerce-Address-title h3 {
    font-size: 21px !important;
    font-weight: 650 !important;
    line-height: 1.4;
    margin: 0 !important;
    color: #252b2b !important;
}

/* Edit address button */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
.woocommerce-Address-title a.edit {
    float: none !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 17px;
    border-radius: 8px;
    background: #b18d4d;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .2s;
}

body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
.woocommerce-Address-title a.edit:hover {
    background: #95743b;
    color: #fff !important;
}

/* Address information */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
.woocommerce-Address address {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #555555 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 2 !important;
    box-shadow: none !important;
}

/* Multiple address cards */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content .woocommerce-Addresses {
    gap: 20px;
    align-items: stretch;
}

/* Mobile */
@media (max-width: 767px) {
    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-content .woocommerce-Address {
        padding: 18px !important;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-content
    .woocommerce-Address-title h3 {
        font-size: 18px !important;
    }

    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-content
    .woocommerce-Address-title a.edit {
        padding: 9px 13px;
    }
}

/* ============================================
   ALERTIQA - ACCOUNT DETAILS FINAL DESIGN
   WooCommerce / Storefront
   ============================================ */

/* Account Details heading is real HTML from the PHP snippet,
   so TranslatePress can translate it. */
body.woocommerce-account.logged-in
.woocommerce-MyAccount-content
form.woocommerce-EditAccountForm {
    position: relative;
    padding-top: 0 !important;
}

body.woocommerce-account.logged-in
.woocommerce-EditAccountForm .alertiqa-account-heading {
    margin: 0 0 28px;
}

body.woocommerce-account.logged-in
.woocommerce-EditAccountForm .alertiqa-account-heading h2 {
    margin: 0 0 8px !important;
    color: #252b2b;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.3;
}

body.woocommerce-account.logged-in
.woocommerce-EditAccountForm .alertiqa-account-heading p {
    margin: 0 !important;
    color: #777777;
    font-size: 13px;
    line-height: 1.6;
}

/* Form labels */
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm label {
    color: #343838 !important;
    font-size: 13px;
    font-weight: 600;
}

/* Inputs */
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm input.input-text {
    border: 1px solid #dedbd5 !important;
    background: #ffffff !important;
    border-radius: 9px !important;
    padding: 13px 15px !important;
    min-height: 49px;
    box-shadow: none !important;
    transition: border-color .2s, box-shadow .2s;
}

body.woocommerce-account.logged-in
.woocommerce-EditAccountForm input.input-text:focus {
    border-color: #b18d4d !important;
    box-shadow: 0 0 0 3px rgba(177,141,77,.12) !important;
    outline: none;
}

/* Display name description */
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm em {
    font-style: normal !important;
    font-size: 12px;
    color: #888888;
    line-height: 1.7;
}

/* Password section */
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm fieldset {
    margin: 28px 0 24px !important;
    padding: 25px !important;
    border: 1px solid #e9e5dd !important;
    background: #f8f6f2 !important;
    border-radius: 13px !important;
}

/* Password legend */
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm fieldset legend {
    color: #252b2b !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 0 12px !important;
}

/* Password fields */
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm fieldset .form-row {
    margin-bottom: 20px;
}

/* Save Changes */
body.woocommerce-account.logged-in
.woocommerce-EditAccountForm button[name="save_account_details"] {
    background: #b18d4d !important;
    color: #ffffff !important;
    border: 1px solid #b18d4d !important;
    border-radius: 9px !important;
    padding: 13px 30px !important;
    min-height: 48px;
    font-size: 14px;
    font-weight: 650;
    transition: background .2s;
}

body.woocommerce-account.logged-in
.woocommerce-EditAccountForm button[name="save_account_details"]:hover {
    background: #95743b !important;
    border-color: #95743b !important;
}

/* Mobile */
@media (max-width: 767px) {
    body.woocommerce-account.logged-in
    .woocommerce-EditAccountForm .alertiqa-account-heading h2 {
        font-size: 23px;
    }

    body.woocommerce-account.logged-in
    .woocommerce-EditAccountForm fieldset {
        padding: 17px !important;
    }

    body.woocommerce-account.logged-in
    .woocommerce-EditAccountForm button[name="save_account_details"] {
        width: 100%;
    }
}

/* ============================================
   ALERTIQA - MOBILE MY ACCOUNT V2
   Compact navigation and clean orders
   Mobile only
   ============================================ */

@media (max-width: 767px) {

    /* Main page */
    body.woocommerce-account.logged-in
    .entry-content > .woocommerce {
        padding: 0 10px !important;
        margin: 12px auto 35px !important;
        background: transparent !important;
        border: none !important;
    }

    /* Navigation panel */
    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-navigation {
        float: none !important;
        width: 100% !important;
        min-height: 0 !important;
       
/* ==========================================
   ALERTIQA - MOBILE PROFILE SIZE FIX
   ========================================== */

@media screen and (max-width: 767px) {

    /* Profile images inside account navigation */
    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-navigation img,
    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-navigation .avatar {
        width: 55px !important;
        height: 55px !important;
        max-width: 55px !important;
        max-height: 55px !important;
        min-width: 0 !important;
        min-height: 0 !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        margin: 0 !important;
    }

    /* Restrict profile section's excessive spacing */
    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-navigation > div:not(.woocommerce-MyAccount-navigation-links) {
        max-width: 100% !important;
    }

    /* Restrict the account navigation height */
    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-navigation {
        height: auto !important;
        min-height: 0 !important;
        padding: 14px !important;
    }

    /* Smaller menu items */
    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-navigation li a {
        min-height: 38px !important;
        padding: 8px 5px !important;
    }
}

/* ==========================================
   ALERTIQA - MOBILE PROFILE EXACT FIX
   Based on actual inspected HTML classes
   ========================================== */

@media screen and (max-width: 767px) {

    /* Profile header */
    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-navigation
    .woocommerce-account-gravatar {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 0 14px !important;
        padding: 0 0 12px !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    /* Avatar wrapper */
    body.woocommerce-account.logged-in
    .woocommerce-account-gravatar__avatar-wrapper {
        display: block !important;
        flex: 0 0 55px !important;
        width: 55px !important;
        height: 55px !important;
        min-width: 55px !important;
        min-height: 55px !important;
        max-width: 55px !important;
        max-height: 55px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Exact avatar image */
    body.woocommerce-account.logged-in
    .woocommerce-account-gravatar__avatar {
        display: block !important;
        width: 55px !important;
        height: 55px !important;
        min-width: 55px !important;
        min-height: 55px !important;
        max-width: 55px !important;
        max-height: 55px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Customer name */
    body.woocommerce-account.logged-in
    .woocommerce-account-gravatar__display-name {
        display: block !important;
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        overflow-wrap: anywhere;
        text-align: left !important;
    }

    /* Compact sidebar spacing */
    body.woocommerce-account.logged-in
    .woocommerce-MyAccount-navigation {
        height: auto !important;
        min-height: 0 !important;
        padding: 15px !important;
    }
}