/*! GamingWorld - light gaming ecommerce redesign */

body.gw-home,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag,
body.single-product,
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account {
    background: #f7fbff;
    color: #101828;
}

body.gw-home .site-header,
body.gw-woocommerce-page .site-header,
body.woocommerce-account .site-header {
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(16,24,40,0.08);
    box-shadow: 0 10px 30px rgba(16,24,40,0.06);
}

body.gw-home .site-title,
body.gw-woocommerce-page .site-title,
body.woocommerce-account .site-title,
body.gw-home .header-actions a,
body.gw-home .header-actions button,
body.gw-woocommerce-page .header-actions a,
body.gw-woocommerce-page .header-actions button,
body.woocommerce-account .header-actions a,
body.woocommerce-account .header-actions button {
    color: #101828;
}

body.gw-home .main-navigation a,
body.gw-woocommerce-page .main-navigation a,
body.woocommerce-account .main-navigation a {
    color: #344054;
}

body.gw-home .main-navigation a:hover,
body.gw-woocommerce-page .main-navigation a:hover,
body.woocommerce-account .main-navigation a:hover {
    color: #008b7a;
}

.gw-home-hero,
.gw-home-section,
.gw-home-trust {
    width: min(1420px, calc(100% - 32px));
    margin: 0 auto;
}

.gw-home-hero {
    padding: 32px 0 18px;
}

.gw-home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 34px;
    min-height: 560px;
    padding: 52px;
    border-radius: 30px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 42%, rgba(255,255,255,0.16) 100%),
        url("../images/gw-hero-blue-green.png") right center / cover no-repeat;
    box-shadow: 0 24px 80px rgba(15,118,110,0.18);
    overflow: hidden;
}

.gw-home-hero__copy {
    align-self: center;
    max-width: 680px;
}

.gw-home-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0,112,209,0.12), rgba(0,184,148,0.14));
    color: #007467;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gw-home-hero h1,
.gw-home-section h2,
.gw-home-wide-promo h2,
.gw-home-split-banner h2 {
    color: #0f172a;
    font-weight: 900;
    letter-spacing: 0;
}

.gw-home-hero h1 {
    margin: 18px 0 16px;
    font-size: clamp(4.2rem, 6vw, 7.8rem);
    line-height: 0.95;
}

.gw-home-hero p,
.gw-home-section__head p,
.gw-home-wide-promo p,
.gw-home-split-banner p {
    color: #667085;
    font-size: 1.7rem;
}

.gw-home-search {
    display: flex;
    gap: 10px;
    margin: 28px 0 20px;
    padding: 8px;
    border: 1px solid rgba(16,24,40,0.08);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(16,24,40,0.1);
}

.gw-home-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #101828;
    font-size: 1.5rem;
    outline: none;
    padding: 0 18px;
}

.gw-home-search button,
.gw-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-size: 1.4rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.gw-home-button--primary,
.gw-home-search button {
    background: linear-gradient(135deg, #0070d1, #00b894);
    color: #fff;
    box-shadow: 0 14px 28px rgba(0,112,209,0.22);
}

.gw-home-button--ghost {
    background: #fff;
    color: #007467;
    border: 1px solid rgba(0,139,122,0.18);
}

.gw-home-button:hover,
.gw-home-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(0,112,209,0.22);
}

.gw-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gw-home-hero__showcase {
    align-self: end;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gw-home-hero-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,0.82);
    box-shadow: 0 18px 40px rgba(16,24,40,0.16);
    backdrop-filter: blur(18px);
    animation: gwFloat 5s ease-in-out infinite;
}

.gw-home-hero-card:nth-child(2),
.gw-home-hero-card:nth-child(4) {
    transform: translateY(28px);
    animation-delay: 700ms;
}

.gw-home-hero-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
}

.gw-home-hero-card.is-missing-image::before {
    content: "";
    display: block;
    width: 100%;
    height: 150px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 48%, rgba(0,184,148,0.22), transparent 24%),
        linear-gradient(135deg, #eff8ff, #e9fff7);
}

.gw-home-hero-card span,
.gw-home-hero-card strong {
    display: block;
    color: #101828;
}

