/* ==========================================
   SHOP SECTION
========================================== */

.shop-section {
    width: 100%;
    padding: 80px 6%;
    background: #ffffff;
}

.shop-container {
    max-width: 1500px;
    margin: auto;
}

/* ==========================================
   SHOP HEADING
========================================== */

.shop-heading {
    text-align: center;
    margin-bottom: 60px;
}

.shop-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #8d8d8d;
    margin-bottom: 15px;
}

.shop-heading h1 {
    font-family: "Italiana", serif;
    font-size: 54px;
    font-weight: 400;
    color: #111;
    margin-bottom: 20px;
}

.shop-heading p:last-child {
    max-width: 700px;
    margin: auto;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

/* ==========================================
   CATEGORY BUTTONS
========================================== */

.shop-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.category-btn {
    background: transparent;
    border: 1px solid #d8d8d8;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 14px;
    transition: .3s;
    font-family: inherit;
}

.category-btn:hover,
.category-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* ==========================================
   SEARCH & SORT
========================================== */

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
}

.search-box input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 15px;
    border-radius: 8px;
}

.search-box input:focus {
    border-color: #111;
}

.sort-box select {
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 15px;
}

/* ==========================================
   PRODUCT GRID
========================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
}

/* ==========================================
   PRODUCT CARD
========================================== */

.product-card {
    position: relative;
    transition: .35s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 85%;
    transition: .4s;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* ==========================================
   BADGES
========================================== */

.product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 5;
    padding: 6px 14px;
    font-size: 11px;
    border-radius: 30px;
    color: white;
    letter-spacing: 1px;
}

.sale {
    background: #111;
}

.new {
    background: #3b7d42;
}

.featured {
    background: #a7792b;
}

.soon {
    background: #7c7c7c;
}

/* ==========================================
   PRODUCT CONTENT
========================================== */

.product-content {
    padding-top: 22px;
}

.collection {
    color: #8b8b8b;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    margin-bottom: 8px;
}

.product-content h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.old-price {
    text-decoration: line-through;
    color: #9d9d9d;
    font-size: 15px;
}

.price {
    font-size: 22px;
    font-weight: 600;
    color: #111;
}

/* ==========================================
   BUTTON
========================================== */

.shop-btn {
    width: 100%;
    padding: 15px;
    border: none;
    background: #111;
    color: white;
    cursor: pointer;
    transition: .3s;
    font-size: 14px;
    letter-spacing: 1px;
}

.shop-btn:hover {
    background: #333;
}

.shop-btn.disabled {
    background: #999;
    cursor: not-allowed;
}

/* ==========================================
   LOAD MORE
========================================== */

.load-more {
    text-align: center;
    margin-top: 70px;
}

.load-more button {
    padding: 16px 40px;
    border: 1px solid #111;
    background: transparent;
    cursor: pointer;
    transition: .3s;
}

.load-more button:hover {
    background: #111;
    color: white;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:1100px){

.product-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.shop-heading h1{

font-size:40px;

}

.shop-toolbar{

flex-direction:column;

}

.product-grid{

grid-template-columns:1fr;

}

.shop-section{

padding:60px 5%;

}

}