/* =========================================================
   OZZO BOOKS
   HOME-PAGE HERO SIZING + PREMIUM CORPORATE DESIGN

   Hero sizing follows OZZO Home:
   - 400px desktop hero
   - 42% / 58% split
   - 31px heading
   - compact CTA
   - same responsive proportions

   Existing animations are preserved.
========================================================= */

:root{
    --navy:#132438;
    --navy-dark:#0d1d2d;
    --navy-soft:#20364d;
    --text:#16283b;
    --muted:#657384;
    --cream:#eeeae4;
    --surface:#f7f8fa;
    --white:#ffffff;
    --star:#f3a900;
    --border:#e7ebef;
    --soft-border:#dfe5ea;
    --green:#315b4f;
}


/* =========================================================
   GLOBAL
========================================================= */

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

html{
    width:100%;
    scroll-behavior:smooth;
}

body{
    width:100%;
    max-width:100%;
    min-height:100%;
    margin:0;

    font-family:"DM Sans",sans-serif;

    color:var(--text);

    background:#fff;

    overflow-x:hidden;

    letter-spacing:.01em;
}

img{
    display:block;
    max-width:100%;
}

button,
input{
    font-family:inherit;
}

button{
    cursor:pointer;
}

a{
    text-decoration:none;
    color:inherit;
}

