/********** Template CSS **********/
:root {
    --gm-orange: #f5660a;
    --gm-orange-dark: #e95108;
    --gm-navy: #10213a;
    --gm-muted: #647187;
    --primary: var(--gm-orange);
    --primary-dark: var(--gm-orange-dark);
    --primary-light: #fff0e4;
    --secondary: #fba504;
    --orange: var(--gm-orange);
    --orange-light: #fff0e4;
    --light: #f6f4f9;
    --dark: var(--gm-navy);
    --text: #626b7b;
    --muted: var(--gm-muted);
    --border: #e7e2dc;
    --bg: #fff9f1;
    --white: #fff;
    --radius: 18px;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #e4e2e8;;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 100px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 70px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 65px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-nav .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .navbar-light .btn {
        color: var(--dark);
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .btn {
        color: var(--dark);
        background: var(--secondary);
    }
}


/*** Hero Header ***/
.hero-header {
    margin-bottom: 6rem;
    padding: 10rem 0;

    background-image: url('/img/girl_home.jpg');
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png),
        url(../img/bg-bottom.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center,
        center bottom;
    background-repeat: no-repeat;
}

.hero-header {
    background-image: url('/img/girl_home.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Media query for smaller screens */
@media (max-width: 991.98px) {
    .hero-header {
        padding: 6rem 0 9rem 0;
        background-image: url('/img/girl_home.jpg'); /* Optional: use a different image for mobile */
        background-size: cover;
        background-position: center;
    }
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 500;
    text-transform: uppercase;
}

.section-title span:first-child,
.section-title span:last-child {
    position: relative;
    display: inline-block;
    margin-right: 30px;
    width: 30px;
    height: 2px;
}

.section-title span:last-child {
    margin-right: 0;
    margin-left: 30px;
}

.section-title span:first-child::after,
.section-title span:last-child::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 2px;
    top: 0;
    right: -20px;
}

.section-title span:last-child::after {
    right: auto;
    left: -20px;
}

.section-title.text-primary span:first-child,
.section-title.text-primary span:last-child,
.section-title.text-primary span:first-child::after,
.section-title.text-primary span:last-child::after {
    background: var(--primary);
}

.section-title.text-secondary span:first-child,
.section-title.text-secondary span:last-child,
.section-title.text-secondary span:first-child::after,
.section-title.text-secondary span:last-child::after {
    background: var(--secondary);
}

.section-title.text-white span:first-child,
.section-title.text-white span:last-child,
.section-title.text-white span:first-child::after,
.section-title.text-white span:last-child::after {
    background: #FFFFFF;
}


/*** Feature ***/
.feature-item {
    transition: .5s;
}

.feature-item:hover {
    margin-top: -15px;
}


/*** About ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Fact ***/
.fact {
    margin: 6rem 0;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat: no-repeat;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: var(--light);
    overflow: hidden;
    transition: .5s;
}

.service-item:hover {
    margin-top: -15px;
    padding-bottom: 60px;
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: url(../img/blob-primary.png) center center no-repeat;
    background-size: contain;
    transition: .5s;
}

.service-item:hover .service-icon {
    color: var(--dark);
    background: url(../img/blob-secondary.png) center center no-repeat;
    background-size: contain;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-item a.btn {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px 40px 0 0;
    transition: .5s;
    z-index: 1;
}

.service-item a.btn:hover {
    color: var(--dark);
    background: var(--secondary);
}

.service-item:hover a.btn {
    bottom: 0;
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(98, 34, 204, .9);
    transition: .5s;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}


/*** Newsletter ***/
.newsletter {
    margin: 6rem 0;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat: no-repeat;
}


/*** Testimonial ***/
.testimonial-carousel .testimonial-item {
    padding: 0 30px 30px 30px;
}

.testimonial-carousel .owl-nav {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 60px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}


/*** Team ***/
.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    margin-top: 6rem;
    padding-top: 9rem;
    background:
        url(../img/bg-top.png),
        url(../img/map.png);
    background-position:
        center top,
        center center;
    background-repeat: no-repeat;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "›";
    font-family: inherit;
    font-size: 1.2em;
    font-weight: 700;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--secondary);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--secondary);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Montserrat, "Segoe UI", sans-serif;
    color: var(--dark);
    background: #bb2b2b;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

button,
input {
    font-family: inherit;
}

/* TOP BAR */

.topbar {
    height: 34px;
    background: #8f0a27;
    border-bottom: 1px solid var(--border);
    color: #fff;
    font-size: 12px;
}

.topbar-inner {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-links {
    display: flex;
    gap: 22px;
}

.top-links span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-links svg {
    width: 12px;
    height: 12px;
    color: var(--primary);
}


/* HEADER */

.site-header {
    background: rgba(187, 24, 37, 0.97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.header-main {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 28px;
}


/* BRAND */

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand {
    min-width: 220px;
}

.brand-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-info strong,
.footer-brand strong {
    display: block;
    color: #d6cd25;
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
}

.brand-info strong span,
.footer-brand strong span {
    color: var(--orange);
}

.brand-info small,
.footer-brand small {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
}


/* SEARCH */

.search-wrapper {
    height: 46px;
    flex: 1;
    max-width: 530px;
    display: flex;
    align-items: center;
    border: 1px solid #e4e1eb;
    border-radius: 13px;
    background: #fbfaff;
    overflow: hidden;
}

.search-wrapper > svg {
    width: 18px;
    margin-left: 15px;
    color: #ee5cf6;
}

.search-wrapper input {
    flex: 1;
    height: 100%;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--dark);
    font-size: 12px;
}

.search-wrapper button {
    height: 34px;
    margin-right: 5px;
    padding: 0 15px;
    border: 0;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

  
/* ACTIONS */

.header-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.header-action {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}



.storefront-site .book-image .product-format-badge {
    background: transparent !important;
    padding: 2px 5px !important;
    border-radius: 4px;
    font-weight: 800;
    z-index: 10;
    font-size: 12px !important;
}

.storefront-site .book-image .ebook-badge {
    color: #fff !important;
    background: #220ad4 !important;
}

.storefront-site .book-image .hardcopy-badge {
    color: #fff !important;
    background: #d40a0a !important;
}


.cart-action b {
    position: absolute;
    left: 24px;
    top: -6px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #bc2c2c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
}

.mobile-menu-btn {
    display: none;
    border: 0;
    background: transparent;
}


/* NAV */

.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    z-index: 900;
    position: relative;
}

.nav-list {
    min-height: 51px;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    height: 51px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #1c1c1e;
    font-size: 18px;
    font-weight: 600;
}

.nav-list > li > a svg {
    width: 13px;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--primary);
}

.offer-link {
    color: var(--orange) !important;
}

.offer-link span {
    margin-left: 2px;
    padding: 3px 5px;
    border-radius: 4px;
    background: var(--orange-light);
    font-size: 7px;
}


/* MEGA MENU */

.mega-menu {
    position: absolute;
    left: 0;
    top: 51px;
    width: 680px;
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 25px 60px rgba(40,25,80,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .25s;
}

.has-menu:hover .mega-menu,
.has-menu:hover .category-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu h6 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 800;
}

.mega-menu a,
.category-menu a {
    display: block;
    padding: 6px 0;
    color: #707181;
    font-size: 14px;
}

.mega-menu a:hover,
.category-menu a:hover {
    color: var(--primary);
}

.category-menu {
    position: absolute;
    left: 0;
    top: 51px;
    width: 220px;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 25px 60px rgba(40,25,80,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .25s;
}


/* HERO */
/* HERO SLIDER */
 
.hero-slider {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    background: #f4f1fa;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.heroSwiper .swiper-wrapper {
    height: 100%;
}

.heroSwiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.heroSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    animation: heroZoom 7s ease-in-out infinite alternate;
}

.heroSwiper .hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.06);
    }
}


/* HERO CONTENT */

.hero-offer {
    position: absolute;
    top: 50%;
    left: 8%;
    z-index: 5;
    max-width: 520px;
    transform: translateY(-50%);
    color: #fff;
}

.hero-offer span {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    margin-bottom: 14px;
    border-radius: 5px;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.hero-offer h2 {
    margin: 0;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero-offer p {
    margin: 12px 0 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-offer .hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35x;
    margin-top: 22px;
    padding: 0 22px;
    border: 0;
    border-radius: 7px;
    background: #fff;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
}

.hero-offer .hero-btn:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-2px);
}


/* NAVIGATION */

.heroSwiper .swiper-button-prev,
.heroSwiper .swiper-button-next {
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(5px);
    color: #fff;
    transition: all 0.25s ease;
}

.heroSwiper .swiper-button-prev {
    left: 20px;
}

.heroSwiper .swiper-button-next {
    right: 20px;
}

.heroSwiper .swiper-button-prev:hover,
.heroSwiper .swiper-button-next:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.heroSwiper .swiper-button-prev::after,
.heroSwiper .swiper-button-next::after {
    font-size: 14px;
    font-weight: 900;
}


/* PAGINATION */

.heroSwiper .swiper-pagination {
    bottom: 18px;
    z-index: 6;
}

.heroSwiper .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 4px !important;
    border-radius: 10px;
    background: #fff;
    opacity: 0.65;
    transition: all 0.25s ease;
}

.heroSwiper .swiper-pagination-bullet-active {
    width: 25px;
    background: var(--orange);
    opacity: 1;
}


/* TABLET */

@media (max-width: 1050px) {

    .hero-slider {
        height: 390px;
    }

    .hero-offer {
        left: 7%;
    }

    .hero-offer h2 {
        font-size: 50px;
    }

}


/* MOBILE */

@media (max-width: 800px) {

    .hero-slider {
        height: 300px;
    }

    .hero-offer {
        left: 6%;
        max-width: 75%;
    }

    .hero-offer span {
        padding: 6px 11px;
        margin-bottom: 9px;
        font-size: 9px;
    }

    .hero-offer h2 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .hero-offer p {
        margin-top: 8px;
        font-size: 14px;
    }

    .hero-offer .hero-btn {
        min-height: 36px;
        margin-top: 13px;
        padding: 0 16px;
        font-size: 11px;
    }

    .heroSwiper .swiper-button-prev,
    .heroSwiper .swiper-button-next {
        width: 32px;
        height: 32px;
        margin-top: -16px;
    }

    .heroSwiper .swiper-button-prev {
        left: 10px;
    }

    .heroSwiper .swiper-button-next {
        right: 10px;
    }

    .heroSwiper .swiper-button-prev::after,
    .heroSwiper .swiper-button-next::after {
        font-size: 11px;
    }

}


/* SMALL MOBILE */

@media (max-width: 500px) {

    .hero-slider {
        height: 240px;
    }

    .hero-offer {
        left: 5%;
        max-width: 82%;
    }

    .hero-offer span {
        padding: 5px 9px;
        margin-bottom: 7px;
        font-size: 8px;
        letter-spacing: 0.8px;
    }

    .hero-offer h2 {
        font-size: 31px;
    }

    .hero-offer p {
        margin-top: 6px;
        font-size: 12px;
    }

    .hero-offer .hero-btn {
        min-height: 32px;
        margin-top: 10px;
        padding: 0 13px;
        font-size: 10px;
    }

    .heroSwiper .swiper-pagination {
        bottom: 10px;
    }

    .heroSwiper .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }

    .heroSwiper .swiper-pagination-bullet-active {
        width: 19px;
    }

    .heroSwiper .swiper-button-prev,
    .heroSwiper .swiper-button-next {
        display: none;
    }

}


/* COMMON */

.section {
    padding: 18px 0;
}

.section-heading {
    margin-bottom: 30px;
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.section-heading.centered {
    justify-content: center;
    text-align: center;
}

.section-heading span {
    color: var(--primary);
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 900;
}

.section-heading h2 {
    margin: 6px 0 0;
    color: var(--dark);
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -1px;
    font-weight: 800;
}

.section-heading p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.section-heading > a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
}

.section-heading > a svg {
    width: 14px;
}

.popular-section {
    padding-top: 10px;
    background: #fff;
}

.popular-section > .container {
    width: 100%;
    max-width: none;
    padding-right: clamp(16px, 3vw, 54px);
    padding-left: clamp(16px, 3vw, 54px);
}

.popularSwiper {
    width: 100%;
    padding: 5px 0 35px;
}

.popularSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.popularSwiper .swiper-button-prev,
.popularSwiper .swiper-button-next {
    top: 42%;
    width: 40px;
    height: 40px;
    border: 1px solid #f3c6a6;
    border-radius: 50%;
    background: #fff;
    color: var(--gm-orange-dark);
    box-shadow: 0 5px 16px rgba(16, 33, 58, .14);
    transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.popularSwiper .swiper-button-prev {
    left: 0;
}

.popularSwiper .swiper-button-next {
    right: 0;
}

.popularSwiper .swiper-button-prev::after,
.popularSwiper .swiper-button-next::after {
    font-size: 14px;
    font-weight: 800;
}

.popularSwiper .swiper-button-prev:hover,
.popularSwiper .swiper-button-next:hover {
    border-color: var(--gm-orange-dark);
    background: var(--gm-orange-dark);
    color: #fff;
}

.popularSwiper .swiper-button-disabled {
    opacity: .35;
}

@media (max-width: 575.98px) {
    .popularSwiper .swiper-button-prev,
    .popularSwiper .swiper-button-next {
        width: 34px;
        height: 34px;
    }

    .popularSwiper .swiper-button-prev::after,
    .popularSwiper .swiper-button-next::after {
        font-size: 12px;
    }
}


/* BOOK CARD */
.book-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e9e2f0;
    border-radius: 12px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.book-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(64, 35, 100, .10);
}

/* IMAGE */
.book-image {
    height: 225px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 12px;
    background: linear-gradient(145deg, #f5f0ff, #fff8f0);
}

.book-image > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-image img {
    width: 100%;
    height: 100%;
    max-width: 180px;
    object-fit: contain;
    border-radius: 4px;
    filter: drop-shadow(0 5px 7px rgba(40, 25, 60, .13));
    transition: transform .2s ease;
}

.book-card:hover .book-image img {
    transform: scale(1.035);
}

/* BADGES */
.discount,
.new-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 2;
    padding: 5px 7px;
    border-radius: 5px;
    background: #c62828;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.new-badge {
    background: #59339b;
}

/* WISHLIST */
.wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8e0ef;
    border-radius: 50%;
    background: #fff;
    color: #59339b;
    cursor: pointer;
    transition: .2s ease;
}

.wishlist-btn svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.8;
}

.wishlist-btn:hover {
    color: #c62828;
    border-color: #f0c5ca;
    background: #fff5f5;
}


.book-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e9e5ed;
    border-radius: 11px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.book-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(49, 30, 77, .10);
}

/* IMAGE */
.book-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 225px;
    flex-shrink: 0;
    padding: 7px;
    overflow: hidden;
    background: #f2f2f2;
    border-radius: 10px;
}

.book-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.book-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
    transition: transform .2s ease;
}

.book-card:hover .book-image img {
    transform: scale(1.025);
}

/* DISCOUNT BADGE */
.discount {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    padding: 5px 7px;
    border-radius: 5px;
    background: #c62828;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
}

/* WISHLIST */
.wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    padding: 0;
    border: 1px solid #e7e0ec;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: #59339b;
    cursor: pointer;
}

.wishlist-btn svg {
    width: 17px;
    height: 17px;
}

.wishlist-btn:hover {
    color: #c62828;
    background: #fff4f4;
}

.wishlist-btn.active {
    color: #c62828;
    border-color: #f0c5ca;
    background: #fff4f4;
}

.wishlist-btn.active svg path {
    fill: currentColor;
}

.book-rating {
    position: absolute;
    bottom: 6px;
    right: 6px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .12);
}

.rating-star {
    width: 15px;
    height: 15px;
    color: #159447;
    flex-shrink: 0;
}

.rating-value {
    color: #333;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}


/* DETAILS */
.book-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 9px 9px;
}