.gw-home-hero-card span {
    margin-top: 10px;
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.25;
}

.gw-home-hero-card strong {
    margin-top: 4px;
    color: #008b7a;
    font-size: 1.5rem;
}

.gw-home-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 16px 0 36px;
}

.gw-home-trust__item,
.gw-home-category-card,
.gw-home-split-banner,
.gw-home-wide-promo {
    border: 1px solid rgba(16,24,40,0.08);
    background: #fff;
    box-shadow: 0 16px 42px rgba(16,24,40,0.08);
}

.gw-home-trust__item {
    padding: 20px;
    border-radius: 18px;
}

.gw-home-trust__item strong {
    display: block;
    color: #101828;
    font-size: 1.5rem;
}

.gw-home-trust__item span {
    color: #667085;
    font-size: 1.3rem;
}

.gw-home-section {
    padding: 58px 0;
}

.gw-home-section--white {
    background: #fff;
}

.gw-home-section--soft {
    background:
        radial-gradient(circle at 8% 12%, rgba(0,184,148,0.12), transparent 28%),
        radial-gradient(circle at 90% 8%, rgba(0,112,209,0.1), transparent 30%),
        #f2f7fb;
}

.gw-home-section__head {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.gw-home-section__head h2,
.gw-home-split-banner h2,
.gw-home-wide-promo h2 {
    margin: 12px 0 10px;
    font-size: clamp(3rem, 4vw, 5.2rem);
    line-height: 1.05;
}

.gw-home-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

.gw-home-category-card {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    padding: 20px;
    border-radius: 22px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.gw-home-category-card::after {
    content: "";
    position: absolute;
    inset: auto -26px -42px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,112,209,0.14), rgba(0,184,148,0.18));
}

.gw-home-category-card:hover,
.gw-product-card:hover {
    transform: translateY(-6px);
}

.gw-home-category-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0070d1, #00b894);
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
}

.gw-home-category-card img {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 82px;
    height: 82px;
    border-radius: 18px;
    object-fit: cover;
    opacity: 0.26;
}

.gw-home-category-card strong {
    display: block;
    position: relative;
    z-index: 1;
    color: #101828;
    font-size: 1.7rem;
}

.gw-home-category-card small {
    position: relative;
    z-index: 1;
    color: #667085;
    font-size: 1.3rem;
}

.gw-home-section__body {
    width: min(1420px, 100%);
    margin: 0 auto;
}

.gw-home-section__action {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

body.gw-home .woocommerce ul.products li.product.gw-product-card,
body.gw-home .gw-product-card,
body.gw-woocommerce-page .woocommerce ul.products li.product.gw-product-card,
body.gw-woocommerce-page .gw-product-card {
    border: 1px solid rgba(16,24,40,0.08) !important;
    background: #fff !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 42px rgba(16,24,40,0.08) !important;
}

body.gw-home .gw-product-card__body,
body.gw-woocommerce-page .gw-product-card__body {
    background: #fff !important;
}

body.gw-home .gw-product-card__media,
body.gw-woocommerce-page .gw-product-card__media {
    background: linear-gradient(135deg, #eef8ff, #e9fff7) !important;
}

body.gw-home .gw-product-card__media.is-missing-image,
body.gw-woocommerce-page .gw-product-card__media.is-missing-image {
    background:
        radial-gradient(circle at 50% 44%, rgba(0,112,209,0.18), transparent 21%),
        linear-gradient(135deg, #eff8ff, #e9fff7) !important;
}

body.gw-home .gw-product-card__title a,
body.gw-woocommerce-page .gw-product-card__title a {
    color: #101828 !important;
}

body.gw-home .gw-product-card__benefit,
body.gw-woocommerce-page .gw-product-card__benefit {
    color: #667085 !important;
}

.gw-home-split-banner,
.gw-home-wide-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 270px;
    margin-bottom: 30px;
    padding: 42px;
    border-radius: 28px;
}

.gw-home-split-banner {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.78) 50%, rgba(255,255,255,0.26) 100%),
        url("../images/gw-category-blue-green.png") right center / cover no-repeat;
}

