/* =========================================
SELLORA - MAIN STYLESHEET
========================================= */

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

html {
scroll-behavior: smooth;
}

body {
font-family: Arial, sans-serif;
background: #ffffff;
color: #222222;
line-height: 1.6;
}

a {
text-decoration: none;
color: inherit;
}

/* =========================================
NAVIGATION
========================================= */

header {
background: #ffffff;
border-bottom: 1px solid #eeeeee;
}

.navbar {
width: 90%;
max-width: 1200px;
margin: auto;
min-height: 70px;

display: flex;
align-items: center;
justify-content: space-between;
gap: 25px;

}

.logo {
font-size: 24px;
font-weight: 800;
letter-spacing: 1px;
}

.nav-links {
display: flex;
align-items: center;
gap: 25px;
}

.nav-links a {
font-size: 15px;
}

.nav-links a.active {
font-weight: 700;
border-bottom: 2px solid #222222;
padding-bottom: 4px;
}

.nav-actions {
display: flex;
align-items: center;
}

/* =========================================
HERO
========================================= */

.hero {
padding: 90px 20px;
text-align: center;
}

.hero-content {
max-width: 750px;
margin: auto;
}

.hero-tagline {
font-weight: 600;
margin-bottom: 10px;
}

.hero h1 {
font-size: 46px;
line-height: 1.15;
margin-bottom: 20px;
}

.hero p {
max-width: 600px;
margin: 0 auto 25px;
}

.hero-btn {
display: inline-block;
padding: 13px 25px;
border-radius: 7px;
background: #222222;
color: #ffffff;
}

/* =========================================
SEARCH
========================================= */

.search-section {
width: 90%;
max-width: 800px;
margin: 20px auto 70px;
text-align: center;
}

.search-section h2 {
margin-bottom: 18px;
}

#productSearch {
width: 100%;
padding: 15px 18px;
border: 1px solid #cccccc;
border-radius: 8px;
font-size: 16px;
outline: none;
}

#productSearch:focus {
border-color: #222222;
}

/* =========================================
CATEGORIES
========================================= */

.categories {
width: 90%;
max-width: 1100px;
margin: 0 auto 70px;
text-align: center;
}

.categories h2 {
margin-bottom: 25px;
}

.category-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
}

.category-list a {
padding: 10px 18px;
border: 1px solid #dddddd;
border-radius: 30px;
}

/* =========================================
PRODUCTS
========================================= */

.featured-products {
width: 90%;
max-width: 1100px;
margin: 0 auto 80px;
}

.featured-products h2 {
text-align: center;
margin-bottom: 30px;
}

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

/* =========================================
PRODUCT PAGE
========================================= */

.products-page {
width: 90%;
max-width: 1100px;
margin: 0 auto;
padding: 70px 0 80px;
}

.products-header {
text-align: center;
margin-bottom: 50px;
}

.products-header h1 {
font-size: 42px;
line-height: 1.2;
margin-bottom: 15px;
}

.products-header p:last-child {
max-width: 600px;
margin: 0 auto;
}

.products-section {
width: 100%;
}

/* =========================================
PRODUCTS SEARCH
========================================= */

.products-search {
width: 100%;
max-width: 700px;
margin: 0 auto 40px;
}

.products-search input {
width: 100%;
padding: 15px 18px;
border: 1px solid #cccccc;
border-radius: 8px;
font-size: 16px;
outline: none;
background: #ffffff;
}

.products-search input:focus {
border-color: #222222;
}

.no-products-message {
text-align: center;
padding: 30px 20px;
font-size: 16px;
}

/* =========================================
PRODUCT CARDS
========================================= */

.product-card {
border: 1px solid #eeeeee;
border-radius: 12px;
overflow: hidden;
background: #ffffff;
}

.product-image {
width: 100%;
height: 220px;
overflow: hidden;
}

.product-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.product-info {
padding: 20px;
}

.product-category {
font-size: 13px;
font-weight: 600;
margin-bottom: 8px;
}

.product-title {
font-size: 20px;
margin-bottom: 10px;
}

.product-card h3 {
font-size: 20px;
margin-bottom: 10px;
}

.product-info > p:not(.product-category) {
font-size: 14px;
color: #555555;
margin-bottom: 18px;
}

.product-description {
font-size: 14px;
color: #555555;
margin-bottom: 18px;
}

.product-price {
font-size: 18px;
font-weight: 700;
margin-bottom: 15px;
}

.product-btn {
display: inline-block;
padding: 10px 18px;
border-radius: 7px;
background: #222222;
color: #ffffff;
}

/* =========================================
PRODUCT DETAILS PAGE
========================================= */

.product-details-page {
width: 90%;
max-width: 1100px;
margin: 0 auto;
padding: 70px 0 80px;
}

.product-detail-card {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 50px;
align-items: center;
}

.product-detail-image {
width: 100%;
height: 450px;
border-radius: 12px;
overflow: hidden;
border: 1px solid #eeeeee;
}

.product-detail-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.product-detail-info {
padding: 10px 0;
}

.product-detail-info h1 {
font-size: 40px;
line-height: 1.2;
margin-bottom: 18px;
}

.product-detail-info .product-category {
margin-bottom: 10px;
}

.product-detail-info .product-description {
font-size: 16px;
line-height: 1.7;
margin-bottom: 25px;
}