.container,
.container-fluid{
    position:relative;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar{
    width:100%;
    height:30px;

    background:var(--navy-dark);

    color:#fff;

    font-size:10px;

    letter-spacing:.2px;
}

.top-bar-inner{
    width:100%;
    height:30px;

    display:flex;

    align-items:center;

    justify-content:space-between;
}

.shipping-text{
    display:flex;

    align-items:center;

    gap:8px;
}

.shipping-text i{
    font-size:11px;
}

.top-links{
    display:flex;

    align-items:center;

    gap:10px;
}

.top-links a{
    color:#fff;
}

.login-link{
    display:flex;

    align-items:center;

    gap:5px;
}


/* =========================================================
   HEADER
========================================================= */

.main-header{
    width:100%;

    min-height:67px;

    background:#fff;

    border-bottom:1px solid #e9e9e9;

    position:relative;

    z-index:100;
}

.navbar{
    width:100%;

    min-height:67px;

    padding-top:0;

    padding-bottom:0;
}

.ozzo-logo{
    color:var(--navy);

    font-size:38px;

    line-height:1;

    font-weight:700;

    letter-spacing:-2px;
}

.main-nav{
    gap:13px;
}

.main-nav .nav-link{
    position:relative;

    padding:25px 11px 23px;

    color:#374455;

    font-size:12px;

    font-weight:500;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active{
    color:var(--navy);
}

.main-nav .nav-link.active::after{
    content:"";

    position:absolute;

    left:11px;
    right:11px;

    bottom:15px;

    height:2px;

    background:var(--navy);
}

.header-actions{
    display:flex;

    align-items:center;

    gap:18px;
}

.search-box{
    width:285px;

    height:36px;

    display:flex;

    align-items:center;

    padding:0 14px;

    background:#f5f6f7;

    border-radius:22px;
}

.search-box input{
    flex:1;

    min-width:0;

    height:100%;

    border:none;

    outline:none;

    background:transparent;

    font-size:10px;

    color:var(--text);
}

.search-box input::placeholder{
    color:#7b8692;
}

.search-box i{
    color:var(--navy);

    font-size:13px;
}

.header-icon{
    width:25px;

    height:35px;

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    border:none;

    background:transparent;

    color:var(--navy);

    font-size:18px;

    cursor:pointer;
}

.cart-count{
    position:absolute;

    top:0;

    right:-4px;

    width:15px;

    height:15px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--navy);

    color:#fff;

    border-radius:50%;

    font-size:8px;
}

.navbar-toggler{
    border:none !important;

    box-shadow:none !important;

    color:var(--navy);
}


/* =========================================================
   BOOKS HERO
   SAME DIMENSIONS / CONTENT SCALE AS HOME HERO
========================================================= */

/* =========================================================
   BOOKS HERO
   SAME SIZE + ALIGNMENT AS OZZO HOME HERO
========================================================= */

.books-hero{
    width:100%;

    min-height:400px;

    position:relative;

    overflow:hidden;

    background:var(--cream);
}


/* =========================================================
   HERO BACKGROUND IMAGE
========================================================= */

.books-hero-bg{
    position:absolute;

    inset:0;

    width:100% !important;

    height:100% !important;

    max-width:none !important;

    display:block;

    object-fit:cover;

    object-position:center center;

    z-index:0;
}


/* =========================================================
   DARK OVERLAY
   Stronger on left, lighter on right
========================================================= */

.books-hero-overlay{
    position:absolute;

    inset:0;

    z-index:1;

    pointer-events:none;

    background:
        linear-gradient(
            90deg,
            rgba(9,27,42,.92) 0%,
            rgba(14,32,47,.84) 28%,
            rgba(18,38,54,.62) 48%,
            rgba(16,35,50,.20) 72%,
            rgba(16,35,50,.03) 100%
        );
}


/* =========================================================
   HOME-PAGE STYLE HERO GRID
========================================================= */

.books-hero-content{
    position:relative;

    z-index:3;

    width:100%;

    min-height:400px;

    display:grid;

    grid-template-columns:42% 58%;
}


/* =========================================================
   LEFT CONTENT
   Same Home hero spacing
========================================================= */

.books-hero-copy{
    min-width:0;

    padding:42px 30px 40px 8%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:flex-start;

    color:#fff;
}


/* =========================================================
   SMALL TITLE
========================================================= */

.books-hero-copy .hero-small-title{
    color:#fff;

    font-size:11px;

    line-height:1;

    font-weight:600;

    letter-spacing:.6px;

    margin-bottom:7px;
}


/* =========================================================
   HERO HEADING
   Same Home hero size
========================================================= */

.books-hero-copy h1{
    margin:0 0 11px;

    color:#fff;

    font-family:"Playfair Display",serif;

    font-size:31px;

    line-height:1.18;

    font-weight:700;

    letter-spacing:-.8px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.books-hero-copy p{
    max-width:390px;

    margin:0 0 18px;

    color:#f0f3f5;

    font-family:"DM Sans",sans-serif;

    font-size:11px;

    line-height:1.7;

    font-weight:400;
}


/* =========================================================
   BUTTON
   Same Home hero sizing
========================================================= */

.books-hero-copy .hero-btn{
    width:123px;

    height:37px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:0;

    border:none;

    border-radius:25px;

    background:#fff;

    color:var(--navy);

    font-family:"DM Sans",sans-serif;

    font-size:10px;

    font-weight:600;

    text-decoration:none;

    transition:
        background .25s ease,
        transform .25s ease;

    animation:btnPulse 2s ease-in-out infinite;
}


.books-hero-copy .hero-btn:hover{
    background:#edf1f4;

    color:var(--navy);

    transform:scale(1.08);

    animation-play-state:paused;
}


.books-hero-copy .hero-btn span{
    font-size:14px;

    line-height:1;
}


/* =========================================================
   RIGHT SIDE
   Nothing is placed here because the image is full width.
========================================================= */

.books-hero-image-area{
    min-height:400px;

    position:relative;
}


/* =========================================================
   BOOKS HERO — <=1199px
========================================================= */

@media(max-width:1199px){

    .books-hero-content{
        grid-template-columns:45% 55%;
    }

    .books-hero-copy{
        padding-left:7%;
    }

    .books-hero-copy h1{
        font-size:28px;
    }

}


/* =========================================================
   BOOKS HERO — <=991px
========================================================= */

@media(max-width:991px){

    .books-hero{
        min-height:430px;

        background-position:center center;
    }

    .books-hero-content{
        grid-template-columns:1fr;
    }

    .books-hero-copy{
        min-height:430px;

        padding:42px 8%;
    }

    .books-hero-copy h1{
        font-size:29px;
    }

    .books-hero-copy p{
        max-width:500px;
    }

}


/* =========================================================
   BOOKS HERO — <=767px
========================================================= */

@media(max-width:767px){

    .books-hero{
        min-height:420px;
    }

    .books-hero-copy{
        min-height:420px;

        padding:35px 25px;
    }

    .books-hero-copy h1{
        font-size:29px;
    }

    .books-hero-copy p{
        max-width:450px;

        font-size:10px;
    }

}


/* =========================================================
   BOOKS HERO — <=575px
========================================================= */

@media(max-width:575px){

    .books-hero{
        min-height:400px;
    }

    .books-hero-content{
        min-height:400px;
    }

    .books-hero-copy{
        min-height:400px;

        padding:33px 18px;
    }

    .books-hero-copy .hero-small-title{
        font-size:10px;

        margin-bottom:7px;
    }

    .books-hero-copy h1{
        font-size:26px;

        line-height:1.15;

        letter-spacing:-.6px;
    }

    .books-hero-copy p{
        max-width:100%;

        margin-bottom:18px;

        font-size:10px;

        line-height:1.65;
    }

    .books-hero-copy .hero-btn{
        width:123px;

        height:37px;

        font-size:10px;
    }

}


/* =========================================================
   BOOKS HERO — <=380px
========================================================= */

@media(max-width:380px){

    .books-hero{
        min-height:390px;
    }

    .books-hero-content{
        min-height:390px;
    }

    .books-hero-copy{
        min-height:390px;

        padding:30px 16px;
    }

    .books-hero-copy h1{
        font-size:24px;
    }

    .books-hero-copy p{
        font-size:9px;
    }

}

/* =========================================================
   CATEGORIES
========================================================= */

.book-categories{
    padding:21px 0 22px;

    background:#fff;
}

.section-title{
    margin-bottom:13px;
}

.section-title > div > span,
.section-label{
    color:#7c8996;

    font-size:9px;

    font-weight:600;

    letter-spacing:1.2px;
}

.section-title h2,
.products-heading h2{
    margin:3px 0 0;

    color:var(--navy);

    font-size:22px;

    font-weight:700;
}

.book-category{
    width:100%;

    height:136px;

    position:relative;

    display:flex;

    align-items:flex-end;

    padding:17px;

    overflow:hidden;

    border-radius:6px;

    background:#e9ecef;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.book-category:hover{
    transform:translateY(-4px);

    box-shadow:
        0 12px 28px rgba(19,36,56,.10);
}

.book-category img{
    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s ease;
}

.book-category:hover img{
    transform:scale(1.03);
}

.category-overlay{
    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(19,36,56,.65),
            rgba(19,36,56,.05) 75%
        );
}

.category-content{
    position:relative;

    z-index:2;

    color:#fff;
}

.category-content span{
    font-size:8px;
}

.category-content h3{
    margin:3px 0;

    font-size:16px;

    font-weight:700;
}

.category-content p{
    margin:0;

    font-size:8px;
}


/* =========================================================
   PRODUCT HEADER
========================================================= */

.books-products{
    width:100%;

    padding:6px 0 18px;

    background:#fff;
}

.products-heading{
    display:flex;

    align-items:flex-end;

    justify-content:space-between;

    margin-bottom:14px;
}

.product-filters{
    display:flex;

    align-items:center;

    gap:24px;
}

.filter-btn{
    position:relative;

    border:none;

    background:transparent;

    color:#7a8793;

    padding:0 0 8px;

    font-size:10px;

    cursor:pointer;
}

.filter-btn.active{
    color:var(--navy);

    font-weight:700;
}

.filter-btn.active::after{
    content:"";

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    height:2px;

    background:var(--navy);
}


/* =========================================================
   PRODUCT GRID
========================================================= */

#productGrid{
    width:100% !important;

    max-width:none !important;

    display:grid !important;

    grid-template-columns:
        repeat(4,minmax(0,1fr)) !important;

    gap:16px !important;

    margin:0 !important;

    padding:0 !important;
}