.gw-home-wide-promo {
    background:
        linear-gradient(90deg, rgba(0,112,209,0.9), rgba(0,184,148,0.78)),
        url("../images/gw-category-blue-green.png") right center / cover no-repeat;
}

.gw-home-wide-promo > div {
    max-width: 700px;
}

.gw-home-wide-promo h2,
.gw-home-wide-promo p,
.gw-home-wide-promo .gw-home-eyebrow {
    color: #fff;
}

@keyframes gwFloat {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -8px;
    }
}

@media (max-width: 980px) {
    .gw-home-hero__inner {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .gw-home-hero__showcase,
    .gw-home-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gw-home-hero,
    .gw-home-section,
    .gw-home-trust {
        width: min(100% - 20px, 1420px);
    }

    .gw-home-hero__inner,
    .gw-home-split-banner,
    .gw-home-wide-promo {
        padding: 24px;
        border-radius: 22px;
    }

    .gw-home-search,
    .gw-home-split-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .gw-home-trust,
    .gw-home-hero__showcase {
        grid-template-columns: 1fr;
    }
}

/* Gameseal-style homepage blocks */
.gw-seal-section,
.gw-seal-discovery {
    width: min(1420px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 22px;
}

.gw-seal-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

.gw-seal-heading h2 {
    margin: 0;
    color: #2d2f35;
    font-size: clamp(2.8rem, 3vw, 3.8rem);
    font-weight: 900;
    line-height: 1;
}

.gw-seal-heading a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #2d2f35;
    font-size: 3.4rem;
    line-height: 1;
}

.gw-seal-carousel {
    position: relative;
}

.gw-seal-track {
    display: grid;
    grid-auto-columns: minmax(250px, 1fr);
    grid-auto-flow: column;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 2px 16px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.gw-seal-track::-webkit-scrollbar {
    display: none;
}

.gw-seal-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 405px;
    border: 1px solid rgba(34,40,49,0.15);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(16,24,40,0.08);
    scroll-snap-align: start;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.gw-seal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 46px rgba(16,24,40,0.13);
}

.gw-seal-card__image {
    position: relative;
    display: block;
    height: 172px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 45%, rgba(0,184,148,0.18), transparent 24%),
        linear-gradient(135deg, #eff8ff, #e9fff7);
}

.gw-seal-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.gw-seal-card:hover .gw-seal-card__image img {
    transform: scale(1.05);
}

.gw-seal-card__discount {
    position: absolute;
    left: -1px;
    bottom: -13px;
    z-index: 2;
    min-width: 74px;
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    background: #ffb328;
    color: #25282e;
    font-size: 1.6rem;
    font-weight: 900;
    text-align: center;
}

.gw-seal-card__body {
    flex: 1;
    padding: 18px 18px 10px;
}

.gw-seal-card h3 {
    min-height: 50px;
    margin: 0 0 6px;
    color: #2d2f35;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.2;
}

.gw-seal-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.gw-seal-card__body p {
    margin: 0 0 24px;
    color: #4f5662;
    font-size: 1.35rem;
}

.gw-seal-card__body p span {
    color: #a0a6b0;
}

.gw-seal-card__price {
    position: relative;
    min-height: 62px;
}

.gw-seal-card__price del {
    display: block;
    margin-bottom: 4px;
    color: #7b8190;
    font-size: 1.15rem;
    font-weight: 700;
}

.gw-seal-card__price strong,
.gw-seal-card__price .price {
    color: #2d2f35;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.gw-seal-card__price .price del {
    display: none;
}

.gw-seal-card__price .price ins {
    color: #2d2f35;
    text-decoration: none;
}

.gw-seal-card__cart {
    position: absolute;
    right: 0;
    bottom: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 2px solid #2d2f35;
    border-radius: 999px;
    color: #2d2f35;
    font-size: 2.2rem;
    font-weight: 900;
}

.gw-seal-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0 18px 18px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0070d1, #00b894);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 14px 26px rgba(0,112,209,0.2);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.gw-seal-card__button:hover,
.gw-seal-card__button:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(0,112,209,0.26);
}