.book-category {
    margin-bottom: 3px;
    color: #6543a0;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.book-info h3 {
    margin: 0 0 3px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.book-info h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.book-info h3 a:hover {
    color: #59339b;
}

/* DISCOUNT */
.discount-text {
    margin: 0 0 3px;
    color: #078443;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

/* PRICE */
.price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    margin: 0;
}

.price-row del {
    color: #858585;
    font-size: 13px;
    line-height: 1.3;
}

.price-row strong {
    color: #333;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

/* STOCK */
.stock-status {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.stock-status svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.in-stock {
    color: #168447;
}

.out-stock {
    color: #c62828;
}

/* BUTTONS */
.book-buttons {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: auto;
    padding-top: 9px;
}

.book-buttons form {
    display: flex;
    min-width: 0;
    margin: 0;
}

.btn-cart,
.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    min-height: 35px;
    padding: 6px 5px;
    border: 0px solid transparent;
    border-radius: 6px;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.btn-cart {

    background: #59339b !important;
    color: #fff !important;
}

.btn-cart:hover:not(:disabled) {

    background: #402270;
    color: #fff;
}

.btn-buy {
    border-color: #efe5e5 !important;
    background: #f7f4f4 !important;
    color: #000 !important;
}

.btn-buy:hover {

    background: #f5f7f8;
    color: #040404 !important;


}

.btn-cart svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.btn-cart:disabled,
.btn-buy.is-disabled {
    opacity: .5;
    cursor: not-allowed;
}

@media (max-width: 400px) {
    .book-image {
        height: 195px;
    }

    .book-info {
        padding: 7px 7px 8px;
    }

    .book-info h3 {
        font-size: 13px;
    }

    .discount-text {
        font-size: 15px;
    }

    .price-row strong {
        font-size: 16px;
    }

    .price-row del {
        font-size: 12px;
    }

    .book-buttons {
        gap: 4px;
        padding-top: 7px;
    }

    .btn-cart,
    .btn-buy {
        min-height: 34px;
        gap: 3px;
        padding: 5px 3px;
        font-size: 9px;
    }
}

/* Customer storefront theme matches the login page's orange, navy and Montserrat system. */
.storefront-site {
    color: var(--gm-navy);
    font-family: Montserrat, "Segoe UI", sans-serif;
}

.storefront-site .main-content h1,
.storefront-site .main-content h2,
.storefront-site .main-content h3,
.storefront-site .main-content h4,
.storefront-site .main-content h5,
.storefront-site .main-content h6 {
    color: var(--gm-navy);
    font-family: Montserrat, "Segoe UI", sans-serif;
}


.brand-info strong span,
.header-action:hover,
.mobile-menu-btn {
    color: #ffe1c5;
}

.header-profile-menu a:hover,
.header-profile-menu form button:hover {
    background: #fff4e9;
    color: var(--gm-orange-dark);
}

.book-card-author {
    overflow: hidden;
    margin: 0 0 5px;
    color: #718096;
    font-size: .7rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .main-nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: none !important;
    }
}

.storefront-site .main-content .store-page {
    padding: 32px 0 48px;
    background: #fff;
}

.storefront-site .main-content .store-page-header {
    margin: 0 0 18px;
    padding: 0;
}

.storefront-site .main-content .store-page-header h1 {
    margin-bottom: 4px;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.book-card,
.storefront-site .main-content .card,
.storefront-site .main-content .store-card,
.storefront-site .main-content .order-card,
.storefront-site .main-content .summary-card,
.storefront-site .main-content .profile-card {
    border-color: #eee5dc;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(44, 32, 24, .08);

}

.book-card:hover {
    box-shadow: 0 14px 34px rgba(44, 32, 24, .14);
}

.book-image {
    background: linear-gradient(145deg, #fff5eb, #fffaf6);
}

.book-category,
.book-info h3 a:hover,
.book-identifier,
.flash-book-id {
    color: var(--gm-orange-dark);
}

.wishlist-btn {
    color: var(--gm-orange-dark);
}

.book-info {
    padding: 12px;
}

.book-info h3 {
    min-height: 38px;
    font-family: Montserrat, "Segoe UI", sans-serif;
}

.book-card {
    box-sizing: border-box;
    height: auto;
}

.book-image {
    box-sizing: border-box;
    height: 225px;
}

.book-info {
    flex: 0 0 auto;
    min-height: 0;
    padding: 8px 12px 10px;
}

.book-info h3 {
    min-height: 0;
}

.book-identifier,
.flash-book-id {
    margin: 0 0 6px;
    font-size: 10px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

[data-offer-end][hidden] {
    display: none !important;
}



.flash-banner {
    background:
        radial-gradient(ellipse at 75% 100%, rgba(255, 196, 148, .38), transparent 45%),
        linear-gradient(125deg, #c8d115 0%, #71300e 52%, #e95108 100%);
    box-shadow: 0 18px 45px rgba(102, 45, 11, .16);
}

.flash-book {
    padding: 8px;
    border-color: #f1e3d8;
    background: #fff;
    color: var(--gm-navy);
}

.flash-book:hover {
    color: var(--gm-navy);
}

.flash-book-cover {
    background: #fff8f1;
}

.flash-book-info h3,
.flash-book-price strong,
.flash-book-link {
    color: var(--gm-navy);
}

.flash-book-info h3 {
    font-family: Montserrat, "Segoe UI", sans-serif;
}

.product-detail-layout {
    grid-template-columns: minmax(250px, .88fr) minmax(280px, 1.1fr) minmax(260px, .82fr);
    gap: 16px;
}

.product-gallery,
.product-information,
.product-purchase-card {
    border-color: #eee5dc;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(44, 32, 24, .08);
}

.product-main-image {
    background: #fff8f1;
}

.product-information h1,
.product-price strong,
.product-book-id {
    color: var(--gm-navy);
}

.product-book-id {
    margin: 8px 0 14px;
    font-size: 12px;
    font-weight: 600;
}

.product-thumbnail.is-active {
    border-color: var(--gm-orange);
}

.product-quantity-label {
    display: block;
    margin-bottom: 5px;
    color: var(--gm-navy);
    font-size: 12px;
    font-weight: 700;
}

.product-quantity {
    max-width: 100px;
    margin-bottom: 8px;
}

.product-image-dialog {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #101725;
    color: #fff;
}

.product-image-dialog[open] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
}

.product-image-dialog-toolbar {
    grid-row: 1;
    grid-column: 1 / -1;
}

.product-image-dialog.has-thumbnails[open] {
    grid-template-columns: 76px minmax(0, 1fr);
}

.product-image-dialog::backdrop {
    background: #101725;
}

.product-image-dialog-toolbar {
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 58px;
    padding: 10px 18px;
    background: rgba(16, 23, 37, .96);
}

.product-image-dialog-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
} 
 
.product-image-dialog-stage {
    position: relative;
    display: grid; 
    grid-row: 2;
    grid-column: 2;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    place-items: center;
    touch-action: none;
    overscroll-behavior: contain;
    user-select: none;
    -webkit-user-select: none;
}

.product-image-dialog:not(.has-thumbnails) .product-image-dialog-stage {
    grid-column: 1 / -1;
}

.product-image-dialog-swiper,
.product-image-dialog-swiper .swiper-wrapper,
.product-image-dialog-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.product-image-dialog-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-dialog-swiper .swiper-wrapper {
    transition-timing-function: ease;
}

.product-image-dialog img[data-image-preview] {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: center;
    will-change: transform;
    cursor: grab;
    -webkit-user-drag: none;
}

.product-image-dialog img[data-image-preview].is-panning {
    cursor: grabbing;
}

.product-image-dialog-nav {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--gm-navy);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
    cursor: pointer;
}

.product-image-dialog-prev {
    left: 16px;
}

.product-image-dialog-next {
    right: 16px;
}

.product-image-dialog-controls {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 4px;
}

.product-image-dialog-controls button {
    display: grid;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 6px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.product-image-dialog-controls button:hover,
.product-image-dialog-nav:hover {
    background: #fff;
    color: var(--gm-orange-dark);
}

.product-image-dialog-thumbnails {
    display: flex;
    grid-row: 2;
    grid-column: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    padding: 10px 8px;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(16, 23, 37, .96);
}

.product-image-dialog-thumbnails button {
    flex: 0 0 auto;
    width: 46px;
    height: 50px;
    padding: 2px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 6px;
    background: #fff;
    opacity: .7;
    cursor: pointer;
}

.product-image-dialog-thumbnails button[aria-pressed="true"] {
    border: 2px solid var(--gm-orange);
    opacity: 1;
}

.product-image-dialog-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image-dialog-close {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .product-image-dialog-toolbar {
        min-height: 48px;
        gap: 5px;
        padding: 6px 8px;
    }

    .product-image-dialog-stage {
        min-height: 0;
    }

    .product-image-dialog.has-thumbnails[open] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr) auto;
    }

    .product-image-dialog.has-thumbnails .product-image-dialog-stage,
    .product-image-dialog:not(.has-thumbnails) .product-image-dialog-stage {
        grid-column: 1;
    }

    .product-image-dialog-thumbnails {
        grid-row: 3;
        grid-column: 1;
        flex-direction: row;
        justify-content: center;
        gap: 6px;
        padding: 5px 10px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .product-image-dialog-nav {
        width: 38px;
        height: 38px;
    }

    .product-image-dialog-prev {
        left: 8px;
    }

    .product-image-dialog-next {
        right: 8px;
    }

}

.cart-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 145px;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid #eee5dc;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(44, 32, 24, .07);
    transition: box-shadow .2s ease, transform .2s ease;
}

.cart-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(44, 32, 24, .12);
}

.cart-book-cover {
    display: grid;
    width: 112px;
    height: 146px;
    place-items: center;
    border-radius: 10px;
    background: #fff8f1;
}

.cart-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-label,
.cart-subtotal-label {
    color: var(--gm-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cart-book-details h2 {
    margin: 4px 0;
    font-size: 15px;
}

.cart-book-id {
    margin: 0 0 7px;
    color: var(--gm-muted);
    font-size: 11px;
}

.cart-item-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.cart-item-price strong,
.cart-item-summary > strong {
    color: var(--gm-navy);
    font-size: 15px;
}

.cart-item-price del {
    color: var(--gm-muted);
    font-size: 12px;
}

.qty-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px;
    border: 1px solid #eee5dc;
    border-radius: 999px;
    background: #fffaf6;
}

.qty-box button {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff0e4;
    color: var(--gm-orange-dark);
    font-size: 18px;
    cursor: pointer;
}

.qty-box button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.qty-box span {
    min-width: 20px;
    color: var(--gm-navy);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.cart-item-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cart-remove-button {
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: #a13a2b;
    font-size: 12px;
    font-weight: 600;
}

.cart-empty-state {
    padding: 42px 18px;
    border: 1px dashed #e8d7c8;
    border-radius: 16px;
    background: #fffaf6;
    text-align: center;
}

.cart-empty-state[hidden] {
    display: none;
}

.cart-empty-state > i {
    color: var(--gm-orange);
    font-size: 36px;
}

.cart-empty-state h2 {
    margin: 10px 0 5px;
    font-size: 20px;
}

.cart-empty-state p {
    color: var(--gm-muted);
}

.profile-avatar {
    background: var(--gm-orange-dark);
}

.profile-avatar-initials {
    background: var(--gm-orange-dark);
}

.storefront-site .main-content .profile-avatar,
.storefront-site .main-content .profile-avatar-initials {
    background: var(--gm-orange-dark);
}

.profile-photo-preview {
    position: relative;
}

.storefront-site .main-content .profile-photo-preview {
    position: relative;
}

.profile-photo-preview img {
    border-radius: 50%;
}

.profile-photo-trigger {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--gm-orange);
    color: #fff;
    cursor: pointer;
}

.profile-photo-select,
.profile-photo-cancel {
    padding: 6px 11px;
    border: 1px solid #e7e2dc;
    border-radius: 9px;
    color: var(--gm-orange-dark);
    font-size: 12px;
    font-weight: 600;
}

.profile-photo-select:hover,
.profile-photo-cancel:hover {
    border-color: var(--gm-orange);
    background: #fff6ed;
}

.storefront-site .main-content .profile-save-button {
    border-color: var(--gm-orange);
    background: linear-gradient(105deg, #f76c0a, #ef5609);
    color: #fff;
}

.storefront-site .main-content .profile-save-button:hover {
    border-color: var(--gm-orange-dark);
    background: var(--gm-orange-dark);
    color: #fff;
}

.storefront-site .footer {
    background: var(--gm-navy);
}

.storefront-site .footer .footer-contact a {
    min-width: 0;
    overflow-wrap: anywhere;
}

.storefront-site .footer .footer-contact svg {
    color: #ffc08e;
}

.storefront-site .footer .footer-contact .bi {
    flex: 0 0 15px;
    color: #ffc08e;
    font-size: 15px;
}

.storefront-site .footer a:hover {
    color: #ffc08e;
}

@media (max-width: 767.98px) {
    .cart-card {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .cart-book-cover {
        width: 84px;
        height: 116px;
    }

    .cart-item-summary {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid #f1e8df;
    }

    .cart-item-summary > strong {
        margin-right: auto;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }
}
/* Hardcopy Books */
/* Compact Cards */
.multiple-section .menu-card {
    padding: 14px 10px !important;
    gap: 6px !important;
    min-height: 105px;
    justify-content: center;
    border-radius: 14px !important;
}

.multiple-section .menu-card i {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 2px;
}

.multiple-section .menu-card span {
    font-size: 0.95rem;
}

/* Dark Orange - Hardcopy */
.multiple-section .hardcopy-card {
    background: #ffedd5;
    border-color: #fb923c !important;
}
.multiple-section .hardcopy-card i { color: #c2410c; }
.multiple-section .hardcopy-card span { color: #7c2d12; }

/* Dark Purple - My eBooks */
.multiple-section .my-ebooks-card {
    background: #ede9fe;
    border-color: #a78bfa !important;
}
.multiple-section .my-ebooks-card i { color: #6d28d9; }
.multiple-section .my-ebooks-card span { color: #4c1d95; }

/* Dark Rose - Solve Paper */
.multiple-section .solve-paper-card {
    background: #ffe4e6;
    border-color: #fb7185 !important;
}
.multiple-section .solve-paper-card i { color: #be123c; }
.multiple-section .solve-paper-card span { color: #881337; }

/* Dark Green - E-books */
.multiple-section .ebooks-card {
    background: #d1fae5;
    border-color: #34d399 !important;
}
.multiple-section .ebooks-card i { color: #047857; }
.multiple-section .ebooks-card span { color: #064e3b; }

/* Dark Blue - Study Materials */
.multiple-section .study-materials-card {
    background: #dbeafe;
    border-color: #60a5fa !important;
}
.multiple-section .study-materials-card i { color: #0369a1; }
.multiple-section .study-materials-card span { color: #1e3a8a; }

.multiple-section .menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .14) !important;
}
/* PAGINATION */
.popular-pagination {
    text-align: center;
}

.popular-pagination .swiper-pagination-bullet {
    background: #c9c0dc;
    opacity: 1;
}

.popular-pagination .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 10px;
    background: var(--primary);
}


/* CATEGORY */

.category-section {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    padding-top: 20px;
    padding-bottom: 20px;
}

.category-card {
    min-height: 70px;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
    /* border: 1px solid #0b25cf; */
    border-radius: 10px;
    /* background: linear-gradient(145deg, #049d4c 0%, #d8d3d7 100%); */
    background: #75d4be;
    box-shadow:
        0 2px 0 #797679;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    width: 125px;
    height: 125px;
    right: -45px;
    top: -48px;
    border-radius: 50%;
    background: var(--category-glow, #ffefe7);
    opacity: .65;
    z-index: -1;
    transition: transform .35s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: #c9caff;
    box-shadow:
        0 3px 0 #c5cac7,
        0 18px 35px rgba(72, 69, 145, 0.15);
}

.category-card:hover::before {
    transform: scale(1.4);
}

.category-card:nth-child(4n+1) {
    --category-primary: #6652d9;
    --category-secondary: #b8a9ff;
    --category-glow: #e8e2ff;
}

.category-card:nth-child(4n+2) {
    --category-primary: #087e8b;
    --category-secondary: #5ad5cc;
    --category-glow: #d8f8f3;
}

.category-card:nth-child(4n+3) {
    --category-primary: #df6a35;
    --category-secondary: #ffc08e;
    --category-glow: #fff0df;
}

.category-card:nth-child(4n+4) {
    --category-primary: #2873cf;
    --category-secondary: #91c6ff;
    --category-glow: #e0efff;
}

.category-icon {
    width: 76px;
    height: 84px;
    flex: 0 0 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 500px;
    border-radius: 16px;
    background: linear-gradient(145deg, #f1f0ff, #ffffff);
}

.category-image,
.category-image-placeholder {
    width: 76px;
    height: 84px;
    flex: 0 0 76px;
    border-radius: 5px;
    object-fit: cover;
    /* box-shadow: 4px 5px 10px rgba(32, 34, 75, .12); */
}
 
.category-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
 
}

.category-book-svg {
    width: 68px;
    height: 74px;
    overflow: visible;
    filter: drop-shadow(3px 5px 3px rgba(24, 27, 68, .2));
    transition: transform .35s ease;
}

.category-card:hover .category-book-svg {
    transform: rotate(-5deg) translateY(-3px);
}

.category-copy {
    min-width: 0;
    padding-right: 15px;
}

.category-card h3 {
    margin: 0;
    color: #222442;
    font-size: 25px;
    line-height: 1.45;
    font-weight: 800;
    overflow-wrap: anywhere;
    transition: color .3s ease;
}

.category-card:hover h3 {
    color: var(--category-primary, #6652d9);
}

.category-arrow {
    position: absolute;
    right: 13px;
    bottom: 12px;
    width: 17px;
    height: 17px;
    color: var(--category-primary, #6652d9);
    transition: transform .3s ease;
}

.category-card:hover .category-arrow {
    transform: translate(3px, -3px);
}

@media (max-width: 575.98px) {
    .category-section {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .category-card {
        min-height: 125px;
        padding: 14px 10px;
        gap: 10px;
        border-radius: 15px;
    }

    .category-image,
    .category-image-placeholder {
        width: 53px;
        height: 65px;
        flex-basis: 53px;
        border-radius: 10px;
    }

    .category-icon {
        width: 53px;
        height: 65px;
        flex-basis: 53px;
    }

    .category-book-svg {
        width: 49px;
        height: 58px;
    }

    .category-card h3 {
        font-size: 13px;
        line-height: 1.35;
    }

    .category-arrow {
        right: 8px;
        bottom: 7px;
        width: 14px;
        height: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-card,
    .category-card::before,
    .category-book-svg,
    .category-arrow,
    .category-card h3 {
        transition: none;
    }
}

.flash-products .flash-book {
    padding: 0;
}



.subcategory-page {
    min-height: 65vh;
    padding: 22px 0 65px;
    background: #f8f9fd;
    color: #24243b;
}

.store-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-bottom: 30px;
    padding: 13px 17px;
    border: 1px solid #e9eaf2;
    border-radius: 12px;
    background: #ffffff;
    font-size: 13px;
}

.store-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #65677e;
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease;
}

.store-breadcrumb a:hover {
    color: #6854d9;
}

.store-breadcrumb svg {
    width: 15px;
    height: 15px;
}

.store-breadcrumb .bi {
    font-size: 15px;
    line-height: 1;
}

.store-breadcrumb .breadcrumb-home svg {
    color: #6854d9;
}

.store-breadcrumb .breadcrumb-divider {
    width: 14px;
    height: 14px;
    color: #b4b6c8;
}

.breadcrumb-current {
    max-width: 260px;
    overflow: hidden;
    color: #282844;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.subcategory-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: #6954cf;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.subcategory-eyebrow svg {
    width: 17px;
    height: 17px;
}

.subcategory-card-arrow .bi,
.subcategory-empty .empty-icon .bi {
    font-size: 1.25rem;
    line-height: 1;
}

.header-art-circle {
    position: absolute;
    width: 175px;
    height: 175px;
    border: 1px solid rgba(110, 92, 210, .15);
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 15px 35px rgba(93, 81, 157, .08);
}

.header-book-svg {
    position: relative;
    z-index: 1;
    width: 190px;
    height: 175px;
    filter: drop-shadow(0 12px 10px rgba(48, 43, 104, .12));
    transition: transform .35s ease;
}

.subcategory-header:hover .header-book-svg {
    transform: translateY(-5px) rotate(-3deg);
}

.subcategory-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.subcategory-section-heading > div:first-child > span {
    display: block;
    margin-bottom: 7px;
    color: #7665cf;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.subcategory-section-heading h1,
.subcategory-section-heading h2 {
    margin: 0;
    color: #24243d;
    font-size: clamp(21px, 3vw, 27px);
    font-weight: 800;
}

.subcategory-count {
    padding: 8px 13px;
    border: 1px solid #e6e5f3;
    border-radius: 30px;
    background: #ffffff;
    color: #676780;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.subcategory-grid {
    --bs-gutter-y: 24px;
}

.subcategory-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e8e9f2;
    border-radius: 19px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(35, 37, 75, .045);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.subcategory-card:hover {
    transform: translateY(-6px);
    border-color: #d4cdfb;
    box-shadow: 0 17px 32px rgba(46, 41, 105, .12);
}

.subcategory-card-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background: var(--sub-bg, linear-gradient(145deg, #f0edff, #e8f7f6));
}

.subcategory-card:nth-child(4n+1) .subcategory-card-visual {
    --sub-bg: linear-gradient(145deg, #eee9ff, #f7f4ff);
    --book-cover: #7865db;
    --book-pages: #ffffff;
}

.subcategory-card:nth-child(4n+2) .subcategory-card-visual {
    --sub-bg: linear-gradient(145deg, #dff7f2, #f1fcfa);
    --book-cover: #168e89;
    --book-pages: #ffffff;
}

.subcategory-card:nth-child(4n+3) .subcategory-card-visual {
    --sub-bg: linear-gradient(145deg, #fff0e1, #fff8ef);
    --book-cover: #e47c45;
    --book-pages: #ffffff;
}

.subcategory-card:nth-child(4n+4) .subcategory-card-visual {
    --sub-bg: linear-gradient(145deg, #e3efff, #f3f8ff);
    --book-cover: #367bc9;
    --book-pages: #ffffff;
}

.subcategory-card-image {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform .5s ease;
}

.subcategory-card:hover .subcategory-card-image {
    transform: scale(1.06);
}

.subcategory-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.subcategory-book-svg {
    width: 91px;
    height: 103px;
    overflow: visible;
    filter: drop-shadow(4px 8px 5px rgba(35, 32, 77, .15));
    transition: transform .35s ease;
}

.subcategory-card:hover .subcategory-book-svg {
    transform: translateY(-5px) rotate(-5deg);
}

.subcategory-number {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 8px;
    background: rgba(255, 255, 255, .88);
    color: #34324d;
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.subcategory-card-copy {
    padding: 17px 16px 15px;
}

.subcategory-card-copy h3 {
    display: -webkit-box;
    min-height: 44px;
    margin: 0;
    overflow: hidden;
    color: #272740;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.subcategory-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f6;
    color: #7a7a91;
    font-size: 11px;
    font-weight: 650;
}

.subcategory-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 10px;
    background: #f0edff;
    color: #6c57d4;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.subcategory-card-arrow svg {
    width: 16px;
    height: 16px;
}

.subcategory-card:hover .subcategory-card-arrow {
    transform: translate(2px, -2px);
    background: #6c57d4;
    color: #ffffff;
}

.subcategory-empty {
    padding: 65px 20px;
    border: 1px solid #e9e8f3;
    border-radius: 22px;
    background: #ffffff;
    text-align: center;
}

.subcategory-empty .empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    border-radius: 22px;
    background: #f0edff;
    color: #6d58d7;
}

.subcategory-empty .empty-icon svg {
    width: 35px;
    height: 35px;
}

.subcategory-empty h2 {
    margin-bottom: 10px;
    color: #252540;
    font-size: 23px;
    font-weight: 800;
}

.subcategory-empty p {
    max-width: 440px;
    margin: 0 auto 22px;
    color: #77788e;
    font-size: 14px;
    line-height: 1.8;
}

.empty-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 17px;
    border-radius: 11px;
    background: #6d58d7;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease;
}

.empty-back-link:hover {
    background: #5240bd;
    color: #ffffff;
}

.empty-back-link svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 767.98px) {
    .subcategory-page {
        padding: 16px 0 40px;
    }

    .store-breadcrumb {
        gap: 7px;
        margin-bottom: 20px;
        padding: 11px 12px;
        font-size: 11px;
    }

    .breadcrumb-current {
        max-width: 115px;
    }

    .subcategory-header {
        min-height: auto;
        margin-bottom: 34px;
        padding: 26px 22px;
        border-radius: 19px;
    }

    .subcategory-header-art {
        flex-basis: 125px;
        height: 130px;
    }

    .header-art-circle {
        width: 120px;
        height: 120px;
    }

    .header-book-svg {
        width: 130px;
        height: 125px;
    }

    .subcategory-header-content > p {
        font-size: 13px;
        line-height: 1.7;
    }

    .subcategory-header-meta {
        gap: 8px;
        margin-top: 15px;
        font-size: 11px;
    }

    .subcategory-section-heading {
        align-items: flex-start;
    }

    .subcategory-count {
        padding: 7px 9px;
        font-size: 10px;
    }

    .subcategory-card-copy {
        padding: 13px 12px 12px;
    }

    .subcategory-card-copy h3 {
        font-size: 13px;
    }

    .subcategory-card-footer {
        margin-top: 10px;
        padding-top: 10px;
        font-size: 10px;
    }

    .subcategory-card-arrow {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }
}

@media (max-width: 480px) {
    .subcategory-header {
        padding: 23px 17px;
    }

    .subcategory-header-art {
        flex-basis: 83px;
        height: 105px;
        margin-right: -10px;
    }

    .header-art-circle {
        width: 85px;
        height: 85px;
    }

    .header-book-svg {
        width: 94px;
        height: 100px;
    }

    .subcategory-eyebrow {
        gap: 5px;
        font-size: 9px;
        letter-spacing: .9px;
    }

    .subcategory-header h1 {
        font-size: 25px;
    }

    .subcategory-header-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .subcategory-header-meta .meta-dot {
        display: none;
    }

    .subcategory-section-heading h2 {
        font-size: 19px;
    }

    .subcategory-count {
        max-width: 105px;
        white-space: normal;
        text-align: center;
    }

    .subcategory-grid {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 16px;
    }

    .subcategory-card {
        border-radius: 14px;
    }

    .subcategory-card-visual {
        aspect-ratio: 1 / .85;
    }

    .subcategory-book-svg {
        width: 69px;
        height: 80px;
    }

    .subcategory-number {
        top: 8px;
        left: 8px;
        min-width: 27px;
        height: 24px;
        font-size: 10px;
    }

    .subcategory-card-copy {
        padding: 11px 9px 10px;
    }

    .subcategory-card-copy h3 {
        min-height: 39px;
        font-size: 12px;
    }

    .subcategory-card-footer {
        gap: 4px;
        font-size: 9px;
    }

    .subcategory-card-arrow {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .subcategory-card,
    .subcategory-card-image,
    .subcategory-book-svg,
    .header-book-svg,
    .subcategory-card-arrow {
        transition: none;
    }
}


/* Flash Sell */
.offer-section {
    padding: 2px 0 5px;
    background: #fff;
}

.flash-banner {
    position: relative;
    display: grid;
    grid-template-columns: .85fr 1.5fr;
    align-items: center;
    gap: 5px;
    min-height: 290px;
    padding: 20px 10px 10px 50px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(ellipse at 75% 100%, rgba(168, 85, 247, .6), transparent 45%),
        linear-gradient(125deg, #21065e 0%, #4c13b5 55%, #7209cf 100%);
    box-shadow: 0 18px 45px rgba(76, 19, 181, .16);
}

.flash-decoration {
    position: absolute;
    width: 390px;
    right: 8%;
    top: -70px;
    z-index: -1;
    pointer-events: none;
}

.flash-content {
    position: relative;
    z-index: 2;
}

.flash-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    margin-bottom: 23px;
    border-radius: 5px;
    color: #fff;
    background: #ef3038;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.3px;
    transform: skew(-5deg);
    box-shadow: 0 6px 20px rgba(239, 48, 56, .3);
}

.flash-tag svg {
    width: 19px;
    color: #facc15;
}

.flash-offer-timer {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: -10px 0 20px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 12px;
    color: #000 !important;
    background:#facc15!important;
    font-size: 12px;
    line-height: 1.5;
    /* box-shadow: inset 0 1px rgba(255, 255, 255, .08); */
    text-transform: uppercase;
}

.flash-offer-timer > i {
    color: #fa1515;
}

.flash-offer-timer strong {
    color: #060606;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

.flash-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #e9d5ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.flash-content h2 {
    margin: 0;
    color: #fff !important;
    font-size: clamp(30px, 3.2vw, 45px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.3px;
}

.flash-content h2 span {
    color: #facc15;
}

.flash-content p {
    max-width: 340px;
    margin: 18px 0 22px;
    color: #e9ddff;
    font-size: 13px;
    line-height: 1.8;
}

.flash-shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 13px 20px;
    border-radius: 50px;
    color: #4c13b5;
    background: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: .25s ease;
}

.flash-shop-btn:hover {
    color: #4c13b5;
    background: #facc15;
    transform: translateY(-2px);
}

.flash-shop-btn svg {
    width: 17px;
}

.flash-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 27px;
}

.flash-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #e9ddff;
    font-size: 10px;
    font-weight: 700;
}

.flash-benefits svg {
    width: 17px;
    color: #facc15;
}

.flash-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 13px;
    position: relative;
    z-index: 2;
}

.flash-book {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 13px;
    color: #251044;
    background: rgba(254, 254, 254, 0.96);
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(10, 0, 35, .22);
    transition: transform .25s ease, box-shadow .25s ease;
}

.flash-book:hover {
    color: #251044;
    transform: translateY(-8px);
    box-shadow: 0 18px 30px rgba(10, 0, 35, .35);
}

.flash-discount {
    position: absolute;
    top: -11px;
    left: -8px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: #ef233c;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(239, 35, 60, .3);
}

.flash-discount small {
    margin-top: 3px;
    font-size: 9px;
}

.flash-book-cover {
    height: auto;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background: transparent;
}

.flash-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}

.flash-book:hover .flash-book-cover img {
    transform: scale(1.05);
}



.flash-lightning {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 80px;
    opacity: .85;
    pointer-events: none;
}

@media (max-width: 991px) {
    .flash-banner {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 35px;
    }

    .flash-content p {
        max-width: 480px;
    }

    .flash-products {
        gap: 15px;
    }

    .flash-book-cover {
        height: auto;
    }
}

@media (max-width: 575px) {
    .offer-section {
        padding: 12px 0 40px;
    }

    .flash-banner {
        gap: 28px;
        padding: 27px 16px;
        border-radius: 17px;
    }

    .flash-tag {
        margin-bottom: 18px;
        font-size: 11px;
    }

    .flash-content h2 {
        font-size: 33px;
    }

    .flash-content p {
        font-size: 12px;
    }

    .flash-benefits {
        gap: 12px;
    }

    .flash-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 13px;
        padding: 5px 4px;
    }

    .flash-book {
        padding: 9px;
    }

    .flash-book-cover {
        height: auto;
    }

    .flash-book-info h3 {
        font-size: 12px;
    }

    .flash-book-price strong {
        font-size: 14px;
    }

    .flash-decoration {
        right: -100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .flash-book,
    .flash-book-cover img,
    .flash-shop-btn {
        transition: none;
    }
}


/* WHY */

.why-section {
    background: var(--bg);
}

.why-card {
    height: 100%;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: #fff;
    transition: .3s;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(60,35,110,.08);
}

.why-icon {
    margin: 0 auto 15px;
}

.why-card h3 {
    margin: 0;
    font-size: 13px;
}

.why-card p {
    margin: 7px auto 0;
    max-width: 220px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}


/* REVIEWS */

.reviews-section {
    background: #fff;
}

.review-card {
    height: 100%;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: #fff;
}

.review-stars {
    color: #f59e0b;
    font-size: 12px;
    letter-spacing: 2px;
}

.review-card > p {
    min-height: 82px;
    margin: 15px 0;
    color: #686978;
    font-size: 11px;
    line-height: 1.8;
}

.review-user {
    padding-top: 15px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 9px;
}

.review-user > div {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.review-user span {
    font-size: 10px;
    font-weight: 800;
}

.review-user small {
    display: block;
    color: var(--muted);
    font-size: 8px;
}


/* NEWSLETTER */

.newsletter {
    padding: 60px 0;
    background: linear-gradient(
        110deg,
        #f3edff,
        #fff4ed
    );
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter span {
    color: var(--primary);
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 900;
}

.newsletter h2 {
    margin: 6px 0 0;
    font-size: 29px;
    font-weight: 800;
}

.newsletter p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.newsletter form {
    width: 440px;
    height: 50px;
    padding: 4px;
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(60,35,110,.08);
}

.newsletter input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 13px;
    font-size: 10px;
}

.newsletter button {
    border: 0;
    padding: 0 17px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.newsletter button svg {
    width: 13px;
}


/* FOOTER */

.footer {
    padding: 60px 0 0;
    background: #12101b;
    color: #fff;
}

.footer-brand strong {
    color: #fff;
}

.footer-brand small {
    color: #858492;
}

.footer-description {
    max-width: 330px;
    margin: 18px 0;
    color: #858492;
    font-size: 10px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 7px;
}

.social-links a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #211e2c;
    color: #b6b3c1;
}

.social-links svg {
    width: 15px;
}

.footer h4 {
    margin-bottom: 15px;
    font-size: 12px;
}

.footer .col-lg-2 > a,
.footer .col-lg-3 > a {
    display: block;
    margin-bottom: 9px;
    color: #898794;
    font-size: 10px;
}

.footer .col-lg-2 > a:hover,
.footer .col-lg-3 > a:hover {
    color: #fff;
}

.footer-contact {
    margin-bottom: 13px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #898794;
    font-size: 10px;
    line-height: 1.7;
}

.footer-contact svg {
    width: 15px;
    flex-shrink: 0;
    color: #9b78ed;
}

.footer-bottom {
    min-height: 65px;
    margin-top: 50px;
    padding: 15px 0;
    border-top: 1px solid #24212f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #666473;
    font-size: 9px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a {
    color: #777482;
}


/* TOAST */

.toast-message {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 5000;
    padding: 12px 17px;
    border-radius: 10px;
    background: #10213a;
    color: #fff;
    font-size: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
    opacity: 0;
    transform: translateY(30px);
    transition: .3s;
}

.toast-message.show {
    opacity: 1;
    transform: translateY(0);
}


/* TABLET */

@media (max-width: 1050px) {

    .header-main {
        gap: 15px;
    }

    .brand {
        min-width: 185px;
    }

    .header-actions {
        gap: 4px;
    }

    .nav-list > li > a {
        padding: 0 10px;
    }

    .hero-slider {
        height: 390px;
    }

    .offer-books {
        right: 80px;
        opacity: .7;
    }

}


/* MOBILE */

@media (max-width: 800px) {

    .topbar {
        display: none;
    }

    .header-main {
        min-height: 70px;
        flex-wrap: wrap;
        padding: 8px 0;
    }

    .brand {
        flex: 1;
        min-width: auto;
    }

    .header-actions {
        display: flex;
        align-items: center;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-wrapper {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .nav-list {
        display: block;
    }

    .nav-list > li > a {
        height: auto;
        min-height: 45px;
        border-bottom: 1px solid var(--border);
    }

    .mega-menu,
    .category-menu {
        position: static;
        width: 100%;
        display: none;
        grid-template-columns: 1fr;
        box-shadow: none;
        border-radius: 0;
    }

    .has-menu:hover .mega-menu,
    .has-menu:hover .category-menu {
        display: grid;
    }

    .hero-slider {
        height: 300px;
    }

    .heroSwiper .swiper-button-prev,
    .heroSwiper .swiper-button-next {
        width: 35px;
        height: 35px;
    }

    .section {
        padding: 15px 0;
    }

    .section-heading {
        align-items: flex-start;
        gap: 15px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .offer-banner {
        padding: 35px;
    }

    .offer-books {
        right: 20px;
        opacity: .35;
    }

    .newsletter-inner {
        display: block;
    }

    .newsletter form {
        width: 100%;
        margin-top: 20px;
    }

}


/* SMALL MOBILE */

@media (max-width: 500px) {

    .brand-info strong {
        font-size: 17px;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
    }

    .search-wrapper button {
        padding: 0 10px;
    }

    .hero-slider {
        height: 240px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > a {
        margin-top: 12px;
        display: inline-flex;
    }

    .book-image {
        height: 275px;
    }

    .book-image img {
        width: 165px;
        height: 220px;
    }

    .book-buttons {
        grid-template-columns: 1fr;
    }

    .offer-banner {
        min-height: 390px;
        padding: 30px;
    }

    .offer-content h2 {
        font-size: 31px;
    }

    .offer-percent {
        right: 20px;
        top: 25px;
    }

    .offer-percent strong {
        font-size: 42px;
    }

    .offer-books {
        right: -5px;
        bottom: -45px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom div {
        margin-top: 10px;
        flex-wrap: wrap;
        gap: 10px;
    }

}

/* Shared storefront layout rules */
body {
    color: var(--dark);
    background: #fff;
    font-family: Montserrat, "Segoe UI", sans-serif;
}

.heroSwiper .swiper-slide img {
    animation: none;
}

.container {
    width: 100%;
    max-width: 1240px;
}

.catalog-page,
.product-page {
    min-height: 65vh;
    padding: 30px 0 72px;
    background: #f8f9fd;
}

.catalog-page .store-breadcrumb,
.product-page .store-breadcrumb {
    margin-bottom: 24px;
}

.catalog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
    padding: 30px;
    border: 1px solid #efedf6;
    border-radius: 20px;
    background: linear-gradient(120deg, #fff 0%, #f5f2ff 100%);
    box-shadow: 0 8px 28px rgba(48, 37, 93, .04);
}


.catalog-sort-form {
    margin-left: auto;
}

.catalog-sort-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.catalog-sort-wrapper > i {
    position: absolute;
    left: 12px;
    z-index: 1;
    pointer-events: none;
    color: #555;
}

.catalog-sort-wrapper .form-select {
    width: 155px;
    padding-left: 34px;
    cursor: pointer;
}

@media (max-width: 576px) {
    .catalog-sort-wrapper .form-select {
        width: 145px;
    }
}


.catalog-eyebrow,
.purchase-card-eyebrow {
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.catalog-header h1 {
    margin: 8px 0 5px;
    color: #24213a;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.7px;
}

.catalog-header p {
    margin: 0;
    color: #77778b;
    font-size: 14px;
}

.catalog-search {
    display: flex;
    align-items: center;
    width: min(100%, 410px);
    min-height: 48px;
    padding: 5px 6px 5px 14px;
    border: 1px solid #e7e4ef;
    border-radius: 12px;
    background: #fff;
}

.catalog-search > i {
    color: #85839a;
}

.catalog-search input {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    border: 0;
    outline: 0;
    color: #29263c;
    font-size: 13px;
}

.catalog-search button,
.catalog-filter-submit {
    flex: 0 0 auto;
    padding: 10px 17px;
    border: 0;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 750;
}

.catalog-search button:hover,
.catalog-filter-submit:hover {
    background: var(--primary-dark);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.catalog-filters,
.catalog-results {
    min-width: 0;
    padding: 21px;
    border: 1px solid #eceaf3;
    border-radius: 16px;
    background: #fff;
}

.catalog-filters {
    position: sticky;
    top: 20px;
}

.catalog-filter-heading,
.catalog-results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.catalog-filter-heading {
    margin-bottom: 19px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0eef5;
}

.catalog-filter-heading h2,
.catalog-results-heading h2 {
    margin: 0;
    color: #29263e;
    font-size: 16px;
    font-weight: 800;
}

.catalog-filter-heading a,
.catalog-clear-link {
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
}

.catalog-filter-group {
    margin-bottom: 19px;
}

.catalog-filter-group > label {
    display: block;
    margin-bottom: 8px;
    color: #49465e;
    font-size: 12px;
    font-weight: 700;
}

.catalog-filter-group .form-select,
.catalog-price-fields input {
    min-height: 41px;
    border-color: #e8e6ef;
    border-radius: 9px;
    color: #555268;
    font-size: 12px;
}

.catalog-price-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.catalog-price-fields input {
    width: 100%;
    min-width: 0;
    padding: 8px;
    border: 1px solid #e8e6ef;
}

.catalog-filter-submit {
    width: 100%;
}

.catalog-results-heading {
    margin-bottom: 19px;
}

.catalog-results-heading p {
    margin: 5px 0 0;
    color: #89879a;
    font-size: 11px;
}

.catalog-results .book-card {
    overflow: hidden;
}

.catalog-empty {
    padding: 60px 20px;
    border: 1px dashed #dedbea;
    border-radius: 14px;
    background: #fcfbff;
    text-align: center;
}

.catalog-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 15px;
    border-radius: 18px;
    background: #f0edff;
    color: var(--primary);
    font-size: 24px;
}

.catalog-empty h2 {
    color: #29263e;
    font-size: 20px;
    font-weight: 800;
}

.catalog-empty p {
    margin: 0 0 18px;
    color: #77778b;
    font-size: 13px;
}

.catalog-empty a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(270px, .92fr) minmax(260px, 1fr) minmax(270px, .82fr);
    align-items: start;
    gap: 25px;
}

.product-gallery,
.product-information,
.product-purchase-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid #eceaf3;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(48, 37, 93, .045);
}

.product-main-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 0;
    max-height: 420px;
    overflow: hidden;
    border: 1px solid #e8e2ef;
    border-radius: 13px;
    background: #fff;
    aspect-ratio: 3 / 4;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: contain;
}

.product-preview-swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.product-preview-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-preview-swiper .swiper-slide img {
    cursor: zoom-in;
    transition: transform .2s ease;
}

.product-preview-swiper .swiper-slide img.is-zoomed {
    transform: scale(1.6);
    cursor: zoom-out;
}

.product-preview-pagination {
    bottom: 6px !important;
}

.product-gallery-label {
    position: absolute;
    z-index: 1;
    top: 13px;
    left: 13px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 20px;
    background: rgba(255, 255, 255, .83);
    color: #5e5777;
    font-size: 10px;
    font-weight: 700;
}

.product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.product-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 67px;
    height: 72px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid #e8e5ef;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
}

.product-thumbnail.is-active {
    border: 2px solid var(--primary);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-taxonomy {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 13px;
}

.product-taxonomy span {
    padding: 6px 9px;
    border-radius: 20px;
    background: #f1effb;
    color: #6652c3;
    font-size: 10px;
    font-weight: 750;
}

.product-information h1 {
    margin: 0;
    color: #252239;
    font-size: clamp(23px, 2.5vw, 31px);
    font-weight: 800;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 13px;
}

.product-rating > span:first-child {
    padding: 5px 8px;
    border-radius: 6px;
    background: #edf8f1;
    color: #21844b;
    font-size: 12px;
    font-weight: 800;
}

.product-rating i {
    font-size: 10px;
}

.product-rating > span:last-child {
    color: #89879a;
    font-size: 11px;
}

.product-short-description {
    margin: 18px 0 0;
    color: #68667a;
    font-size: 13px;
    line-height: 1.8;
}

.product-description {
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid #efedf4;
}

.product-description h2 {
    margin: 0 0 8px;
    color: #302d45;
    font-size: 14px;
    font-weight: 800;
}

.product-description p {
    margin: 0;
    color: #6f6d80;
    font-size: 12px;
    line-height: 1.85;
    white-space: pre-line;
}

.product-specifications {
    margin: 20px 0 0;
    border-top: 1px solid #efedf4;
}

.product-specifications div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f2f0f6;
    font-size: 11px;
}

.product-specifications dt {
    color: #88869a;
    font-weight: 600;
}

.product-specifications dd {
    margin: 0;
    color: #3c394f;
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}

.product-purchase-card {
    position: sticky;
    top: 20px;
}

.product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 12px;
}

.product-price strong {
    color: #252239;
    font-size: 28px;
    font-weight: 850;
}

.product-price del {
    color: #9997a7;
    font-size: 13px;
}

.product-price > span {
    padding: 5px 7px;
    border-radius: 5px;
    background: #fff0e8;
    color: #d85e1c;
    font-size: 10px;
    font-weight: 800;
}

.product-savings {
    margin: 4px 0 15px;
    color: #25814c;
    font-size: 11px;
    font-weight: 700;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 17px 0;
    font-size: 11px;
    font-weight: 700;
}

.product-stock > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.product-stock.is-in-stock {
    color: #25814c;
}

.product-stock.is-out-of-stock {
    color: #ba4e4e;
}

.product-coupon-form {
    margin: 16px 0;
    padding: 13px;
    border: 1px solid #efedf4;
    border-radius: 10px;
    background: #fcfbff;
}

.product-coupon-form label {
    display: block;
    margin-bottom: 7px;
    color: #4c4960;
    font-size: 11px;
    font-weight: 750;
}

.product-coupon-form .form-control,
.product-coupon-form .btn {
    font-size: 11px;
}

.product-coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 14px 0;
    padding: 12px;
    border: 1px solid #ccebd8;
    border-radius: 10px;
    background: #f3fbf6;
}

.product-coupon-applied div {
    display: grid;
    gap: 3px;
    font-size: 11px;
}

.product-coupon-applied strong {
    color: #21844b;
}

.product-coupon-applied span {
    color: #77778b;
}

.product-coupon-applied button {
    width: 29px;
    height: 29px;
    border: 1px solid #e7ced0;
    border-radius: 7px;
    background: #fff;
    color: #bd4141;
}

.product-signin-note {
    margin: 14px 0;
    color: #77778b;
    font-size: 11px;
}

.product-signin-note a {
    color: var(--primary);
    font-weight: 750;
}

.product-offer-timer {
    margin: 12px 0;
    color: #bd4e28;
    font-size: 11px;
}

.product-purchase-actions {
    display: grid;
    gap: 9px;
    margin-top: 14px;
}

.product-purchase-actions form {
    width: 100%;
}

.product-add-to-cart,
.product-buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 45px;
    padding: 10px 13px;
    border: 1px solid var(--primary);
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.product-add-to-cart {
    gap: 7px;
    background: #fff;
    color: var(--primary);
}

.product-add-to-cart:hover {
    background: #f5f2ff;
    color: var(--primary-dark);
}

.product-buy-now:hover {
    background: var(--primary-dark);
    color: #fff;
}

.product-add-to-cart:disabled,
.product-buy-now:disabled {
    border-color: #d8d6df;
    background: #eeedf1;
    color: #9997a2;
    cursor: not-allowed;
}

.product-delivery {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #efedf4;
}

.product-delivery summary {
    color: #37344a;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.product-delivery summary span {
    display: block;
    margin-top: 3px;
    color: #9997a7;
    font-size: 10px;
    font-weight: 500;
}

.product-address-fields {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.product-address-fields > a {
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
}

.product-address-fields label {
    display: grid;
    gap: 4px;
    color: #77758a;
    font-size: 10px;
}

.product-address-fields .form-control {
    min-height: 38px;
    font-size: 11px;
}

.product-address-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.product-shipping-note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 15px 0 0;
    padding-top: 13px;
    border-top: 1px solid #efedf4;
    color: #77758a;
    font-size: 10px;
}

.subcategory-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.subcategory-card:hover {
    color: inherit;
}

.subcategory-card {
    display: flex;
    flex-direction: column;
    border-color: #e8eaf0;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16, 33, 58, .06);
}

.subcategory-card:focus-visible {
    outline: 3px solid rgba(245, 102, 10, .45);
    outline-offset: 3px;
}

.subcategory-card:hover {
    border-color: rgba(245, 102, 10, .35);
    box-shadow: 0 16px 34px rgba(16, 33, 58, .12);
}

.subcategory-card-visual {
    aspect-ratio: 4 / 3;
    background: linear-gradient(140deg, #fff4e8, #f3f6fa);
}

.subcategory-card-visual::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(16, 33, 58, .14));
    content: "";
    pointer-events: none;
}

.subcategory-card:nth-child(4n+1) .subcategory-card-visual {
    --sub-bg: linear-gradient(145deg, #fff0e2, #fff8f1);
    --book-cover: #ef6a1a;
}

.subcategory-card:nth-child(4n+2) .subcategory-card-visual {
    --sub-bg: linear-gradient(145deg, #eaf1f8, #f5f8fb);
    --book-cover: #18334c;
}

.subcategory-card:nth-child(4n+3) .subcategory-card-visual {
    --sub-bg: linear-gradient(145deg, #fff4e8, #f8f2eb);
    --book-cover: #b94a28;
}

.subcategory-card:nth-child(4n+4) .subcategory-card-visual {
    --sub-bg: linear-gradient(145deg, #e8f0f3, #f3f7f8);
    --book-cover: #3c6d6e;
}

.subcategory-card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px 17px 15px;
}

.subcategory-card-copy h3 {
    color: #14283f;
    font-size: 15px;
    font-weight: 750;
}

.subcategory-card-footer {
    margin-top: auto;
    padding-top: 14px;
    color: #687586;
}

.subcategory-card-arrow {
    background: #fff0e4;
    color: #e95108;
}

.subcategory-card:hover .subcategory-card-arrow {
    background: #f5660a;
    color: #fff;
}

.product-main-image-nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(20, 40, 63, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--gm-navy);
    box-shadow: 0 4px 14px rgba(16, 33, 58, .18);
    cursor: pointer;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.product-main-image-nav:hover,
.product-main-image-nav:focus-visible {
    background: var(--gm-orange);
    color: #fff;
    box-shadow: 0 6px 18px rgba(16, 33, 58, .24);
}

.product-main-image-prev {
    left: 14px;
}

.product-main-image-next {
    right: 14px;
}

.product-main-image-nav .bi {
    font-size: 1.15rem;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .product-detail-layout {
        grid-template-columns: minmax(240px, .9fr) minmax(260px, 1.1fr);
    }

    .product-purchase-card {
        position: static;
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .catalog-page,
    .product-page {
        padding: 18px 0 45px;
    }

    .catalog-header {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        padding: 21px;
    }

    .catalog-search {
        width: 100%;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .catalog-filters {
        position: static;
    }

    .catalog-filters form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 12px;
    }

    .catalog-filter-submit {
        align-self: start;
    }

    .catalog-results {
        padding: 14px;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-gallery,
    .product-information,
    .product-purchase-card {
        padding: 16px;
    }

}

@media (max-width: 420px) {
    .catalog-filters form {
        grid-template-columns: 1fr;
    }

}

.topbar {
    min-height: 34px;
    height: auto;
    background: #8f0a27;
    border: 0;
}

.topbar-inner {
    min-height: 34px;
    height: auto;
    gap: 12px;
}

.top-links {
    align-items: center;
    flex-wrap: wrap;
}

.top-links span,
.top-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
}

.top-links svg {
    color: #ffd166;
}

.site-header {
    position: relative;
    background: #bb1825;
    border: 0;
}

.header-main {
    min-height: 78px;
    gap: 20px;
}

.brand {
    min-width: 230px;
    text-decoration: none;
}

.brand-icon {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius:50px;
    /* background: #fff; */
}
 
.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-info strong {
    color: #efc50b;
    font-size: 30px;
}

.brand-info strong span {
    color: #ffd166;
}

.brand-info small {
    color: rgba(255, 255, 255, .82);
    font-size: 9px;
    letter-spacing: 1.6px;
}

.header-actions {
    align-items: center;
    gap: 12px;
}

.header-action {
    min-width: 40px;
    color: #fff;
}

.header-action svg,
.mobile-menu-btn svg {
    width: 20px;
    height: 20px;
}

.header-action .bi,
.mobile-menu-btn .bi {
    font-size: 20px;
    line-height: 1;
}

.header-icon-button {
    justify-content: center;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.header-action:hover,
.mobile-menu-btn {
    color: #ffd166;
}

.header-profile {
    position: relative;
}

.header-profile-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1100;
    min-width: 170px;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(40, 25, 80, .16);
}

.header-profile-menu[hidden] {
    display: none;
}

.header-profile-menu a,
.header-profile-menu form button {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--dark);
    font: inherit;
    font-size: 13px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.header-profile-menu a:hover,
.header-profile-menu form button:hover {
    background: var(--bg);
    color: var(--primary);
}

.cart-action b {
    background: var(--orange);
}

.main-nav {
    background: #fff;
    border-color: var(--border);
}

.nav-list {
    min-height: 46px;
}

.nav-list > li > a {
    min-height: 46px;
    padding: 0 13px;
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--primary);
}

.mobile-nav-only {
    display: none;
}

.nav-logout {
    min-height: 44px;
    padding: 0 13px;
    border: 0;
    background: transparent;
    color: #a22;
}

.section {
    padding:15px 0;
}

.footer {
    margin-top: 0;
    padding: 48px 0 0;
    background: #27172f;
    color: #f8f3fa;
}

.footer h4 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.footer .footer-description,
.footer-contact {
    color: #d2c7d8;
    font-size: 13px;
}

.footer a {
    color: #e6ddeb;
}

.footer a:hover {
    color: #ffc77c;
}

.footer-bottom {
    border-color: rgba(255, 255, 255, .18);
    color: #d2c7d8;
    font-size: 12px;
}

@media (max-width: 991px) {
    .header-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .brand {
        min-width: 0;
    }

    .brand-icon {
        width: 44px;
        height: 44px;
    }

    .brand-info {
        min-width: 0;
        overflow: hidden;
    }

    .brand-info strong {
        display: block;
        overflow: hidden;
        font-size: 16px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-actions {
        justify-self: end;
        gap: 9px;
    }

    .header-profile,
    .header-actions > a[aria-label="Login"] {
        order: 3;
    }

    .header-actions > .cart-action {
        order: 2;
    }

    .header-action {
        min-width: 34px;
        font-size: 9px;
    }

    .mobile-menu-btn {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .nav-list {
        display: block;
    }

    .nav-list > li > a {
        height: auto;
        min-height: 44px;
        border-bottom: 1px solid var(--border);
    }

    .mobile-nav-only {
        display: block;
    }

    .hero-slider {
        height: 300px;
    }

    .section {
        padding: 15px 0;
    }

    .section-heading {
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 375px) {
    .topbar-inner {
        justify-content: center;
    }

    .topbar-inner > span {
        display: none;
    }

    .top-links {
        justify-content: center;
        gap: 10px;
        font-size: 10px;
    }

    .top-links span:nth-child(2) {
        display: none;
    }

    .header-main {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 8px;
    }

    .brand-info {
        min-width: 0;
    }

    .brand-info strong,
    .brand-info small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand-info strong {
        font-size: 12px;
    }

    .brand-info small {
        font-size: 7px;
    }

    .header-actions {
        gap: 5px;
    }

    .header-action {
        min-width: 30px;
    }

    .header-action span {
        font-size: 8px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > a {
        display: inline-flex;
        margin-top: 12px;
    }

    .hero-slider {
        height: 300px;
    }

    .heroSwiper .swiper-slide img {
        object-fit: contain;
    }

    .hero-offer {
        top: auto;
        bottom: 30px;
        left: 5%;
        max-width: 82%;
        transform: none;
    }

    .hero-offer h2 {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: clamp(24px, 7vw, 31px);
        line-height: 1.08;
    }

    .hero-offer p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 12px;
    }

    .hero-offer span {
        margin-bottom: 8px;
    }

    .hero-offer .hero-btn {
        margin-top: 10px;
    }

    .book-image {
        height: 275px;
    }

    .book-image img {
        width: 165px;
        height: 220px;
    }

    .book-buttons {
        grid-template-columns: 1fr;
    }
}

/* Consolidated from storefront-global.css */
.storefront-site {
    min-height: 100vh;
    color: #10213a;
    background: #fff;
    font-family: Montserrat, "Segoe UI", sans-serif;
}

.storefront-site .wrapper,
.storefront-site .main-area {
    min-height: 100vh;
}

.storefront-site .main-area {
    display: flex;
    flex-direction: column;
}

.storefront-site .main-content {
    flex: 1 0 auto;
    width: 100%;
    min-height: 45vh;
    background: #fff;
}

.storefront-site .footer {
    flex-shrink: 0;
}

.storefront-site .main-content > .container-xxl.py-5.bg-primary.d-none.d-md-block,
.storefront-site .main-content .container-xxl.py-5.bg-primary.text-white {
    display: none !important;
}

.storefront-site .main-content .container-xxl.bg-white {
    background: #fff !important;
}

.storefront-site .main-content .container-xxl.bg-light,
.storefront-site .main-content .bg-light {
    background: #fff9f1 !important;
}

.storefront-site .main-content .container-xxl.py-5:not(.hero-slider) {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
}

.storefront-site .main-content h1,
.storefront-site .main-content h2,
.storefront-site .main-content h3,
.storefront-site .main-content h4,
.storefront-site .main-content h5,
.storefront-site .main-content h6 {
    color: #0e0e0e;
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-weight: 700;
    line-height: 1.3;
    /* background:rgb(244, 240, 240); */
}

    box-shadow: 0 0 0 .2rem rgba(245, 102, 10, .13);
}

.storefront-site .main-content .auth-page,
.storefront-site .main-content.store-page.auth-page {
    padding: 64px 0;
    background: #fff9f1;
}

.storefront-site .main-content .auth-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 36px;
    border: 1px solid #eceaf2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(40, 25, 80, .1);
}

.storefront-site .main-content .auth-logo {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.storefront-site .main-content .auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    border-color: #e3dfeb;
    border-radius: 9px;
}

.storefront-site .main-content .auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #9293a0;
    font-size: 12px;
}

.storefront-site .main-content .auth-divider::before,
.storefront-site .main-content .auth-divider::after {
    height: 1px;
    flex: 1;
    background: #eceaf2;
    content: "";
}

.storefront-site .main-content .btn-auth {
    min-height: 46px;
    border-radius: 9px;
}

.storefront-site .main-content .store-page {
    padding: 56px 0 72px;
    background: #fff;
}

.storefront-site .main-content .store-page-header {
    margin-bottom: 28px;
}

.storefront-site .main-content .store-page-header h1 {
    margin-bottom: 8px;
}

.storefront-site .main-content .order-card {
    height: 100%;
    overflow: hidden;
}

.storefront-site .main-content .order-img {
    display: grid;
    height: 190px;
    place-items: center;
    background: #fff9f1;
}

.storefront-site .main-content .order-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.storefront-site .main-content .blog-hero {
    padding: 56px 0;
    background: linear-gradient(120deg, #e95108, #e95108);
    color: #fff;
}

.storefront-site .main-content .blog-hero h1,
.storefront-site .main-content .blog-hero p {
    color: #fff;
}

.storefront-site .main-content .blog-content-section {
    padding: 48px 0 64px;
    background: #fff;
}

.storefront-site .main-content .blog-content {
    color: #4e4a59;
    font-size: 16px;
    line-height: 1.8;
}

.storefront-site .main-content .blog-meta {
    margin-bottom: 24px;
    color: #777184;
}

.storefront-site .main-content .blog-meta .badge {
    background: #e95108;
}

.storefront-site .main-content .table {
    --bs-table-bg: #fff;
}

.storefront-site .main-content .table thead th {
    background: #fff0e4;
    color: #211a2c;
}

.storefront-site .main-content .pagination .page-link {
    color: #e95108;
}

.storefront-site .main-content .pagination .active .page-link {
    border-color: #e95108;
    background: #e95108;
    color: #fff;
}

@media (max-width: 575px) {
    .storefront-site .main-content .container-xxl.py-5:not(.hero-slider) {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }

    .storefront-site .main-content .auth-page,
    .storefront-site .main-content.store-page.auth-page {
        padding: 36px 0;
    }

    .storefront-site .main-content .auth-card {
        padding: 26px 20px;
        border-radius: 16px;
    }

    .storefront-site .main-content .store-page {
        padding: 36px 0 48px;
    }
}

/* Consolidated layout styles */
.active-dot {
            position: absolute;
    bottom: 2px;
    right: 2px;
            width: 10px;
            height: 10px;
            background-color: #28a745;
            border: 2px solid #fff;
            border-radius: 50%;
            box-shadow: 0 0 0 rgba(40, 167, 69, 0.7);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
            }

            70% {
                box-shadow: 0 0 0 6px rgba(40, 167, 69, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
            }
        }

        /* Desktop: initials bilkul right */
        @media (min-width: 992px) {
            .navbar .profile-initials {
                margin-left: auto;
                /* push to right */
            }
        }

        /* Mobile: initials hamburger ke bagal me right */
        @media (max-width: 991px) {
            .navbar .profile-initials {
                position: absolute;
                right: 80px;
                /* thoda andar screen se */
                top: 25px;
                /* navbar ke andar align */
            }
        }


        .btn-link.active {
            color: #d477aa !important;
            font-weight: bold;
            text-decoration: underline;
        }

        .tech-section {
            background-color: #f8f9fa;
        }

        .tech-section .highlight {
            color: #FF6B00;
            font-weight: bold;
        }

        .tech-section .subtitle {
            color: #6c757d;
            font-size: 1rem;
        }

        .tech-box {
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid #e0e0e0;
            transition: 0.3s;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        }

        .tech-box:hover {
            transform: translateY(-4px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
        }

        .tech-group-img {
            max-width: 100%;
            height: auto;
        }

        .transition-hover {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .transition-hover:hover {
            transform: translateY(-20px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        }



        /* Modal Background */
        .custom-modal {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.4);
        }

        /* Modal Content */
        .custom-modal-content {
            background-color: #fff;
            margin: 5% auto;
            padding: 30px 25px;
            border-radius: 10px;
            width: 90%;
            max-width: 400px;
            position: relative;
            animation: fadeIn 0.5s ease-in-out;
        }

        /* Close Button */
        .custom-close {
            position: absolute;
            top: 12px;
            right: 16px;
            font-size: 24px;
            cursor: pointer;
            color: #888;
        }

        .custom-close:hover {
            color: #000;
        }

        /* Form Styling */
        .contact-form {
            display: flex;
            flex-direction: column;

        }

        .contact-form .form-title {
            text-align: center;
            margin-bottom: 5px;
            font-size: 1.5rem;
            font-weight: 600;
        }

        .contact-form label {
            margin-bottom: 6px;
            font-size: 0.95rem;
        }

        .contact-form input,
        .contact-form textarea {
            padding: 5px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 0.95rem;
            outline: none;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: #0d6efd;
        }

        .contact-form button {
            padding: 10px;
            font-size: 1rem;
            background-color: #103a0e;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            width: 30%;
            align-self: auto;
            text-align: center;
            margin-left: 30%;

        }

        .contact-form button:hover {
            background-color: #289e5f;
        }

        /* Error Styling */
        .form-error {
            background: #ffe5e5;
            color: #c40000;
            padding: 10px;
            border-radius: 5px;
            font-size: 0.9rem;
            margin-bottom: 15px;
        }

        .contact-form select {
            padding: 8px;
            margin-bottom: 18px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 0.9rem;
            background-color: white;
            outline: none;
            height: 38px;
        }

        .contact-form select:focus {
            border-color: #0d6efd;
        }


        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive */
        @media (max-width: 576px) {
            .custom-modal-content {
                margin: 10% auto;
                padding: 25px 20px;
            }

        }

        #toast-container {
            z-index: 20000;
        }

        .margin-top-50 {
            margin-top: -50px !important;
        }

        .profile-text {
            color: #fff;
        }

        .navbar.scrolled .profile-text {
            color: #000;
        }

        .navbar .navbar-toggler span {
            color: #000;
            font-size: 22px;
        }

        .navbar.scrolled .navbar-toggler span {
            color: #000;
        }

        .dropdown-toggle::after {
            display: none !important;
        }

        .dropdown-menu {
            z-index: 9999 !important;
        }

        .profile-toggle {
            padding: 10px;
            border-radius: 8px;
            transition: 0.3s;
        }

        .profile-toggle:hover {
            background: #f5f5f5;
        }

        .profile-toggle i {
            transition: 0.3s;
        }

        .profile-toggle[aria-expanded="true"] i {
            transform: rotate(180deg);
        }




        .modal-backdrop.show {
            backdrop-filter: blur(4px);
            background: rgba(0, 0, 0, 0.25);
        }

        #popup_phone:focus {

            border-color: #1a73e8 !important;

            box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.15) !important;

        }

        #savePhoneBtn:hover {

            background: #1558c0 !important;

        }

/* Phone verification modal */
.phone-verification-modal {
    overflow: hidden;
    border-radius: 24px;
}

.phone-verification-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.phone-verification-title,
.phone-verification-label {
    color: #202124;
}

.phone-verification-copy {
    color: #5f6368;
    font-size: 14px;
    line-height: 24px;
}

.phone-verification-input {
    height: 56px;
    border: 1px solid #dadce0;
    border-radius: 14px;
    box-shadow: none;
    font-size: 15px;
}

.phone-verification-submit {
    height: 52px;
    border-radius: 14px;
    background: #1a73e8;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

/* Homepage offer product */
.offer-banner--product {
    min-height: 330px;
}

.offer-banner--product .offer-content {
    width: min(65%, 620px);
}

.offer-banner--product .offer-content h2 {
    color: #fff;
    overflow-wrap: anywhere;
}

.offer-banner--product .offer-label {
    font-size: 8px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.offer-banner--product .offer-content p strong {
    margin-left: 8px;
    color: #fff;
    font-size: 17px;
}

.offer-product-image {
    position: absolute;
    right: 8%;
    bottom: 0;
    z-index: 2;
    display: flex;
    width: min(280px, 32%);
    height: 92%;
    align-items: center;
    justify-content: center;
}

.offer-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .32));
    transition: transform .2s ease;
}

.offer-product-image:hover img {
    transform: translateY(-5px);
}

.offer-product-discount {
    position: absolute;
    top: 14px;
    right: 2px;
    z-index: 1;
    padding: 9px 12px;
    border-radius: 999px;
    background: #ffcf70;
    color: #3b2466;
    font-size: 14px;
    font-weight: 900;
}

@media (max-width: 800px) {
    .offer-banner--product .offer-content {
        width: 66%;
    }

    .offer-product-image {
        right: 2%;
        width: 30%;
    }
}

@media (max-width: 500px) {
    .offer-banner--product {
        min-height: 335px;
        padding: 26px 20px;
    }

    .offer-banner--product .offer-content {
        width: 67%;
    }

    .offer-banner--product .offer-content h2 {
        font-size: 23px;
    }

    .offer-banner--product .offer-label {
        font-size: 7px;
        letter-spacing: .5px;
    }

    .offer-banner--product .offer-content p {
        max-width: 190px;
        font-size: 10px;
    }

    .offer-banner--product .offer-content p strong {
        display: inline-block;
        margin-left: 0;
        font-size: 14px;
    }

    .offer-product-image {
        right: 0;
        width: 34%;
        height: 68%;
    }

    .offer-product-discount {
        top: 0;
        right: 4px;
        padding: 7px 9px;
        font-size: 11px;
    }
}

/* Page styles: resources\views\customer\addresses\index.blade.php */

        .customer-address-page { padding: 48px 0 72px; background: #fff9f1; color: #10213a; min-height: 65vh; }
        .address-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
        .address-eyebrow { color: var(--gm-orange-dark); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
        .address-page-heading h1 { margin: 7px 0 5px; font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 750; }
        .address-page-heading p, .address-form-heading p { margin: 0; color: #647187; }
        .btn-address-primary, .btn-address-light, .btn-address-delete { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 9px 13px; border-radius: 9px; font-size: .82rem; font-weight: 700; text-decoration: none; transition: .18s ease; }
        .btn-address-primary { border: 1px solid var(--gm-orange); background: linear-gradient(105deg, #f76c0a, #ef5609); color: #fff; }
        .btn-address-primary:hover { border-color: var(--gm-orange-dark); background: var(--gm-orange-dark); color: #fff; }
        .btn-address-light { border: 1px solid #e7e8ec; background: #fff; color: #59677a; }
        .btn-address-light:hover { border-color: #f3c6a6; background: #fff6ed; color: var(--gm-orange-dark); }
        .btn-address-delete { border: 1px solid #f0dddd; background: #fff; color: #a34848; }
        .btn-address-delete:hover { border-color: #e8bcbc; background: #fff6f6; color: #913737; }
        .account-breadcrumb { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: #8894a5; font-size: .8rem; }
        .account-breadcrumb a { color: var(--gm-orange-dark); text-decoration: none; }
        .account-breadcrumb a:hover { text-decoration: underline; }
        .address-alert { border-radius: 12px; }
        .address-card, .address-form-card, .address-empty { margin-bottom: 16px; padding: 20px; border: 1px solid #eee5dc; border-radius: 16px; background: #fff; box-shadow: 0 9px 26px rgba(44, 32, 24, .055); }
        .address-card-default { border-color: #f3c6a6; box-shadow: 0 8px 25px rgba(245, 102, 10, .08); }
        .address-card-top { display: flex; align-items: center; gap: 12px; }
        .address-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 13px; background: #fff0e4; color: var(--gm-orange-dark); font-size: 1.15rem; }
        .address-recipient { min-width: 0; }
        .address-recipient h2 { margin: 0; color: #10213a; font-size: 1rem; font-weight: 750; }
        .address-default-badge { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; color: var(--gm-orange-dark); font-size: .7rem; font-weight: 700; }
        .address-phone { margin-left: auto; color: #59677a; font-size: .8rem; white-space: nowrap; }
        .address-card-details { margin: 14px 0 15px 54px; color: #59677a; font-size: .86rem; line-height: 1.55; }
        .address-card-details p { margin: 0; }
        .address-card-actions { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 13px; border-top: 1px solid #e8e8eb; }
        .address-card-actions form { margin: 0; }
        .address-form-card { position: sticky; top: 20px; padding: 22px; }
        .address-form-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
        .address-form-heading h2 { margin: 0 0 4px; color: #10213a; font-size: 1.1rem; font-weight: 750; }
        .address-form-heading p { font-size: .8rem; }
        .address-field { margin-bottom: 13px; }
        .address-field label { display: block; margin: 0 0 6px; color: #475569; font-size: .8rem; font-weight: 650; }
        .address-field .form-control { min-height: 43px; }
        .address-default-toggle { display: flex; align-items: flex-start; gap: 9px; margin: 5px 0 16px; color: #59677a; font-size: .82rem; }
        .address-default-toggle input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--gm-orange); }
        .address-cancel-link { display: inline-block; margin-top: 12px; color: var(--gm-orange-dark); font-size: .83rem; text-decoration: none; }
        .address-cancel-link:hover { text-decoration: underline; }
        .address-empty { display: flex; min-height: 260px; flex-direction: column; align-items: center; justify-content: center; padding: 32px; text-align: center; }
        .address-empty > span { display: grid; width: 60px; height: 60px; place-items: center; margin-bottom: 14px; border-radius: 18px; background: #fff0e4; color: var(--gm-orange-dark); font-size: 1.5rem; }
        .address-empty h2 { font-size: 1.1rem; font-weight: 750; }
        .address-empty p { color: #647187; font-size: .87rem; }
        @media (max-width: 575.98px) {
            .customer-address-page { padding: 32px 0 48px; }
            .address-page-heading { align-items: flex-start; flex-direction: column; }
            .address-page-heading .btn { width: 100%; }
            .address-card, .address-form-card { padding: 16px; }
            .address-card-top { align-items: flex-start; }
            .address-phone { margin: 2px 0 0 auto; font-size: .74rem; }
            .address-card-details { margin-left: 0; }
            .address-card-actions > * { flex: 1 1 auto; }
            .address-card-actions .btn { width: 100%; }
            .address-form-card { position: static; }
        }



/* Page styles: resources\views\customer\auth\forgot_profile.blade.php */

            .customer-profile-page {
                padding: 46px 0 72px;
                background: #fff9f1;
                color: #10213a;
                min-height: 65vh;
            }

            .profile-page-heading,
            .profile-address-heading {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 20px;
            }

            .profile-page-heading {
                margin-bottom: 20px;
            }

            .profile-eyebrow {
                color: var(--gm-orange-dark);
                font-size: .74rem;
                font-weight: 800;
                letter-spacing: .1em;
                text-transform: uppercase;
            }

            .profile-page-heading h1 {
                margin: 6px 0;
                font-size: clamp(1.95rem, 4vw, 2.5rem);
                font-weight: 750;
            }

            .profile-page-heading p,
            .profile-address-heading p {
                margin: 0;
                color: #647187;
            }

            .profile-breadcrumb {
                display: flex;
                align-items: center;
                gap: 9px;
                margin-bottom: 20px;
                color: #8894a5;
                font-size: .8rem;
            }

            .profile-breadcrumb a {
                color: var(--gm-orange-dark);
                text-decoration: none;
            }

            .profile-alert {
                border-radius: 12px;
            }

            .profile-address-link {
                display: inline-flex;
                min-height: 42px;
                align-items: center;
                gap: 8px;
                padding: 9px 14px;
                border: 1px solid var(--gm-orange);
                border-radius: 9px;
                background: #fff;
                color: var(--gm-orange-dark);
                font-size: .83rem;
                font-weight: 700;
            }

            .profile-address-link:hover {
                background: var(--gm-orange-dark);
                color: #fff;
            }

            .profile-summary-card,
            .profile-panel,
            .profile-address-card,
            .profile-address-empty {
                height: 100%;
                padding: 24px;
                border: 1px solid #e8e8eb;
                border-radius: 17px;
                background: #fff;
                box-shadow: 0 10px 30px rgba(16, 33, 58, .06);
            }

            .profile-summary-card {
                text-align: center;
            }

            .profile-avatar {
                position: relative;
                display: grid;
                width: 104px;
                height: 104px;
                overflow: hidden;
                place-items: center;
                margin: 0 auto 15px;
                border: 4px solid #fff0e4;
                border-radius: 50%;
                background: var(--gm-orange-dark);
                color: #fff;
            }

            .profile-avatar img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .profile-avatar-initials {
                font-size: 2rem;
                font-weight: 750;
            }

            .profile-summary-card h2 {
                margin: 0;
                color: #10213a;
                font-size: 1.2rem;
                font-weight: 750;
            }

            .profile-summary-email {
                margin: 5px 0 0;
                color: #647187;
                font-size: .86rem;
                overflow-wrap: anywhere;
            }

            .profile-summary-phone {
                margin: 9px 0 0;
                color: #59677a;
                font-size: .85rem;
            }

            .profile-summary-missing {
                color: #8894a5;
                font-size: .78rem;
            }

            .profile-account-note {
                display: flex;
                align-items: flex-start;
                gap: 8px;
                margin: 21px 0 14px;
                padding: 12px;
                border-radius: 10px;
                background: #fff6ed;
                color: #647187;
                text-align: left;
                font-size: .76rem;
                line-height: 1.45;
            }

            .profile-account-note i {
                color: var(--gm-orange-dark);
                font-size: 1rem;
            }

            .profile-orders-link {
                display: flex;
                align-items: center;
                gap: 8px;
                padding-top: 14px;
                border-top: 1px solid #e8e8eb;
                color: var(--gm-orange-dark);
                font-size: .84rem;
                font-weight: 700;
                text-align: left;
                text-decoration: none;
            }

            .profile-orders-link:hover {
                color: var(--gm-orange);
            }

            .profile-panel {
                padding: 26px;
            }

            .profile-panel-heading,
            .address-form-heading {
                display: flex;
                align-items: center;
                gap: 12px;
                margin-bottom: 23px;
            }

            .profile-panel-heading h2 {
                margin: 0 0 4px;
                color: #10213a;
                font-size: 1.12rem;
                font-weight: 750;
            }

            .profile-panel-heading p {
                margin: 0;
                color: #647187;
                font-size: .81rem;
            }

            .profile-panel-icon {
                display: grid;
                width: 42px;
                height: 42px;
                flex: 0 0 42px;
                place-items: center;
                border-radius: 13px;
                background: #fff0e4;
                color: var(--gm-orange-dark);
                font-size: 1.12rem;
            }

            .profile-panel .form-label {
                margin-bottom: 6px;
                color: #475569;
                font-size: .82rem;
                font-weight: 650;
            }

            .profile-panel .form-control {
                min-height: 44px;
            }

            .profile-photo-control {
                display: flex;
                align-items: center;
                gap: 15px;
                margin-bottom: 23px;
                padding: 14px;
                border: 1px solid #e8e8eb;
                border-radius: 12px;
                background: #fff;
            }

            .profile-photo-preview {
                display: grid;
                width: 62px;
                height: 62px;
                flex: 0 0 62px;
                overflow: hidden;
                place-items: center;
                border-radius: 50%;
                background: #fff0e4;
                color: var(--gm-orange-dark);
            }

            .profile-photo-preview img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            #profile-photo-initials {
                font-weight: 750;
            }

            .profile-photo-copy {
                min-width: 0;
                flex: 1;
            }

            .profile-photo-copy .form-control {
                min-height: auto;
                padding: 7px 10px;
                font-size: .78rem;
            }

            .profile-divider {
                margin: 24px 0 20px;
                border-color: #e8e8eb;
                opacity: 1;
            }

            .password-section-heading {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 14px;
            }

            .password-section-heading h3 {
                margin: 0 0 4px;
                color: #10213a;
                font-size: .95rem;
                font-weight: 750;
            }

            .password-section-heading p {
                margin: 0;
                color: #77859a;
                font-size: .77rem;
            }

            .password-section-heading>i {
                color: var(--gm-orange-dark);
                font-size: 1.2rem;
            }

            .profile-form-actions {
                display: flex;
                justify-content: flex-end;
                margin-top: 22px;
            }

            .profile-save-button {
                display: inline-flex;
                min-height: 44px;
                align-items: center;
                gap: 7px;
                padding: 10px 18px;
                border: 1px solid var(--gm-orange);
                border-radius: 9px;
                background: var(--gm-orange-dark);
                color: #fff;
                font-weight: 700;
            }

            .profile-save-button:hover {
                border-color: var(--gm-orange-dark);
                background: var(--gm-orange-dark);
                color: #fff;
            }

            .profile-address-section {
                margin-top: 44px;
            }

            .profile-address-heading {
                margin-bottom: 18px;
            }

            .profile-address-heading h2 {
                margin: 5px 0;
                font-size: 1.55rem;
                font-weight: 750;
            }

            .profile-address-heading p {
                font-size: .84rem;
            }

            .profile-address-card {
                padding: 20px;
            }

            .profile-address-card-heading {
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .profile-address-card-heading h3 {
                margin: 0;
                color: #10213a;
                font-size: .98rem;
                font-weight: 750;
            }

            .profile-default-badge {
                display: inline-flex;
                align-items: center;
                gap: 4px;
                margin-top: 4px;
                color: var(--gm-orange-dark);
                font-size: .7rem;
                font-weight: 700;
            }

            .profile-address-card address {
                margin: 13px 0;
                color: #59677a;
                font-size: .83rem;
                font-style: normal;
                line-height: 1.6;
            }

            .profile-address-actions {
                display: flex;
                flex-wrap: wrap;
                gap: 14px;
                padding: 10px 0;
                border-top: 1px solid #e8e8eb;
            }

            .profile-address-actions form {
                margin: 0;
            }

            .profile-address-text-link {
                display: inline-flex;
                align-items: center;
                gap: 5px;
                padding: 0;
                border: 0;
                background: none;
                color: var(--gm-orange-dark);
                font-size: .78rem;
                font-weight: 700;
                text-decoration: none;
            }

            .profile-address-text-link:hover {
                color: var(--gm-orange);
                text-decoration: underline;
            }

            .profile-address-edit,
            .profile-add-address {
                margin-top: 9px;
                border-top: 1px solid #e8e8eb;
            }

            .profile-address-edit summary,
            .profile-add-address summary {
                padding: 13px 0 3px;
                color: var(--gm-orange-dark);
                cursor: pointer;
                font-size: .81rem;
                font-weight: 700;
                list-style: none;
            }

            .profile-address-edit summary::-webkit-details-marker,
            .profile-add-address summary::-webkit-details-marker {
                display: none;
            }

            .profile-address-edit summary i,
            .profile-add-address summary i {
                margin-right: 5px;
            }

            .profile-address-edit form,
            .profile-add-address-form {
                padding-top: 15px;
            }

            .profile-address-section .address-field {
                margin-bottom: 13px;
            }

            .profile-address-section .address-field label {
                display: block;
                margin-bottom: 6px;
                color: #475569;
                font-size: .8rem;
                font-weight: 650;
            }

            .profile-address-section .address-field .form-control {
                min-height: 43px;
            }

            .profile-address-section .address-default-toggle {
                display: flex;
                align-items: flex-start;
                gap: 9px;
                margin: 5px 0 16px;
                color: #59677a;
                font-size: .82rem;
            }

            .profile-address-section .address-default-toggle input {
                width: 17px;
                height: 17px;
                margin-top: 2px;
                accent-color: var(--gm-orange);
            }

            .profile-address-section .btn-address-primary {
                border: 1px solid var(--gm-orange);
                background: var(--gm-orange-dark);
                color: #fff;
            }

            .profile-address-section .btn-address-primary:hover {
                border-color: var(--gm-orange-dark);
                background: var(--gm-orange-dark);
                color: #fff;
            }

            .profile-address-empty {
                display: flex;
                height: auto;
                align-items: center;
                gap: 14px;
                color: #647187;
            }

            .profile-address-empty>i {
                color: var(--gm-orange-dark);
                font-size: 1.4rem;
            }

            .profile-address-empty strong {
                color: #10213a;
            }

            .profile-address-empty p {
                margin: 3px 0 0;
                font-size: .8rem;
            }

            .profile-add-address {
                margin-top: 17px;
                padding: 0 18px 18px;
                border: 1px solid #e8e8eb;
                border-radius: 14px;
                background: #fff;
                box-shadow: 0 7px 22px rgba(16, 33, 58, .04);
            }

            .profile-add-address summary {
                padding: 16px 0 2px;
            }

            @media (max-width: 767.98px) {
                .customer-profile-page {
                    padding: 32px 0 48px;
                }

                .profile-page-heading {
                    align-items: flex-start;
                    flex-direction: column;
                }

                .profile-page-heading .btn {
                    width: 100%;
                    justify-content: center;
                }

                .profile-summary-card {
                    padding: 21px;
                }

                .profile-panel {
                    padding: 20px;
                }

                .profile-address-heading {
                    align-items: flex-start;
                    flex-direction: column;
                }

                .profile-address-heading .btn {
                    width: 100%;
                    justify-content: center;
                }
            }

            @media (max-width: 480px) {
                .profile-photo-control {
                    align-items: flex-start;
                }

                .profile-photo-preview {
                    width: 50px;
                    height: 50px;
                    flex-basis: 50px;
                }

                .profile-form-actions .btn {
                    width: 100%;
                    justify-content: center;
                }
            }



/* Page styles: resources\views\customer\cart\index.blade.php */

        .cart-card[aria-busy="true"] { opacity: .7; }



/* Page styles: resources\views\customer\orders\index.blade.php */

            #customer-orders-redesign {
                padding: 42px 0 72px;
                background: linear-gradient(180deg, #fff9f1 0, #fff 420px);
                color: #10213a;
                font-family: Montserrat, "Segoe UI", sans-serif;
            }

            #customer-orders-redesign .container {
                max-width: 1160px;
            }

            #customer-orders-redesign .orders-heading {
                position: relative;
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 24px;
                overflow: hidden;
                min-height: 220px;
                padding: 34px clamp(22px, 5vw, 58px);
                margin-bottom: 30px;
                border-radius: 26px;
                background: radial-gradient(circle at 85% 20%, rgba(255, 177, 108, .22), transparent 29%), linear-gradient(118deg, #10213a, #193552 64%, #274961);
                box-shadow: 0 22px 46px rgba(16, 33, 58, .17);
                color: #fff;
            }

            #customer-orders-redesign .orders-heading::after {
                position: absolute;
                right: 17%;
                bottom: -100px;
                width: 260px;
                height: 260px;
                border: 1px solid rgba(255, 255, 255, .1);
                border-radius: 50%;
                content: "";
                box-shadow: 0 0 0 28px rgba(255, 255, 255, .025), 0 0 0 58px rgba(255, 255, 255, .02);
                pointer-events: none;
            }

            #customer-orders-redesign .orders-heading-copy,
            #customer-orders-redesign .orders-header-aside {
                position: relative;
                z-index: 1;
            }

            #customer-orders-redesign .orders-eyebrow {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                margin-bottom: 13px;
                color: #ffc28e;
                font-size: .72rem;
                font-weight: 800;
                letter-spacing: .14em;
                text-transform: uppercase;
            }

            #customer-orders-redesign .orders-eyebrow svg {
                width: 19px;
                height: 19px;
            }

            #customer-orders-redesign .orders-heading h1 {
                color: #fff;
                font-family: Montserrat, "Segoe UI", sans-serif;
                font-size: clamp(2.35rem, 5vw, 3.5rem);
                font-weight: 800;
                letter-spacing: -.06em;
                line-height: 1.08;
            }

            #customer-orders-redesign .orders-heading h1 span {
                color: #ff914c;
            }

            #customer-orders-redesign .orders-heading p {
                margin: 12px 0 0;
                color: #d4dfeb;
                font-size: .98rem;
            }

            #customer-orders-redesign .orders-header-aside {
                display: flex;
                min-width: 175px;
                align-items: center;
                gap: 13px;
                padding: 16px 19px;
                border: 1px solid rgba(255, 255, 255, .2);
                border-radius: 17px;
                background: rgba(255, 255, 255, .09);
                backdrop-filter: blur(8px);
            }

            #customer-orders-redesign .orders-header-mark {
                display: grid;
                width: 46px;
                height: 46px;
                place-items: center;
                border-radius: 14px;
                background: rgba(255, 145, 76, .18);
                color: #ffb078;
            }

            #customer-orders-redesign .orders-header-mark svg {
                width: 39px;
                height: 39px;
            }

            #customer-orders-redesign .orders-total {
                display: block;
                padding: 0;
                border: 0;
                background: transparent;
                box-shadow: none;
            }

            #customer-orders-redesign .orders-total strong {
                display: block;
                color: #fff;
                font-size: 1.48rem;
                font-weight: 800;
                line-height: 1.1;
            }

            #customer-orders-redesign .orders-total small {
                display: block;
                margin-top: 4px;
                color: #d3deeb;
                font-size: .7rem;
            }

            #customer-orders-redesign .orders-toolbar {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 18px;
                margin-bottom: 20px;
            }

            #customer-orders-redesign .orders-main-tabs {
                display: flex;
                flex: 0 1 auto;
                align-items: center;
                gap: 6px;
                padding: 5px;
                border: 1px solid #eee5dc;
                background: #fff;
                border-color: #eee5dc;
                border-radius: 15px;
                box-shadow: 0 7px 22px rgba(16, 33, 58, .045);
            }

            #customer-orders-redesign .orders-main-tab {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                color: inherit;
                text-decoration: none;
                white-space: nowrap;
                min-height: 46px;
                padding: 14px;
                border-radius: 11px;
                color: #59677a;
                font-family: Montserrat, "Segoe UI", sans-serif;
                font-size: .82rem;
                font-weight: 750;
            }

            #customer-orders-redesign .orders-main-tab:hover {
                background: #fff4e9;
                color: #e95108;
            }

            #customer-orders-redesign .orders-main-tab.active {
                background: #10213a;
                color: #fff;
            }

            #customer-orders-redesign .orders-main-tab.active>span {
                background: rgba(255, 255, 255, .16);
                color: #fff;
            }

            #customer-orders-redesign .orders-main-tab>span,
            #customer-orders-redesign .orders-subtabs a>span {
                display: inline-grid;
                min-width: 22px;
                height: 22px;
                padding: 0 6px;
                place-items: center;
                border-radius: 999px;
                background: #f1f3f6;
                color: #526176;
                font-size: .68rem;
                font-weight: 800;
                line-height: 1;
            }

            #customer-orders-redesign .orders-search {
                display: flex;
                width: min(100%, 380px);
                min-width: 240px;
                align-items: center;
                gap: 10px;
                min-height: 49px;
                padding: 5px 6px 5px 14px;
                border: 1px solid #e7e9ed;
                background: #fff;
                border-color: #e7e9ed;
                border-radius: 13px;
                box-shadow: 0 7px 22px rgba(16, 33, 58, .04);
            }

            #customer-orders-redesign .orders-search:focus-within {
                border-color: #f5a46f;
                box-shadow: 0 0 0 3px rgba(245, 102, 10, .11);
            }

            #customer-orders-redesign .orders-search>i {
                color: #e95108;
                flex: 0 0 auto;
            }

            #customer-orders-redesign .orders-search input {
                width: 100%;
                min-width: 0;
                padding: 0;
                border: 0;
                outline: 0;
                background: transparent;
                color: #10213a;
                font-family: Montserrat, "Segoe UI", sans-serif;
                font-size: .81rem;
            }

            #customer-orders-redesign .orders-search input::-webkit-search-cancel-button {
                display: none;
            }

            #customer-orders-redesign .orders-search button {
                min-height: 37px;
                padding: 0 13px;
                border: 0;
                border-radius: 9px;
                background: #f5660a;
                color: #fff;
                font: inherit;
                font-size: .72rem;
                font-weight: 800;
                transition: background .2s ease;
            }

            #customer-orders-redesign .orders-search button:hover {
                background: #e95108;
            }

            #customer-orders-redesign .orders-search-clear {
                display: grid;
                flex: 0 0 auto;
                width: 26px;
                height: 30px;
                padding: 0;
                place-items: center;
                border: 0;
                background: transparent;
                color: #77859a;
                text-decoration: none;
            }

            #customer-orders-redesign .orders-search-clear:hover {
                color: #e95108;
            }

            #customer-orders-redesign .orders-subtabs {
                display: flex;
                flex-wrap: wrap;
                gap: 9px;
                margin: 0 0 18px;
            }

            #customer-orders-redesign .orders-subtabs a {
                display: inline-flex;
                align-items: center;
                gap: 7px;
                border: 1px solid #e7e9ed;
                border-color: #e7e9ed;
                border-radius: 10px;
                font-family: Montserrat, "Segoe UI", sans-serif;
                font-size: .75rem;
                padding: 8px 14px;
                background: #fff;
                color: #59677a;
                text-decoration: none;
                white-space: nowrap;
            }

            #customer-orders-redesign .orders-subtabs a:hover {
                border-color: #f3bd98;
                color: #e95108;
            }

            #customer-orders-redesign .orders-subtabs a.active {
                border-color: #f3c6a6;
                background: #fff2e7;
                color: #b84409;
            }

            #customer-orders-redesign .orders-subtabs a.active>span {
                background: #ffe3cf;
                color: #a83e08;
            }

            #customer-orders-redesign hr {
                margin: 0 0 16px;
                border-color: #e9e7e3;
                opacity: 1;
            }

            #customer-orders-redesign .orders-result-count {
                margin-bottom: 14px;
                color: #77859a;
                font-size: .78rem;
            }

            #customer-orders-redesign .order-card {
                overflow: hidden;
                border: 1px solid #e9e9eb;
                background: #fff;
                margin-bottom: 18px;
                border-color: #e9e9eb;
                border-radius: 20px;
                box-shadow: 0 9px 28px rgba(16, 33, 58, .055);
                transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
            }

            #customer-orders-redesign .order-card:hover {
                transform: translateY(-3px);
                border-color: #f4c29f;
                box-shadow: 0 16px 34px rgba(16, 33, 58, .09);
            }

            #customer-orders-redesign .order-card-cancelled {
                background: #fcfcfc;
            }

            #customer-orders-redesign .order-card-cancelled .order-card-header,
            #customer-orders-redesign .order-card-cancelled .order-card-footer {
                background: #f8f8f8;
            }

            #customer-orders-redesign .order-card-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 18px;
                padding: 17px 22px;
                border-bottom: 1px solid #f0eee9;
                border-color: #f0eee9;
                background: #fffcf8;
            }

            #customer-orders-redesign .order-reference {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                gap: 8px 14px;
                min-width: 0;
            }

            #customer-orders-redesign .order-label {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                color: #8994a3;
                font-size: .7rem;
                font-weight: 750;
                letter-spacing: .07em;
                text-transform: uppercase;
            }

            #customer-orders-redesign .order-reference>strong {
                overflow-wrap: anywhere;
            }

            #customer-orders-redesign .order-reference>strong {
                color: #10213a;
                font-size: .87rem;
                font-weight: 800;
            }

            #customer-orders-redesign .order-date {
                color: #77859a;
                font-size: .74rem;
            }

            #customer-orders-redesign .order-date {
                display: inline-flex;
                align-items: center;
                gap: 5px;
            }

            #customer-orders-redesign .order-date i {
                color: #e95108;
            }

            #customer-orders-redesign .order-badges {
                display: flex;
                flex-wrap: wrap;
                justify-content: flex-end;
                gap: 7px;
            }

            #customer-orders-redesign .order-status-badge,
            #customer-orders-redesign .payment-badge {
                display: inline-flex;
                align-items: center;
                gap: 5px;
                min-height: 28px;
                padding: 5px 10px;
                border-radius: 999px;
                font-size: .68rem;
                font-weight: 800;
                white-space: nowrap;
            }

            #customer-orders-redesign .is-blue {
                background: #edf3fa;
                color: #385774;
            }

            #customer-orders-redesign .is-violet {
                background: #f4efff;
                color: #6843a0;
            }

            #customer-orders-redesign .is-green,
            #customer-orders-redesign .payment-paid {
                background: #e9f5ee;
                color: #28724b;
            }

            #customer-orders-redesign .is-amber,
            #customer-orders-redesign .payment-pending {
                background: #fff3de;
                color: #936116;
            }

            #customer-orders-redesign .is-red,
            #customer-orders-redesign .payment-failed {
                background: #fff0ee;
                color: #a9433c;
            }

            #customer-orders-redesign .is-slate {
                background: #f0f2f4;
                color: #626e7d;
            }

            #customer-orders-redesign .order-card-body {
                padding: 19px 22px 16px;
            }

            #customer-orders-redesign .order-books {
                display: grid;
                gap: 14px;
            }

            #customer-orders-redesign .order-book {
                display: grid;
                grid-template-columns: 70px minmax(0, 1fr) auto;
                align-items: center;
                gap: 16px;
            }

            #customer-orders-redesign .order-book-cover {
                display: grid;
                width: 70px;
                height: 94px;
                overflow: hidden;
                place-items: center;
                border-color: #eee8df;
                border: 1px solid #eee8df;
                border-radius: 9px;
                background: #fff9f1;
            }

            #customer-orders-redesign .order-book-cover img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

            #customer-orders-redesign .book-cover-placeholder {
                display: grid;
                width: 100%;
                height: 100%;
                place-items: center;
                background: linear-gradient(145deg, #fff0e4, #f5f0e9);
                color: #c68e67;
                font-size: 1.35rem;
            }

            #customer-orders-redesign .book-cover-placeholder[hidden] {
                display: none;
            }

            #customer-orders-redesign .order-book-info {
                min-width: 0;
            }

            #customer-orders-redesign .order-book-info h2 {
                margin: 0 0 5px;
                color: #162b44;
                font-family: Montserrat, "Segoe UI", sans-serif;
                font-size: .93rem;
                font-weight: 800;
                line-height: 1.4;
                overflow-wrap: anywhere;
            }

            #customer-orders-redesign .book-author {
                margin: 0 0 8px;
                color: #77859a;
                font-size: .76rem;
            }

            #customer-orders-redesign .book-purchase-meta {
                display: flex;
                flex-wrap: wrap;
                gap: 6px 13px;
                color: #718096;
                font-size: .72rem;
            }

            #customer-orders-redesign .book-line-total {
                color: #162b44;
                font-size: .84rem;
                font-weight: 800;
                white-space: nowrap;
            }

            #customer-orders-redesign .order-fulfillment {
                margin-top: 19px;
                padding: 16px 17px 14px;
                border: 1px solid #f1ece5;
                border-radius: 15px;
                background: linear-gradient(135deg, #fffaf4, #fff);
            }

            #customer-orders-redesign .fulfillment-caption {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 12px;
            }

            #customer-orders-redesign .fulfillment-caption {
                margin-bottom: 12px;
                color: #657287;
                font-size: .75rem;
            }

            #customer-orders-redesign .fulfillment-caption>span {
                display: inline-flex;
                align-items: center;
                gap: 7px;
                font-weight: 750;
            }

            #customer-orders-redesign .fulfillment-caption>span svg {
                width: 19px;
                height: 19px;
                color: #e95108;
            }

            #customer-orders-redesign .fulfillment-caption strong {
                color: #e95108;
                font-weight: 800;
            }

            #customer-orders-redesign .fulfillment-track {
                overflow: hidden;
                height: 5px;
                border-radius: 999px;
                background: #eee8df;
            }

            #customer-orders-redesign .fulfillment-fill {
                display: block;
                width: 0;
                height: 100%;
                border-radius: inherit;
                background: linear-gradient(90deg, #f9a365, #e95108);
                transition: width .7s ease;
            }

            #customer-orders-redesign .tracking-steps {
                position: relative;
                display: grid;
                grid-template-columns: repeat(7, minmax(0, 1fr));
                gap: 4px;
                margin: 0;
                padding: 14px 0 0;
                list-style: none;
            }

            #customer-orders-redesign .tracking-step {
                position: relative;
                z-index: 1;
                display: flex;
                min-width: 0;
                flex-direction: column;
                align-items: center;
                gap: 7px;
                color: #a0a7b0;
                text-align: center;
            }

            #customer-orders-redesign .tracking-steps::before,
            #customer-orders-redesign .tracking-steps::after {
                position: absolute;
                top: 30px;
                left: 7.14%;
                height: 2px;
                content: "";
            }

            #customer-orders-redesign .tracking-steps::before {
                right: 7.14%;
                background: #e5e5e5;
            }

            #customer-orders-redesign .tracking-steps::after {
                width: var(--step-progress);
                background: #f5660a;
                transition: width .8s ease;
            }

            #customer-orders-redesign .tracking-step-icon {
                display: grid;
                width: 34px;
                height: 34px;
                place-items: center;
                border: 1px solid #e5e5e5;
                border-radius: 50%;
                background: #fff;
                color: #9aa3af;
                transition: all .25s ease;
            }

            #customer-orders-redesign .tracking-step-icon svg {
                width: 17px;
                height: 17px;
            }

            #customer-orders-redesign .tracking-step-label {
                max-width: 100%;
                font-size: .61rem;
                font-weight: 700;
                line-height: 1.3;
            }

            #customer-orders-redesign .tracking-step.is-complete .tracking-step-icon,
            #customer-orders-redesign .tracking-step.is-current .tracking-step-icon {
                border-color: #f5660a;
                background: #f5660a;
                color: #fff;
            }

            #customer-orders-redesign .tracking-step.is-complete .tracking-step-label {
                color: #69778a;
            }

            #customer-orders-redesign .tracking-step.is-current .tracking-step-icon {
                transform: scale(1.12);
                border-color: #10213a;
                background: #10213a;
                box-shadow: 0 0 0 4px rgba(245, 102, 10, .13);
            }

            #customer-orders-redesign .tracking-step.is-current .tracking-step-label {
                color: #10213a;
                font-weight: 800;
            }

            #customer-orders-redesign .shipment-summary>i {
                color: #e95108;
            }

            #customer-orders-redesign .shipment-summary,
            #customer-orders-redesign .order-cancelled-note,
            #customer-orders-redesign .order-special-note {
                display: flex;
                align-items: flex-start;
                gap: 8px;
                margin: 15px 0 0;
                padding: 11px 13px;
                border-radius: 10px;
                background: #f7f8fa;
                color: #59677a;
                font-size: .76rem;
                line-height: 1.5;
            }

            #customer-orders-redesign .shipment-summary>span {
                display: flex;
                flex-wrap: wrap;
                gap: 3px 12px;
            }

            #customer-orders-redesign .shipment-number {
                font-weight: 700;
            }

            #customer-orders-redesign .order-cancelled-note {
                background: #fff4f2;
                color: #a9433c;
            }

            #customer-orders-redesign .order-special-note {
                background: #f4f1fb;
                color: #6843a0;
            }

            #customer-orders-redesign .order-card-footer {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 18px;
                border-top: 1px solid #f0eee9;
                padding: 15px 22px;
                border-color: #f0eee9;
                background: #fffdfa;
            }

            #customer-orders-redesign .order-total {
                display: flex;
                flex-wrap: wrap;
                align-items: baseline;
                gap: 6px 12px;
            }

            #customer-orders-redesign .order-total>span {
                display: block;
            }

            #customer-orders-redesign .order-total span {
                color: #77859a;
                font-size: .7rem;
            }

            #customer-orders-redesign .order-total strong {
                color: #10213a;
                font-size: 1.12rem;
                font-weight: 850;
            }

            #customer-orders-redesign .order-actions {
                display: flex;
                flex-wrap: wrap;
                justify-content: flex-end;
                gap: 9px;
            }

            #customer-orders-redesign .btn-order {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 7px;
                min-height: 41px;
                padding: 9px 15px;
                border: 1px solid transparent;
                border-radius: 10px;
                font-family: Montserrat, "Segoe UI", sans-serif;
                font-size: .75rem;
                font-weight: 800;
                text-decoration: none;
                transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
            }

            #customer-orders-redesign .btn-order-outline {
                border-color: #e1e5ea;
                background: #fff;
                color: #34445b;
            }

            #customer-orders-redesign .btn-order-primary {
                border-color: #e95108;
                background: linear-gradient(110deg, #f5660a, #e95108);
                box-shadow: 0 5px 12px rgba(233, 81, 8, .15);
            }

            #customer-orders-redesign .btn-order-primary:hover {
                border-color: #10213a;
                background: #10213a;
                box-shadow: 0 7px 16px rgba(16, 33, 58, .16);
            }

            #customer-orders-redesign .btn-order-outline:hover {
                border-color: #f3bd98;
                background: #fff5ec;
                color: #e95108;
            }

            #customer-orders-redesign .orders-empty {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                min-height: 320px;
                padding: 35px 20px;
                border: 1px solid #e7c6ad;
                background: #fff;
                border-color: #e7c6ad;
                border-radius: 21px;
                box-shadow: 0 12px 32px rgba(16, 33, 58, .04);
                text-align: center;
            }

            #customer-orders-redesign .orders-empty-icon {
                display: grid;
                width: 70px;
                height: 70px;
                margin-bottom: 17px;
                place-items: center;
                border-radius: 22px;
                background: #fff0e4;
                color: #e95108;
                font-size: 1.7rem;
            }

            #customer-orders-redesign .orders-empty h2 {
                margin: 0 0 8px;
                color: #10213a;
                font-size: 1.25rem;
                font-weight: 800;
            }

            #customer-orders-redesign .orders-empty p {
                max-width: 440px;
                margin: 0 0 18px;
                color: #647187;
                font-size: .86rem;
            }

            #customer-orders-redesign .orders-pagination {
                display: flex;
                justify-content: center;
                margin-top: 25px;
            }

            #customer-orders-redesign .orders-pagination .page-item.active .page-link {
                border-color: #e95108;
                background: #e95108;
            }

            @media (max-width:767.98px) {
                #customer-orders-redesign {
                    padding: 24px 0 52px;
                }

                #customer-orders-redesign .orders-heading {
                    min-height: 190px;
                    align-items: flex-start;
                    margin-bottom: 22px;
                    padding: 26px 22px;
                }

                #customer-orders-redesign .orders-heading p {
                    max-width: 380px;
                    font-size: .86rem;
                    line-height: 1.6;
                }

                #customer-orders-redesign .orders-header-aside {
                    min-width: 0;
                    padding: 11px;
                }

                #customer-orders-redesign .orders-header-mark {
                    width: 38px;
                    height: 38px;
                }

                #customer-orders-redesign .orders-header-mark svg {
                    width: 32px;
                    height: 32px;
                }

                #customer-orders-redesign .orders-toolbar {
                    align-items: stretch;
                    flex-direction: column;
                    gap: 13px;
                }

                #customer-orders-redesign .orders-main-tabs {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    width: 100%;
                }

                #customer-orders-redesign .orders-main-tab {
                    min-width: 0;
                    justify-content: center;
                    flex-wrap: wrap;
                    padding: 0 7px;
                    font-size: .72rem;
                    line-height: 1.25;
                    text-align: center;
                    white-space: normal;
                }

                #customer-orders-redesign .orders-search {
                    width: 100%;
                    min-width: 0;
                }

                #customer-orders-redesign .orders-subtabs {
                    flex-wrap: nowrap;
                    overflow-x: auto;
                    padding-bottom: 5px;
                }

                #customer-orders-redesign .orders-subtabs a {
                    flex: 0 0 auto;
                }

                #customer-orders-redesign .order-card-header {
                    align-items: flex-start;
                    flex-direction: column;
                    padding: 14px 16px;
                }

                #customer-orders-redesign .order-badges {
                    justify-content: flex-start;
                }

                #customer-orders-redesign .order-card-body {
                    padding: 16px;
                }

                #customer-orders-redesign .tracking-steps {
                    grid-template-columns: 1fr;
                    gap: 0;
                    padding: 2px 0 0 3px;
                }

                #customer-orders-redesign .tracking-steps::before,
                #customer-orders-redesign .tracking-steps::after {
                    top: 16px;
                    left: 17px;
                    width: 2px;
                    height: calc(100% - 32px);
                }

                #customer-orders-redesign .tracking-steps::before {
                    right: auto;
                    background: #e5e5e5;
                }

                #customer-orders-redesign .tracking-steps::after {
                    height: calc(100% - 32px);
                    background: linear-gradient(to bottom, #f5660a var(--step-progress), #e5e5e5 var(--step-progress));
                    transition: background .8s ease;
                }

                #customer-orders-redesign .tracking-step {
                    min-height: 42px;
                    flex-direction: row;
                    align-items: center;
                    gap: 11px;
                    text-align: left;
                }

                #customer-orders-redesign .tracking-step-icon {
                    width: 30px;
                    height: 30px;
                    flex: 0 0 30px;
                }

                #customer-orders-redesign .tracking-step-icon svg {
                    width: 16px;
                    height: 16px;
                }

                #customer-orders-redesign .tracking-step-label {
                    max-width: none;
                    font-size: .7rem;
                }

                #customer-orders-redesign .order-card-footer {
                    align-items: stretch;
                    flex-direction: column;
                    padding: 14px 16px;
                }

                #customer-orders-redesign .order-total {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                }

                #customer-orders-redesign .order-total span {
                    margin: 0;
                }

                #customer-orders-redesign .order-actions {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                }

                #customer-orders-redesign .btn-order {
                    padding-right: 8px;
                    padding-left: 8px;
                }
            }

            @media (max-width:420px) {
                #customer-orders-redesign .orders-heading {
                    gap: 10px;
                    padding: 24px 17px;
                }

                #customer-orders-redesign .orders-heading h1 {
                    font-size: 2.05rem;
                }

                #customer-orders-redesign .orders-heading p {
                    max-width: 205px;
                    font-size: .78rem;
                }

                #customer-orders-redesign .orders-header-aside {
                    flex-direction: column;
                    align-items: center;
                    gap: 5px;
                    padding: 9px 7px;
                    text-align: center;
                }

                #customer-orders-redesign .orders-total strong {
                    font-size: 1.2rem;
                }

                #customer-orders-redesign .orders-total small {
                    font-size: .61rem;
                }

                #customer-orders-redesign .orders-main-tab {
                    gap: 5px;
                    font-size: .66rem;
                }

                #customer-orders-redesign .order-reference {
                    gap: 5px 9px;
                }

                #customer-orders-redesign .order-book {
                    grid-template-columns: 52px minmax(0, 1fr);
                    gap: 11px;
                }

                #customer-orders-redesign .order-book-cover {
                    width: 52px;
                    height: 71px;
                }

                #customer-orders-redesign .book-line-total {
                    grid-column: 2;
                    justify-self: start;
                    padding: 0;
                    margin-top: -6px;
                }

                #customer-orders-redesign .book-purchase-meta {
                    margin-top: 5px;
                }

                #customer-orders-redesign .order-fulfillment {
                    padding: 13px 12px;
                }
            }

            @media (prefers-reduced-motion:reduce) {

                #customer-orders-redesign .order-card,
                #customer-orders-redesign .fulfillment-fill,
                #customer-orders-redesign .orders-main-tab,
                #customer-orders-redesign .orders-subtabs a,
                #customer-orders-redesign .btn-order,
                #customer-orders-redesign .tracking-step-icon {
                    transition: none;
                }
            }



