/* =========================================================
   ROZANAKART - GLOBAL DESIGN SYSTEM
   ========================================================= */

:root {
    --rk-ink: #20231f;
    --rk-ink-soft: #5f625b;

    --rk-green: #526447;
    --rk-green-dark: #394833;
    --rk-green-soft: #edf1e9;

    --rk-orange: #d96d3f;
    --rk-orange-dark: #b9552e;
    --rk-orange-soft: #fff1e9;

    --rk-cream: #f7f4ed;
    --rk-paper: #fffdf8;
    --rk-white: #ffffff;

    --rk-line: #e7e2d8;

    --rk-radius-sm: 10px;
    --rk-radius-md: 16px;
    --rk-radius-lg: 24px;

    --rk-shadow:
        0 8px 30px rgba(35, 35, 30, 0.07);

    --rk-shadow-hover:
        0 14px 38px rgba(35, 35, 30, 0.11);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--rk-cream);
    color: var(--rk-ink);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}


/* =========================================================
   TOP STRIP
   ========================================================= */

.topbar {
    background: var(--rk-ink);
    color: #fff;
}

.topbar-inner {
    min-height: 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 12px;
    letter-spacing: 0.1px;
}

.topbar-left {
    opacity: 0.9;
}

.topbar-right {
    opacity: 0.72;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background:
        rgba(255, 253, 248, 0.96);

    border-bottom:
        1px solid var(--rk-line);

    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    min-width: 190px;
}

.brand-mark {
    width: 42px;
    height: 42px;

    border-radius: 13px;

    background: var(--rk-orange);

    color: #fff;

    display: grid;
    place-items: center;

    font-size: 19px;
    font-weight: 900;

    box-shadow:
        0 5px 14px rgba(217, 109, 63, 0.18);
}

.brand-name {
    font-size: 22px;
    font-weight: 850;

    letter-spacing: -0.8px;
}

.brand-name span {
    color: var(--rk-orange);
}


/* =========================================================
   SEARCH
   ========================================================= */

.search-box {
    flex: 1;
    max-width: 590px;

    position: relative;
}

.search-box input {
    width: 100%;
    height: 46px;

    padding:
        0 50px 0 17px;

    border:
        1px solid var(--rk-line);

    border-radius: 12px;

    background: #f1eee7;

    color: var(--rk-ink);

    outline: none;

    font-size: 14px;

    transition: 0.2s ease;
}

.search-box input::placeholder {
    color: #88887f;
}

.search-box input:focus {
    background: var(--rk-white);

    border-color:
        rgba(217, 109, 63, 0.55);

    box-shadow:
        0 0 0 4px
        rgba(217, 109, 63, 0.08);
}

.search-button {
    position: absolute;

    right: 5px;
    top: 5px;

    width: 36px;
    height: 36px;

    border: 0;
    border-radius: 9px;

    background: var(--rk-orange);

    display: grid;
    place-items: center;

    cursor: pointer;

    transition: 0.2s ease;
}

.search-button img {
    width: 18px;
    height: 18px;
}

.search-button:hover {
    background: var(--rk-orange-dark);
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-left: auto;
}

.header-action {
    width: 43px;
    height: 43px;

    border:
        1px solid var(--rk-line);

    border-radius: 12px;

    background: var(--rk-white);

    display: grid;
    place-items: center;

    transition: 0.2s ease;
}

.header-action img {
    width: 20px;
    height: 20px;

    object-fit: contain;
}

.header-action:hover {
    border-color:
        rgba(217, 109, 63, 0.5);

    transform:
        translateY(-1px);

    box-shadow:
        0 5px 15px rgba(0,0,0,0.05);
}


/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    padding: 28px 0 10px;
}

.hero {
    min-height: 405px;

    position: relative;

    overflow: hidden;

    border-radius: var(--rk-radius-lg);

    background:
        var(--rk-green);

    color: #fff;

    display: flex;
    align-items: center;

    padding: 56px;
}


/* Organic decorative shape */

.hero::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -150px;
    top: -210px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,0.11);

    box-shadow:
        0 0 0 55px
        rgba(255,255,255,0.025),

        0 0 0 110px
        rgba(255,255,255,0.018);
}

.hero::after {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    right: 70px;
    bottom: -105px;

    border-radius: 50%;

    background:
        rgba(217,109,63,0.16);
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 650px;
}

.hero-label {
    display: inline-flex;

    align-items: center;

    padding:
        6px 10px;

    margin-bottom: 18px;

    border-radius: 6px;

    background:
        rgba(255,255,255,0.09);

    border:
        1px solid
        rgba(255,255,255,0.13);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}

.hero h1 {
    max-width: 620px;

    font-size:
        clamp(38px, 5vw, 62px);

    line-height: 1.02;

    letter-spacing: -2.5px;

    margin-bottom: 18px;
}

.hero p {
    max-width: 525px;

    color:
        rgba(255,255,255,0.78);

    font-size: 15px;

    line-height: 1.7;

    margin-bottom: 28px;
}

.hero-button {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    padding:
        13px 17px;

    border-radius: 11px;

    background:
        var(--rk-orange);

    color: #fff;

    font-size: 13px;

    font-weight: 800;

    transition: 0.2s ease;
}

.hero-button img {
    width: 16px;
    height: 16px;

    filter:
        brightness(0)
        invert(1);
}

.hero-button:hover {
    background:
        var(--rk-orange-dark);

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(0,0,0,0.13);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 38px 0;
}

.section-head {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 20px;

    margin-bottom: 20px;
}

.section-title {
    font-size: 25px;

    line-height: 1.2;

    letter-spacing: -0.7px;
}