.gw-seal-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 54px;
    border: 0;
    background: rgba(255,255,255,0.82);
    color: #5c626d;
    font-size: 4rem;
    cursor: pointer;
    transform: translateY(-50%);
}

.gw-seal-arrow--left {
    left: -18px;
}

.gw-seal-arrow--right {
    right: -18px;
}

.gw-seal-discovery {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.85fr);
    gap: 56px;
}

.gw-seal-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gw-seal-category-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 150px;
    overflow: hidden;
    padding: 28px;
    border-radius: 16px;
    background-image:
        linear-gradient(90deg, rgba(0,0,0,0.6), rgba(0,0,0,0.12)),
        url("../images/gw-category-collage.png");
    background-size: 300% 200%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.gw-seal-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(16,24,40,0.14);
}

.gw-seal-category-card--1 { background-position: 0% 0%; }
.gw-seal-category-card--2 { background-position: 50% 0%; }
.gw-seal-category-card--3 { background-position: 100% 0%; }
.gw-seal-category-card--4 { background-position: 0% 100%; }
.gw-seal-category-card--5 { background-position: 50% 100%; }
.gw-seal-category-card--6 { background-position: 100% 100%; }

.gw-seal-category-card span {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 2.3rem;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.gw-seal-platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.gw-seal-platform-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    overflow: hidden;
    border: 1px solid rgba(34,40,49,0.13);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(16,24,40,0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.gw-seal-platform-card::before,
.gw-seal-platform-card::after {
    content: "";
    position: absolute;
    width: 62px;
    height: 34px;
    border: 3px solid #ff2ead;
    border-left-color: transparent;
    border-radius: 14px;
    transform: rotate(22deg);
}

.gw-seal-platform-card::before {
    right: -20px;
    top: 42px;
    border-color: #ffb328;
    border-left-color: transparent;
}

.gw-seal-platform-card::after {
    left: -20px;
    bottom: 24px;
}

.gw-seal-platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(16,24,40,0.12);
}

.gw-seal-platform-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0070d1, #00b894);
    color: #fff;
    font-size: 1.55rem;
    font-weight: 900;
    text-align: center;
}

