/* =========================================================
   KIDORA KIDS
   PREMIUM WEBSITE STYLE
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background: #faf9f7;
    color: #222;
    line-height: 1.5;
}


body.no-scroll {
    overflow: hidden;
}


img {
    max-width: 100%;
    display: block;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


a {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 1000;
}


.header-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 16px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    min-width: 110px;
}


.logo-main {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}


.logo-sub {
    font-size: 9px;
    letter-spacing: 4px;
    margin-top: 5px;
    text-align: center;
    font-weight: 600;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}


.main-nav a {
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}


.main-nav a:hover {
    opacity: 0.55;
}


/* =========================================================
   CART BUTTON
========================================================= */

.cart-button {
    border: 1px solid #222;
    background: #ffffff;
    padding: 10px 17px;
    border-radius: 4px;

    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.2s ease;
}


.cart-button:hover {
    background: #222;
    color: #ffffff;
}


#cart-count {
    min-width: 20px;
    height: 20px;

    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #222;
    color: #ffffff;

    font-size: 11px;
}


.cart-button:hover #cart-count {
    background: #ffffff;
    color: #222;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    max-width: 1250px;
    margin: 0 auto;

    min-height: 570px;

    padding: 55px 25px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 50px;
}


.hero-content {
    padding-left: 20px;
}


.hero-small {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}


.hero h1 {
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 22px;
}


.hero-text {
    max-width: 500px;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}


.primary-button {
    display: inline-block;

    background: #222;
    color: #ffffff;

    padding: 13px 28px;

    border-radius: 3px;

    font-weight: 700;
    font-size: 14px;

    transition: 0.2s ease;
}


.primary-button:hover {
    opacity: 0.8;
}


.hero-image {
    width: 100%;
    height: 470px;
    overflow: hidden;
    border-radius: 4px;
}


.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   FEATURES
========================================================= */

.features {
    max-width: 1200px;
    margin: 20px auto 70px;

    padding: 0 25px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}


.feature-box {
    background: #ffffff;
    border: 1px solid #eeeeee;

    padding: 25px 15px;

    text-align: center;

    border-radius: 5px;
}


.feature-icon {
    font-size: 25px;
    margin-bottom: 10px;
}


.feature-box h3 {
    font-size: 15px;
    margin-bottom: 5px;
}


.feature-box p {
    color: #777;
    font-size: 12px;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}


.section-heading p,
.section-label {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 10px;
}


.section-heading h2 {
    font-size: 34px;
    letter-spacing: -1px;
}


/* =========================================================
   SHOP BY AGE
========================================================= */

.shop-age-section {
    max-width: 1150px;
    margin: 0 auto 80px;
    padding: 0 25px;
}


.age-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}


.age-button {
    background: #ffffff;

    border: 1px solid #dddddd;

    padding: 12px 20px;

    border-radius: 4px;

    font-weight: 600;
    font-size: 13px;

    transition: 0.2s ease;
}


.age-button:hover {
    background: #222;
    color: #ffffff;
    border-color: #222;
}


/* =========================================================
   CATEGORIES
========================================================= */

.categories-section {
    max-width: 1150px;
    margin: 0 auto 80px;
    padding: 0 25px;
}


.category-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}


.category-button {
    min-width: 140px;

    background: #ffffff;

    border: 1px solid #222;

    padding: 13px 22px;

    border-radius: 4px;

    font-weight: 700;

    transition: 0.2s ease;
}


.category-button:hover {
    background: #222;
    color: #ffffff;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products-section {
    max-width: 1250px;
    margin: 0 auto 90px;
    padding: 0 25px;
}


.product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 5px;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.product-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.07);
}


.product-image-box {
    position: relative;

    width: 100%;
    height: 350px;

    background: #f4f4f4;

    overflow: hidden;
}


.product-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}


.product-card:hover .product-image {
    transform: scale(1.03);
}


/* =========================================================
   PRODUCT BADGE
========================================================= */

.product-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    background: #222;
    color: #ffffff;

    padding: 6px 10px;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;

    border-radius: 2px;
}


/* =========================================================
   PRODUCT INFO
========================================================= */