.section-subtitle {
    color: var(--rk-ink-soft);

    font-size: 13px;

    margin-top: 5px;
}

.view-all {
    color:
        var(--rk-orange);

    font-size: 13px;

    font-weight: 800;

    white-space: nowrap;
}

.view-all:hover {
    color:
        var(--rk-orange-dark);
}


/* =========================================================
   CATEGORY GRID
   ========================================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(145px, 1fr)
        );

    gap: 13px;
}

.category-card {
    background:
        var(--rk-paper);

    border:
        1px solid var(--rk-line);

    border-radius:
        var(--rk-radius-md);

    padding: 17px;

    text-align: center;

    transition:
        0.22s ease;
}

.category-card:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(217,109,63,0.3);

    box-shadow:
        var(--rk-shadow);
}

.category-image {
    width: 82px;
    height: 82px;

    margin:
        0 auto 12px;

    border-radius: 50%;

    background:
        var(--rk-green-soft);

    display: grid;
    place-items: center;

    overflow: hidden;
}

.category-image img {
    width: 65px;
    height: 65px;

    object-fit: contain;
}

.category-name {
    font-size: 13px;

    font-weight: 750;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(210px, 1fr)
        );

    gap: 16px;
}

.product-card {
    position: relative;

    background:
        var(--rk-paper);

    border:
        1px solid var(--rk-line);

    border-radius:
        var(--rk-radius-md);

    overflow: hidden;

    transition:
        0.22s ease;
}

.product-card:hover {
    transform:
        translateY(-4px);

    box-shadow:
        var(--rk-shadow-hover);
}

.product-image {
    height: 205px;

    background:
        #f1eee7;

    position: relative;

    display: grid;

    place-items: center;

    padding: 22px;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.product-placeholder {
    width: 76px;
    height: 76px;

    border-radius: 50%;

    background:
        var(--rk-green-soft);

    display: grid;
    place-items: center;

    color:
        var(--rk-green);

    font-size: 25px;
}


/* =========================================================
   BADGES
   ========================================================= */

.featured-badge,
.discount-badge {
    position: absolute;

    top: 11px;

    padding:
        5px 8px;

    border-radius: 6px;

    font-size: 9px;

    font-weight: 850;

    letter-spacing: 0.3px;

    z-index: 2;
}

.featured-badge {
    left: 11px;

    background:
        var(--rk-green);

    color: #fff;
}

.discount-badge {
    right: 11px;

    background:
        var(--rk-orange-soft);

    color:
        var(--rk-orange-dark);

    border:
        1px solid
        rgba(217,109,63,0.16);
}


/* =========================================================
   PRODUCT INFORMATION
   ========================================================= */

.product-info {
    padding: 15px;
}

.product-category {
    color:
        var(--rk-ink-soft);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    font-weight: 800;

    margin-bottom: 6px;
}

.product-name {
    font-size: 14px;

    font-weight: 800;

    line-height: 1.35;

    min-height: 38px;
}

.product-unit {
    color:
        #85877f;

    font-size: 11px;

    margin-top: 5px;

    margin-bottom: 9px;
}

.product-price {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;
}

.price-current {
    color:
        var(--rk-green-dark);

    font-size: 16px;

    font-weight: 900;
}

.price-old {
    color:
        #999a92;

    font-size: 11px;

    text-decoration:
        line-through;
}

.price-discount {
    color:
        var(--rk-green);

    font-size: 10px;

    font-weight: 800;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.empty-state {
    grid-column: 1 / -1;

    padding: 42px 20px;

    text-align: center;

    background:
        var(--rk-paper);

    border:
        1px solid var(--rk-line);

    border-radius:
        var(--rk-radius-md);

    color:
        var(--rk-ink-soft);

    font-size: 13px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    margin-top: 35px;

    padding: 42px 0;

    background:
        var(--rk-ink);

    color: #fff;
}

.footer-brand {
    font-size: 20px;

    font-weight: 850;

    letter-spacing: -0.5px;
}

.footer-description {
    margin-top: 7px;

    color:
        rgba(255,255,255,0.65);

    font-size: 13px;
}

.footer-copy {
    margin-top: 22px;

    color:
        rgba(255,255,255,0.4);

    font-size: 11px;
} 


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .header-inner {
        flex-wrap: wrap;

        padding:
            13px 0;
    }

    .brand {
        min-width: auto;
    }

    .search-box {
        order: 3;

        flex-basis: 100%;

        max-width: none;
    }

    .hero {
        min-height: 360px;

        padding:
            42px 30px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .container {
        width:
            calc(100% - 22px);
    }

    .topbar-inner {
        justify-content: center;
    }

    .topbar-right {
        display: none;
    }

    .header-inner {
        gap: 12px;
    }

    .brand-name {
        font-size: 19px;
    }

    .brand-mark {
        width: 39px;
        height: 39px;
    }

    .header-actions {
        gap: 6px;
    }

    .header-action {
        width: 39px;
        height: 39px;
    }

    .hero {
        min-height: 360px;

        border-radius: 20px;

        padding:
            32px 23px;
    }

    .hero h1 {
        font-size: 39px;

        letter-spacing:
            -1.6px;
    }

    .hero p {
        font-size: 13px;

        line-height: 1.65;
    }

    .section {
        padding:
            28px 0;
    }

    .section-title {
        font-size: 21px;
    }

    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .product-image {
        height: 155px;

        padding: 14px;
    }

    .product-info {
        padding: 11px;
    }

    .product-name {
        font-size: 12px;
    }

    .price-current {
        font-size: 14px;
    }

    .price-discount {
        display: none;
    }
}