#productGrid > .product-item{
    width:100% !important;

    max-width:100% !important;

    min-width:0 !important;

    margin:0 !important;

    padding:0 !important;

    display:block;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

#productGrid .book-product-card{
    width:100% !important;

    max-width:100% !important;

    min-width:0 !important;

    margin:0 !important;

    padding:0 !important;

    overflow:hidden;

    background:#fff;

    border-radius:5px;

    cursor:pointer;

    transition:
        box-shadow .2s ease,
        transform .2s ease;
}

#productGrid .book-product-card:hover{
    transform:translateY(-2px);

    box-shadow:
        0 8px 22px rgba(19,36,56,.08);
}


/* =========================================================
   IMAGE
========================================================= */

#productGrid .book-image{
    width:100% !important;

    height:158px !important;

    position:relative;

    overflow:hidden;

    background:#f3f3f3;

    border-radius:5px;
}

#productGrid .book-image img{
    width:100% !important;

    height:100% !important;

    display:block;

    object-fit:cover;

    object-position:center;

    transition:transform .4s ease;
}

#productGrid .book-product-card:hover
.book-image img{
    transform:scale(1.03);
}


/* =========================================================
   BADGE
========================================================= */

#productGrid .product-badge{
    position:absolute;

    top:7px;

    left:7px;

    z-index:5;

    padding:4px 6px;

    border-radius:3px;

    background:var(--navy);

    color:#fff;

    font-size:6px;

    font-weight:700;

    letter-spacing:.5px;
}


/* =========================================================
   WISHLIST
========================================================= */

#productGrid .wishlist{
    width:22px;

    height:22px;

    position:absolute;

    top:7px;

    right:7px;

    z-index:6;

    display:flex;

    align-items:center;

    justify-content:center;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.88);

    color:#667482;

    font-size:11px;

    cursor:pointer;
}

#productGrid .wishlist:hover{
    color:var(--navy);
}

#productGrid .wishlist.active{
    color:#d64052;
}


/* =========================================================
   PRODUCT INFO
========================================================= */

#productGrid .product-info{
    width:100%;

    padding:8px 0 5px;

    background:#fff;
}

#productGrid .product-main-row{
    width:100%;

    display:flex;

    align-items:flex-start;

    justify-content:space-between;

    gap:8px;
}

#productGrid .product-title-area{
    min-width:0;

    flex:1;
}

#productGrid .product-title-area > span{
    display:block;

    margin-bottom:3px;

    color:#8a96a3;

    font-size:7px;

    line-height:1;

    letter-spacing:.6px;
}

#productGrid .product-title-area h3{
    margin:0;

    min-height:27px;

    color:#203146;

    font-size:10px;

    line-height:1.35;

    font-weight:700;
}


/* =========================================================
   ADD TO CART
========================================================= */

#productGrid .add-cart{
    flex:0 0 auto;

    width:84px;

    height:30px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:8px 0 0;

    padding:0 7px;

    border:none;

    border-radius:4px;

    background:var(--navy);

    color:#fff;

    font-size:8px;

    font-weight:600;

    line-height:1;

    white-space:nowrap;

    cursor:pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

#productGrid .add-cart:hover{
    background:var(--navy-dark);
}

#productGrid .add-cart:active{
    transform:scale(.97);
}

#productGrid .add-cart.added{
    background:#198754;
}


/* =========================================================
   RATING
========================================================= */

#productGrid .rating{
    display:flex;

    align-items:center;

    gap:5px;

    margin-top:4px;
}

#productGrid .rating span{
    color:var(--star);

    font-size:8px;

    letter-spacing:1px;
}

#productGrid .rating small{
    color:#98a2ad;

    font-size:7px;
}


