/*
Theme Name: Pronazmul Dev
Theme URI: https://wp.pronazmul.com
Author: Nazmul Huda
Description: Custom WordPress theme development for wp.pronazmul.com.
Version: 1.0.0
Text Domain: pronazmul-dev
*/

:root {
    --ink: #111827;
    --muted: #667085;
    --line: #e6e8ec;
    --soft: #f7f7f4;
    --paper: #ffffff;
    --accent: #0f766e;
    --accent-dark: #134e4a;
    --gold: #c8903e;
    --rose: #b42318;
    --shadow: 0 24px 60px rgba(17, 24, 39, 0.11);
    --radius: 8px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-shell {
    min-height: 100vh;
    overflow: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(230, 232, 236, 0.72);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand strong,
.footer-brand strong {
    display: block;
    font-size: 1rem;
    line-height: 1.1;
}

.brand small,
.footer-brand p {
    color: var(--muted);
    font-size: 0.78rem;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 800;
}

.nav-menu,
.footer-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a,
.footer-menu a {
    color: #344054;
    font-size: 0.94rem;
    font-weight: 650;
}

.nav-menu a:hover,
.footer-menu a:hover,
.text-link:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-form {
    position: relative;
}

.search-form label {
    margin: 0;
}

.search-field {
    width: 190px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 14px;
    background: #fbfbfa;
    color: var(--ink);
}

.search-submit {
    display: none;
}

.cart-link,
.button,
.newsletter button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: var(--radius);
    font-weight: 750;
}

.cart-link {
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--line);
}

.cart-link b {
    display: grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.78rem;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

main > section,
.site-footer {
    max-width: var(--max);
    margin: 0 auto;
    padding-inline: 24px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: 54px;
    min-height: calc(100vh - 86px);
    padding-top: 36px;
    padding-bottom: 60px;
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(3rem, 6vw, 5.9rem);
    line-height: 0.96;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: 0;
}

h3 {
    line-height: 1.2;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 560px;
    color: #475467;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    padding: 0 22px;
}

.button-primary {
    background: var(--accent-dark);
    color: #fff;
}

.button-primary:hover {
    background: #0b3f3b;
}

.button-secondary {
    background: #f2f4f7;
    color: var(--ink);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.trust-row span {
    display: grid;
    gap: 2px;
    color: var(--muted);
    font-size: 0.9rem;
}

.trust-row strong {
    color: var(--ink);
    font-size: 1.35rem;
}

.hero-media {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

.hero-offer {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: min(300px, calc(100% - 48px));
    padding: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.18);
}

.hero-offer span,
.product-card p,
.post-card p {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-offer strong {
    display: block;
    margin-top: 4px;
    font-size: 1.35rem;
    line-height: 1.1;
}

.service-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding-top: 0;
    padding-bottom: 80px;
}

.service-strip article {
    background: var(--soft);
    padding: 28px;
}

.service-strip span {
    color: var(--gold);
    font-weight: 800;
}

.service-strip h2 {
    margin: 18px 0 8px;
    font-size: 1.24rem;
}

.service-strip p {
    margin-bottom: 0;
    color: var(--muted);
}

.section-header {
    padding-top: 28px;
    padding-bottom: 22px;
}

.section-header h2 {
    max-width: 760px;
}

.collection-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: repeat(2, minmax(220px, 1fr));
    gap: 18px;
    padding-bottom: 84px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border-radius: var(--radius);
    background: #111827;
}

.collection-large {
    grid-row: span 2;
}

.collection-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 220ms ease, opacity 220ms ease;
}

.collection-card:hover img {
    transform: scale(1.04);
    opacity: 0.94;
}

.collection-card span {
    position: absolute;
    left: 22px;
    bottom: 20px;
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    font-weight: 850;
}

.product-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.text-link {
    color: var(--accent-dark);
    font-weight: 800;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-bottom: 90px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.1);
}

.product-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--soft);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image span {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 850;
}

.product-meta {
    padding: 18px;
}

.product-meta p {
    margin-bottom: 7px;
}