.product-info {
    padding: 18px;
}


.product-name {
    font-size: 16px;
    line-height: 1.3;

    margin-bottom: 7px;

    min-height: 42px;
}


.product-price {
    font-size: 17px;
    font-weight: 800;

    margin-bottom: 16px;
}


/* =========================================================
   PRODUCT LABEL
========================================================= */

.product-label {
    display: block;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 6px;

    color: #555;
}


/* =========================================================
   SELECTS
========================================================= */

.product-color,
.product-size {
    width: 100%;

    padding: 10px 11px;

    border: 1px solid #dddddd;

    border-radius: 3px;

    background: #ffffff;

    margin-bottom: 13px;

    outline: none;
}


.product-color:focus,
.product-size:focus {
    border-color: #222;
}


/* =========================================================
   STOCK MESSAGE
========================================================= */

.stock-message {
    font-size: 11px;
    font-weight: 700;

    margin-bottom: 12px;
}


.stock-message.in-stock {
    color: #2d7a42;
}


.stock-message.out-of-stock {
    color: #c62828;
}


/* =========================================================
   ADD TO CART
========================================================= */

.add-to-cart-button {
    width: 100%;

    border: none;

    background: #1877f2;
    color: #ffffff;

    padding: 13px 15px;

    border-radius: 3px;

    font-size: 13px;
    font-weight: 700;

    transition: 0.2s ease;
}


.add-to-cart-button:hover {
    background: #0d65d9;
}


.add-to-cart-button:disabled {
    background: #cccccc;
    color: #777777;

    cursor: not-allowed;
}


/* =========================================================
   NO PRODUCTS
========================================================= */

.no-products {
    text-align: center;

    padding: 60px 20px;

    background: #ffffff;

    border: 1px solid #eeeeee;
}


.no-products h3 {
    margin-bottom: 8px;
}


.no-products p {
    color: #777;
}


/* =========================================================
   ABOUT SECTION
========================================================= */

.about-section {
    background: #ffffff;

    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;

    padding: 90px 25px;

    margin-bottom: 90px;
}


.about-content {
    max-width: 700px;
    margin: 0 auto;

    text-align: center;
}


.about-content h2 {
    font-size: 38px;
    margin-bottom: 20px;
}


.about-content p:last-child {
    color: #666;
    font-size: 15px;
}


/* =========================================================
   FAQ
========================================================= */

.faq-section {
    max-width: 850px;

    margin: 0 auto 100px;

    padding: 0 25px;
}


.faq-container {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


.faq-container details {
    background: #ffffff;

    border: 1px solid #e5e5e5;

    border-radius: 4px;

    padding: 0 18px;
}


.faq-container summary {
    padding: 18px 0;

    cursor: pointer;

    font-size: 14px;
    font-weight: 700;
}


.faq-container details p {
    color: #666;

    font-size: 13px;

    padding:
        0
        0
        18px;
}


/* =========================================================
   OVERLAY
========================================================= */

.overlay {
    position: fixed;

    inset: 0;

    background:
        rgba(0, 0, 0, 0.5);

    z-index: 2000;

    display: flex;

    justify-content: flex-end;

    opacity: 0;

    visibility: hidden;

    transition: 0.25s ease;
}


.overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   CART PANEL
========================================================= */

.cart-panel {
    width: min(450px, 100%);

    height: 100%;

    background: #ffffff;

    padding: 25px;

    overflow-y: auto;

    transform: translateX(100%);

    transition: 0.3s ease;
}


.overlay.active .cart-panel,
.overlay.active .checkout-panel {
    transform: translateX(0);
}


.panel-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid #eeeeee;

    padding-bottom: 17px;

    margin-bottom: 20px;
}


.panel-header h2 {
    font-size: 24px;
}


.close-button {
    width: 35px;
    height: 35px;

    border: none;

    background: #f2f2f2;

    border-radius: 50%;

    font-size: 22px;

    line-height: 1;
}


.close-button:hover {
    background: #222;
    color: #ffffff;
}


/* =========================================================
   CART ITEMS
========================================================= */

.cart-items {
    display: flex;
    flex-direction: column;

    gap: 15px;
}