/* =========================================================
   PRICE
========================================================= */

#productGrid .price{
    margin-top:4px;

    color:var(--navy);

    font-size:10px;

    font-weight:700;
}

#productGrid .price del{
    margin-left:5px;

    color:#99a3ad;

    font-size:8px;

    font-weight:400;
}


/* =========================================================
   NO PRODUCTS
========================================================= */

.no-products{
    display:none;

    width:100%;

    padding:40px 0;

    color:#7a8793;

    text-align:center;

    font-size:12px;
}


/* =========================================================
   PROMOTION
========================================================= */

.books-promo{
    width:100%;

    margin:0;

    padding:18px 0 20px;

    background:#fff;
}

.books-promo-box{
    width:100%;

    min-height:145px;

    display:grid;

    grid-template-columns:45% 55%;

    align-items:stretch;

    overflow:hidden;

    border-radius:6px;

    background:#dceff8;

    animation:
        promoFadeUp
        .7s
        ease
        both;
}

.promo-copy{
    padding:22px 20px 22px 40px;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    justify-content:center;
}

.promo-copy > span{
    color:#667482;

    font-size:7px;

    font-weight:600;

    letter-spacing:1px;
}

.promo-copy h2{
    margin:4px 0 5px;

    color:var(--navy);

    font-size:23px;

    line-height:1.05;
}

.promo-copy p{
    max-width:320px;

    margin:0 0 8px;

    color:#667482;

    font-size:8px;

    line-height:1.4;
}

.promo-copy a{
    width:95px;

    height:26px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:16px;

    background:var(--navy);

    color:#fff;

    font-size:7px;

    font-weight:600;

    animation:
        btnPulse
        2s
        ease-in-out
        infinite;
}

.promo-image{
    width:100%;

    height:100%;

    min-height:145px;

    overflow:hidden;
}

.promo-image img{
    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

    transition:transform .6s ease;
}

.books-promo-box:hover .promo-image img{
    transform:scale(1.03);
}


/* =========================================================
   FOOTER
========================================================= */

.footer{
    width:100%;

    background:var(--navy-dark);

    color:#fff;
}

.footer-main{
    min-height:180px;

    display:grid;

    grid-template-columns:
        1.35fr
        .8fr
        .8fr
        1.1fr
        1.55fr;

    gap:34px;

    padding:35px 0 30px;
}

.footer-logo{
    margin-bottom:5px;

    color:#fff;

    font-size:27px;

    font-weight:700;

    letter-spacing:-1px;
}

.footer-categories{
    display:flex;

    gap:7px;

    color:#d7dee6;

    font-size:12px;
}

.footer-categories span{
    opacity:.6;
}

.footer-column{
    display:flex;

    flex-direction:column;
}

.footer-column h4,
.footer-newsletter h4{
    margin-bottom:14px;

    color:#fff;

    font-size:16px;

    font-weight:700;
}

.footer-column a{
    margin-bottom:8px;

    color:#ccd4dc;

    font-size:12px;

    transition:color .2s ease;
}

.footer-column a:hover{
    color:#fff;
}

.footer-newsletter p{
    margin-bottom:6px;

    color:#c4ccd5;

    font-size:8px;
}

.newsletter-input{
    width:100%;

    height:48px;

    display:flex;

    overflow:hidden;

    border:1px solid #8593a0;

    border-radius:6px;
}

.newsletter-input input{
    flex:1;

    min-width:0;

    border:none;

    outline:none;

    padding:0 16px;

    font-size:12px;
}

.newsletter-input button{
    width:65px;

    border:none;

    background:transparent;

    color:#fff;

    font-size:26px;

    cursor:pointer;
}

.newsletter-input button:hover{
    background:rgba(255,255,255,.08);
}

.newsletter-message{
    min-height:9px;

    margin-top:4px;

    color:#b7ebc3;

    font-size:7px;
}

.social-icons{
    display:flex;

    gap:16px;

    margin-top:8px;
}

.social-icons a{
    color:#fff;

    font-size:10px;
}

.social-icons a:hover{
    opacity:.7;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.14);
}

.footer-bottom-inner{
    height:50px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    color:#bdc7d1;

    font-size:12px;
}


/* =========================================================
   ANIMATIONS
   EXISTING ANIMATION KEPT
========================================================= */

@keyframes promoFadeUp{

    0%{
        opacity:0;

        transform:
            translateY(30px);
    }

    100%{
        opacity:1;

        transform:
            translateY(0);
    }

}

@keyframes btnPulse{

    0%,
    100%{
        transform:
            scale(1);
    }

    50%{
        transform:
            scale(1.06);
    }

}


/* =========================================================
   <= 1199px
========================================================= */

@media(max-width:1199px){

    .top-links{
        display:none;
    }

    .top-bar-inner{
        justify-content:center;
    }

    .main-nav{
        margin-top:10px;

        margin-bottom:10px;
    }

    .main-nav .nav-link{
        padding:10px 8px;
    }

    .header-actions{
        padding:10px 0 15px;
    }

    .search-box{
        width:220px;
    }

    .books-hero-content{
        grid-template-columns:
            45% 55%;
    }

    .books-hero-copy{
        padding-left:7%;
    }

    .books-hero-copy h1{
        font-size:28px;
    }

    .books-hero-image-area{
        min-height:400px;
    }

    .footer-main{
        grid-template-columns:
            1fr 1fr;
    }

}


