* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

/* =================navbar=================== */

.search {
    width: 50%;
}

.button-search {
    position: absolute;
    top: 17px;
    left: 15px;
}

/* ==================hero section============== */

.hero-section {
    background: url(photos/Rectangle\ 2.png) no-repeat center/cover;
}

.hero-title {
    font-size: 65px;
}

/* ===================== */

.card {
    width: 260px;
    border: none;
}

.card img {
    transition: all 0.3s ease;
}

.card-2 {
    width: 235px;
}

.card-8 {
    width: 220px;
}

.card img:hover {
    transform: translateY(-10px);
}

.casual-card-4 {
    width: 235px;
}


/* ========BROWSE BY Dress STYLE=========== */

.parent {
    height: 100vh;
}

.parent div {
    border-radius: 20px;
    padding: 20px;
}

.parent .item-1 {
    background: url(photos/image\ 11.png) no-repeat center/cover;
}

.parent .item-2 {
    background: url(photos/image\ 13.png) no-repeat center/cover;
}

.parent .item-3 {
    background: url(photos/image\ 12.png) no-repeat center/cover;
}

.parent .item-4 {
    background: url(photos/image\ 14.png) no-repeat center/cover;
}

/* =================Brands============= */

.logo2 {
    width: 100px;
    height: auto;
}

.logo3,.logo4 {
    width: 200px;
    height: auto;
}

.brands {
    background: #000;
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: scroll 10s linear infinite;
}

.brands-track img {
    height: 50px;
    width: auto;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* =================== */

.btn-shop {
    background-color: #000;
    transition: 0.2s;
}

.btn-shop:hover {
    background-color: #1c1c1c;
}

.btn-view-all {
    color: #000;
    border: 1px solid #000;
    transition: 0.2s;
    background: none;
}

.btn-view-all:hover {
    color: #fff;
    background-color: #000;
}

.btn-subscribe {
    background-color: #fff;
    transition: 0.2s;
}

.btn-subscribe:hover {
    background-color: #d9d9d9;
}
/* ================slider=================== */

section.reviews { padding-bottom: 3rem; display:flex; flex-direction:column; align-items:center; gap:1rem; }

.reviews .top {
    width:100%;
    max-width:1200px;
    padding:2.5rem 1.25rem 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:1rem;
}

.reviews h2 {
    margin:0; font-weight:800; font-size:1.75rem; color:#111;
}

.slider {
    width:100%;
    max-width:1200px;
    overflow:hidden;
    position:relative;
    padding:1.25rem;
    box-sizing:border-box;
}

.slider-track {
    display:flex;
    gap:1rem;
    transition: transform 450ms cubic-bezier(.2,.9,.3,1);
    will-change: transform;
    align-items:stretch;
    padding-bottom:0.5rem;
}

.slide {
    flex:0 0 auto;
    box-sizing:border-box;
    background:white;
    border-radius:12px;
    padding:1.25rem;
    border:1px solid rgba(0,0,0,0.06);
    min-height:180px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    transition: transform 300ms ease, opacity 300ms ease, box-shadow 300ms ease;
    opacity:0.55; 
    transform: scale(0.98);
}

.slide .stars { margin-bottom:0.5rem; }
.slide h4 { margin:0.2rem 0 0.6rem; font-size:1.05rem; font-weight:700; color:#111; display:flex; align-items:center; gap:.5rem; }
.slide p { margin:0; color:#6c757d; line-height:1.45; }

.slide.active {
    opacity:1;
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(17,17,17,0.08);
}

.slider-nav {
    position:absolute;
    top:0.6rem;
    right:0.8rem;
    display:flex;
    gap:0.25rem;
    z-index:5;
}
.slider-btn {
    border:0;
    background:transparent;
    width:40px;
    height:40px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:transform 150ms ease, 150ms ease;
}
.slider-btn:hover { transform:scale(1.05); background:rgba(0,0,0,0.04); }

.slider-dots {
    display:flex;
    gap:0.5rem;
    justify-content:center;
    margin-top:.75rem;
}
.slider-dots button {
    width:10px; height:10px; border-radius:50%; border:0; background:rgba(0,0,0,0.15); cursor:pointer;
}
.slider-dots button.active { background:rgba(0,0,0,0.55); }

@media (max-width:767px){
    .reviews h2{ font-size:1.25rem; }
    .slide { min-height:170px; padding:1rem; }
}

/* ==================footer================= */

.footer-1 {
    width: 95%;
}

.footer-form  {
    width: 40%;
}

footer {
    margin-top: 150px;
    padding: 200px 40px 40px;
}

.links a {
    border: 2px solid #b9b9b9;
    color: #000;
    transition: 0.2s;
}

.links a:hover {
    border-color: #000;
    background-color: #000;
    color: #fff;
}
/* ==============
=====Shop======
============ */

.t-shirt-1 img {
    width: 150px;
    height: auto;
}

.t-shirt-2 img {
    width: 440px;
    height: auto;
}

/* =================add to cart================ */

.add-to-cart {
    width: 72%;
}

/* =================all-reviews================== */

.all-reviews {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

/* ====================
========Casual========
================== */

.range {
    width: 250px;
    accent-color: #000000;
}

/* ==================input================= */

input {
    outline: none;
}

.color-options{
    display: flex;
    gap: 12px;
}

.circle {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    border: none;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.circle::after {
    content: "✓";
    color: white;
    font-size: 25px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 0.2s ease;
}

.btn-check:checked + .circle::after {
    transform: translate(-50%, -50%) scale(1);
}

.btn-check:checked + .circle {
    transform: scale(1.08);
}


.btn-check:checked + .unit {
    background-color: #3e185a !important;
    border: none;
    color: #fff !important;
}