* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f9f9f9;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.product-detail {
    padding: 60px 5%;
}

.product-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1300px;
    margin: auto;
}


/* 🔒 FIXED PROPORTIONS */
.gallery-container {
    flex: 0 0 55%;
    display: flex;
    gap: 20px;
}

.product-info {
    flex: 0 0 45%;
}


.product-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.product-info h1 {
    font-size: 32px;
    margin: 15px 0;
}

.price {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

.description {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #555;
}
.main-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.main-image {
    max-height: 600px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}
.stock {
    margin-bottom: 20px;
    font-weight: 600;
}

.add-to-cart {
    padding: 14px 30px;
    border: none;
    background: #111;
    color: white;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s ease;
}

.add-to-cart:hover {
    background: #333;
}

.breadcrumb {
    font-size: 14px;
    color: #888;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.product-gallery img {
    width: 100%;
    border-radius: 6px;
}

.product-title {
    font-size: 32px;
    margin: 15px 0;
}

.price-wrapper {
    margin: 15px 0;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.current-price {
    font-size: 24px;
    font-weight: bold;
}
.color-section {
    margin: 25px 0;
}

.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.color-option:hover {
    border-color: black;
}

.color-option.active {
    background: black;
    color: white;
}
.size-section {
    margin: 20px 0;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 8px 14px;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.size-option:hover {
    border-color: black;
}

.size-option.active {
    background: black;
    color: white;
}
.color-selector {
    margin: 30px 0;
}

.color-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.color-card {
    width: 90px;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s ease;
    box-sizing: content-box;
}

.color-card img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.color-card span {
    font-size: 13px;
}

.color-card:hover {
    border-color: #111;
}

.color-card.active {
    border: 2px solid #111;
}
.color-selector {
    margin: 30px 0;
}

.color-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    box-sizing: content-box;
}

.color-card {
    width: 90px;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s ease;
    box-sizing: content-box;

}

.color-card img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.color-card span {
    font-size: 13px;
}

.color-card:hover {
    border-color: #111;
}

.color-card.active {
    border: 2px solid #111;
}
.in-stock {
    color: green;
    font-weight: 600;
}

.out-stock {
    color: red;
    font-weight: 600;
}

.short-description {
    margin: 20px 0;
    color: #555;
    line-height: 1.6;
}

.quantity-wrapper {
    margin: 20px 0;
}

.quantity-wrapper input {
    width: 80px;
    padding: 8px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 15px;
    background: #111;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}

.add-to-cart-btn:hover {
    background: #333;
}

.product-description-section {
    margin-top: 80px;
}

.product-description-section h2 {
    margin-bottom: 15px;
}
.tabular-description table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.tabular-description th,
.tabular-description td {
    border: 1px solid #eee;
    padding: 12px 15px;
    text-align: left;
}

.tabular-description th {
    background-color: #f5f5f5;
    font-weight: 600;
    width: 35%;
}

.tabular-description tr:nth-child(even) {
    background-color: #fafafa;
}
.related-products {
    margin-top: 100px;
}

.related-products h2 {
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.related-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}
.subcategory {
    font-size: 12px;
    letter-spacing: 1px;
    color: #999;
    text-transform: uppercase;
}

.product-name {
    font-size: 14px;
    margin: 5px 0;
}

.price {
    font-weight: 600;
    font-size: 16px;
}
.container_na {
    width: 90%;
    margin: 0 auto;
}
.related-card:hover img {
    transform: scale(1.05);
}

.related-info {
    margin-top: 10px;
}

.related-info h4 {
    font-size: 14px;
    margin: 5px 0;
}

.product-wrapper {
    padding: 40px 5%;
}

.quantity-wrapper {
    margin: 25px 0;
}

.quantity-wrapper label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.quantity-box {
    display: flex;
    align-items: center;
    width: fit-content;
    border: 1px solid #ddd;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 20px;
}

.qty-btn:hover {
    background: #111;
    color: white;
}

.quantity-input {
    width: 60px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 16px;
    background: white;
}

/* Thumbnail column */
.thumbnail-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 600px;
    overflow-y: auto;
    width: 85px;
    flex-shrink: 0;

}

.thumb {
    width: 65px;
    height: 85px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
    border: 2px solid transparent;

}

.thumb:hover {
    opacity: 0.7;
}

.thumb.active {
    border: 2px solid black;
}
/* Main image */
.main-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    background: #fafafa;
    border-radius: 16px;
    padding: 30px;
}

.main-image {
    max-height: 520px;
    width: auto;
    max-width: 100%;
    object-fit: contain;

}
.main-image-container {
    position: relative;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    color: #333;
    border: 1px solid #ddd;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.nav:hover {
    background: black;
    color: white;
}

.nav.left { left: 10px; }
.nav.right { right: 10px; }

.view-all-section {
    padding: 120px 0;
    text-align: center;
    background-color: #f9f9f9;
}

.view-all-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.view-all-section p {
    color: #777;
    margin-bottom: 40px;
}

.view-all-btn {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid #111;
    text-decoration: none;
    color: #111;
    font-weight: 600;
    transition: 0.3s ease;
}

.view-all-btn:hover {
    background-color: #111;
    color: #fff;
}


.footer-main-desktop{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 50vh;
    width: 100%;
    background-color: #222225;
    color: #FFFFFF;
    flex-shrink: 0;
    margin-top: 5vh;

}
.join-our-world{
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 25%;
}
.sub-text{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 25%;
    font-size: 17px;
    color: #6b6a6a;
    text-align: center;
}
.main-desktop-form{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30%;
    width: 60%;
}
.md-form-input{
    box-sizing: content-box;
    height: 50%;
    width: 60%;
    margin-right: 5%;
    outline: none;
    background-color: transparent;
    border-radius: 5px;
    color: #727171;
    border: thin solid #2c2c2c;
    padding-left: 20px;

}
.main-subscribe-btn{
    height: 50%;
    width: 20%;
    border: none;
    border-radius: 5px;
    color: black;
    background-color: #FFFFFF;
    transition: background-color 0.5s ease-in;
}
.main-subscribe-btn:hover{
    background-color: black;
    color: #FFFFFF;
}
.md-tc{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10%;
    width: 50%;
    color: #727171;
    font-size: 17px;

}