/* =========================================================
   <= 991px
========================================================= */

@media(max-width:991px){

    .main-header{
        height:auto;
    }

    .navbar{
        min-height:67px;

        height:auto;
    }

    .main-nav{
        margin-top:10px;

        margin-bottom:10px;
    }

    .main-nav .nav-link{
        padding:10px 8px;
    }

    .main-nav .nav-link.active::after{
        left:8px;

        right:8px;

        bottom:4px;
    }

    .header-actions{
        padding:10px 0 15px;

        justify-content:flex-start;
    }


    /* HOME-SIZED RESPONSIVE HERO */

    .books-hero-content{
        grid-template-columns:1fr;
    }

    .books-hero-copy{
        min-height:250px;

        padding:42px 8%;
    }

    .books-hero-copy h1{
        font-size:29px;
    }

    .books-hero-copy p{
        max-width:500px;
    }

    .books-hero-image-area{
        min-height:210px;
    }


    /* HIDE SOME DECORATIVE ELEMENTS ON TABLET */

    .books-hero-bag{
        width:125px;

        height:150px;

        left:28%;

        top:67px;
    }

    .books-hero-books{
        right:25%;

        width:120px;
    }

    .books-hero-plant{
        right:10%;

        font-size:52px;
    }

    .books-hero-pencils{
        width:46px;

        height:58px;

        font-size:14px;
    }

    .books-hero-handwriting{
        font-size:18px;
    }


    #productGrid{
        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;

        gap:14px !important;
    }

    #productGrid .book-image{
        height:210px !important;
    }


    .books-promo-box{
        grid-template-columns:
            1fr;
    }

    .promo-copy{
        min-height:125px;

        padding:22px 7%;
    }

    .promo-image{
        min-height:220px;

        height:220px;
    }


    .footer-main{
        grid-template-columns:
            repeat(2,1fr);
    }

}


/* =========================================================
   <= 767px
========================================================= */

@media(max-width:767px){

    .top-bar{
        height:28px;
    }

    .top-bar-inner{
        height:28px;

        font-size:9px;
    }

    .ozzo-logo{
        font-size:31px;
    }

    .header-actions{
        flex-wrap:wrap;
    }

    .search-box{
        width:100%;

        order:3;
    }


    .books-hero-copy{
        padding:35px 25px;
    }

    .books-hero-copy h1{
        font-size:29px;
    }

    .books-hero-image-area{
        min-height:190px;
    }


    .books-hero-bag{
        width:110px;

        height:135px;

        left:30%;

        top:55px;

        font-size:22px;
    }

    .books-hero-bag::before,
    .books-hero-bag::after{
        width:32px;

        height:44px;

        top:-42px;
    }

    .books-hero-bag::before{
        left:23px;
    }

    .books-hero-bag::after{
        right:23px;
    }


    .books-hero-books{
        width:98px;

        right:24%;

        bottom:10px;
    }

    .books-hero-books div{
        height:19px;

        font-size:6px;
    }


    .books-hero-plant{
        right:7%;

        top:38px;

        font-size:43px;
    }


    .books-hero-pencils{
        right:2%;

        bottom:12px;

        width:38px;

        height:50px;

        font-size:10px;
    }


    .books-hero-handwriting{
        right:2%;

        top:27px;

        font-size:15px;
    }

    .books-hero-handwriting span{
        font-size:12px;
    }


    .book-categories{
        padding:15px 0;
    }

    .book-category{
        height:120px;
    }


    .products-heading h2{
        font-size:20px;
    }


    #productGrid{
        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;

        gap:10px !important;
    }

    #productGrid .book-image{
        height:200px !important;
    }


    #productGrid .product-main-row{
        gap:6px;
    }


    #productGrid .product-title-area h3{
        font-size:10px;

        min-height:28px;
    }


    #productGrid .product-title-area > span{
        font-size:7px;
    }


    #productGrid .add-cart{
        width:72px;

        height:31px;

        margin-top:9px;

        padding:0 5px;

        font-size:8px;
    }


    #productGrid .rating{
        margin-top:5px;
    }


    #productGrid .rating span{
        font-size:8px;
    }


    #productGrid .rating small{
        font-size:7px;
    }


    #productGrid .price{
        font-size:10px;
    }


    #productGrid .price del{
        font-size:8px;
    }


    .footer-main{
        grid-template-columns:
            1fr 1fr;

        gap:26px;
    }

    .footer-brand{
        grid-column:1/-1;
    }

}


/* =========================================================
   <= 575px
========================================================= */

