*{
margin:0;
padding:0;
box-sizing:border-box;
}

/*HTML*/
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
}

*,*:before,*:after {
    box-sizing: inherit;
}

/*FONT*/
*{
    font-family: "Bricolage Grotesque";
}

html,body {
    font-family: "Bricolage Grotesque";
    font-size: 15px;
    line-height: 1.5;
}

/*STYLING*/
.opacity,.hover-opacity:hover {
    opacity: 0.60;
}
.hover-opacity{
    text-decoration: none;
}

/* TOP BAR */
.top-bar{
display:flex;
justify-content:space-between;
align-items:center;
padding:10px 40px;
font-size:14px;
color:#666;
}

.search{
display:flex;
align-items:center;
gap:8px;
}

.search input{
border:none;
outline:none;
background:transparent;
font-size:14px;
}

.account-links a{
text-decoration:none;
color:#666;
margin-left:12px;
}


/* TITLE */

.shop-title{
text-align:center;
padding:25px 0;
align-items: center;
display: flex;
justify-content: center;
gap: 12px;
}

.shop-title h1{
font-size:52px;
font-weight:500;
color:#414356;
margin:0;
}


/* NAV */

.category-nav{
border-top:1px solid #ddd;
border-bottom:1px solid #ddd;
}

.category-nav ul{
display:flex;
justify-content:center;
gap:40px;
list-style:none;
margin:0;
padding:16px 0;
}

.category-nav a{
text-decoration:none;
color:#666;
font-size:15px;
letter-spacing:1px;
}

.category-nav a:hover{
color:black;
}

/*CLASS OF 2024*/
.row img {
    transition: transform 0.3s ease, filter 0.3s ease;
}
.row img:hover {
    transform: scale(1.05);
}

.skibidi{
    margin-bottom: 15px;
}
.dobi{
    margin-top: 8px;
}

/*CLASS OF 2024 - MEMBERS*/
.col,.half,.third{
    float: left;
    width: 100%;
    border-radius: 4px;
    padding: 0 25px 0px 25px;
}

@media (min-width: 601px) {
    .col.m4,.third {
        width: 33.33333%
    }
    .col.m6,.half {
        width: 49.99999%
    }
}

/*CLASS OF 2024 - MEMBERS - STYLING*/
.round {
    border-radius: 4px;
}

/*MEMORIES*/
.tag {
    background-color: #000;
    color: #fff;
    display: inline-block;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
    margin: 2px 5px;
}

.ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.ul li {
    padding: 8px 16px;
    border-bottom: 1px solid #ddd;
}

.row-padding,.row-padding>.half,.row-padding>.third,.row-padding>.twothird,.row-padding>.threequarter,.row-padding>.quarter,.row-padding>.col {
    padding: 0 8px;
}

.container{
    padding: 0.01em 16px;
}

/*CONTACT - LETTER TO MS. KIM*/
.input {
    padding: 8px;
    display: block;
    border: none;
    border-bottom: 1px solid #ddd;
    width: 100%;
}

.button, .input{
    font: inherit;
}

.margin{
    margin-bottom: 8px;
}

/*ANNOYMOUS MAIL*/
.section,.code {
    margin-top: 16px!important;
    margin-bottom: 16px!important;
}

.modal {
    z-index: 3;
    display: none;
    padding-top: 100px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    margin: auto;
    background-color: #fff;
    position: relative;
    padding: 0;
    outline: 0;
}

/*ANNOYMOUS MAIL - HOVER*/
.button:hover {
    color: #000!important;
    background-color: #ccc!important;
}

