* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f8f6f2;
    color: #444
}

.hero {
    position: relative;
    height: 550px;
    overflow: hidden
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .28)
}

.nav {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    z-index: 10;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    z-index: 2;
    pointer-events: none;
}

.logo {
    width: 320px;
    max-width: 70%
}

.since {
    margin: 18px 0;
    font-size: 2rem
}

.cats {
    letter-spacing: 2px
}

.welcome {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center
}

.welcome h1 {
    font-size: 44px;
    color: #7b1b7d
}

.welcome>p {
    max-width: 900px;
    margin: 20px auto 40px;
    font-size: 20px;
    line-height: 1.7
}

.categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12)
}

.card img{
    width:100%;
    height:220px;
    object-fit:contain;
    background:#fff;
    padding:10px;
}

.card h3{
    padding:15px;
    color:#7b1b7d;
    min-height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.card p {
    padding: 0 15px 15px;
    font-size: 15px;
    min-height: 70px
}

.card > a:last-child {
    display: inline-block;
    margin: 0 0 18px;
    background: #7b1b7d;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.about {
    background: #efe9e4;
    padding: 60px 20px;
    margin-top: 60px;
    text-align: center
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: auto
}

.features div{
    background:#fff;
    padding:30px 25px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.10);
    transition:.3s;
}

.features div:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 25px rgba(0,0,0,.18);
}

.features h3{
    color:#7b1b7d;
    margin-bottom:15px;
    font-size:22px;
}

.features p{
    line-height:1.6;
    color:#555;
}

footer{
    background:#5b1867;
    color:#fff;
    text-align:center;
    padding:40px 20px;
    margin-top:60px;
}

footer p{
    margin:10px 0;
    line-height:1.6;
}

footer a{
    color:#fff;
    text-decoration:none;
    font-weight:bold;
}

footer a:hover{
    text-decoration:underline;
}

@media(max-width:1100px) {

    .categories,
    .features {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:700px) {

    .categories,
    .features {
        grid-template-columns: 1fr
    }

    .nav {
        flex-wrap: wrap;
        gap: 16px
    }

    .hero {
        height: 450px
    }
}/* FEATURED PRODUCTS */

.featured{
    max-width:1400px;
    margin:60px auto;
    padding:0 20px;
    text-align:center;
}

.featured h2{
    font-size:40px;
    color:#7b1b7d;
    margin-bottom:15px;
}

.featured > p{
    max-width:900px;
    margin:0 auto 40px;
    font-size:20px;
    line-height:1.7;
}

.featured .card a{
    display:inline-block;
    margin:10px 5px 0;
    padding:10px 18px;
    border-radius:6px;
    text-decoration:none;
    font-weight:bold;
    color:#fff;
    transition:0.3s;
}

.featured .card a:first-of-type{
    background:#ff9900;
}

.featured .card a:first-of-type:hover{
    background:#e68a00;
}

.featured .card a:last-of-type{
    background:#0064d2;
}

.featured .card a:last-of-type:hover{
    background:#004fa3;
}
.rating{
    color:#f5b301;
    font-size:24px;
    font-weight:bold;
    letter-spacing:3px;
    margin:5px 0 15px;
}
/* ABOUT PAZAZZ */

.about{
    max-width:900px;
    margin:70px auto;
    padding:0 20px;
    text-align:center;
}

.about h2{
    font-size:40px;
    color:#7b1b7d;
    margin-bottom:25px;
}

.about p{
    font-size:20px;
    line-height:1.8;
    color:#555;
}
/* CATEGORY HEADINGS */

.category-title{
    grid-column:1 / -1;
    margin:50px 0 20px;
    padding-bottom:12px;
    border-bottom:3px solid #7b1b7d;
    color:#7b1b7d;
    font-size:30px;
    font-weight:bold;
    text-align:left;
}

.category-title:first-child{
    margin-top:10px;
}/* CRAFT CATALOGUE */

.catalogue{
    max-width:1200px;
    margin:40px auto;
}

.catalogue .category-title{
    margin:60px 0 25px;
    padding-bottom:10px;
    border-bottom:3px solid #7b1b7d;
    color:#7b1b7d;
    font-size:32px;
}

.catalogue .card{
    max-width:420px;
    margin:0 auto 50px;
}
/* INTERNAL PAGE HEADER */

.page-header{
    background:#fff;
    text-align:center;
    padding:25px 20px 40px;
}

.dark-nav{
    position:static;
    transform:none;
    justify-content:center;
    margin-bottom:30px;
}

.dark-nav a{
    color:#7b1b7d;
}

.page-logo{
    width:220px;
    max-width:80%;
    margin-bottom:20px;
}

.page-header h1{
    color:#7b1b7d;
    font-size:42px;
    margin-bottom:10px;
}

.page-header p{
    font-size:20px;
    color:#666;
}
/* ACTIVE MENU */

.nav a.active{
    color:#d4af37;
    border-bottom:2px solid #d4af37;
    padding-bottom:4px;
}
/* SHOP PAGE */

.welcome .categories{
    max-width:900px;
    margin:50px auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.welcome .categories .card{
    margin:0;
}
/* SHOP CARDS */

.shop-card{
    text-align:center;
    padding:30px 25px;
    transition:0.3s;
}

.shop-card:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

{
    .shop-card img{
    display:block;
    width:80%;
    max-width:300px;
    height:auto;
    margin:25px auto 35px;
    background:transparent;
    padding:0;
    border:none;
    box-shadow:none;
}
.shop-card a:first-child{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:170px;
}
.shop-card h3{
    min-height:auto;
    padding:0;
    margin-bottom:15px;
    font-size:32px;
}

.shop-card p{
    min-height:auto;
    margin-bottom:30px;
    font-size:18px;
}

.shop-card a{
    display:inline-block;
    padding:14px 28px;
    border-radius:8px;
    font-size:18px;
    font-weight:bold;
}