@media(max-width:575px){

    .container-fluid{
        padding-left:15px !important;

        padding-right:15px !important;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .books-hero-copy{
        padding:33px 18px;
    }

    .books-hero-copy h1{
        font-size:26px;
    }

    .books-hero-copy p{
        max-width:100%;
    }

    .books-hero-image-area{
        min-height:160px;
    }


    .books-hero-bag{
        width:105px;

        height:130px;

        left:30%;

        top:45px;

        font-size:20px;
    }


    .books-hero-books{
        width:90px;

        right:21%;

        bottom:7px;
    }

    .books-hero-books div{
        height:18px;

        font-size:6px;
    }


    .books-hero-plant{
        font-size:38px;

        top:33px;
    }


    .books-hero-pencils{
        width:34px;

        height:46px;

        font-size:9px;
    }


    .books-hero-handwriting{
        font-size:13px;

        top:23px;
    }

    .books-hero-handwriting span{
        font-size:10px;
    }


    /* =====================================================
       CATEGORIES
    ===================================================== */

    .book-category{
        height:105px;

        padding:13px;
    }

    .category-content h3{
        font-size:15px;
    }

    .category-content p{
        font-size:7px;
    }


    /* =====================================================
       PRODUCTS
    ===================================================== */

    #productGrid{
        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;

        gap:10px !important;
    }

    #productGrid .book-image{
        height:170px !important;
    }


    #productGrid .product-main-row{
        gap:4px;
    }

    #productGrid .product-title-area h3{
        font-size:9px;

        min-height:27px;
    }

    #productGrid .product-title-area > span{
        font-size:6px;
    }

    #productGrid .add-cart{
        width:67px;

        height:29px;

        margin-top:8px;

        font-size:7px;
    }

    #productGrid .rating span{
        font-size:7px;
    }

    #productGrid .price{
        font-size:9px;
    }

    #productGrid .price del{
        font-size:7px;
    }


    /* =====================================================
       PROMO
    ===================================================== */

    .books-promo{
        padding:6px 0 16px;
    }

    .promo-copy{
        min-height:100px;

        padding:17px 18px;
    }

    .promo-copy h2{
        font-size:20px;
    }

    .promo-copy p{
        font-size:7px;
    }

    .promo-image{
        height:140px;

        min-height:140px;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer-main{
        grid-template-columns:1fr;
    }

    .footer-brand{
        grid-column:auto;
    }

    .footer-bottom-inner{
        height:auto;

        padding:10px 0;

        flex-direction:column;

        gap:5px;

        text-align:center;
    }

}


/* =========================================================
   <= 380px
========================================================= */

@media(max-width:380px){

    #productGrid{
        gap:8px !important;
    }

    #productGrid .book-image{
        height:165px !important;
    }

    #productGrid .product-main-row{
        gap:4px;
    }

    #productGrid .product-title-area h3{
        font-size:9px;

        min-height:26px;
    }

    #productGrid .product-title-area > span{
        font-size:6px;
    }

    #productGrid .add-cart{
        width:64px;

        height:28px;

        margin-top:8px;

        font-size:7px;
    }

    #productGrid .price{
        font-size:9px;
    }

}
/* =========================================================
   BOOKS HERO — TABLET / MOBILE
   LEFT SIDE + VERTICAL CENTER
========================================================= */

@media(max-width:991px){

    .books-hero{
        min-height:430px;
        position:relative;
    }

    .books-hero-content{
        width:100%;
        min-height:430px;

        display:flex;
        align-items:center;
        justify-content:flex-start;

        position:relative;
    }

    .books-hero-copy{
        position:relative;

        left:auto;
        bottom:auto;

        width:48%;
        max-width:520px;

        min-height:auto;

        padding:0 0 0 8%;

        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:flex-start;

        z-index:5;

        background:transparent;
    }

    .books-hero-copy .hero-small-title{
        margin-bottom:6px;
        font-size:10px;
    }

    .books-hero-copy h1{
        font-size:29px;
        line-height:1.15;
        letter-spacing:-.5px;
        margin-bottom:10px;
    }

    .books-hero-copy p{
        max-width:430px;
        margin-bottom:17px;
        font-size:10px;
        line-height:1.6;
    }

    .books-hero-copy .hero-btn{
        width:123px;
        height:37px;
        font-size:10px;
    }

    .books-hero-image-area{
        width:52%;
        min-height:430px;
        position:relative;
    }
}


/* =========================================================
   MOBILE
   LEFT SIDE + VERTICAL CENTER
========================================================= */

