@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #f27a1a; /* Trendyol Orange */
    --secondary-color: #27ae60;
    --text-color: #333;
    --light-text: #666;
    --border-color: #e6e6e6;
    --bg-light: #fafafa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --radius: 16px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px; /* Increased globally from 1000px to allow larger elements */
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1000;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -1px;
}

/* Banners (Full-Width, Stacked) */
.image-collage {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    width: 100%;
}



.collage-item {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    border: none;
    background: white;
    transition: all 0.3s ease;
}

.collage-item:hover {
    filter: brightness(0.95);
}

.collage-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Listing Page */
.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #222;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: #f27a1a44;
}

.product-card-image {
    height: 280px;
    overflow: hidden;
    background: #fdfdfd;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.product-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-body h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.product-card-body p {
    color: var(--light-text);
    font-size: 15px;
    margin-bottom: 25px;
    flex-grow: 1;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card-footer .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.btn-detail {
    background: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s;
}

.btn-detail:hover {
    background: var(--primary-color);
    box-shadow: 0 4px 12px rgba(242, 122, 26, 0.3);
}

/* Product Detail Page Specifc */
.product-main-info {
    text-align: center;
    padding-bottom: 40px;
}

.product-main-info .title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #222;
}

.price-tag {
    background: #fdf5ef;
    display: inline-block;
    padding: 20px 60px;
    border-radius: 100px;
    margin-bottom: 40px;
    border: 1px solid #f27a1a22;
}

.price-tag .amount { font-size: 42px; font-weight: 800; color: var(--primary-color); }
.price-tag .currency { font-size: 22px; font-weight: 600; margin-left: 5px; }

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: white;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.qty-input {
    width: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    border: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-buy {
    width: 100%;
    max-width: 450px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 24px;
    border-radius: 100px;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(242, 122, 26, 0.25);
    transition: all 0.2s;
}

.btn-buy:hover {
    transform: scale(1.02);
    background: #e67215;
}

/* Order Area */
.order-area {
    background: #fbfbfb;
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.order-box {
    background: white;
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 700; font-size: 15px; color: #444; }
.form-control { 
    width: 100%; 
    padding: 18px; 
    border: 2px solid #f0f0f0; 
    border-radius: 12px; 
    font-family: inherit; 
    font-size: 16px; 
    transition: border-color 0.2s;
}
.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.payment-item {
    border: 2px solid #f0f0f0;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 700;
}

.payment-item input { display: none; }
.payment-item.active { 
    border-color: var(--primary-color); 
    background: #fff9f5; 
    color: var(--primary-color);
}

.payment-item i {
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
}

.btn-confirm {
    width: 100%;
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 24px;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 800;
    margin-top: 40px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.2);
    transition: all 0.2s;
}

.btn-confirm:hover {
    background: #219150;
    transform: translateY(-2px);
}

footer { 
    padding: 60px 0; 
    text-align: center; 
    color: #aaa; 
    font-size: 15px; 
    border-top: 1px solid var(--border-color);
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .container { padding: 0 15px; }
    .product-grid { grid-template-columns: 1fr; }
    .order-box { padding: 30px 20px; }
    .payment-grid { grid-template-columns: 1fr; }
    
    .image-collage {
        width: calc(100% + 30px) !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        margin-top: 0;
        margin-bottom: 30px;
    }
}