.product-detail-info .product-price {
font-size: 24px;
margin-bottom: 25px;
}

.back-products {
display: block;
margin-top: 18px;
font-size: 14px;
}

/* =========================================
WHY SELLORA
========================================= */

.why-sellora {
width: 90%;
max-width: 1100px;
margin: 0 auto 80px;
text-align: center;
}

.why-sellora h2 {
margin-bottom: 30px;
}

.benefits {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

.benefit {
padding: 25px;
border: 1px solid #eeeeee;
border-radius: 10px;
}

.benefit h3 {
margin-bottom: 10px;
}

/* =========================================
FOOTER
========================================= */

footer {
padding: 30px 20px;
text-align: center;
border-top: 1px solid #eeeeee;
}

.footer-links {
margin-top: 10px;

display: flex;
justify-content: center;

gap: 20px;

}

.footer-links a {
font-size: 14px;
}

/* =========================================
LOADING MESSAGES
========================================= */

.loading-message {
width: 100%;

text-align: center;

padding: 30px 20px;

font-size: 16px;

}

/* =========================================
STOREFRONT INTERACTION POLISH
========================================= */

.product-btn {
transition: opacity 0.2s ease;
}

.product-btn:hover {
opacity: 0.8;
}

.category-list a {
transition:
background 0.2s ease,
color 0.2s ease;
}

.category-list a:hover {
background: #222222;
color: #ffffff;
}

/* =========================================
SELLORA PRODUCT FINDER
========================================= */

.finder-page {
max-width: 900px;
margin: 0 auto;
padding: 60px 20px 80px;
}

.finder-header {
text-align: center;
max-width: 700px;
margin: 0 auto 45px;
}

.finder-header h1 {
margin: 12px 0 18px;
}

.finder-header > p:last-child {
line-height: 1.7;
margin: 0;
}

.finder-card {
max-width: 650px;
margin: 0 auto;
padding: 35px;
border-radius: 14px;
background: #ffffff;
box-shadow:
0 8px 30px rgba(0, 0, 0, 0.08);
}

.finder-price {
display: flex;
align-items: center;
justify-content: space-between;

gap: 20px;

margin-bottom: 35px;
padding-bottom: 25px;

border-bottom: 1px solid #eeeeee;

}

.finder-price strong {
font-size: 1.25rem;
}

.finder-price p {
margin: 8px 0 0;

line-height: 1.5;

font-size: 0.9rem;

}

.finder-price span {
font-size: 1.35rem;
font-weight: 700;

white-space: nowrap;

}

.finder-card .form-group {
margin-bottom: 25px;
}

.finder-card label {
display: block;

margin-bottom: 9px;

font-weight: 600;

}

.finder-card label span {
font-weight: 400;
font-size: 0.85rem;
}

.finder-card input,
.finder-card select,
.finder-card textarea {
width: 100%;

box-sizing: border-box;

padding: 13px 14px;

border: 1px solid #dddddd;
border-radius: 8px;

font: inherit;

background: #ffffff;

}

.finder-card input,
.finder-card select {
min-height: 48px;
}

.finder-card textarea {
resize: vertical;

min-height: 120px;

}

.finder-card input:focus,
.finder-card select:focus,
.finder-card textarea:focus {
outline: none;

border-color: #333333;

}

.finder-card small {
display: block;

margin-top: 8px;

line-height: 1.5;

font-size: 0.8rem;

}

.finder-submit {
width: 100%;

margin-top: 5px;

cursor: pointer;

}

.finder-note {
text-align: center;

margin: 15px 0 0;

font-size: 0.85rem;

line-height: 1.5;

}

/* =========================================
FINDER MOBILE
========================================= */

@media (max-width: 600px) {

.finder-page {
    padding: 40px 15px 60px;
}

.finder-header {
    margin-bottom: 30px;
}

.finder-header h1 {
    font-size: 1.8rem;
}

.finder-card {
    padding: 25px 18px;
}

.finder-price {
    align-items: flex-start;
    margin-bottom: 28px;
}

}

/* =========================================
SELLORA PRODUCT FINDER PAYMENT
========================================= */

.payment-instructions {
margin-bottom: 35px;
}

.payment-instructions h2 {
margin: 0 0 12px;

font-size: 1.3rem;

}

.payment-instructions > p {
margin: 0 0 20px;

line-height: 1.6;

}

.payment-details {
border: 1px solid #eeeeee;

border-radius: 10px;

overflow: hidden;

margin-top: 20px;

}

.payment-detail-row {
display: flex;

justify-content: space-between;
align-items: flex-start;

gap: 20px;

padding: 15px;

border-bottom: 1px solid #eeeeee;

}

.payment-detail-row:last-child {
border-bottom: none;
}

.payment-detail-row span {
font-size: 0.9rem;

color: #666666;

}

.payment-detail-row strong {
text-align: right;

word-break: break-word;

}

.payment-warning {
margin-top: 20px !important;

padding: 14px;

border-radius: 8px;

background: #f8f8f8;

line-height: 1.6;

font-size: 0.9rem;

}

/* =========================================
PAYMENT MOBILE
========================================= */

@media (max-width: 600px) {

.payment-detail-row {
    flex-direction: column;

    gap: 5px;
}

.payment-detail-row strong {
    text-align: left;
}

}