@media(max-width:767px){

    .books-hero{
        min-height:420px;
    }

    .books-hero-content{
        min-height:420px;

        display:flex;
        align-items:center;
        justify-content:flex-start;
    }

    .books-hero-copy{
        width:62%;

        padding-left:25px;
        padding-right:5px;

        align-items:flex-start;
    }

    .books-hero-copy .hero-small-title{
        font-size:9px;
        margin-bottom:6px;
    }

    .books-hero-copy h1{
        font-size:28px;
        line-height:1.08;
        letter-spacing:-.5px;
        margin-bottom:10px;
    }

    .books-hero-copy p{
        max-width:100%;

        font-size:9px;
        line-height:1.55;

        margin-bottom:16px;
    }

    .books-hero-copy .hero-btn{
        width:123px;
        height:37px;
        font-size:10px;
    }

    .books-hero-image-area{
        width:38%;
        min-height:420px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:575px){

    .books-hero{
        min-height:400px;
    }

    .books-hero-content{
        min-height:400px;
    }

    .books-hero-copy{
        width:65%;
        padding-left:18px;
    }

    .books-hero-copy .hero-small-title{
        font-size:8px;
        margin-bottom:5px;
    }

    .books-hero-copy h1{
        font-size:24px;
        line-height:1.08;
        margin-bottom:9px;
    }

    .books-hero-copy p{
        font-size:8px;
        line-height:1.55;
        margin-bottom:14px;
    }

    .books-hero-copy .hero-btn{
        width:116px;
        height:35px;
        font-size:9px;
    }

    .books-hero-copy .hero-btn span{
        font-size:12px;
    }

    .books-hero-image-area{
        width:35%;
        min-height:400px;
    }

  
}


/* =========================================================
   VERY SMALL PHONE
========================================================= */

@media(max-width:380px){

    .books-hero{
        min-height:390px;
    }

    .books-hero-content{
        min-height:390px;
    }

    .books-hero-copy{
        width:67%;
        padding-left:16px;
    }

    .books-hero-copy h1{
        font-size:22px;
        margin-bottom:8px;
    }

    .books-hero-copy p{
        font-size:8px;
        line-height:1.5;
        margin-bottom:12px;
    }

    .books-hero-copy .hero-btn{
        width:112px;
        height:34px;
        font-size:9px;
    }

    .books-hero-image-area{
        width:33%;
        min-height:390px;
    }
}
/* =========================
   BLACK FIXED HEADER
========================= */

.main-header{
    height:67px;
    background:#000 !important;
    border-bottom:1px solid #222;
    position:fixed;
    top:30px;
    left:0;
    width:100%;
    z-index:1000;
}

/* Logo / Brand */
.brand,
.brand span,
.brand a{
    color:#fff !important;
}

/* Navigation */
.main-nav a{
    color:#fff !important;
}

.main-nav a:hover,
.main-nav a.active{
    color:#ddd !important;
}

/* Search */
.search-box{
    background:#111;
    border:1px solid #333;
    color:#fff;
}

.search-box input{
    background:transparent;
    color:#fff;
}

.search-box input::placeholder{
    color:#aaa;
}

/* Header icons */
.header-actions button,
.header-actions a,
.header-actions i{
    color:#fff !important;
}

/* Cart count */
.cart-count{
    background:#fff;
    color:#000;
}

/* Top announcement bar */
.top-bar{
    background:#000;
    color:#fff;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1001;
}

/* Space for fixed header */
body{
    padding-top:97px;
}
/* =========================================================
   BLACK FIXED OZZO HEADER
========================================================= */

/* TOP SHIPPING BAR */
.top-bar{
    width:100%;
    height:30px;

    background:#000 !important;
    color:#fff !important;

    position:fixed;
    top:0;
    left:0;

    z-index:1100;
}


/* MAIN HEADER */
.main-header{
    width:100%;
    height:67px;

    background:#000 !important;

    border-bottom:1px solid #222;

    position:fixed;
    top:30px;
    left:0;

    z-index:1000;
}


/* NAVBAR */
.main-header .navbar{
    width:100%;
    height:67px;

    padding-top:0;
    padding-bottom:0;
}


/* =========================================================
   OZZO LOGO
========================================================= */

.ozzo-header-logo-wrap{
    width:220px;
    height:67px;

    display:flex;
    align-items:center;
    justify-content:flex-start;

    flex-shrink:0;
    overflow:hidden;
}

.ozzo-header-logo-link{
    width:220px;
    height:67px;

    display:flex;
    align-items:center;
    justify-content:flex-start;

    overflow:hidden;
}

.ozzo-header-logo{
    width:210px !important;
    max-width:210px !important;

    height:58px !important;
    max-height:58px !important;

    object-fit:contain !important;
    object-position:left center !important;

    display:block;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav{
    gap:8px;
}

.main-nav .nav-link{
    color:#fff !important;

    font-size:12px;
    font-weight:500;

    padding:25px 10px 23px;

    transition:
        color .2s ease,
        background .2s ease;
}

.main-nav .nav-link:hover{
    color:#d8d8d8 !important;
}

.main-nav .nav-link.active{
    color:#fff !important;
}

.main-nav .nav-link.active::after{
    background:#fff !important;

    left:10px;
    right:10px;
    bottom:15px;
}


/* =========================================================
   SEARCH
========================================================= */

.search-box{
    width:240px;
    height:36px;

    background:#111 !important;

    border:1px solid #333;

    border-radius:22px;

    display:flex;
    align-items:center;

    padding:0 14px;
}

.search-box input{
    background:transparent !important;

    color:#fff !important;

    border:none;
    outline:none;
}

.search-box input::placeholder{
    color:#aaa !important;
}

.search-box i{
    color:#fff !important;
}


/* =========================================================
   WISHLIST + CART
========================================================= */

.header-icon{
    color:#fff !important;

    background:transparent !important;
}

.header-icon:hover{
    color:#ddd !important;
}

.header-actions button,
.header-actions a,
.header-actions i{
    color:#fff !important;
}


/* CART COUNT */
.cart-count{
    background:#fff !important;
    color:#000 !important;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.navbar-toggler{
    color:#fff !important;

    background:transparent !important;

    border:1px solid #555 !important;

    box-shadow:none !important;
}

.navbar-toggler i{
    color:#fff !important;
}


/* =========================================================
   BODY OFFSET FOR FIXED HEADER
========================================================= */

body{
    padding-top:97px;
}
/* =========================================================
   OZZO HEADER LOGO
========================================================= */

.ozzo-header-logo-wrap{
    width:190px;
    height:67px;

    flex:0 0 190px;

    display:flex;
    align-items:center;

    overflow:hidden;
}


/* =========================================================
   DESKTOP LOGO
========================================================= */

.desktop-logo-link{
    width:190px;
    height:67px;

    display:flex;
    align-items:center;

    overflow:hidden;

    text-decoration:none;
}

.desktop-logo{
    width:180px !important;
    height:56px !important;

    max-width:180px !important;
    max-height:56px !important;

    display:block;

    object-fit:contain !important;
    object-position:left center !important;
}


/* =========================================================
   MOBILE LOGO
========================================================= */

.mobile-logo-link{
    display:none;

    width:140px;
    height:67px;

    align-items:center;

    overflow:hidden;
}

.mobile-logo{
    width:135px !important;
    height:56px !important;

    max-width:135px !important;
    max-height:56px !important;

    display:block;

    object-fit:contain !important;
    object-position:left center !important;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:991px){

    .ozzo-header-logo-wrap{
        width:165px;
        flex:0 0 165px;
    }

    .desktop-logo-link{
        width:165px;
    }

    .desktop-logo{
        width:155px !important;
        max-width:155px !important;

        height:52px !important;
        max-height:52px !important;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:767px){

    .ozzo-header-logo-wrap{
        width:140px;
        flex:0 0 140px;
    }

    .desktop-logo-link{
        display:none;
    }

    .mobile-logo-link{
        display:flex;
    }

    .mobile-logo{
        width:125px !important;
        max-width:125px !important;

        height:52px !important;
        max-height:52px !important;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:575px){

    .ozzo-header-logo-wrap{
        width:135px;
        flex-basis:135px;
    }

    .mobile-logo-link{
        width:135px;
    }

    .mobile-logo{
        width:120px !important;
        max-width:120px !important;

        height:50px !important;
        max-height:50px !important;
    }
}
/* =========================================================
   LOCAL PRODUCT IMAGE COMPATIBILITY

   Product images are supplied by Fashion.html using direct
   local paths such as ../image-name.jpg or ../image-name.png.
========================================================= */

#productGrid .product-image{
    position:relative;
    width:100%;
    height:310px;
    overflow:hidden;
    background:#f3f3f3;
}

#productGrid .product-image img{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    display:block;
    object-fit:cover;
    object-position:center;
}

#productGrid .fashion-product-card:hover .product-image img{
    transform:scale(1.03);
}

#productGrid .missing-product-image{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:#f3f3f3;
    color:#7a8793;
    text-align:center;
    font-size:12px;
}