.cart-item {
    display: grid;

    grid-template-columns: 85px 1fr;

    gap: 12px;

    padding-bottom: 15px;

    border-bottom: 1px solid #eeeeee;
}


.cart-item-image {
    width: 85px;
    height: 105px;

    background: #f4f4f4;

    overflow: hidden;

    border-radius: 3px;
}


.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.cart-item-info h3 {
    font-size: 13px;

    line-height: 1.3;

    margin-bottom: 5px;
}


.cart-item-info p {
    font-size: 11px;
    color: #777;
}


.cart-item-info strong {
    display: block;

    font-size: 13px;

    margin-top: 5px;
}


/* =========================================================
   CART ACTIONS
========================================================= */

.cart-item-actions {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 10px;
}


.cart-item-actions button {
    border: 1px solid #dddddd;

    background: #ffffff;

    min-width: 28px;
    height: 28px;

    border-radius: 3px;

    font-size: 12px;
}


.cart-item-actions button:hover {
    background: #222;
    color: #ffffff;
}


.cart-item-actions span {
    min-width: 22px;

    text-align: center;

    font-size: 12px;
}


.cart-item-actions .remove-cart-item {
    padding: 0 8px;
}


/* =========================================================
   EMPTY CART
========================================================= */

.cart-empty {
    text-align: center;

    padding: 50px 15px;

    color: #777;
}


/* =========================================================
   CART SUMMARY
========================================================= */

.cart-summary {
    margin-top: 25px;

    border-top: 1px solid #eeeeee;

    padding-top: 20px;
}


.summary-row {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 12px;

    font-size: 14px;
}


.total-row {
    font-size: 17px;

    font-weight: 800;

    padding-top: 10px;

    border-top: 1px solid #eeeeee;
}


.checkout-button {
    width: 100%;

    margin-top: 15px;

    padding: 14px;

    border: none;

    background: #222;

    color: #ffffff;

    border-radius: 3px;

    font-weight: 700;
}


.checkout-button:hover {
    opacity: 0.85;
}


/* =========================================================
   CHECKOUT PANEL
========================================================= */

.checkout-panel {
    width: min(550px, 100%);

    height: 100%;

    background: #ffffff;

    padding: 25px;

    overflow-y: auto;

    transform: translateX(100%);

    transition: 0.3s ease;
}


/* =========================================================
   FORM
========================================================= */

.form-group {
    margin-bottom: 17px;
}


.form-group label {
    display: block;

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 6px;
}


.form-group input,
.form-group textarea {
    width: 100%;

    border: 1px solid #dddddd;

    padding: 11px 12px;

    border-radius: 3px;

    outline: none;

    resize: vertical;
}


.form-group input:focus,
.form-group textarea:focus {
    border-color: #222;
}


/* =========================================================
   PAYMENT INFO
========================================================= */

.payment-info {
    background: #f7f7f7;

    border: 1px solid #eeeeee;

    padding: 15px;

    margin-bottom: 18px;

    border-radius: 4px;
}


.payment-info h3 {
    font-size: 14px;

    margin-bottom: 5px;
}


.payment-info p {
    font-size: 12px;

    color: #666;
}


/* =========================================================
   PAYMENT METHODS
========================================================= */

.payment-methods {
    background: #fafafa;

    border: 1px solid #eeeeee;

    padding: 15px;

    margin-bottom: 18px;

    border-radius: 4px;
}


.payment-methods h3 {
    font-size: 14px;

    margin-bottom: 10px;
}


.payment-methods p {
    font-size: 13px;

    font-weight: 600;

    margin-bottom: 4px;
}


.payment-methods small {
    display: block;

    margin-top: 10px;

    color: #666;

    font-size: 11px;
}


/* =========================================================
   PAYMENT CHECKBOX
========================================================= */

.payment-confirmation {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    font-size: 12px;

    margin-bottom: 20px;

    cursor: pointer;
}


.payment-confirmation input {
    margin-top: 3px;
}


/* =========================================================
   PLACE ORDER
========================================================= */

.place-order-button {
    width: 100%;

    border: none;

    background: #1877f2;

    color: #ffffff;

    padding: 14px;

    border-radius: 3px;

    font-weight: 700;
}


