/*pages */

/* --- Global Styles --- */
:root {
    --black: #0a0a0a;
    --dark: #111111;
    --taupe: #7a6244;
    --cream: #f5f5f5;
    --white: #ffffff;
}

body {
    background-color: var(--black);
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
.shop-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
}

.back-home {
    color: var(--taupe);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.shop-search {
    display: flex;
    border-bottom: 1px solid var(--taupe);
}

.shop-search input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    padding: 5px;
}

.shop-search button {
    background: transparent;
    border: none;
    color: var(--taupe);
    cursor: pointer;
}

/* --- Header Area --- */
.shop-title-area {
    text-align: center;
    padding: 50px 0;
}

.shop-main-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 8vw, 4rem);
    letter-spacing: 12px;
    margin-bottom: 10px;
}

/* --- Series Section (The Fix) --- */
.series-details {
    background: var(--dark);
    border: 1px solid #222;
    padding: 40px;
    margin-bottom: 50px;
}

.series-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.series-sub-title {
    font-family: 'Oswald', sans-serif;
    color: var(--taupe);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.series-text {
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.8;
}

/* Color Dots */
.color-dots {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/*Available colors*/

.dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #333; }
.white { background: #fff; }
.black { background: #000; }
.green { background: #174506; }

/* Desktop Table */
.minimal-table {
    width: 100%;
    border-collapse: collapse;
}

.minimal-table th, .minimal-table td {
    padding: 12px;
    border: 1px solid #222;
    text-align: center;
    font-size: 0.75rem;
}

.minimal-table th { color: var(--taupe); background: #000; }

/* Mobile Size Cards (Hidden on Desktop) */
.mobile-size-cards { display: none; flex-direction: column; gap: 15px; }
.s-card { background: #000; border: 1px solid #333; padding: 15px; }
.s-name { color: var(--taupe); font-family: 'Oswald'; margin-bottom: 10px; border-bottom: 1px solid #222; padding-bottom: 5px; }
.s-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 0.8rem; }
.s-stats span { color: #666; }

/* --- Global Settings --- */
:root {
    --black: #0a0a0a;
    --dark: #111111;
    --taupe: #7a6244;
    --white: #ffffff;
    --grey: #888888;
}

/* --- Product Grid --- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.shop-card {
    background: transparent;
    transition: transform 0.4s ease;
}

/* Image Container */
.shop-img-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #0f0f0f;
    cursor: pointer;
}

.shop-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-hover {
    opacity: 0;
}

/* --- Hover Effects on Image --- */
.shop-card:hover .img-main {
    opacity: 0;
    transform: scale(1.08);
}

.shop-card:hover .img-hover {
    opacity: 1;
    transform: scale(1.02);
}

/* --- Size Overlay (Hover Only) --- */
.size-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    backdrop-filter: blur(2px);
    transition: all 0.4s ease;
}

.size-list {
    display: flex;
    gap: 12px;
    transform: translateY(20px); 
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.shop-card:hover .size-overlay {
    opacity: 1;
}

.shop-card:hover .size-list {
    transform: translateY(0);
}

.size-tag {
    width: 35px;
    height: 35px;
    border: 1px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--white);
    background: transparent;
    transition: 0.3s;
}

.size-tag:hover {
    background: var(--white);
    color: #000;
}

/* --- Always Visible Details --- */
.shop-details {
    padding: 20px 0;
    text-align: left;
}

.product-name {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.shop-card:hover .product-name {
    color: var(--taupe);
}

.product-price {
    font-family: 'Inter', sans-serif;
    color: var(--grey);
    font-size: 0.85rem;
    font-weight: 300;
}

/* Stock Badge */
.stock-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--white);
    color: #000;
    padding: 5px 12px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
}

/* --- RESPONSIVE --- */

@media (max-width: 1024px) {
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-img-container { height: 400px; }
}

@media (max-width: 768px) {
    .shop-grid { gap: 15px; }
    .shop-img-container { height: 320px; }
    

    .size-overlay {
        opacity: 1;
        background: transparent;
        backdrop-filter: none;
        align-items: flex-end;
        padding-bottom: 10px;
    }
    
    .size-list {
        transform: translateY(0);
        gap: 8px;
    }
    
    .size-tag {
        width: 28px;
        height: 28px;
        font-size: 0.6rem;
        background: rgba(0,0,0,0.6);
        border: 1px solid rgba(255,255,255,0.3);
    }
}

@media (max-width: 480px) {
    .shop-img-container { height: 260px; }
    .product-name { font-size: 0.8rem; letter-spacing: 1px; }
}

.size-list {
    display: flex;
    flex-direction: column; 
    align-items: center;   
    gap: 15px;             
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.size-list h6 {
    font-family: 'Oswald', sans-serif;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.8;
}

.tags-group {
    display: flex;
    gap: 10px;
    justify-content: center;
}


.size-tag {
    width: 35px;
    height: 35px;
    border: 1px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--white);
    transition: 0.3s;
}

.size-tag:hover {
    background: var(--white);
    color: #000;
}


@media (max-width: 768px) {
    .tags-group {
        gap: 6px;
    }
    .size-tag {
        width: 30px;
        height: 30px;
        font-size: 0.6rem;
    }
}
/* --- RESPONSIVE FIXES --- */

@media (max-width: 1024px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .shop-img { height: 400px; }
}

@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .shop-img { height: 300px; }

  
    .view-more-overlay {
        opacity: 1;
        background: transparent;
        backdrop-filter: none;
        align-items: flex-end; 
        padding-bottom: 15px;
    }
    
    .view-more-btn {
        transform: translateY(0);
        padding: 10px 15px;
        font-size: 0.6rem;
        background: rgba(255, 255, 255, 0.9);
        width: 80%; 
    }
}

@media (max-width: 480px) {
    .shop-img { height: 250px; }
    .shop-details h3 { font-size: 0.75rem; letter-spacing: 1px; }
}


@media (max-width: 768px) {
    
  
    .shop-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 10px !important;
    }

    
    .shop-img-container {
        height: 300px !important;
    }

  
    .size-overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%) !important;
        display: flex !important;
        align-items: flex-end !important; 
        padding-bottom: 10px !important;
        backdrop-filter: none !important; 
    }

    .size-list {
        transform: translateY(0) !important;
        gap: 5px !important;
    }

    .size-list h6 {
        font-size: 0.55rem !important; 
        margin-bottom: 5px !important;
    }

    
    .tags-group {
        gap: 5px !important;
    }

    .size-tag {
        width: 25px !important;
        height: 25px !important;
        font-size: 0.55rem !important;
        background: rgba(0,0,0,0.5) !important; 
        border: 1px solid rgba(255,255,255,0.4) !important;
    }

    
    .product-name {
        font-size: 0.75rem !important;
        letter-spacing: 1px !important;
    }

    .product-price {
        font-size: 0.7rem !important;
    }

 
    .shop-card:hover .img-main {
        opacity: 1 !important;
    }
}


@media (max-width: 400px) {
    .shop-img-container {
        height: 240px !important;
    }
    
    .tags-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* --- Footer --- */
.main-footer { background: #050505; padding: 80px 0 20px; border-top: 1px solid #111; }
.early-access-box { display: flex; margin: 30px 0; max-width: 500px; }
.early-access-box input { flex: 1; background: transparent; border: 1px solid #333; padding: 15px; color: white; outline: none; }
.join-btn { background: var(--taupe); border: none; padding: 0 30px; color: black; font-weight: bold; cursor: pointer; }

/* --- RESPONSIVE FIXES --- */

@media (max-width: 1024px) {
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .series-grid { grid-template-columns: 1fr; }
    
    /* Table to Cards Switch */
    .minimal-table { display: none; }
    .mobile-size-cards { display: flex; }

    .shop-img { height: 350px; }
    

    .view-more-overlay { opacity: 1; background: transparent; align-items: flex-end; padding-bottom: 20px; }
    .view-more-btn { background: rgba(0,0,0,0.7); transform: translateY(0); }
}

@media (max-width: 480px) {
    .shop-nav { flex-direction: column; gap: 20px; }
    .shop-main-title { letter-spacing: 5px; }
    .shop-grid { grid-template-columns: 1fr; }
}

/*animations*/

/* --- Reveal Animation Base --- */
.reveal {
    position: relative;
    transform: translateY(50px); 
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1); 
}


.reveal.active {
    transform: translateY(0);
    opacity: 1;
}


.reveal-left { transform: translateX(-50px); opacity: 0; transition: 1s ease; }
.reveal-left.active { transform: translateX(0); opacity: 1; }

.reveal-right { transform: translateX(50px); opacity: 0; transition: 1s ease; }
.reveal-right.active { transform: translateX(0); opacity: 1; }

/* --- Special Hover for Images --- */
.arrival-img-box img, .banner-item img {
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.arrival-card:hover .arrival-img-box img,
.banner-item:hover img {
    transform: scale(1.1) rotate(1deg); 
}