/* Keep the header black when Fashion.css is used by itself. */
.top-bar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:30px;
    background:#000 !important;
    color:#fff !important;
    z-index:1100;
}

.main-header{
    position:fixed;
    top:30px;
    left:0;
    width:100%;
    min-height:67px;
    height:67px;
    background:#000 !important;
    border-bottom:1px solid #222;
    z-index:1000;
}

.main-header .navbar{
    width:100%;
    min-height:67px;
    height:67px;
}

.main-header .main-nav .nav-link,
.main-header .header-icon,
.main-header .header-actions a,
.main-header .header-actions button{
    color:#fff !important;
}

.main-header .main-nav .nav-link.active::after{
    background:#fff !important;
}

.main-header .search-box{
    background:#111 !important;
    border:1px solid #333 !important;
}

.main-header .search-box input{
    color:#fff !important;
}

.main-header .search-box input::placeholder{
    color:#aaa !important;
}

.main-header .search-box i{
    color:#fff !important;
}

.main-header .cart-count{
    background:#fff !important;
    color:#000 !important;
}

@media(max-width:991px){
    .main-header{
        height:auto;
        min-height:67px;
    }

    .main-header .navbar{
        height:auto;
        min-height:67px;
    }

    #productGrid .product-image{
        height:270px;
    }
}

@media(max-width:767px){
    #productGrid .product-image{
        height:230px;
    }
}

@media(max-width:575px){
    #productGrid .product-image{
        height:190px;
    }
}

@media(max-width:380px){
    #productGrid .product-image{
        height:165px;
    }
}


/* =========================================================
   OZZO LOGO
   DESKTOP + MOBILE
========================================================= */

.ozzo-header-logo-wrap{
    width:190px;
    height:67px;

    flex:0 0 190px;

    display:flex;
    align-items:center;

    overflow:hidden;
}


/* DESKTOP LOGO */

.desktop-logo-link{
    width:190px;
    height:67px;

    display:flex;
    align-items:center;

    overflow:hidden;
}

.desktop-logo{
    display:block;

    width:180px !important;
    max-width:180px !important;

    height:56px !important;
    max-height:56px !important;

    object-fit:contain !important;
    object-position:left center !important;
}


/* MOBILE LOGO */

.mobile-logo-link{
    width:125px;
    height:67px;

    display:none;

    align-items:center;

    overflow:hidden;
}

.mobile-logo{
    display:block;

    width:112px !important;
    max-width:112px !important;

    height:56px !important;
    max-height:56px !important;

    object-fit:contain !important;
    object-position:center center !important;
}