/* Page styles: resources\views\customer\orders\show.blade.php */

        .order-track-page { min-height: 75vh; background: #f5f8f7; color: #203238; }
        .order-breadcrumb { display: flex; align-items: center; gap: 10px; color: #71817e; font-size: .88rem; }
        .order-breadcrumb a { color: #167458; font-weight: 600; text-decoration: none; }
        .order-breadcrumb a:hover { text-decoration: underline; }
        .order-hero, .tracking-card { border: 1px solid #e2ebe7; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(31, 66, 55, .055); }
        .order-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 30px; }
        .order-eyebrow, .section-kicker { display: block; margin-bottom: 7px; color: #16805d; font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
        .order-eyebrow { display: flex; align-items: center; gap: 8px; }
        .order-hero h1 { color: #163a31; font-weight: 750; letter-spacing: -.025em; }
        .order-hero-status { display: grid; justify-items: end; gap: 7px; }
        .order-status-pill, .payment-status-pill, .carrier-pill, .item-count, .tracking-date { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 12px; font-size: .78rem; font-weight: 700; }
        .status-pending, .payment-pending { color: #8b5a00; background: #fff4d8; }
        .status-confirmed, .status-processing, .status-packed, .status-shipped, .status-out-for-delivery, .status-delivered, .payment-paid { color: #126747; background: #e1f5e9; }
        .status-cancelled, .status-failed, .payment-failed { color: #a83838; background: #ffebeb; }
        .status-returned, .status-refunded, .status-refund-pending, .status-partially-refunded, .payment-refund-pending, .payment-refunded, .payment-partially-refunded { color: #60429b; background: #f0eaff; }
        .order-hero-total { margin-top: 3px; color: #153e33; font-size: 1.35rem; }
        .order-alert { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid transparent; border-radius: 14px; }
        .order-alert > i { font-size: 1.35rem; }
        .order-alert div { display: grid; gap: 2px; }
        .order-alert div span { color: #596c67; font-size: .88rem; }
        .alert-cancelled, .alert-failed { color: #923c3c; border-color: #f0cccc; background: #fff5f5; }
        .alert-returned { color: #60429b; border-color: #e0d4fa; background: #f8f4ff; }
        .alert-pending { color: #896000; border-color: #f0dfae; background: #fffaf0; }
        .tracking-card { padding: 23px; }
        .tracking-card h2 { color: #203c34; font-weight: 750; }
        .tracking-date { color: #316d57; border: 1px solid #dcebe3; background: #f6fbf8; }
        .order-progress { position: relative; padding: 8px 0 0; }
        .progress-rail { position: absolute; top: 25px; right: 5.8%; left: 5.8%; height: 3px; overflow: hidden; border-radius: 99px; background: #e8eeeb; }
        .progress-fill { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left center; border-radius: inherit; background: linear-gradient(90deg, #26a87c, #4cbb91); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
        .progress-steps { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
        .progress-step { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 9px; color: #9aa8a3; text-align: center; }
        .step-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 2px solid #e0e8e4; border-radius: 50%; background: #fff; font-size: .93rem; transition: transform .2s ease, color .2s ease, background .2s ease; }
        .step-label { max-width: 95px; font-size: .72rem; font-weight: 650; line-height: 1.3; }
        .progress-step.is-complete { color: #177453; }
        .progress-step.is-complete .step-icon { border-color: #1c9a70; color: #fff; background: #1c9a70; }
        .progress-step.is-current { color: #153f32; }
        .progress-step.is-current .step-icon { border-color: #176b57; color: #176b57; box-shadow: 0 0 0 5px #e4f4ec; transform: scale(1.08); }
        .stepper-note { margin-top: 18px; color: #778580; font-size: .78rem; }
        .stepper-note i { margin-right: 4px; }
        .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
        .item-count { color: #63746e; background: #f1f5f3; }
        .book-list { border-top: 1px solid #edf1ef; }
        .book-row { display: flex; align-items: center; gap: 15px; padding: 17px 0; border-bottom: 1px solid #edf1ef; }
        .book-row:last-child { padding-bottom: 0; border-bottom: 0; }
        .book-cover { display: grid; width: 62px; height: 78px; flex: 0 0 62px; place-items: center; overflow: hidden; border-radius: 9px; color: #3c8065; background: #edf5f0; }
        .book-cover img { width: 100%; height: 100%; object-fit: cover; }
        .book-cover i { font-size: 1.5rem; }
        .book-details { min-width: 0; flex: 1; }
        .book-details h3 { margin: 0 0 4px; color: #263b34; font-size: .98rem; font-weight: 750; }
        .book-author, .book-quantity { margin: 0; color: #73817c; font-size: .83rem; }
        .book-quantity { margin-top: 7px; color: #4d625a; }
        .book-subtotal { color: #1a5d47; font-size: .95rem; white-space: nowrap; }
        .address-icon, .help-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #177453; background: #eaf5ee; font-size: 1.15rem; }
        .shipping-address { display: grid; gap: 5px; color: #5a6a64; font-size: .92rem; font-style: normal; line-height: 1.45; }
        .shipping-address strong { color: #2c443a; }
        .address-contact { margin-top: 4px; color: #486158; }
        .carrier-pill { color: #3b6655; background: #eef6f1; }
        .tracking-number { display: grid; gap: 3px; color: #75837d; font-size: .8rem; }
        .tracking-number strong { color: #263f35; font-size: .95rem; letter-spacing: .02em; }
        .activity-list { margin: 0; padding: 0; list-style: none; }
        .activity-item { position: relative; display: flex; gap: 13px; padding: 12px 0; }
        .activity-item:not(:last-child)::after { position: absolute; top: 27px; bottom: -5px; left: 5px; width: 1px; background: #dce8e1; content: ""; }
        .activity-dot { z-index: 1; width: 11px; height: 11px; flex: 0 0 11px; margin-top: 5px; border: 2px solid #fff; border-radius: 50%; background: #24916a; box-shadow: 0 0 0 1px #24916a; }
        .activity-copy { flex: 1; color: #344a41; font-size: .86rem; }
        .activity-copy time { color: #83908a; font-size: .76rem; }
        .activity-copy p { margin: 5px 0 0; color: #78857f; }
        .order-total-card { position: sticky; top: 24px; }
        .summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; color: #718079; font-size: .86rem; }
        .summary-line > span:last-child { color: #344b41; font-weight: 650; text-align: right; }
        .discount-line > span:last-child { color: #16815e; }
        .transaction-id { max-width: 150px; overflow-wrap: anywhere; }
        .summary-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 16px; border-top: 1px solid #e7eeea; color: #324b40; }
        .summary-total strong { color: #155d44; font-size: 1.25rem; }
        .payment-footnote { margin-top: 15px; color: #7b8982; font-size: .79rem; }
        .payment-footnote i { margin-right: 4px; }
        .order-help-card h2 { margin: 14px 0 6px; color: #293e35; font-weight: 750; }
        .order-help-card p { font-size: .88rem; }
        .order-track-page .btn { transition: transform .18s ease, box-shadow .18s ease; }
        .order-track-page .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(25, 94, 65, .12); }

        @media (max-width: 767.98px) {
            .order-hero { align-items: flex-start; flex-direction: column; padding: 22px; }
            .order-hero-status { justify-items: start; }
            .tracking-card { padding: 19px; }
            .order-progress { padding: 0 0 0 5px; }
            .progress-rail { top: 18px; bottom: 18px; left: 21px; width: 3px; height: auto; }
            .progress-fill { width: 100%; height: 100%; transform: scaleY(0); transform-origin: top center; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
            .progress-steps { grid-template-columns: 1fr; gap: 0; }
            .progress-step { position: relative; min-height: 54px; flex-direction: row; align-items: flex-start; gap: 13px; text-align: left; }
            .step-icon { z-index: 1; width: 36px; height: 36px; flex: 0 0 36px; }
            .step-label { max-width: none; padding-top: 9px; font-size: .82rem; }
            .stepper-note { margin-top: 10px; }
            .order-total-card { position: static; }
        }

        @media (prefers-reduced-motion: reduce) {
            .progress-fill, .step-icon, .order-track-page .btn { transition: none !important; }
        }



/* Page styles: resources\views\customer\products\show.blade.php */

        .product-page .store-breadcrumb {
            margin-bottom: 26px;
        }



/* Page styles: resources\views\frontend\attendance.blade.php */

            .attendance-img-box {
                width: 100%;
                height: 200px;
                display: flex;
                align-items: center;
                justify-content: center;
                background: #f8f9fa;
                border-bottom: 1px solid #eee;
                padding: 10px;
            }

            .attendance-img-box img {
                max-height: 100%;
                max-width: 100%;
                object-fit: contain;
            }

            /* hover effect */
            .transition-hover {
                transition: all 0.3s ease-in-out;
            }

            .transition-hover:hover {
                transform: translateY(-6px);
                box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
            }


            .badge.text-bg-primary {
                padding: .55rem .9rem;
                font-weight: 600;
                letter-spacing: 0.1px;
            }

            .card h6 {
                letter-spacing: .2px;
            }

            .card p {
                line-height: 1.45;
            }



/* Page styles: resources\views\frontend\blog_index.blade.php */

        .public-blog-image-placeholder { height: 220px; place-items: center; background: #fff0e4; color: #e95108; font-size: 2rem; }



/* Page styles: resources\views\frontend\blog_show.blade.php */

        .public-info-card .blog-content { color: #5f586b; font-size: 1rem; line-height: 1.85; white-space: pre-line; overflow-wrap: anywhere; }



        
.storefront-site,
.customer-auth-document,
.auth-document {
        color: var(--gm-navy);
        font-family: Montserrat, "Segoe UI", sans-serif;
}

 .storefront-site .main-content .btn-outline-primary:hover {
        border-color: var(--gm-orange);
        background: var(--gm-orange);
        color: #fff;
}

.storefront-site .main-content .btn-sm {
        min-height: 34px;
        padding: .375rem .75rem;
}

.storefront-site .main-content .btn:focus-visible,
.auth-page .btn:focus-visible,
.customer-auth-page .btn:focus-visible,
.customer-auth-submit:focus-visible {
        outline: 3px solid rgba(245, 102, 10, .32);
        outline-offset: 2px;
        box-shadow: none;
}

#customer-orders-redesign .btn-order-primary:hover {
        border-color: var(--gm-orange-dark);
        background: var(--gm-orange-dark);
}

.btn-cart,
.btn-buy {
        border-color: var(--gm-orange);
        border-radius: .65rem;
        background: linear-gradient(105deg, #f76c0a, #ef5609);
        color: #fff;
        font-family: inherit;
}

.btn-cart:hover:not(:disabled),
.btn-buy:hover:not(.is-disabled) {
        border-color: var(--gm-orange-dark);
        background: var(--gm-orange-dark);
        color: #fff;
}

.cart-summary {
        top: 80px;
}

.cart-empty-art {
        max-width: 200px;
}

.theme-cover-image {
        height: 220px;
        object-fit: cover;
}

.content-narrow {
        max-width: 760px;
}

.public-blog-cover {
        width: 100%;
        max-height: 440px;
        object-fit: cover;
}

@media (max-width: 991.98px) {
        .auth-page::before,
        .auth-page::after {
            display: none;
        }
}

.smart-search-page {
    min-height: 65vh;
    background: linear-gradient(180deg, #fff9f1 0, #fff 360px);
}

.search-page-heading {
    margin: 34px 0 24px;
}

.search-page-eyebrow,
.search-results-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gm-orange-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.search-page-heading h1 {
    margin: 8px 0;
    color: var(--gm-navy);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.search-page-heading p {
    margin: 0;
    color: #647187;
}

.smart-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 250px) auto;
    gap: 10px;
    padding: 12px;
    border: 1px solid #eee7df;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 33, 58, .07);
}

.smart-search-input-wrap,
.smart-search-filter {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 0 13px;
    /* border: 1px solid #e8eaf0; */
    border-radius: 11px;
    /* background: #fff; */
    /* color: var(--gm-orange-dark); */
}



.smart-search-input-wrap input {
    width: 100%;
    min-width: 0;
    height: 25px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;

    font: inherit;
    font-size: .9rem;
}

.smart-search-input-wrap input::-webkit-search-cancel-button {
    display: none;
}

.smart-search-input-wrap [hidden] {
    display: none !important;
}


.smart-search-page .btn-search-clear-category {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: #fffcf8;
    color: #a83e08;
    font-size: 1.12rem;

}


.smart-search-page .btn-search-submit,
.smart-search-page .btn-search-reset {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid var(--gm-orange-dark);
    border-radius: 11px;
    background: var(--gm-orange-dark);
    color: #fff;
    font-size: .82rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.smart-search-page .btn-search-submit:hover,
.smart-search-page .btn-search-reset:hover {
    border-color: var(--gm-navy);
    background: var(--gm-navy);
    color: #fff;
}

.smart-search-page .btn-search-reset {
    border-color: #dfe4ea;
    background: #fff;
    color: #34445b;
}

.search-results-heading,
.search-related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 38px 0 18px;
}

.search-results-heading h2,
.search-related-heading h2 {
    margin: 5px 0 0;
    color: var(--gm-navy);
    font-size: 1.45rem;
    font-weight: 800;
}

.search-results-count {
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff0e4;
    color: #a83e08;
    font-size: .75rem;
    font-weight: 750;
    white-space: nowrap;
}

.search-suggestion {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: -4px 0 18px;
    padding: 12px 15px;
    border: 1px solid #f3ddb2;
    border-radius: 11px;
    background: #fffaf0;
    color: #795710;
    font-size: .84rem;
}

.search-empty {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 30px 18px;
    border: 1px solid #eee7df;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.search-empty-icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 19px;
    background: #fff0e4;
    color: var(--gm-orange-dark);
    font-size: 1.5rem;
}

.search-empty h2 {
    margin: 0 0 7px;
    color: var(--gm-navy);
    font-size: 1.2rem;
    font-weight: 800;
}

.search-empty p {
    max-width: 480px;
    margin: 0 0 16px;
    color: #647187;
    font-size: .86rem;
}

.search-related {
    margin-top: 44px;
}

.search-related-heading {
    align-items: center;
}

.search-related-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .8rem;
    font-weight: 750;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .search-page-heading {
        margin: 26px 0 20px;
    }

    .smart-search-form {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 10px;
    }

    .smart-search-input-wrap {
        grid-column: 1 / -1;
    }

    .smart-search-filter {
        min-height: 46px;
    }

    .smart-search-page .btn-search-submit {
        min-width: 112px;
    }

    .smart-search-page .btn-search-clear-category {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .search-results-heading,
    .search-related-heading {
        align-items: flex-start;
    }

    .search-results-heading h2,
    .search-related-heading h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 420px) {
    .smart-search-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .smart-search-input-wrap {
        grid-column: auto;
    }

    .smart-search-page .btn-search-submit,
    .smart-search-page .btn-search-reset {
        width: 100%;
    }

    .search-results-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
    }
}

.study-material-page {
    padding: 34px 0 72px;
    background: #f8f7f5;
}

.study-material-page .store-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 0 0 28px;
    color: #758093;
    font-size: .8rem;
}

.study-material-page .store-breadcrumb a {
    color: var(--gm-orange-dark);
    text-decoration: none;
}

.study-material-heading {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.study-material-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--gm-orange-dark);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.study-material-heading h1 {
    margin: 0;
    color: var(--gm-navy);
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -.035em;
}

.study-material-heading p {
    margin: 10px auto 0;
    color: #667286;
    font-size: .96rem;
    line-height: 1.7;
}

.study-material-filters {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(180px, 270px) auto auto;
    align-items: center;
    gap: 10px;
    max-width: 970px;
    margin: 0 auto 38px;
    padding: 11px;
    border: 1px solid #e9e5df;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(16, 33, 58, .06);
}

.study-material-search {
    position: relative;
}

.study-material-search > i {
    position: absolute;
    top: 50%;
    left: 15px;
    color: #8490a1;
    transform: translateY(-50%);
    pointer-events: none;
}

.study-material-search .form-control {
    min-height: 46px;
    padding-left: 42px;
    border-color: transparent;
    background: #f8f7f5;
    box-shadow: none;
}

.study-material-category-filter .form-select {
    min-height: 46px;
    border-color: #e7e5e1;
    color: var(--gm-navy);
}

.study-material-page .study-material-search-button,
.study-material-page .study-material-filters > .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.study-material-results-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin: 0 0 18px;
}

.study-material-results-heading h2 {
    margin: 0;
    color: var(--gm-navy);
    font-size: 1.35rem;
    font-weight: 800;
}

.study-material-results-heading p {
    margin: 5px 0 0;
    color: #778296;
    font-size: .85rem;
}

.study-material-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #ece8e2;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(16, 33, 58, .045);
    transition: transform .2s ease, box-shadow .2s ease;
}

.study-material-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 32px rgba(16, 33, 58, .1);
}

.study-material-cover {
    position: relative;
    display: grid;
    height: 218px;
    overflow: hidden;
    place-items: center;
    background: linear-gradient(145deg, #fff5ea, #f1eaf4);
    text-decoration: none;
}

.study-material-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.study-material-card:hover .study-material-cover img {
    transform: scale(1.035);
}

.study-material-cover-placeholder {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border-radius: 20px;
    background: #fff;
    color: var(--gm-orange-dark);
}

.study-material-cover-placeholder svg {
    width: 43px;
    height: 43px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.study-material-cover-tag {
    position: absolute;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    overflow: hidden;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--gm-navy);
    font-size: .69rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.study-material-card-body {
    display: flex;
    min-height: 188px;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
}

.study-material-card-body h3 {
    margin: 0 0 8px;
    color: var(--gm-navy);
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1.45;
}

.study-material-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.study-material-card-body p {
    margin: 0 0 16px;
    color: #687487;
    font-size: .84rem;
    line-height: 1.65;
}

.study-material-details-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--gm-orange-dark);
    font-size: .83rem;
    font-weight: 800;
    text-decoration: none;
}

.study-material-details-link:hover {
    color: var(--gm-navy);
}

.study-material-pagination .pagination {
    gap: 5px;
}

.study-material-pagination .page-link {
    border-radius: 8px;
    color: var(--gm-orange-dark);
}

.study-material-pagination .active .page-link {
    border-color: var(--gm-orange-dark);
    background: var(--gm-orange-dark);
    color: #fff;
}

.study-material-empty {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
    border: 1px dashed #d9d4cd;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.study-material-empty-icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 19px;
    background: #fff0e4;
    color: var(--gm-orange-dark);
    font-size: 1.5rem;
}

.study-material-empty h2 {
    color: var(--gm-navy);
    font-size: 1.2rem;
    font-weight: 800;
}

.study-material-empty p {
    max-width: 480px;
    margin: 0 0 18px;
    color: #687487;
    font-size: .88rem;
}

.study-material-detail {
    display: grid;
    grid-template-columns: minmax(250px, 390px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 5vw, 58px);
    padding: clamp(20px, 4vw, 42px);
    border: 1px solid #ece8e2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(16, 33, 58, .06);
}

.study-material-detail-cover {
    display: grid;
    min-height: 300px;
    overflow: hidden;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(145deg, #fff5ea, #f1eaf4);
}

.study-material-detail-cover > img {
    display: block;
    width: 100%;
    max-height: 540px;
    object-fit: contain;
}

.study-material-detail-content {
    min-width: 0;
}

.study-material-detail-category {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--gm-orange-dark);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.study-material-detail-content > h1 {
    margin: 0 0 17px;
    color: var(--gm-navy);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 850;
    line-height: 1.2;
}

.study-material-description {
    color: #566378;
    font-size: .96rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.study-material-pdf-panel {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    padding: 17px;
    border: 1px solid #eee7df;
    border-radius: 14px;
    background: #fdfbf9;
}

.study-material-pdf-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 13px;
    background: #fff0e4;
    color: var(--gm-orange-dark);
    font-size: 1.3rem;
}

.study-material-pdf-copy {
    min-width: 120px;
    flex: 1;
}

.study-material-pdf-copy h2 {
    margin: 0 0 4px;
    color: var(--gm-navy);
    font-size: .94rem;
    font-weight: 800;
}

.study-material-pdf-copy p {
    margin: 0;
    color: #778296;
    font-size: .78rem;
}

.study-material-pdf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.study-material-pdf-actions .btn {
    white-space: nowrap;
}

.study-material-related {
    margin-top: 48px;
}

.study-material-related-card .study-material-cover {
    height: 175px;
}

.study-material-related-card .study-material-card-body {
    min-height: 140px;
}

@media (max-width: 767.98px) {
    .study-material-page {
        padding: 24px 0 48px;
    }

    .study-material-filters {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        margin-bottom: 30px;
    }

    .study-material-search {
        grid-column: 1 / -1;
    }

    .study-material-detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .study-material-detail-cover {
        min-height: 240px;
        max-height: 380px;
    }

    .study-material-detail-cover > img {
        max-height: 380px;
    }
}

@media (max-width: 480px) {
    .study-material-filters {
        grid-template-columns: minmax(0, 1fr);
    }

    .study-material-search {
        grid-column: auto;
    }

    .study-material-page .study-material-filters > .btn {
        width: 100%;
    }

    .study-material-pdf-panel {
        flex-wrap: wrap;
    }

    .study-material-pdf-actions {
        width: 100%;
    }

    .study-material-pdf-actions .btn {
        flex: 1;
    }
}

/* Final shared storefront tokens and component overrides */
.storefront-site {
    --gm-orange: #f5660a;
    --gm-orange-dark: #d94b00;
    --gm-navy: #10213a;
    --gm-muted: #647187;
    --gm-border: #e5e9f0;
    --gm-surface-soft: #fffaf5;
}

.storefront-site .main-content :is(h1, h2, h3, h4, h5, h6) {
    color: var(--gm-navy);
    font-family: Montserrat, "Segoe UI", sans-serif;
}

.storefront-site .main-content .btn,
.storefront-site .main-content .btn-address-primary,
.storefront-site .main-content .btn-address-light,
.storefront-site .main-content .btn-address-delete,
.storefront-site .main-content .btn-order,
.customer-auth-document .btn,
.auth-document .btn {
    min-height: 42px;
    padding: .625rem 1rem;
    border-radius: .625rem;
    font-family: Montserrat, "Segoe UI", sans-serif;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.25;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.storefront-site .main-content .btn-primary,
.storefront-site .main-content .btn-success,
.storefront-site .main-content .btn-save,
.storefront-site .main-content .btn-address-primary,
.storefront-site .main-content .btn-order-primary,
.storefront-site .main-content .btn-auth,
.customer-auth-document .customer-auth-submit,
.auth-document .btn-auth,
.btn-cart,
.btn-buy {
    border-color: var(--gm-orange);
    background: var(--gm-orange);
    color: #fff;
}

.storefront-site .main-content .btn-primary:hover,
.storefront-site .main-content .btn-success:hover,
.storefront-site .main-content .btn-save:hover,
.storefront-site .main-content .btn-address-primary:hover,
.storefront-site .main-content .btn-order-primary:hover,
.storefront-site .main-content .btn-auth:hover,
.customer-auth-document .customer-auth-submit:hover,
.auth-document .btn-auth:hover,
.btn-cart:hover:not(:disabled),
.btn-buy:hover:not(.is-disabled) {
    border-color: var(--gm-orange-dark);
    background: var(--gm-orange-dark);
    color: #fff;
}

.storefront-site .main-content .btn-outline-primary {
    border-color: var(--gm-orange);
    color: var(--gm-orange-dark);
}

.storefront-site .main-content .btn-outline-primary:hover {
    border-color: var(--gm-orange);
    background: var(--gm-orange);
    color: #fff;
}

.storefront-site .main-content .btn-outline-secondary {
    border-color: var(--gm-border);
    color: var(--gm-navy);
}

.storefront-site .main-content .btn-outline-secondary:hover {
    border-color: var(--gm-navy);
    background: var(--gm-navy);
    color: #fff;
}

.storefront-site .main-content .btn:focus-visible,
.customer-auth-document :is(a, button, input, select):focus-visible,
.auth-document :is(a, button, input, select):focus-visible {
    outline: 3px solid rgba(245, 102, 10, .32);
    outline-offset: 2px;
    box-shadow: none;
}

.storefront-site .main-content .nav-pills .nav-link {
    min-height: 42px;
    padding: .625rem 1rem;
    border: 1px solid var(--gm-border);
    border-radius: .625rem;
    background: #fff;
    color: var(--gm-navy);
    font-size: .9rem;
    font-weight: 600;
}

.storefront-site .main-content .nav-pills .nav-link:hover {
    border-color: var(--gm-orange);
    background: var(--gm-surface-soft);
    color: var(--gm-orange-dark);
}

.storefront-site .main-content .nav-pills .nav-link.active,
.storefront-site .main-content .nav-pills .show > .nav-link {
    border-color: var(--gm-orange);
    background: var(--gm-orange);
    color: #fff;
}

.storefront-site .main-content .form-control,
.storefront-site .main-content .form-select,
.customer-auth-document .form-control {
    border-color: var(--gm-border);
    border-radius: .625rem;
    color: var(--gm-navy);
    font-family: Montserrat, "Segoe UI", sans-serif;
}

.storefront-site .main-content .form-control:focus,
.storefront-site .main-content .form-select:focus,
.customer-auth-document .form-control:focus {
    border-color: var(--gm-orange);
    box-shadow: 0 0 0 .2rem rgba(245, 102, 10, .16);
}

.storefront-site .main-content .table {
    --bs-table-bg: #fff;
    --bs-table-color: var(--gm-navy);
    --bs-table-border-color: var(--gm-border);
}

.storefront-site .main-content .table thead th {
    background: #f5f7fa;
    color: var(--gm-navy);
}

.site-page-heading {
    margin-bottom: 1.75rem;
    color: var(--gm-navy);
}

.site-page-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    min-height: 58px;
    margin-bottom: 1.5rem;
    padding: .875rem 1.25rem;
    border: 1px solid var(--gm-border);
    border-radius: .875rem;
    background: #fff;
    color: var(--gm-muted);
    font-size: .9rem;
}

.site-page-breadcrumb a {
    color: var(--gm-orange-dark);
    font-weight: 600;
    text-decoration: none;
}

.site-page-heading-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-page-heading-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    place-items: center;
    border: 1px solid #f6d5bd;
    border-radius: .875rem;
    background: #fff4ea;
    color: var(--gm-orange-dark);
    font-size: 1.25rem;
}

.site-page-heading-copy {
    min-width: 0;
    flex: 1;
}

.site-page-heading h1 {
    margin: 0;
    color: var(--gm-navy);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.site-page-heading-eyebrow {
    margin: 0 0 .375rem;
    color: var(--gm-orange-dark);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-page-heading-description {
    margin: .5rem 0 0;
    color: var(--gm-muted);
    font-size: .95rem;
    line-height: 1.65;
}

.site-page-heading-actions {
    flex: 0 0 auto;
}

.public-info-page {
    background: #fff;
    color: var(--gm-navy);
}

.public-info-hero {
    padding: 2rem 0 1.5rem;
    border: 0;
    border-bottom: 1px solid var(--gm-border);
    background: #fff;
    color: var(--gm-navy);
    box-shadow: none;
}

.public-info-content {
    padding-top: 2rem;
}

.public-info-card {
    padding: clamp(1.25rem, 4vw, 2.375rem);
    border: 1px solid var(--gm-border);
    border-radius: .875rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 33, 58, .07);
}

.public-info-card h2,
.public-info-card h3 {
    color: var(--gm-navy);
}

.public-info-card p,
.public-info-card li {
    color: #566277;
    line-height: 1.8;
}

.public-info-card a {
    color: var(--gm-orange-dark);
}

.public-info-section + .public-info-section {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gm-border);
}

.public-info-contact {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: 1.375rem;
}

.public-info-contact a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 42px;
    padding: .5625rem .875rem;
    border: 1px solid var(--gm-border);
    border-radius: .625rem;
    background: #f8fafc;
    color: var(--gm-navy);
    overflow-wrap: anywhere;
    text-decoration: none;
}

.public-blog-grid .card {
    height: 100%;
    overflow: hidden;
}

.public-blog-grid .card-img-top,
.public-blog-image-placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.public-blog-image-placeholder {
    place-items: center;
    background: #fff4ea;
    color: var(--gm-orange-dark);
    font-size: 2rem;
}

.public-blog-grid .card-title a {
    color: var(--gm-navy);
    text-decoration: none;
}

.public-blog-grid .card-title a:hover {
    color: var(--gm-orange-dark);
}

.public-blog-empty {
    padding: 3rem 1.5rem;
    border: 1px solid var(--gm-border);
    border-radius: .875rem;
    background: #fff;
    text-align: center;
}

.storefront-site .site-header {
    background: var(--gm-navy);
}

.storefront-site .brand-info strong span,
.storefront-site .header-action:hover,
.storefront-site .mobile-menu-btn {
    color: #ffbd79;
}

.storefront-site .nav-list > li > a:hover,
.storefront-site .nav-list > li > a.active {
    color: var(--gm-orange-dark);
}

.storefront-site .footer {
    background: var(--gm-navy);
    color: #e7edf5;
}

.storefront-site .footer h4 {
    color: #fff;
}

.storefront-site .footer .footer-description,
.storefront-site .footer-contact {
    color: #c7d1df;
}

.storefront-site .footer a {
    color: #e7edf5;
}

.storefront-site .footer a:hover {
    color: #ffbd79;
}

.storefront-site .book-image .product-format-badge {
    position: absolute !important;
    top: auto !important;
    left: 5px !important;
    bottom: 5px !important;
    margin: 0 !important;
    z-index: 10 !important;
    white-space: nowrap;
    width: max-content;
    max-width: calc(100% - 24px);
    overflow: visible;
    line-height: 1.4;
    padding: 7px 12px;
}

@media (max-width: 575.98px) {
    .site-page-heading {
        margin-bottom: 1.25rem;
    }

    .site-page-breadcrumb {
        min-height: 48px;
        margin-bottom: 1.125rem;
        padding: .75rem .875rem;
        font-size: .8125rem;
    }

    .site-page-heading-content {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .site-page-heading-actions {
        width: 100%;
    }

    .site-page-heading-actions .btn {
        width: 100%;
    }

    .public-info-hero {
        padding: 1.25rem 0;
    }

    .public-info-content {
        padding-top: 1.25rem;
    }
}

.storefront-site .main-content .hero-slider,
.storefront-site .main-content .heroSwiper {
    width: 100%;
    height: auto;
    aspect-ratio: 2144 / 496;
    overflow: hidden;
}

.storefront-site .main-content .heroSwiper .swiper-wrapper,
.storefront-site .main-content .heroSwiper .swiper-slide {
    height: 100%;
}

.storefront-site .main-content .heroSwiper,
.storefront-site .main-content .heroSwiper .swiper-wrapper,
.storefront-site .main-content .heroSwiper .swiper-slide {
    min-height: 0;
}

.storefront-site .main-content .heroSwiper .hero-slide-picture,
.storefront-site .main-content .heroSwiper .hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.storefront-site .main-content .heroSwiper .swiper-slide img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    animation: none;
}

@media (max-width: 1024px) {
    .storefront-site .main-content .hero-slider,
    .storefront-site .main-content .heroSwiper {
        aspect-ratio: 765 / 1020;
    }
}

@media (min-width: 1600px) {
    .storefront-site .container,
    .storefront-site .container-sm,
    .storefront-site .container-md,
    .storefront-site .container-lg,
    .storefront-site .container-xl,
    .storefront-site .container-xxl,
    .storefront-site #customer-orders-redesign .container {
        max-width: none;
    }
}

.storefront-site .book-card {
    height: 405px;
}

.storefront-site .book-image {
    height: 225px;
}

.storefront-site .book-image img {
    width: 100%;
    height: 100%;
    max-width: 180px;
}

.storefront-site .book-info {
    flex: 0 0 auto;
}

.storefront-site .book-info h3 {
    min-height: 0;
}

@media (max-width: 500px) {
    .storefront-site .book-card {
        height: 435px;
    }
}

.popularSwiper .swiper-slide .book-card,
.related-books-grid .book-card {
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.popularSwiper .swiper-slide .book-card:hover,
.related-books-grid .book-card:hover {
    box-shadow: none;
}

.popularSwiper .swiper-slide .book-image,
.related-books-grid .book-image {
    width: 100%;
    height: auto;
    max-height: 430px;
    aspect-ratio: 3 / 4;
    flex-shrink: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.popularSwiper .swiper-slide .book-image-link,
.related-books-grid .book-image-link {
    overflow: visible;
}

.popularSwiper .swiper-slide .book-image img,
.related-books-grid .book-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    object-fit: contain;
    filter: none;
}

.popularSwiper .swiper-slide .book-info,
.related-books-grid .book-info {
    width: 100%;
    min-width: 0;
    flex: 1;
    padding: 8px 0 0;
}

.popularSwiper .swiper-slide .book-info h3,
.related-books-grid .book-info h3 {
    display: -webkit-box;
    height: 2.6em;
    overflow: hidden;
    margin-bottom: 4px;
    min-height: 0;
    font-size: 12px;
    line-height: 1.3;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.popularSwiper .swiper-slide .price-row,
.related-books-grid .price-row {
    min-height: 24px;
    align-items: center;
    gap: 4px;
}

.popularSwiper .swiper-slide .price-row del,
.related-books-grid .price-row del {
    font-size: 10px;
}

.popularSwiper .swiper-slide .price-row strong,
.related-books-grid .price-row strong {
    font-size: 15px;
}

.popularSwiper .swiper-slide .book-category,
.popularSwiper .swiper-slide .book-card-author,
.popularSwiper .swiper-slide .stock-status,
.related-books-grid .book-category,
.related-books-grid .book-card-author,
.related-books-grid .stock-status {
    display: none;
}

.popularSwiper .swiper-slide .discount,
.popularSwiper .swiper-slide .product-format-badge,
.related-books-grid .discount,
.related-books-grid .product-format-badge {
    z-index: 4 !important;
    max-width: calc(100% - 36px);
    padding: 3px 5px !important;
    border: 0 !important;
    border-radius: 4px !important;
    line-height: 1.2 !important;
    font-size: 8px !important;
    font-weight: 700;
}

.popularSwiper .swiper-slide .discount,
.related-books-grid .discount {
    top: 5px;
    left: clamp(10px, 1.1vw, 20px);
    color: #c62828 !important;
    background: #fff !important;
}

.popularSwiper .swiper-slide .product-format-badge,
.related-books-grid .product-format-badge {
    left: clamp(10px, 1.1vw, 20px) !important;
    bottom: 5px !important;
    color: #fff !important;
    background: #c62828 !important;
}

.popularSwiper .swiper-slide .ebook-badge,
.related-books-grid .ebook-badge {
    background: #59339b !important;
}

.popularSwiper .swiper-slide .wishlist-btn,
.related-books-grid .wishlist-btn {
    top: 5px;
    right: clamp(10px, 1.1vw, 20px);
    z-index: 5;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, .95);
}

.popularSwiper .swiper-slide .wishlist-btn svg,
.related-books-grid .wishlist-btn svg {
    width: 14px;
    height: 14px;
}

.popularSwiper .swiper-slide .book-buttons,
.related-books-grid .book-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding-top: 6px;
    margin-top: auto;
}

.popularSwiper .swiper-slide .btn-cart,
.popularSwiper .swiper-slide .btn-buy,
.related-books-grid .btn-cart,
.related-books-grid .btn-buy {
    min-height: 30px;
    gap: 3px;
    padding: 4px 2px;
    font-size: 8px;
    white-space: nowrap;
}

.popularSwiper .swiper-slide .btn-cart svg,
.related-books-grid .btn-cart svg {
    width: 11px;
    height: 11px;
}

@media (max-width: 575.98px) {
    .popularSwiper .swiper-slide .discount,
    .related-books-grid .discount {
        left: 10px;
    }

    .popularSwiper .swiper-slide .product-format-badge,
    .related-books-grid .product-format-badge {
        left: 10px !important;
    }

    .popularSwiper .swiper-slide .wishlist-btn,
    .related-books-grid .wishlist-btn {
        right: 10px;
    }

    .popularSwiper .swiper-button-prev,
    .popularSwiper .swiper-button-next {
        width: 30px;
        height: 30px;
    }
}

.catalog-page .store-product-grid > [class*="col-"] {
    display: flex;
}

.catalog-page .store-product-grid .book-card {
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.catalog-page .store-product-grid .book-card:hover {
    box-shadow: none;
}

.catalog-page .store-product-grid .book-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    flex-shrink: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.catalog-page .store-product-grid .book-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    object-fit: contain;
    filter: none;
}

.catalog-page .store-product-grid .book-info {
    width: 100%;
    min-width: 0;
    flex: 1;
    padding: 8px 0 0;
}

.catalog-page .store-product-grid .book-info h3 {
    display: -webkit-box;
    height: 2.6em;
    overflow: hidden;
    margin-bottom: 4px;
    min-height: 0;
    font-size: 12px;
    line-height: 1.3;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-page .store-product-grid .book-category,
.catalog-page .store-product-grid .book-card-author,
.catalog-page .store-product-grid .stock-status {
    display: none;
}

.catalog-page .store-product-grid .price-row {
    min-height: 24px;
    align-items: center;
    gap: 4px;
}

.catalog-page .store-product-grid .price-row del {
    font-size: 10px;
}

.catalog-page .store-product-grid .price-row strong {
    font-size: 15px;
}

.catalog-page .store-product-grid .discount,
.catalog-page .store-product-grid .product-format-badge {
    z-index: 4 !important;
    max-width: calc(100% - 36px);
    padding: 3px 5px !important;
    border: 0 !important;
    border-radius: 4px !important;
    line-height: 1.2 !important;
    font-size: 8px !important;
    font-weight: 700;
}

.catalog-page .store-product-grid .discount {
    top: 5px;
    left: 10px;
    color: #c62828 !important;
    background: #fff !important;
}

.catalog-page .store-product-grid .product-format-badge {
    left: 10px !important;
    bottom: 5px !important;
    color: #fff !important;
    background: #c62828 !important;
}

.catalog-page .store-product-grid .ebook-badge {
    background: #59339b !important;
}

.catalog-page .store-product-grid .wishlist-btn {
    top: 5px;
    right: 10px;
    z-index: 5;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, .95);
}

.catalog-page .store-product-grid .wishlist-btn svg {
    width: 14px;
    height: 14px;
}

.catalog-page .store-product-grid .book-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding-top: 6px;
    margin-top: auto;
}

.catalog-page .store-product-grid .btn-cart,
.catalog-page .store-product-grid .btn-buy {
    min-height: 30px;
    gap: 3px;
    padding: 4px 2px;
    font-size: 8px;
    white-space: nowrap;
}

.catalog-page .store-product-grid .btn-cart svg {
    width: 11px;
    height: 11px;
}


.category-section .category-card {
    min-height: 92px;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid rgba(24, 35, 57, .12);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(24, 35, 57, .08);
}

.category-section .category-card::before {
    top: -34px;
    right: -30px;
    width: 90px;
    height: 90px;
    opacity: .5;
}

.category-section .category-image,
.category-section .category-image-placeholder {
    width: 56px;
    height: 64px;
    flex: 0 0 56px;
    border-radius: 6px;
}

.category-section .category-image {
    object-fit: contain;
}

.category-section .category-book-svg {
    width: 48px;
    height: 56px;
}

.category-section .category-copy {
    flex: 1;
    padding-right: 12px;
}

.category-section .category-copy h5 {
    margin: 0;
    color: #222442;
    font-size: clamp(15px, 1.1vw, 17px);
    font-weight: 650;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.category-section .section-heading h4 {
    font-size: 22px;
}

.category-section .section-heading > a {
    font-size: 13px;
}

.category-section .category-arrow {
    right: 12px;
    bottom: 10px;
    width: 16px;
    height: 16px;
}

.related-books-grid > [class*="col-"] {
    display: flex;
}

@media (max-width: 575.98px) {
    .category-section {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .category-section .section-heading h4 {
        font-size: 18px;
    }

    .category-section .section-heading > a {
        font-size: 12px;
    }

    .category-section .category-card {
        min-height: 66px;
        padding: 8px 10px;
        gap: 10px;
        border-radius: 11px;
    }

    .category-section .category-image,
    .category-section .category-image-placeholder {
        width: 40px;
        height: 48px;
        flex-basis: 40px;
    }

    .category-section .category-book-svg {
        width: 36px;
        height: 44px;
    }

    .category-section .category-copy {
        padding-right: 16px;
    }

    .category-section .category-copy h5 {
        font-size: 14px;
        line-height: 1.25;
    }

    .category-section .category-arrow {
        right: 8px;
        bottom: 7px;
        width: 14px;
        height: 14px;
    }
}
 