/* IW 2026-07-10 - final mobile ordering pass for WHMCS client area */
@media (max-width: 991px) {
  html,
  body:not(.login-bg) {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body:not(.login-bg) #main-body,
  body:not(.login-bg) #main-body > .wrapper,
  body:not(.login-bg) .wrapper,
  body:not(.login-bg) #content,
  body:not(.login-bg) #content.no-navbar,
  body:not(.login-bg) #content.active,
  body:not(.login-bg) .theme-main-inner-page-section {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
  }

  body:not(.login-bg) #content,
  body:not(.login-bg) #content.no-navbar,
  body:not(.login-bg) #content.active {
    padding: 18px 14px calc(28px + env(safe-area-inset-bottom)) !important;
  }

  body:not(.login-bg) .theme-main-inner-page-section > .container,
  body:not(.login-bg) .theme-main-inner-page-section > .container-fluid,
  body:not(.login-bg) .container,
  body:not(.login-bg) .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body:not(.login-bg) .row {
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body:not(.login-bg) [class*="col-"] {
    min-width: 0 !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body:not(.login-bg) .iw-page-header,
  body:not(.login-bg) .iw-home-header,
  body:not(.login-bg) .iw-domains-header,
  body:not(.login-bg) .iw-invoices-header {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 14px !important;
    padding: 16px !important;
    border: 1px solid #dce8ee !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #142433 !important;
    box-shadow: 0 10px 24px rgba(15, 37, 54, .07) !important;
  }

  body:not(.login-bg) .iw-page-header .iw-page-title,
  body:not(.login-bg) .iw-home-header .iw-page-title,
  body:not(.login-bg) .iw-page-header h1,
  body:not(.login-bg) .iw-page-header h2 {
    max-width: 100% !important;
    margin: 0 !important;
    color: #142433 !important;
    font-size: 22px !important;
    line-height: 1.16 !important;
    overflow-wrap: anywhere !important;
  }

  body:not(.login-bg) .iw-page-header .iw-page-subtitle,
  body:not(.login-bg) .iw-page-subtitle,
  body:not(.login-bg) .iw-page-header p {
    max-width: 100% !important;
    margin: 3px 0 0 !important;
    color: #607381 !important;
    font-size: 13px !important;
    line-height: 1.38 !important;
  }

  body:not(.login-bg) .iw-page-actions,
  body:not(.login-bg) .iw-home-header .iw-page-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body:not(.login-bg) .iw-page-actions .btn,
  body:not(.login-bg) .iw-page-actions a,
  body:not(.login-bg) .iw-page-actions button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 9px 10px !important;
    justify-content: center !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid.iw-stat-grid,
  body:not(.login-bg) .iw-stat-grid,
  body:not(.login-bg) .iw-stats-grid,
  body:not(.login-bg) .iw-tiles {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-card,
  body:not(.login-bg) .iw-stat-card {
    display: grid !important;
    gap: 8px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 13px !important;
    border-radius: 13px !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-row,
  body:not(.login-bg) .iw-stat-row {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 9px !important;
    min-width: 0 !important;
    align-items: center !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-icon,
  body:not(.login-bg) .iw-stat-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 10px !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-number,
  body:not(.login-bg) .iw-stat-number {
    font-size: 25px !important;
    line-height: 1 !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-desc,
  body:not(.login-bg) .iw-stat-desc {
    min-height: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.32 !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-footer,
  body:not(.login-bg) .iw-stat-footer {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-width: 0 !important;
  }

  body:not(.login-bg) .iw-home-services-panel,
  body:not(.login-bg) .iw-home-card,
  body:not(.login-bg) .iw-panel-card,
  body:not(.login-bg) .panel,
  body:not(.login-bg) .card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 14px !important;
  }

  body:not(.login-bg) .iw-home-services-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: start !important;
    padding: 14px !important;
  }

  body:not(.login-bg) .iw-home-services-titleblock {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 10px !important;
    min-width: 0 !important;
  }

  body:not(.login-bg) .iw-home-services-head-actions,
  body:not(.login-bg) .iw-services-cta-footer {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  body:not(.login-bg) .iw-home-services-link,
  body:not(.login-bg) .iw-home-services-primary,
  body:not(.login-bg) .iw-services-all-btn,
  body:not(.login-bg) .iw-services-new-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 9px 10px !important;
    justify-content: center !important;
    white-space: normal !important;
  }

  body:not(.login-bg) .iw-home-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 14px 0 0 !important;
  }

  body:not(.login-bg) .iw-ticket-row {
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body:not(.login-bg) .iw-ticket-status {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
  }

  body:not(.login-bg) .iw-domain-mini-btns {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body:not(.login-bg) .table-responsive,
  body:not(.login-bg) .dataTables_wrapper,
  body:not(.login-bg) .table-container,
  body:not(.login-bg) .data-table-main-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body:not(.login-bg) .modal-dialog {
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
    margin: 10px auto !important;
  }

  body:not(.login-bg) .modal-content {
    max-height: calc(100dvh - 20px) !important;
    overflow: auto !important;
  }
}

@media (max-width: 700px) {
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-tablewrap {
    overflow: visible !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table,
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table tbody,
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table tr,
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table {
    border: 0 !important;
    min-width: 0 !important;
    background: transparent !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table thead {
    display: none !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table tbody {
    display: grid !important;
    gap: 10px !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table tr {
    padding: 12px !important;
    border: 1px solid #dce8ee !important;
    border-radius: 13px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(15, 37, 54, .06) !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table td {
    padding: 8px 0 !important;
    border: 0 !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table td + td {
    border-top: 1px solid #edf3f6 !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-price,
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-date,
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-status {
    display: grid !important;
    grid-template-columns: minmax(96px, .42fr) minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-price:before,
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-date:before,
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-status:before {
    color: #6b7d8a !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-price:before {
    content: "Precio";
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-date:before {
    content: "Vencimiento";
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-status:before {
    content: "Estado";
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .service-box {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .service-icon {
    width: 38px !important;
    height: 38px !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .service-line {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2px !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .service-line-dot {
    display: none !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .service-line-domain,
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .service-line-product {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .price-main,
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .date-main {
    text-align: right !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-status .status-active {
    justify-self: end !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-actions {
    padding-top: 10px !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .actions-box {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    justify-content: stretch !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .action-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

@media (max-width: 575px) {
  body:not(.login-bg) #content,
  body:not(.login-bg) #content.no-navbar,
  body:not(.login-bg) #content.active {
    padding: 12px 10px calc(24px + env(safe-area-inset-bottom)) !important;
  }

  body:not(.login-bg) .iw-page-header,
  body:not(.login-bg) .iw-home-header,
  body:not(.login-bg) .iw-domains-header,
  body:not(.login-bg) .iw-invoices-header {
    padding: 14px !important;
    border-radius: 12px !important;
  }

  body:not(.login-bg) .iw-page-header .iw-page-title,
  body:not(.login-bg) .iw-home-header .iw-page-title,
  body:not(.login-bg) .iw-page-header h1,
  body:not(.login-bg) .iw-page-header h2 {
    font-size: 20px !important;
  }

  body:not(.login-bg) .iw-page-actions,
  body:not(.login-bg) .iw-home-header .iw-page-actions,
  body:not(.login-bg) #iw-tour-stats-grid.iw-stat-grid,
  body:not(.login-bg) .iw-stat-grid,
  body:not(.login-bg) .iw-stats-grid,
  body:not(.login-bg) .iw-tiles,
  body:not(.login-bg) .iw-home-services-head-actions,
  body:not(.login-bg) .iw-services-cta-footer,
  body:not(.login-bg) .iw-domain-mini-btns {
    grid-template-columns: 1fr !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-card,
  body:not(.login-bg) .iw-stat-card {
    padding: 12px !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-footer,
  body:not(.login-bg) .iw-stat-footer {
    align-items: stretch !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-badge,
  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-link,
  body:not(.login-bg) .iw-stat-badge,
  body:not(.login-bg) .iw-stat-link {
    justify-content: center !important;
    text-align: center !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-head {
    padding: 12px !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .actions-box {
    grid-template-columns: 1fr !important;
  }

  body:not(.login-bg) .iw-ticket-row {
    grid-template-columns: 1fr !important;
  }

  body:not(.login-bg) .menu-cart-clientx,
  body:not(.login-bg) .menu-notification-clientx,
  body:not(.login-bg) .menu-myaccount-clientx,
  body:not(.login-bg) .defaultClientxSidebar {
    left: auto !important;
    right: 8px !important;
    width: calc(100vw - 16px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 16px) !important;
  }
}

@media (max-width: 374px) {
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-price,
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-date,
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-status {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .price-main,
  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .date-main {
    text-align: left !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .iw-col-status .status-active {
    justify-self: start !important;
  }
}

/* IW 2026-07-10 - keep brand visible in mobile header */
@media (max-width: 991px) {
  body:not(.login-bg) nav#iw-main-header.iw-header,
  body:not(.login-bg) header#iw-main-header.iw-header,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon {
    display: block !important;
    min-height: 62px !important;
    height: 62px !important;
    overflow: visible !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-inner,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-inner {
    display: grid !important;
    grid-template-columns: minmax(118px, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 62px !important;
    height: 62px !important;
    padding: 0 58px 0 12px !important;
    overflow: visible !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-logo,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    min-width: 118px !important;
    max-width: 160px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    grid-column: 1 !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-logo img,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    max-width: 150px !important;
    height: auto !important;
    max-height: 34px !important;
    min-height: 24px !important;
    object-fit: contain !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-nav,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-nav {
    display: none !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-actions,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-actions {
    display: flex !important;
    grid-column: 2 !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    min-width: 0 !important;
    max-width: 168px !important;
    overflow: visible !important;
  }

  body:not(.login-bg) nav#iw-main-header .top-resp,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .top-resp {
    position: absolute !important;
    top: 11px !important;
    right: 10px !important;
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 1120 !important;
  }
}

@media (max-width: 575px) {
  body:not(.login-bg) nav#iw-main-header .iw-header-inner,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-inner {
    grid-template-columns: minmax(112px, 1fr) auto !important;
    padding: 0 52px 0 10px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-logo,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo {
    min-width: 112px !important;
    max-width: 142px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-logo img,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo img {
    max-width: 136px !important;
    max-height: 31px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-actions,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-actions {
    max-width: 112px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-actions .iw-hdr-store,
  body:not(.login-bg) nav#iw-main-header .iw-header-actions .iw-hdr-cart,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-actions .iw-hdr-store,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-actions .iw-hdr-cart {
    display: none !important;
  }
}

@media (max-width: 374px) {
  body:not(.login-bg) nav#iw-main-header .iw-header-logo img,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo img {
    max-width: 122px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-actions,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-actions {
    max-width: 82px !important;
  }
}


/* IW 2026-07-12 - blue mobile client-area header and first-view shell */
@media (max-width: 991px) {
  html:not(.iw-cart-page) body:not(.login-bg),
  body:not(.login-bg) {
    background: radial-gradient(220px 150px at 100% 0%, rgba(24,183,180,.22), transparent 70%), linear-gradient(180deg, #eafcff 0%, #f5fbfd 270px, #f3f8fa 100%) !important;
    color: #12344a !important;
  }
  body:not(.login-bg) .iw-topbar {border:0!important;background:linear-gradient(135deg,#052a3d 0%,#087a83 58%,#18b7b4 100%)!important;color:#fff!important;}
  body:not(.login-bg) nav#iw-main-header.iw-header,
  body:not(.login-bg) header#iw-main-header.iw-header,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon {position:sticky!important;top:0!important;z-index:1120!important;display:block!important;width:100%!important;height:auto!important;min-height:76px!important;margin:0!important;padding:10px 10px 12px!important;border:0!important;border-radius:0 0 18px 18px!important;background:radial-gradient(180px 110px at 14% 0%,rgba(95,221,212,.38),rgba(95,221,212,0) 70%),radial-gradient(220px 130px at 94% 0%,rgba(68,158,255,.28),rgba(68,158,255,0) 72%),linear-gradient(135deg,#07344a 0%,#087a83 56%,#18b7b4 100%)!important;box-shadow:0 16px 32px rgba(7,52,74,.22)!important;overflow:visible!important;}
  body:not(.login-bg) nav#iw-main-header .iw-header-inner,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-inner {display:grid!important;grid-template-columns:minmax(142px,1fr) auto 44px!important;grid-template-areas:"brand actions menu"!important;align-items:center!important;gap:8px!important;width:100%!important;height:auto!important;min-height:48px!important;margin:0!important;padding:0!important;overflow:visible!important;}
  body:not(.login-bg) nav#iw-main-header .iw-header-logo,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo {grid-area:brand!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:min(218px,calc(100vw - 172px))!important;max-width:min(218px,calc(100vw - 172px))!important;min-width:142px!important;height:46px!important;min-height:46px!important;margin:0!important;padding:7px 12px!important;border:1px solid rgba(255,255,255,.30)!important;border-radius:11px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 10px 22px rgba(4,29,44,.18)!important;visibility:visible!important;opacity:1!important;overflow:hidden!important;}
  body:not(.login-bg) nav#iw-main-header .iw-header-logo img,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo img {display:block!important;width:100%!important;max-width:180px!important;height:32px!important;max-height:32px!important;min-height:0!important;object-fit:contain!important;object-position:center!important;opacity:1!important;visibility:visible!important;filter:none!important;}
  body:not(.login-bg) nav#iw-main-header .iw-header-nav,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-nav {display:none!important;}
  body:not(.login-bg) nav#iw-main-header .iw-header-actions,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-actions {grid-area:actions!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;overflow:visible!important;}
  body:not(.login-bg) nav#iw-main-header .iw-hdr-btn,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-user,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-login,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-btn,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-user,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-login {display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:10px!important;background:rgba(255,255,255,.14)!important;color:#fff!important;box-shadow:none!important;}
  body:not(.login-bg) nav#iw-main-header .iw-hdr-btn i,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-user i,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-btn i,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-user i {color:#fff!important;}
  body:not(.login-bg) nav#iw-main-header .iw-hdr-badge,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-badge {border-color:#07344a!important;background:#f7ff60!important;color:#07344a!important;}
  body:not(.login-bg) nav#iw-main-header .top-resp,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .top-resp {grid-area:menu!important;position:static!important;z-index:2!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;width:44px!important;height:44px!important;margin:0!important;padding:0!important;}
  body:not(.login-bg) nav#iw-main-header #sidebarCollapsenav.respos,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon #sidebarCollapsenav.respos {display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.32)!important;border-radius:11px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;box-shadow:none!important;}
  body:not(.login-bg) nav#iw-main-header #sidebarCollapsenav i,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon #sidebarCollapsenav i {color:#fff!important;font-size:18px!important;}
  body:not(.login-bg) #sidebar.wgssidebaraddon {border-right:1px solid rgba(255,255,255,.12)!important;border-radius:0 18px 18px 0!important;background:radial-gradient(220px 140px at 20% 0%,rgba(95,221,212,.24),rgba(95,221,212,0) 70%),linear-gradient(160deg,#062736 0%,#0d3349 54%,#0c6f73 100%)!important;box-shadow:18px 0 44px rgba(3,14,24,.32)!important;}
  body:not(.login-bg) #sidebar .iw-nav-logo {min-height:74px!important;padding:14px 58px 12px 16px!important;border:0!important;}
  body:not(.login-bg) #sidebar .iw-nav-logo a {display:inline-flex!important;align-items:center!important;justify-content:center!important;max-width:178px!important;min-height:44px!important;padding:7px 12px!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:11px!important;background:rgba(255,255,255,.96)!important;}
  body:not(.login-bg) #sidebar .iw-nav-logo img {display:block!important;max-width:154px!important;max-height:32px!important;object-fit:contain!important;filter:none!important;}
  body:not(.login-bg) #sidebar .iw-user-row,
  body:not(.login-bg) #sidebar .iw-nav-footer {border-color:rgba(255,255,255,.12)!important;background:rgba(255,255,255,.06)!important;}
  body:not(.login-bg) #sidebar .iw-nav-link,
  body:not(.login-bg) #sidebar .iw-sub-link,
  body:not(.login-bg) #sidebar .iw-nav-label,
  body:not(.login-bg) #sidebar .iw-chevron {color:rgba(255,255,255,.90)!important;}
  body:not(.login-bg) #sidebar .iw-nav-link.active,
  body:not(.login-bg) #sidebar .iw-nav-link:hover,
  body:not(.login-bg) #sidebar .iw-sub-link.active,
  body:not(.login-bg) #sidebar .iw-sub-link:hover {background:rgba(255,255,255,.14)!important;color:#fff!important;}
  body:not(.login-bg) #sidebar .iw-icon-box,
  body:not(.login-bg) #sidebar .iw-sub-icon {background:rgba(255,255,255,.14)!important;color:#dffdf9!important;}
  html:not(.iw-cart-page) body:not(.login-bg) #content,
  html:not(.iw-cart-page) body:not(.login-bg) #content.no-navbar,
  html:not(.iw-cart-page) body:not(.login-bg) #content.active,
  body:not(.login-bg) #content,
  body:not(.login-bg) #content.no-navbar,
  body:not(.login-bg) #content.active {padding:12px 12px calc(26px + env(safe-area-inset-bottom))!important;background:transparent!important;}
  body:not(.login-bg) .theme-main-inner-page-section {background:transparent!important;}
  body:not(.login-bg) .iw-page-header:not(.iw-product-detail-header),
  body:not(.login-bg) .iw-home-header,
  body:not(.login-bg) .iw-domains-header,
  body:not(.login-bg) .iw-invoices-header {border:1px solid rgba(255,255,255,.34)!important;border-radius:16px!important;background:radial-gradient(180px 120px at 10% 0%,rgba(95,221,212,.30),rgba(95,221,212,0) 74%),linear-gradient(135deg,#07344a 0%,#087a83 62%,#18b7b4 100%)!important;box-shadow:0 14px 28px rgba(7,52,74,.18)!important;color:#fff!important;}
}
@media (max-width: 575px) {
  body:not(.login-bg) nav#iw-main-header.iw-header,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon {min-height:72px!important;padding:9px 8px 11px!important;}
  body:not(.login-bg) nav#iw-main-header .iw-header-inner,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-inner {grid-template-columns:minmax(132px,1fr) auto 40px!important;gap:6px!important;}
  body:not(.login-bg) nav#iw-main-header .iw-header-logo,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo {width:min(190px,calc(100vw - 146px))!important;max-width:min(190px,calc(100vw - 146px))!important;min-width:132px!important;height:42px!important;min-height:42px!important;padding:6px 10px!important;}
  body:not(.login-bg) nav#iw-main-header .iw-header-logo img,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo img {max-width:160px!important;height:30px!important;max-height:30px!important;}
  body:not(.login-bg) nav#iw-main-header .iw-hdr-store,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-cart,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-store,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-cart {display:none!important;}
  body:not(.login-bg) nav#iw-main-header .iw-hdr-btn,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-user,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-btn,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-user,
  body:not(.login-bg) nav#iw-main-header #sidebarCollapsenav.respos,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon #sidebarCollapsenav.respos,
  body:not(.login-bg) nav#iw-main-header .top-resp,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .top-resp {width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;}
}

/* IW 2026-07-12 - header actions: direct cart link and labeled account button */
body:not(.login-bg) nav#iw-main-header .iw-hdr-cart,
body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-cart {
  text-decoration: none !important;
}
body:not(.login-bg) nav#iw-main-header .iw-hdr-account-label,
body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account-label {
  display: inline-block !important;
  color: currentColor !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
body:not(.login-bg) nav#iw-main-header .iw-hdr-cart i,
body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-cart i,
body:not(.login-bg) nav#iw-main-header .iw-hdr-account i,
body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account i {
  font-size: 16px !important;
}
@media (min-width: 992px) {
  body:not(.login-bg) nav#iw-main-header .iw-hdr-account,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account {
    width: auto !important;
    min-width: 110px !important;
    gap: 8px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
  }
}
@media (max-width: 991px) {
  body:not(.login-bg) nav#iw-main-header .iw-header-inner,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-inner {
    grid-template-columns: minmax(128px,1fr) auto 44px !important;
  }
  body:not(.login-bg) nav#iw-main-header .iw-header-actions,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-actions {
    gap: 6px !important;
  }
  body:not(.login-bg) nav#iw-main-header .iw-hdr-cart,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-cart {
    display: inline-flex !important;
    background: rgba(255,255,255,.18) !important;
  }
  body:not(.login-bg) nav#iw-main-header .iw-hdr-account,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account {
    width: auto !important;
    min-width: 92px !important;
    max-width: 104px !important;
    gap: 6px !important;
    padding: 0 10px !important;
    border-color: rgba(255,255,255,.36) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #087a83 !important;
    box-shadow: 0 10px 20px rgba(4,29,44,.16) !important;
  }
  body:not(.login-bg) nav#iw-main-header .iw-hdr-account i,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account i {
    color: #087a83 !important;
    font-size: 15px !important;
  }
  body:not(.login-bg) nav#iw-main-header .iw-hdr-account-label,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account-label {
    font-size: 11.5px !important;
  }
}
@media (max-width: 575px) {
  body:not(.login-bg) nav#iw-main-header .iw-header-inner,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-inner {
    grid-template-columns: minmax(112px,1fr) auto 40px !important;
  }
  body:not(.login-bg) nav#iw-main-header .iw-hdr-store,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-store,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-notifications,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-notifications {
    display: none !important;
  }
  body:not(.login-bg) nav#iw-main-header .iw-hdr-cart,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-cart {
    display: inline-flex !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
  body:not(.login-bg) nav#iw-main-header .iw-hdr-account,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account {
    min-width: 88px !important;
    max-width: 94px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 9px !important;
  }
  body:not(.login-bg) nav#iw-main-header .iw-hdr-account-label,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account-label {
    font-size: 11px !important;
  }
}
@media (max-width: 374px) {
  body:not(.login-bg) nav#iw-main-header .iw-hdr-account,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account {
    min-width: 82px !important;
    max-width: 86px !important;
    gap: 5px !important;
    padding: 0 7px !important;
  }
  body:not(.login-bg) nav#iw-main-header .iw-hdr-account-label,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account-label {
    font-size: 10.5px !important;
  }
}

/* IW 2026-07-13 - ajuste final mobile area cliente: header, sidebar, grillas y acciones */
@media (max-width: 991px) {
  html:not(.iw-cart-page) body:not(.login-bg),
  body:not(.login-bg) {
    background: radial-gradient(260px 170px at 100% 0%, rgba(24,183,180,.20), transparent 72%), linear-gradient(180deg, #ecfbfd 0%, #f7fbfc 290px, #f4f7fa 100%) !important;
  }

  body:not(.login-bg) nav#iw-main-header.iw-header,
  body:not(.login-bg) header#iw-main-header.iw-header,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon {
    min-height: 62px !important;
    padding: 10px 10px !important;
    border-radius: 0 0 16px 16px !important;
    background: radial-gradient(170px 96px at 12% 0%, rgba(95,221,212,.34), rgba(95,221,212,0) 72%), linear-gradient(135deg, #07344a 0%, #087a83 58%, #18b7b4 100%) !important;
    box-shadow: 0 12px 26px rgba(7,52,74,.22) !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-inner,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-inner {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    grid-template-areas: "menu brand actions" !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 42px !important;
  }

  body:not(.login-bg) nav#iw-main-header .top-resp,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .top-resp {
    grid-area: menu !important;
    justify-content: flex-start !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  body:not(.login-bg) nav#iw-main-header #sidebarCollapsenav.respos,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon #sidebarCollapsenav.respos {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.15) !important;
    border: 1px solid rgba(255,255,255,.30) !important;
    color: #fff !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-logo,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo {
    grid-area: brand !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-logo a,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo a {
    justify-content: flex-start !important;
    width: auto !important;
    max-width: 168px !important;
    min-height: 40px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-logo img,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo img {
    width: auto !important;
    max-width: 158px !important;
    height: 32px !important;
    max-height: 32px !important;
    object-fit: contain !important;
    object-position: left center !important;
    filter: none !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-actions,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-actions {
    grid-area: actions !important;
    display: flex !important;
    gap: 6px !important;
    justify-content: flex-end !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-hdr-account,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-cart,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-cart {
    display: inline-flex !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255,255,255,.30) !important;
    background: rgba(255,255,255,.15) !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-hdr-account-label,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account-label {
    display: none !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-hdr-account i,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account i,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-cart i,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-cart i {
    margin: 0 !important;
    color: #fff !important;
    font-size: 16px !important;
  }

  body:not(.login-bg) #sidebar .iw-nav-logo {
    min-height: 58px !important;
    padding: 9px 48px 8px 12px !important;
  }

  body:not(.login-bg) #sidebar .iw-nav-logo a {
    max-width: 158px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body:not(.login-bg) #sidebar .iw-nav-logo img {
    max-width: 148px !important;
    max-height: 30px !important;
  }

  body:not(.login-bg) #sidebar .iw-nav-body {
    padding: 6px 8px 8px !important;
  }

  body:not(.login-bg) #sidebar .iw-nav-list,
  body:not(.login-bg) #sidebar .iw-sub-list {
    gap: 2px !important;
  }

  body:not(.login-bg) #sidebar .iw-nav-item,
  body:not(.login-bg) #sidebar .iw-sub-list > li {
    margin-top: 0 !important;
    margin-bottom: 1px !important;
  }

  body:not(.login-bg) #sidebar .iw-nav-link {
    min-height: 34px !important;
    padding: 6px 8px !important;
    gap: 8px !important;
    border-radius: 9px !important;
  }

  body:not(.login-bg) #sidebar .iw-icon-box {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
  }

  body:not(.login-bg) #sidebar .iw-nav-label {
    font-size: 12px !important;
    line-height: 1.12 !important;
  }

  body:not(.login-bg) #sidebar .iw-sub-list {
    margin: 1px 0 3px 34px !important;
    padding: 1px 0 !important;
  }

  body:not(.login-bg) #sidebar .iw-sub-link {
    min-height: 24px !important;
    padding: 4px 7px !important;
    gap: 6px !important;
    border-radius: 7px !important;
    font-size: 11px !important;
    line-height: 1.08 !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid.iw-stat-grid,
  body:not(.login-bg) .iw-stat-grid,
  body:not(.login-bg) .iw-stats-grid,
  body:not(.login-bg) .iw-tiles,
  body:not(.login-bg) .iw-services-grid,
  body:not(.login-bg) .iw-domains-grid,
  body:not(.login-bg) .iw-domain-mini-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-card,
  body:not(.login-bg) .iw-stat-card {
    padding: 10px !important;
    border-radius: 12px !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-row,
  body:not(.login-bg) .iw-stat-row {
    grid-template-columns: 32px minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-icon,
  body:not(.login-bg) .iw-stat-icon {
    width: 32px !important;
    height: 32px !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-title,
  body:not(.login-bg) .iw-stat-title {
    font-size: 11px !important;
    line-height: 1.12 !important;
  }

  body:not(.login-bg) #iw-tour-stats-grid .iw-stat-value,
  body:not(.login-bg) .iw-stat-value {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .actions-box,
  body:not(.login-bg) .theme-client-service-page .iw-service-list-actions,
  body:not(.login-bg) #tableServicesList.services-table .iw-service-list-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px !important;
    justify-content: stretch !important;
    align-items: stretch !important;
  }

  body:not(.login-bg) #iw-tour-services-card .iw-home-services-table .action-btn,
  body:not(.login-bg) #tableServicesList.services-table .action-btn,
  body:not(.login-bg) .theme-client-service-page .iw-service-list-actions .action-btn,
  body:not(.login-bg) .theme-client-service-page .iw-service-list-actions .iw-svc-btn,
  body:not(.login-bg) .theme-client-service-page .iw-service-list-actions .iw-svc-access-note {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 30px !important;
    height: auto !important;
    padding: 0 6px !important;
    border-radius: 7px !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
  }

  body:not(.login-bg) .theme-client-service-page .iw-service-list-actions .iw-svc-btn-credentials,
  body:not(.login-bg) #tableServicesList.services-table .iw-service-list-actions .iw-svc-btn-credentials {
    max-width: none !important;
  }
}

@media (max-width: 575px) {
  body:not(.login-bg) nav#iw-main-header .iw-hdr-store,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-store,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-notifications,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-notifications {
    display: none !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-inner,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-inner {
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    grid-template-areas: "menu brand actions" !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-logo img,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo img {
    max-width: 144px !important;
  }
}

@media (max-width: 374px) {
  body:not(.login-bg) nav#iw-main-header .iw-header-inner,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-inner {
    grid-template-columns: 38px minmax(0, 1fr) 38px !important;
    gap: 6px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-hdr-cart,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-cart {
    display: none !important;
  }

  body:not(.login-bg) nav#iw-main-header #sidebarCollapsenav.respos,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon #sidebarCollapsenav.respos,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-account,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-logo img,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo img {
    max-width: 128px !important;
  }
}

/* IW 2026-07-13 - mobile header actions all on one line */
@media (max-width: 991px) {
  body:not(.login-bg) nav#iw-main-header .iw-header-inner,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-inner {
    display: grid !important;
    grid-template-columns: minmax(108px, 1fr) auto 40px !important;
    grid-template-areas: "brand actions menu" !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
  }

  body:not(.login-bg) nav#iw-main-header .top-resp,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .top-resp {
    grid-area: menu !important;
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body:not(.login-bg) nav#iw-main-header #sidebarCollapsenav.respos,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon #sidebarCollapsenav.respos {
    display: inline-flex !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  body:not(.login-bg) nav#iw-main-header #sidebarCollapsenavdefault,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon #sidebarCollapsenavdefault {
    display: none !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-actions,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-actions {
    grid-area: actions !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: visible !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-hdr-store,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-store,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-cart,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-cart,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-notifications,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-notifications,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-account,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account {
    display: inline-flex !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border-radius: 10px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-hdr-account-label,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account-label {
    display: none !important;
  }
}

@media (max-width: 575px) {
  body:not(.login-bg) nav#iw-main-header .iw-header-inner,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-inner {
    grid-template-columns: minmax(92px, 1fr) auto 36px !important;
    grid-template-areas: "brand actions menu" !important;
    gap: 5px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-logo img,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo img {
    max-width: 116px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-actions,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-actions {
    gap: 4px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-hdr-store,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-store,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-cart,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-cart,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-notifications,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-notifications,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-account,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account,
  body:not(.login-bg) nav#iw-main-header #sidebarCollapsenav.respos,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon #sidebarCollapsenav.respos,
  body:not(.login-bg) nav#iw-main-header .top-resp,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .top-resp {
    display: inline-flex !important;
    flex-basis: 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-hdr-btn i,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-account i,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-btn i,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account i,
  body:not(.login-bg) nav#iw-main-header #sidebarCollapsenav i,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon #sidebarCollapsenav i {
    font-size: 14px !important;
  }
}

@media (max-width: 374px) {
  body:not(.login-bg) nav#iw-main-header .iw-header-inner,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-inner {
    grid-template-columns: minmax(76px, 1fr) auto 34px !important;
    gap: 4px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-logo img,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-logo img {
    max-width: 98px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-header-actions,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-header-actions {
    gap: 3px !important;
  }

  body:not(.login-bg) nav#iw-main-header .iw-hdr-store,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-store,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-cart,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-cart,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-notifications,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-notifications,
  body:not(.login-bg) nav#iw-main-header .iw-hdr-account,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .iw-hdr-account,
  body:not(.login-bg) nav#iw-main-header #sidebarCollapsenav.respos,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon #sidebarCollapsenav.respos,
  body:not(.login-bg) nav#iw-main-header .top-resp,
  body:not(.login-bg) .iw-header.clientx.wgsheaderfromaddon .top-resp {
    display: inline-flex !important;
    flex-basis: 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
  }
}

/* IW 2026-07-13 - desktop sidebar 15 percent narrower */
@media (min-width: 992px) {
  html:not(.iw-cart-page) body:not(.login-bg) nav#sidebar.wgssidebaraddon,
  html:not(.iw-cart-page) body:not(.login-bg) #sidebar.wgssidebaraddon {
    min-width: 238px !important;
    max-width: 238px !important;
    width: 238px !important;
  }

  html:not(.iw-cart-page) body:not(.login-bg) #content,
  html:not(.iw-cart-page) body:not(.login-bg) #content.no-navbar,
  html:not(.iw-cart-page) body:not(.login-bg) #content.leftSideBarOpened,
  html:not(.iw-cart-page) body:not(.login-bg) #content.rightSideBarOpened,
  html:not(.iw-cart-page) body:not(.login-bg) #content.bothSideBarOpened {
    left: 238px !important;
    width: calc(100% - 238px) !important;
  }

  html:not(.iw-cart-page) body:not(.login-bg) #content.active {
    left: 95px !important;
    width: calc(100% - 95px) !important;
  }
}

/* IW 2026-07-15 - mobile sidebar: filas compactas y paginacion de cupones */
@media (max-width: 991px) {
  body:not(.login-bg) #sidebar.wgssidebaraddon .iw-nav-list,
  body:not(.login-bg) #sidebar.wgssidebaraddon .iw-sub-list {
    height: auto !important;
    min-height: 0 !important;
    align-content: start !important;
    grid-auto-rows: max-content !important;
  }

  body:not(.login-bg) #sidebar.wgssidebaraddon .iw-nav-list > .iw-nav-item,
  body:not(.login-bg) #sidebar.wgssidebaraddon .iw-sub-list > li {
    height: auto !important;
    min-height: 0 !important;
    align-self: start !important;
  }

  body:not(.login-bg) #sidebar.wgssidebaraddon .iw-coupon-clean__dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-height: 18px !important;
    margin: 5px 0 0 !important;
  }

  body:not(.login-bg) #sidebar.wgssidebaraddon button.iw-coupon-clean__dot {
    display: block !important;
    flex: 0 0 6px !important;
    width: 6px !important;
    min-width: 6px !important;
    max-width: 6px !important;
    height: 6px !important;
    min-height: 6px !important;
    max-height: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #9fb5c2 !important;
    box-shadow: none !important;
    appearance: none !important;
  }

  body:not(.login-bg) #sidebar.wgssidebaraddon button.iw-coupon-clean__dot.is-active {
    flex-basis: 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    background: #14b8a6 !important;
  }

  body:not(.login-bg) #sidebar.wgssidebaraddon button.iw-coupon-clean__dot:focus-visible {
    outline: 2px solid #5eead4 !important;
    outline-offset: 3px !important;
  }
}

/* IW 2026-07-16 - submenu mobile mas compacto y alineado a la izquierda */
@media (max-width: 991px) {
  html body:not(.login-bg) nav#sidebar.wgssidebaraddon ul.iw-sub-list {
    box-sizing: border-box !important;
    width: calc(100% - 8px) !important;
    margin-left: 8px !important;
    padding-left: 4px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon ul.iw-sub-list a.iw-sub-link {
    min-height: 22px !important;
    height: 22px !important;
    max-height: 22px !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
  }
}

/* IW 2026-07-16 - escritorio: menu lateral mas compacto */
@media (min-width: 992px) {
  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-nav-body {
    padding-top: 8px !important;
    padding-bottom: 10px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-nav-list {
    gap: 2px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-nav-link {
    min-height: 38px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-nav-label {
    font-size: 11px !important;
    line-height: 1.15 !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon ul.iw-sub-list {
    width: calc(100% - 8px) !important;
    margin-top: 1px !important;
    margin-right: 0 !important;
    margin-bottom: 3px !important;
    margin-left: 8px !important;
    padding: 0 0 0 4px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon ul.iw-sub-list a.iw-sub-link {
    min-height: 28px !important;
    padding-top: 3px !important;
    padding-right: 6px !important;
    padding-bottom: 3px !important;
    padding-left: 6px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-sub-link span:last-child {
    font-size: 10px !important;
    line-height: 1.1 !important;
  }
}

/* IW 2026-07-16 - escritorio: logo, iconos y padding del sidebar compactos */
@media (min-width: 992px) {
  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-nav-logo {
    min-height: 50px !important;
    padding: 5px 8px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-nav-logo img {
    max-width: 132px !important;
    max-height: 28px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-nav-body {
    padding: 5px 5px 7px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-nav-link {
    grid-template-columns: 28px minmax(0, 1fr) 12px !important;
    gap: 6px !important;
    min-height: 34px !important;
    padding: 3px 5px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-icon-box {
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    flex-basis: 26px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-icon-box i,
  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-icon-box svg,
  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-nav-svg {
    width: 13px !important;
    height: 13px !important;
    font-size: 13px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon ul.iw-sub-list a.iw-sub-link {
    grid-template-columns: 18px minmax(0, 1fr) !important;
    gap: 4px !important;
    min-height: 23px !important;
    padding: 2px 4px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-sub-icon {
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
  }

  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-sub-icon i,
  html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-sub-icon svg {
    width: 9px !important;
    height: 9px !important;
    font-size: 9px !important;
  }
}

/* IW 2026-07-16 - footer del sidebar: cupones y tienda compactos */
html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-nav-footer {
  padding: 10px 14px calc(8px + env(safe-area-inset-bottom)) !important;
}

html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-nav-footer .iw-coupon-clean {
  margin-bottom: 6px !important;
}

html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-nav-footer .iw-store-box {
  margin: 0 !important;
}

html body:not(.login-bg) nav#sidebar.wgssidebaraddon .iw-nav-footer .iw-ver-tienda-btn {
  min-height: 44px !important;
  height: 44px !important;
  max-height: 44px !important;
  padding: 6px 10px !important;
}