.place-order-button:hover {
    background: #0d65d9;
}


/* =========================================================
   WHATSAPP BUTTON
========================================================= */

.whatsapp-button {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 1500;

    background: #25d366;

    color: #ffffff;

    padding: 13px 18px;

    border-radius: 30px;

    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, 0.18);

    font-size: 13px;

    font-weight: 700;
}


.whatsapp-button:hover {
    opacity: 0.9;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #222;

    color: #ffffff;

    padding-top: 55px;
}


.footer-container {
    max-width: 1150px;

    margin: 0 auto;

    padding: 0 25px 45px;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 50px;
}


.footer-brand h2 {
    font-size: 30px;

    margin-bottom: 10px;
}


.footer-brand p {
    color: #bbbbbb;

    font-size: 13px;
}


.footer-links,
.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.footer-links h3,
.footer-contact h3 {
    font-size: 14px;

    margin-bottom: 7px;
}


.footer-links a,
.footer-contact p {
    color: #bbbbbb;

    font-size: 12px;
}


.footer-links a:hover {
    color: #ffffff;
}


.footer-bottom {
    border-top: 1px solid #444;

    padding: 18px 25px;

    text-align: center;

    color: #999;

    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 16px;
    }


    .main-nav a {
        font-size: 12px;
    }


    .hero {
        gap: 30px;
    }


    .product-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .product-image-box {
        height: 320px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 750px) {

    .header-container {
        padding: 13px 15px;

        flex-wrap: wrap;

        gap: 15px;
    }


    .logo {
        min-width: auto;
    }


    .logo-main {
        font-size: 25px;
    }


    .main-nav {
        order: 3;

        width: 100%;

        overflow-x: auto;

        justify-content: flex-start;

        gap: 20px;

        padding-bottom: 3px;
    }


    .main-nav a {
        white-space: nowrap;

        font-size: 12px;
    }


    .cart-button {
        margin-left: auto;
    }


    .hero {
        grid-template-columns: 1fr;

        padding:
            35px
            15px
            50px;

        min-height: auto;

        gap: 35px;
    }


    .hero-content {
        padding-left: 0;
    }


    .hero h1 {
        font-size: 43px;

        letter-spacing: -1.5px;
    }


    .hero-image {
        height: 400px;
    }


    .features {
        grid-template-columns:
            repeat(2, 1fr);

        padding: 0 15px;

        margin-bottom: 55px;
    }


    .feature-box {
        padding: 20px 10px;
    }


    .section-heading h2 {
        font-size: 29px;
    }


    .shop-age-section,
    .categories-section,
    .products-section,
    .faq-section {
        padding-left: 15px;
        padding-right: 15px;
    }


    .age-button {
        padding: 10px 14px;

        font-size: 12px;
    }


    .category-button {
        min-width: 120px;

        padding: 11px 15px;
    }


    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }


    .product-image-box {
        height: 260px;
    }


    .product-info {
        padding: 12px;
    }


    .product-name {
        font-size: 13px;

        min-height: 35px;
    }


    .product-price {
        font-size: 14px;
    }


    .product-label {
        font-size: 10px;
    }


    .product-color,
    .product-size {
        font-size: 11px;

        padding: 9px 7px;
    }


    .add-to-cart-button {
        font-size: 11px;

        padding: 11px 7px;
    }


    .about-section {
        padding:
            65px
            20px;

        margin-bottom: 65px;
    }


    .about-content h2 {
        font-size: 30px;
    }


    .footer-container {
        grid-template-columns: 1fr 1fr;

        gap: 35px;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }


    .whatsapp-button {
        right: 15px;
        bottom: 15px;

        padding: 12px 16px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .product-grid {
        grid-template-columns: 1fr;
    }


    .product-image-box {
        height: 390px;
    }


    .features {
        grid-template-columns: 1fr 1fr;
    }


    .hero h1 {
        font-size: 38px;
    }


    .hero-image {
        height: 350px;
    }


    .footer-container {
        grid-template-columns: 1fr;
    }


    .footer-brand {
        grid-column: auto;
    }

}