.product-meta h3 {
    min-height: 48px;
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product-bottom strong {
    font-size: 1.24rem;
}

.product-bottom del {
    margin-left: 7px;
    color: #98a2b3;
}

.rating {
    padding: 5px 9px;
    background: #ecfdf3;
    border-radius: 999px;
    color: #027a48;
    font-size: 0.8rem;
    font-weight: 850;
}

.rating::before {
    content: "★ ";
}

.swatches {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.swatches span {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(17, 24, 39, 0.16);
    border-radius: 999px;
}

.promo-band,
.newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 86px;
    padding-top: 44px;
    padding-bottom: 44px;
    background: var(--ink);
    color: #fff;
}

.promo-band h2,
.newsletter h2 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.promo-band .eyebrow,
.newsletter .eyebrow {
    color: #8bd8d0;
}

.journal {
    padding-bottom: 70px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.post-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
}

.post-card h3 {
    font-size: 1.2rem;
}

.post-card p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.post-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin: -20px -20px 18px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter {
    margin-bottom: 0;
    background: var(--soft);
    color: var(--ink);
}

.newsletter .eyebrow {
    color: var(--accent);
}

.newsletter form {
    display: flex;
    width: min(440px, 100%);
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.newsletter input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 0 14px;
    outline: none;
}

.newsletter button {
    border: 0;
    padding: 0 18px;
    background: var(--accent-dark);
    color: #fff;
    cursor: pointer;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 34px;
    padding-bottom: 34px;
    border-top: 1px solid var(--line);
}

.footer-brand p,
.copyright {
    margin: 0;
}

.copyright {
    color: var(--muted);
    font-size: 0.9rem;
}

.woocommerce-main {
    max-width: var(--max);
    margin: 0 auto;
    padding: 54px 24px 90px;
}

.woocommerce .woocommerce-products-header,
.woocommerce div.product,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
    color: var(--ink);
}

.woocommerce .woocommerce-products-header__title,
.woocommerce div.product .product_title {
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.woocommerce ul.products li.product a img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .star-rating {
    margin-inline: 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 16px 0 0;
    color: var(--ink);
    font-size: 1.1rem;
    line-height: 1.25;
}

.woocommerce ul.products li.product .price {
    color: var(--accent-dark);
    font-size: 1.12rem;
    font-weight: 850;
}

.woocommerce span.onsale {
    min-height: auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--rose);
    line-height: 1;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    border-radius: var(--radius);
    background: var(--accent-dark);
    color: #fff;
    font-weight: 800;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: #0b3f3b;
    color: #fff;
}

.woocommerce ul.products li.product .button {
    margin: 12px 16px 16px;
}

.woocommerce div.product div.images img,
.woocommerce div.product .summary,
.woocommerce table.shop_table,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce .woocommerce-ordering select,
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-radius: var(--radius);
}

.woocommerce div.product div.images img,
.woocommerce table.shop_table,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    border: 1px solid var(--line);
}

.woocommerce div.product .summary {
    padding: 28px;
    background: var(--soft);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--accent-dark);
    font-size: 1.8rem;
    font-weight: 850;
}

.woocommerce .quantity .qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .woocommerce-ordering select {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 12px;
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .primary-nav,
    .header-actions {
        grid-column: 1 / -1;
    }

    .primary-nav {
        display: none;
    }

    .primary-nav.is-open {
        display: block;
    }

    .nav-menu,
    .header-actions,
    .site-footer,
    .promo-band,
    .newsletter {
        align-items: stretch;
        flex-direction: column;
    }

    .search-field {
        width: 100%;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-media,
    .hero-media img {
        min-height: 480px;
    }

    .service-strip,
    .product-grid,
    .post-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .site-header,
    main > section,
    .site-footer {
        padding-inline: 18px;
    }

    h1 {
        font-size: 3.05rem;
    }

    h2 {
        font-size: 2.15rem;
    }

    .hero {
        padding-top: 26px;
        gap: 32px;
    }

    .hero-media,
    .hero-media img {
        min-height: 390px;
    }

    .hero-actions,
    .product-heading,
    .newsletter form {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .service-strip,
    .collection-grid,
    .product-grid,
    .post-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .collection-large {
        grid-row: auto;
    }

    .promo-band,
    .newsletter {
        margin-bottom: 56px;
    }
}