/*ANNOYMOUS MAIL - ANIMATION*/
.animate-top {
    position: relative;
    animation: animatetop 0.4s;
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@media (max-width: 600px) {
    .modal-content {
        margin:0 10px;
        width: auto!important;
    }

    .modal {
        padding-top: 30px;
    }
}

@media (min-width: 993px) {
    .modal-content {
        width:900px;
    }
    .hide-large {
        display: none!important;
    }
}

/*HEADING*/
h1 { font-size: 2.25em; }  
h2 { font-size: 1.875em; } 
h3 { font-size: 1.5em; }   
h4 { font-size: 1.25em; }  
h5 { font-size: 1.125em; } 
h6 { font-size: 1em; }     

h1,h2,h3,h4,h5,h6 {
    font-weight: 400;
    margin: 10px 0;
}

/*HEADER SPACING*/
.title {
    letter-spacing: 4px;
}

/*IMAGE & LINKS*/
img {
    vertical-align: middle;
}

a {
    color: inherit;
}


/*BUTTON*/
.button {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

/*LAYOUT*/
.container:after,.container:before,.panel:after,.panel:before,.row:after,.row:before,.row-padding:after,.row-padding:before, .cell-row:before,.cell-row:after,.clear:after,.clear:before,.bar:before,.bar:after {
    content: "";
    display: table;
    clear: both;
}

.content {
    margin-left: auto;
    margin-right: auto;
}

.content {
    max-width: 980px;
}

.top,.bottom {
    position: fixed;
    width: 100%;
    z-index: 1;
}

.top {
    top: 0;
}

.bottom {
    bottom: 0;
}

.display-topright {
    position: absolute;
    right: 0;
    top: 0;
}

.display-bottommiddle {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%,0%);
    -ms-transform: translate(-50%,0%);
}

/*LAYOUT - BORDER*/
.border {
    border: 1px solid #ccc!important;
}

/*LAYOUT - ALIGN*/
.center {
    text-align: center!important;
}

.left {
    float: left!important;
}

.right {
    float: right!important;
}

.justify {
    text-align: justify!important;
}

/*LAYOUT - MARGIN*/
.margin-top {
    margin-top: 16px!important;
}

.margin-bottom {
    margin-bottom: 16px!important;
}

/*LAYOUT - PADDING*/
.padding-large {
    padding: 12px 24px!important;
}

.padding-16 {
    padding-top: 16px!important;
    padding-bottom: 16px!important;
}

.padding-32 {
    padding-top: 32px!important;
    padding-bottom: 32px!important;
}

.padding-64 {
    padding-top: 64px!important;
    padding-bottom: 64px!important;
}

/*COLOR*/
.red,.hover-red:hover {
    color: #fff!important;
    background-color: #971c15!important;
}

.blue,.hover-blue:hover {
    color: #fff!important;
    background-color: #c5d6e2!important;
}

.pink,.hover-pink:hover {
    color: #fff!important;
    background-color: #fce0e7!important;
}

.white,.hover-white:hover {
    color: #000!important;
    background-color: #fff!important;
}

.black,.hover-black:hover {
    color: #fff!important;
    background-color: #151216!important;
}

.light-grey,.hover-light-grey:hover,.light-gray,.hover-light-gray:hover {
    color: #000!important;
    background-color: #f1f1f1!important;
}

.text-white,.hover-text-white:hover {
    color: #fff!important;
}

/* DROPDOWN */
.nav-menu{
display:flex;
list-style:none;
gap:40px;
}

.dropdown{
position:relative;
}

/* hide menu by default */
.dropdown-menu{
display:none;
position:absolute;
top:100%;
left:0;
background:white;
list-style:none;
padding:10px 0;
min-width:200px;
border:1px solid #ddd;
}

/* show ONLY when hovering THEME */
.dropdown:hover .dropdown-menu{
display:block;
}

.dropdown-menu li{
padding:8px 20px;
}

.dropdown-menu a{
text-decoration:none;
color:#444;
}

/* FOOTER */
.footer{
background:#f5f5f5;
padding:60px 80px;
color:#6a6a6a;
font-size:15px;
}

/* GRID */
.footer-container{
display:grid;
grid-template-columns:1fr 1fr 1fr;
gap:60px;
margin-bottom:50px;
}

/* TITLES */
.footer h3{
font-size:18px;
color:#555;
margin-bottom:15px;
padding-bottom:8px;
border-bottom:1px solid #ddd;
}

/* BLOG */
.blog img{
width:260px;
margin:10px 0;
}

.blog-title{
margin-top:10px;
font-weight:500;
}

.blog-desc{
margin-top:15px;
line-height:1.6;
}

/* LINKS */
.footer ul{
list-style:none;
padding:0;
}

.footer li{
margin-bottom:10px;
cursor:pointer;
}

.footer li:hover{
color:#000;
}

/* SOCIAL */
.social-icons{
display:flex;
gap:20px;
font-size:22px;
margin-top:15px;
}

/* NEWSLETTER */
.newsletter p{
line-height:1.6;
margin-bottom:15px;
}

.newsletter button:hover{
background-color:#f0cdd7;
}

a {
  text-decoration: none;
}

.newsletter button{
margin-top: 21px;
background:#f18c98;
border:none;
padding:12px 18px;
color:white;
cursor:pointer;
}

/* PAYMENTS */
.payments{
display:flex;
justify-content:center;
gap:12px;
flex-wrap:wrap;
margin-bottom:20px;
}

.payments span{
background:white;
border:1px solid #ddd;
padding:8px 14px;
font-size:13px;
border-radius:4px;
}

/* COPYRIGHT */
.copyright{
text-align:center;
font-size:14px;
color:#777;
}

.price{
margin:10px 0;
font-size:16px;
}

.old-price{
text-decoration: line-through;
color:#888;
margin-right:8px;
}

.sale-price{
color:#f18c98;
font-weight:600;
}

/*PRODUCT*/
.product-layout{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
}

/* MAIN IMAGE */
#main-image{
width:100%;
border-radius:6px;
}