.gw-seal-platform-card--playstation span { background: #0057b8; }
.gw-seal-platform-card--xbox span { background: #107c10; }
.gw-seal-platform-card--nintendo span { background: #e60012; }

@media (max-width: 1100px) {
    .gw-seal-discovery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .gw-seal-section,
    .gw-seal-discovery {
        width: min(100% - 20px, 1420px);
    }

    .gw-seal-track {
        grid-auto-columns: minmax(245px, 78vw);
    }

    .gw-seal-category-grid,
    .gw-seal-platform-grid {
        grid-template-columns: 1fr;
    }

    .gw-seal-arrow {
        display: none;
    }
}

/* Mobile navigation */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(16,24,40,0.12);
    border-radius: 999px;
    background: #fff;
    color: #101828;
    box-shadow: 0 10px 24px rgba(16,24,40,0.08);
}

@media (max-width: 768px) {
    .site-header {
        height: auto;
        min-height: var(--header-height);
    }

    .site-header .container,
    .site-header .header-inner {
        position: relative;
        min-height: var(--header-height);
        padding: 0 16px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .mobile-menu-toggle.active {
        background: linear-gradient(135deg, #0070d1, #00b894);
        color: #fff;
        border-color: transparent;
    }

    .main-navigation {
        display: none;
    }

    .main-navigation.active {
        position: fixed;
        top: calc(var(--header-height) + 10px);
        left: 12px;
        right: 12px;
        z-index: 1200;
        display: block;
        padding: 12px;
        border: 1px solid rgba(16,24,40,0.08);
        border-radius: 22px;
        background: rgba(255,255,255,0.96);
        box-shadow: 0 24px 70px rgba(16,24,40,0.22);
        backdrop-filter: blur(18px);
    }

    .main-navigation.active ul {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 0;
        list-style: none;
    }

    .main-navigation.active li {
        border: 0;
    }

    .main-navigation.active a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 46px;
        padding: 0 14px;
        border-radius: 14px;
        color: #101828 !important;
        font-size: 1.5rem;
        font-weight: 800;
    }

    .main-navigation.active a:hover,
    .main-navigation.active .current-menu-item > a {
        background: linear-gradient(135deg, rgba(0,112,209,0.1), rgba(0,184,148,0.12));
        color: #007467 !important;
    }

    .main-navigation.active .sub-menu {
        margin: 4px 0 6px 12px;
        padding-left: 8px;
        border-left: 2px solid rgba(0,184,148,0.2);
    }
}

/* WooCommerce account redesign */
.woocommerce-account .gw-commerce-shell,
.woocommerce-account main.site-main,
.woocommerce-account .entry-content {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.woocommerce-account.logged-in .woocommerce {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    color: #101828;
    width: min(1180px, calc(100vw - 32px));
    margin: 72px auto 96px;
}

.woocommerce-account:not(.logged-in) .woocommerce {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 56px 0 70px;
}

.woocommerce-account:not(.logged-in) .woocommerce > h2 {
    margin: 0 0 26px;
    color: #101828;
    font-size: clamp(3.4rem, 4vw, 5.2rem);
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
    display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account form.lost_reset_password,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
    border: 1px solid rgba(16,24,40,0.08) !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 18px 46px rgba(16,24,40,0.08) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    width: 100% !important;
    float: none !important;
    padding: 12px !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
    min-height: 240px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    color: #344054;
    font-size: 1.4rem;
    font-weight: 900;
    white-space: normal;
    overflow-wrap: anywhere;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: linear-gradient(135deg, #0070d1, #00b894);
    color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account form.lost_reset_password {
    padding: 28px !important;
    color: #475467;
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login,
.woocommerce-account:not(.logged-in) .woocommerce-form-register,
.woocommerce-account:not(.logged-in) form.lost_reset_password {
    width: min(100%, 460px);
    padding: 34px !important;
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login .form-row,
.woocommerce-account:not(.logged-in) .woocommerce-form-register .form-row {
    width: 100%;
}

.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 16px;
}

.woocommerce-account .woocommerce-MyAccount-content p {
    color: #475467;
    font-size: 1.5rem;
}

.woocommerce-account h1,
.woocommerce-account h2,
.woocommerce-account h3,
.woocommerce-account legend {
    color: #101828;
    font-weight: 900;
    letter-spacing: 0;
}

.woocommerce-account .woocommerce form .form-row label {
    color: #344054;
    font-size: 1.35rem;
    font-weight: 900;
}

.woocommerce-account .woocommerce form .form-row input.input-text,
.woocommerce-account .woocommerce form .form-row textarea,
.woocommerce-account .woocommerce form .form-row select {
    min-height: 46px;
    border: 1px solid rgba(16,24,40,0.12) !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #101828 !important;
    padding: 0 14px;
}

.woocommerce-account .woocommerce form .form-row textarea {
    min-height: 120px;
    padding-top: 12px;
}

.woocommerce-account .woocommerce button.button,
.woocommerce-account .woocommerce a.button,
.woocommerce-account .woocommerce input.button {
    border-radius: 999px !important;
    background: linear-gradient(135deg, #0070d1, #00b894) !important;
    color: #fff !important;
    font-weight: 900 !important;
    box-shadow: 0 14px 26px rgba(0,112,209,0.18);
}

.woocommerce-account .woocommerce table.shop_table {
    border-color: rgba(16,24,40,0.08) !important;
    background: #fff !important;
    box-shadow: none;
}

.woocommerce-account .woocommerce table.shop_table th {
    color: #101828;
}

.woocommerce-account .woocommerce table.shop_table td {
    color: #475467;
}

.woocommerce-account .woocommerce-Address {
    padding: 18px;
    border: 1px solid rgba(16,24,40,0.08);
    border-radius: 18px;
    background: #f8fafc;
}

@media (max-width: 860px) {
    .woocommerce-account.logged-in .woocommerce {
        grid-template-columns: 1fr;
        width: min(100% - 20px, 1180px);
        margin: 32px auto 64px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        position: static;
    }

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

@media (max-width: 520px) {
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }
}
