/* Nalmes mağaza bileşenleri – temanın renkleriyle (style.css: --color-primary #f1cf69) */
:root {
    --shop-gold: #c9a227;
    --shop-gold-soft: #fbf3d9;
    --shop-olive: #4f5d2f;
    --shop-text: #232323;
    --shop-muted: #6b6b6b;
    --shop-border: #e8e4da;
    --shop-bg: #faf8f3;
    --shop-danger: #b42318;
    --shop-success: #2e7d32;
}

/* Üst menü sepet simgesi */
.nalmes-cart-link > a { position: relative; font-size: 20px; }
.nalmes-cart-badge {
    position: absolute; top: 18px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px; background: var(--shop-gold); color: #fff; font-size: 11px; line-height: 18px;
    text-align: center; font-weight: 600;
}

.shop-area { padding: 70px 0 90px; background: var(--shop-bg); }
.shop-area h2, .shop-area h3, .shop-area h4 { color: var(--shop-text); }

.shop-alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 24px; font-size: 15px; }
.shop-alert-success { background: #e8f5e9; color: var(--shop-success); border: 1px solid #c8e6c9; }
.shop-alert-error { background: #fdecea; color: var(--shop-danger); border: 1px solid #f5c6c0; }
.shop-alert ul { margin: 0; padding-left: 18px; }
.shop-alert a { color: inherit; text-decoration: underline; font-weight: 600; }

/* Filtre çubuğu */
.shop-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; justify-content: center; }
.shop-chip {
    display: inline-block; padding: 8px 18px; border-radius: 30px; border: 1px solid var(--shop-border);
    background: #fff; color: var(--shop-text); font-size: 14px; transition: all .2s;
}
.shop-chip:hover { border-color: var(--shop-gold); color: var(--shop-text); }
.shop-chip.active { background: var(--shop-text); border-color: var(--shop-text); color: #fff; }
.shop-filter-label { width: 100%; text-align: center; font-size: 13px; color: var(--shop-muted); margin: 6px 0 -2px; }

/* Ürün kartı */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.shop-card {
    background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--shop-border);
    display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; height: 100%;
}
.shop-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.shop-card-img { display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.shop-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.shop-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.shop-card-type { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--shop-olive); font-weight: 600; margin-bottom: 6px; }
.shop-card-title { font-size: 18px; margin: 0 0 8px; line-height: 1.35; }
.shop-card-title a { color: var(--shop-text); }
.shop-card-desc { font-size: 14px; color: var(--shop-muted); margin-bottom: 14px; flex: 1; }
.shop-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shop-price { font-size: 20px; font-weight: 700; color: var(--shop-text); }
.shop-price small { font-size: 13px; font-weight: 400; color: var(--shop-muted); }
.shop-price-old { text-decoration: line-through; color: var(--shop-muted); font-size: 15px; font-weight: 400; margin-left: 6px; }

.shop-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px;
    border-radius: 8px; border: 1px solid var(--shop-text); background: var(--shop-text); color: #fff;
    font-weight: 600; font-size: 15px; cursor: pointer; transition: all .2s; line-height: 1.2; text-align: center;
}
.shop-btn:hover { background: var(--shop-gold); border-color: var(--shop-gold); color: #fff; }
.shop-btn-gold { background: var(--shop-gold); border-color: var(--shop-gold); }
.shop-btn-gold:hover { background: #a8861c; border-color: #a8861c; }
.shop-btn-outline { background: #fff; color: var(--shop-text); }
.shop-btn-outline:hover { background: var(--shop-text); border-color: var(--shop-text); }
.shop-btn-sm { padding: 8px 14px; font-size: 14px; }
.shop-btn-block { width: 100%; }
.shop-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Ürün detay */
.shop-product { background: #fff; border-radius: 14px; border: 1px solid var(--shop-border); padding: 32px; }
.shop-gallery-main { aspect-ratio: 1 / 1; background: #fff; border-radius: 10px; border: 1px solid var(--shop-border); overflow: hidden; }
.shop-gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.shop-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.shop-thumbs button {
    width: 72px; height: 72px; border-radius: 8px; border: 2px solid var(--shop-border); background: #fff;
    padding: 4px; cursor: pointer;
}
.shop-thumbs button.active { border-color: var(--shop-gold); }
.shop-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.shop-product h1 { font-size: 30px; margin: 4px 0 12px; }
.shop-lead { color: var(--shop-muted); font-size: 16px; margin-bottom: 20px; }
.shop-detail-price { font-size: 30px; font-weight: 700; margin-bottom: 4px; }
.shop-vat { font-size: 13px; color: var(--shop-muted); margin-bottom: 22px; }
.shop-field-label { font-weight: 600; font-size: 14px; margin-bottom: 10px; display: block; color: var(--shop-text); }

.shop-variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 22px; }
.shop-variant input { position: absolute; opacity: 0; pointer-events: none; }
.shop-variant label {
    display: block; border: 2px solid var(--shop-border); border-radius: 10px; padding: 10px 12px; cursor: pointer;
    background: #fff; transition: border-color .15s; margin: 0; height: 100%;
}
.shop-variant label strong { display: block; font-size: 14px; color: var(--shop-text); }
.shop-variant label span { font-size: 13px; color: var(--shop-muted); }
.shop-variant input:checked + label { border-color: var(--shop-gold); background: var(--shop-gold-soft); }
.shop-variant input:focus-visible + label { outline: 2px solid var(--shop-text); outline-offset: 2px; }
.shop-variant input:disabled + label { opacity: .45; cursor: not-allowed; }

.shop-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--shop-border); border-radius: 8px; overflow: hidden; background: #fff; }
.shop-qty button { width: 42px; border: 0; background: #f4f2ec; font-size: 18px; cursor: pointer; color: var(--shop-text); }
.shop-qty input { width: 56px; border: 0; text-align: center; font-size: 16px; font-weight: 600; -moz-appearance: textfield; }
.shop-qty input::-webkit-outer-spin-button, .shop-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop-buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; margin-bottom: 24px; }
.shop-buy-row .shop-btn { flex: 1 1 160px; }
.shop-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--shop-border); padding-top: 18px; }
.shop-trust div { font-size: 13px; color: var(--shop-muted); display: flex; gap: 8px; align-items: center; }
.shop-trust i { color: var(--shop-gold); font-size: 18px; }
.shop-desc { margin-top: 36px; background: #fff; border: 1px solid var(--shop-border); border-radius: 14px; padding: 32px; }
.shop-desc img { max-width: 100%; height: auto; }
.shop-unavailable { padding: 16px; background: var(--shop-gold-soft); border-radius: 8px; margin-bottom: 20px; }

/* Sepet & ödeme */
.shop-box { background: #fff; border: 1px solid var(--shop-border); border-radius: 14px; padding: 26px; }
.shop-box + .shop-box { margin-top: 24px; }
.shop-box h3 { font-size: 20px; margin-bottom: 18px; }
.shop-cart-row { display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--shop-border); }
.shop-cart-row:last-child { border-bottom: 0; }
.shop-cart-row img { width: 84px; height: 84px; object-fit: contain; border: 1px solid var(--shop-border); border-radius: 8px; background: #fff; }
.shop-cart-name { font-weight: 600; color: var(--shop-text); }
.shop-cart-variant { font-size: 13px; color: var(--shop-muted); }
.shop-cart-total { font-weight: 700; min-width: 100px; text-align: right; }
.shop-remove { border: 0; background: none; color: var(--shop-muted); font-size: 18px; cursor: pointer; padding: 6px; }
.shop-remove:hover { color: var(--shop-danger); }
.shop-summary-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.shop-summary-total { border-top: 1px solid var(--shop-border); margin-top: 8px; padding-top: 14px; font-size: 20px; font-weight: 700; }
.shop-note { font-size: 13px; color: var(--shop-muted); }
.shop-free-ship { background: var(--shop-gold-soft); border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }

.shop-form .form-group { margin-bottom: 16px; }
.shop-form label { font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block; color: var(--shop-text); }
.shop-form .form-control { height: auto; padding: 11px 14px; border-radius: 8px; border: 1px solid #d9d4c7; font-size: 15px; background: #fff; }
.shop-form textarea.form-control { min-height: 90px; }
.shop-form .form-control:focus { border-color: var(--shop-gold); box-shadow: 0 0 0 3px rgba(201,162,39,.18); }
.shop-form .is-invalid { border-color: var(--shop-danger); }
.shop-form .invalid-feedback { display: block; color: var(--shop-danger); font-size: 13px; margin-top: 4px; }
.shop-radio-row { display: flex; gap: 18px; margin-bottom: 14px; }
.shop-radio-row label { font-weight: 400; display: flex; gap: 6px; align-items: center; cursor: pointer; }
.shop-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.shop-check input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.shop-mini-item { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 6px 0; }
.shop-mini-item span:first-child { color: var(--shop-text); }
.shop-secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--shop-muted); margin-top: 12px; justify-content: center; }

.shop-result { text-align: center; max-width: 640px; margin: 0 auto; }
.shop-result-icon { font-size: 64px; margin-bottom: 14px; }
.shop-result-icon.ok { color: var(--shop-success); }
.shop-result-icon.fail { color: var(--shop-danger); }
.shop-result-icon.wait { color: var(--shop-gold); }

.shop-page-content { background: #fff; border: 1px solid var(--shop-border); border-radius: 14px; padding: 36px; }
.shop-page-content h3 { font-size: 20px; margin-top: 24px; }

.shop-empty { text-align: center; padding: 50px 20px; }
.shop-empty i { font-size: 54px; color: var(--shop-gold); margin-bottom: 16px; display: block; }

@media (max-width: 767px) {
    .shop-area { padding: 40px 0 60px; }
    .shop-product, .shop-desc, .shop-box, .shop-page-content { padding: 18px; }
    .shop-product h1 { font-size: 24px; }
    .shop-cart-row { grid-template-columns: 64px 1fr auto; grid-template-areas: "img info remove" "img qty total"; gap: 8px 12px; }
    .shop-cart-row img { width: 64px; height: 64px; grid-area: img; }
    .shop-cart-row .shop-cart-info { grid-area: info; }
    .shop-cart-row .shop-qty { grid-area: qty; justify-self: start; }
    .shop-cart-row .shop-cart-total { grid-area: total; min-width: 0; }
    .shop-cart-row form.shop-remove-form { grid-area: remove; }
    .shop-trust { grid-template-columns: 1fr; }
    .nalmes-cart-badge { top: 8px; }
}

/* En az sipariş adedi */
.shop-variant-min { display: block; font-style: normal; font-size: 12px; color: var(--shop-olive); font-weight: 600; margin-top: 2px; }
.shop-min-note { background: var(--shop-gold-soft); border-left: 3px solid var(--shop-gold); padding: 10px 14px; border-radius: 6px; font-size: 14px; margin-bottom: 16px; }

/* ===== Marka başlıkları (ürün bölümleri) ===== */
.shop-section + .shop-section { margin-top: 48px; }
.shop-section-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    border-bottom: 2px solid var(--shop-gold); padding-bottom: 10px; margin-bottom: 22px;
}
.shop-section-head h2 { font-size: 24px; font-weight: 600; margin: 0; letter-spacing: 0; text-transform: none; }
.shop-section-head a { font-size: 14px; color: var(--shop-olive); font-weight: 600; }

/* ===== Ana sayfa ===== */
.home-products { padding: 56px 0 64px; }
.home-about { padding: 56px 0; }
.home-about .thumb img { width: 100%; border-radius: 12px; }
.home-about .info h5 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--shop-olive); margin-bottom: 8px; }
.home-about .home-title { font-size: 28px; font-weight: 600; margin-bottom: 14px; }
.home-about p { font-size: 15px; line-height: 1.7; color: #555; margin-bottom: 18px; }
@media (max-width: 991px) { .home-about .thumb { margin-bottom: 24px; } }

.home-features { padding: 40px 0; background: #fff; border-top: 1px solid var(--shop-border); border-bottom: 1px solid var(--shop-border); }
.home-feature { padding: 8px 6px 14px; }
.home-feature i { font-size: 22px; color: var(--shop-gold); margin-bottom: 10px; display: block; }
.home-feature h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.home-feature p { font-size: 13px; color: var(--shop-muted); margin: 0; line-height: 1.5; }

.home-contact { padding: 48px 0; background: var(--shop-bg); }
.home-contact .shop-box h3 { text-align: center; }

.home-blog { padding: 40px 0 20px; background: #fff; }
.home-blog-card {
    display: flex; gap: 14px; align-items: flex-start; padding: 12px; border: 1px solid var(--shop-border);
    border-radius: 10px; color: var(--shop-text); height: 100%; transition: box-shadow .2s;
}
.home-blog-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.06); color: var(--shop-text); }
.home-blog-card img { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.home-blog-card h4 { font-size: 15px; font-weight: 600; margin: 0 0 6px; line-height: 1.35; }
.home-blog-card p { font-size: 13px; color: var(--shop-muted); margin: 0; line-height: 1.5; }

.home-certificates { padding: 26px 0 34px; background: #fff; border-top: 1px solid var(--shop-border); }
.home-cert-label { text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--shop-muted); margin-bottom: 14px; }
.home-cert-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 28px; }
.home-cert-logos img { height: 52px; width: auto; max-width: 110px; object-fit: contain; filter: grayscale(30%); opacity: .9; transition: all .2s; }
.home-cert-logos span:hover img { filter: none; opacity: 1; }

/* ===== Genel ölçek: başlık ve boşlukları küçült ===== */
.default-padding { padding-top: 70px; padding-bottom: 70px; }
.default-padding-top { padding-top: 70px; }
.default-padding-bottom { padding-bottom: 70px; }
.site-heading h2, .area-title { font-size: 30px !important; line-height: 1.3; }
.site-heading h4 { font-size: 14px; }
.site-heading { margin-bottom: 36px; }
.breadcrumb-area { padding: 90px 0 60px; }
.breadcrumb-area h1 { font-size: 34px; }
.banner-area .carousel-item h2,
.banner-area .text-xl .carousel-item h2 { font-size: 40px !important; }
.banner-area p { font-size: 16px; line-height: 28px; }
@media (max-width: 991px) {
    .site-heading h2, .area-title { font-size: 24px !important; }
    .breadcrumb-area { padding: 80px 0 40px; }
    .breadcrumb-area h1 { font-size: 26px; }
    .default-padding { padding-top: 50px; padding-bottom: 50px; }
    .banner-area .carousel-item h2,
    .banner-area .text-xl .carousel-item h2 { font-size: 28px !important; }
}
@media (max-width: 600px) {
    .banner-area .carousel-item h2,
    .banner-area .text-xl .carousel-item h2 { font-size: 22px !important; }
    .shop-section-head h2 { font-size: 20px; }
}
@media (max-width: 600px) {
    .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .shop-card-img img { padding: 8px; }
    .shop-card-body { padding: 10px 12px 14px; }
    .shop-card-title { font-size: 14px; }
    .shop-card-desc { display: none; }
    .shop-card-type { font-size: 10px; }
    .shop-card-foot { flex-direction: column; align-items: flex-start; }
    .shop-card-foot .shop-btn { width: 100%; }
    .shop-price { font-size: 16px; }
}

/* Kompakt ürün kartları (ana sayfa ve ürün listesi) */
.shop-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 210px)); gap: 18px; }
.shop-card { border-radius: 10px; }
.shop-card-img { aspect-ratio: 4 / 3; }
.shop-card-img img { padding: 10px; }
.shop-card-body { padding: 10px 12px 14px; }
.shop-card-type { font-size: 10px; margin-bottom: 4px; }
.shop-card-title { font-size: 15px; margin-bottom: 4px; }
.shop-card-desc { font-size: 12.5px; line-height: 1.45; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-price { font-size: 16px; }
.shop-price small { font-size: 11px; }
.shop-btn-sm { padding: 6px 12px; font-size: 12.5px; }
.home-products { padding: 40px 0 44px; }
.shop-section + .shop-section { margin-top: 32px; }
.shop-section-head h2 { font-size: 20px; }
@media (max-width: 575px) {
    .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .shop-card-desc { display: none; }
    .shop-card-title { font-size: 13.5px; }
    .shop-price { font-size: 14.5px; }
}

/* Kompakt footer (alttaki yeşil bant) */
footer .fixed-shape { display: none; }
footer .f-items.default-padding { padding-top: 36px; padding-bottom: 20px; }
footer .f-items .item { margin-top: 0; margin-bottom: 18px; }
footer .footer-logo { width: 110px; height: auto; margin-bottom: 10px; }
footer .f-item p, footer .f-item li, footer .f-item .address div { font-size: 13.5px; line-height: 1.6; }
footer .f-item .widget-title { font-size: 16px; margin-bottom: 12px; padding-bottom: 8px; }
footer .f-item.link li, footer .f-item.recent-post li { margin-bottom: 6px; padding: 0; border: 0; }
footer .f-item .address br { display: none; }
footer .f-item .address li { margin-bottom: 6px !important; }
footer .footer-bottom { padding: 12px 0; }
footer .footer-bottom p, footer .footer-bottom li a { font-size: 13px; }
@media (max-width: 767px) {
    footer .f-item.recent-post, footer .f-items .item:has(.recent-post) { display: none; }
    footer .f-item.about p { font-size: 13px; }
}
/* Sayfa başlığında "500 Ml" gibi büyük harfe çevirme olmasın */
.breadcrumb-area h1 { text-transform: none; }

/* Kampanya kutusu (ürünlerin üstünde) ve sepette hediye */
.shop-campaign { display: flex; gap: 12px; align-items: flex-start; background: #f6f1e1; border: 1px solid #e3d6a8; border-left: 4px solid var(--shop-gold, #c9a227); border-radius: 10px; padding: 12px 16px; margin: 0 0 24px; font-size: 14.5px; color: #4a4128; }
.shop-campaign > i { color: var(--shop-gold, #c9a227); font-size: 18px; margin-top: 2px; }
.shop-campaign ul { list-style: none; margin: 0; padding: 0; }
.shop-campaign li { margin: 2px 0; }
.shop-campaign li + li { margin-top: 4px; }
.shop-gift { background: #eef5e6; color: #3d5a1e; border-radius: 8px; padding: 9px 12px; margin-bottom: 12px; font-size: 14px; }
.shop-gift-pending { background: #f6f1e1; color: #6b5a1f; }
.shop-gift i { margin-right: 4px; }