/* THUMBNAILS */
.thumbnail-grid{
margin-top:20px;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:10px;
}

.thumbnail-grid img{
width:100%;
cursor:pointer;
border-radius:4px;
transition:0.2s;
}

.thumbnail-grid img:hover{
opacity:0.7;
}

/* PRODUCT INFO */

.product-info h1{
font-size:28px;
margin-bottom:10px;
}

.price{
margin-bottom:20px;
}

.sale{
color:#f18c98;
font-size:22px;
font-weight:bold;
margin-right:10px;
}

.old{
text-decoration:line-through;
color:#888;
}

.description{
line-height:1.6;
margin-bottom:20px;
text-align: justify;
}

.features{
margin-bottom:20px;
padding-left:20px;
}

.spec{
color:#666;
margin-bottom:5px;
}

.cart-btn{
background:#f18c98;
color:white;
border:none;
padding:12px 20px;
cursor:pointer;
margin-bottom:20px;
}

.cart-btn:hover{
background:#f1b4b9;
}

.product{
display:none;
}

/* POPUP */
/* OVERLAY NỀN TỐI */

.popup-overlay{
position:fixed;
top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,0.55);

display:none;

justify-content:center;
align-items:center;

z-index:999;
animation:fadeIn 0.4s ease;
}


/* BOX TRẮNG */

.popup-container{

background:white;

padding:20px;

border-radius:15px;

position:relative;

box-shadow:0 20px 60px rgba(0,0,0,0.3);

animation:popupScale 0.4s ease;

}


/* IMAGE */

.popup-img{
max-height: 400px;
height: 100%;
display:block;
border-radius:10px;
}


/* CLOSE BUTTON */
.popup-close{
position:absolute;
top:-12px;
right:-12px;
width:35px;
height:35px;
border:none;
border-radius:50%;
background:#fea6ad;
color:white;
font-size:20px;
cursor:pointer;
box-shadow:0 4px 12px rgba(0,0,0,0.3);
transition:0.3s;
}


/* HOVER CLOSE */
.popup-close:hover{
background:#ff819c;
}

/* ANIMATION */
@keyframes popupScale{
0%{
transform:scale(0.7);
opacity:0;
}
100%{
transform:scale(1);
opacity:1;
}
}
@keyframes fadeIn{
from{
opacity:0;
}
to{
opacity:1;
}
}

.product-gallery{
max-width:500px;
}

.main-image{
width:100%;
border-radius:10px;
margin-bottom:15px;
}

.thumbnail-row{
display:flex;
gap:10px;
}

.thumb{
width:80px;
cursor:pointer;
border-radius:6px;
opacity:0.8;
transition:0.3s;
}

.thumb:hover{
opacity:1;
transform:scale(1.05);
}

.thumbnail-container{
  display:flex;
  gap:10px;
  margin-top:10px;
}

.thumb{
  width:60px;
  cursor:pointer;
  border:2px solid transparent;
}

.thumb:hover{
  border:2px solid #ff8ea0;
}


.shop-title img{
    width: 40px;   /* chỉnh size logo */
    height: auto;
}