/* =========================================================
   PET FRIEND
   Ana stil dosyası
   ========================================================= */

/* ---------------------------------------------------------
   1. GENEL AYARLAR
--------------------------------------------------------- */

:root {
    --green-900: #254b39;
    --green-800: #2f6249;
    --green-700: #3b7758;
    --green-100: #e9f3ec;
    --green-50: #f3f8f4;

    --orange-600: #df7b35;
    --orange-500: #ee9251;
    --orange-100: #fff0e4;

    --brown-900: #4e3628;
    --brown-700: #735341;

    --cream: #fbf8f1;
    --white: #ffffff;

    --text: #27312b;
    --muted: #6f7972;

    --border: #e4e8e3;
    --danger: #bd453e;

    --shadow-sm: 0 4px 14px rgba(34, 51, 42, 0.07);
    --shadow-md: 0 12px 35px rgba(34, 51, 42, 0.10);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: 0 auto;
}


/* ---------------------------------------------------------
   2. HEADER
--------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 22px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 20px;
    font-weight: 800;

    color: var(--green-900);
}

.logo-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--green-100);

    font-size: 20px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: var(--green-700);
}

.cart-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 11px 15px;

    border-radius: 12px;

    background: var(--green-900);
    color: var(--white);

    font-size: 14px;
    font-weight: 700;
}

.cart-button strong {
    min-width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    padding: 0 5px;

    border-radius: 50%;

    background: var(--orange-500);

    color: var(--white);

    font-size: 12px;
}


/* ---------------------------------------------------------
   3. BUTTONLAR
--------------------------------------------------------- */

.btn {
    border: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    border-radius: 12px;

    font-weight: 800;
    font-size: 14px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--green-900);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--green-800);
}

.btn-secondary {
    background: var(--green-50);
    color: var(--green-900);
    border: 1px solid var(--border);
}

.btn-light {
    background: var(--white);
    color: var(--green-900);
}

.btn-danger {
    background: #fff0ef;
    color: var(--danger);
}

.btn-small {
    min-height: 38px;
    padding: 0 13px;
    border-radius: 10px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
}


/* ---------------------------------------------------------
   4. HERO
--------------------------------------------------------- */

.hero-section {
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(238, 146, 81, 0.20),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f6faf6 0%,
            #fffdf7 100%
        );

    padding: 75px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 55px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--orange-600);

    font-size: 12px;
    letter-spacing: 0.13em;
    font-weight: 900;
}

.hero-content h1 {
    max-width: 680px;

    margin: 0;

    color: var(--green-900);

    font-size: clamp(40px, 6vw, 72px);

    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-content h1 span {
    color: var(--orange-600);
}

.hero-content p {
    max-width: 600px;

    margin: 24px 0 0;

    color: var(--muted);

    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 12px;

    margin-top: 30px;

    flex-wrap: wrap;
}

.hero-visual {
    min-height: 450px;

    position: relative;

    display: grid;
    place-items: center;
}

.pet-circle {
    position: absolute;

    display: grid;
    place-items: center;

    border-radius: 50%;

    box-shadow: var(--shadow-md);
}

.pet-circle-large {
    width: 280px;
    height: 280px;

    font-size: 120px;

    background: #fff2df;
}

.pet-circle-small {
    width: 140px;
    height: 140px;

    right: 25px;
    bottom: 50px;

    font-size: 58px;

    background: #eaf5eb;
}

.hero-card {
    position: absolute;

    left: 5px;
    bottom: 20px;

    display: flex;
    flex-direction: column;

    padding: 18px;

    min-width: 220px;

    background: var(--white);

    border-radius: 18px;

    box-shadow: var(--shadow-md);

    border: 1px solid var(--border);
}

.hero-card span {
    font-size: 22px;
}

.hero-card strong {
    margin-top: 8px;
    color: var(--green-900);
}

.hero-card small {
    color: var(--muted);
    margin-top: 2px;
}


/* ---------------------------------------------------------
   5. KAMPANYA
--------------------------------------------------------- */

.campaign-section {
    padding: 0 0 25px;
}

.campaign-banner {
    margin-top: -10px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 34px 40px;

    background:
        linear-gradient(
            135deg,
            var(--green-900),
            var(--green-700)
        );

    color: var(--white);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.campaign-label {
    display: inline-block;

    margin-bottom: 8px;

    font-size: 11px;
    letter-spacing: 0.12em;
    font-weight: 900;

    color: #ffd1ae;
}

.campaign-banner h2 {
    max-width: 680px;

    margin: 0;

    line-height: 1.15;

    font-size: 30px;
}

.campaign-banner p {
    max-width: 680px;

    margin: 10px 0 0;

    color: rgba(255, 255, 255, 0.80);
}


/* ---------------------------------------------------------
   6. SECTIONS
--------------------------------------------------------- */

.section {
    padding: 80px 0;
}

.section-soft {
    background: var(--cream);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}

.section-heading h2,
.card-title h2 {
    margin: 0;

    color: var(--green-900);

    font-size: clamp(26px, 4vw, 38px);

    line-height: 1.2;
}

.text-link {
    color: var(--green-700);
    font-weight: 800;
    font-size: 14px;
}


/* ---------------------------------------------------------
   7. KATEGORİ KARTLARI
--------------------------------------------------------- */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 16px;
}

.category-card {
    min-height: 190px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 22px;

    border: 1px solid var(--border);

    border-radius: 20px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-food {
    background: #fff4e8;
}

.category-vitamin {
    background: #f2f7ef;
}

.category-accessory {
    background: #f9eff2;
}

.category-cat {
    background: #edf4fb;
}

.category-dog {
    background: #f4eee8;
}

.category-icon {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    margin-bottom: auto;

    background: rgba(255, 255, 255, 0.75);

    border-radius: 16px;

    font-size: 28px;
}

.category-card h3 {
    margin: 18px 0 4px;

    color: var(--green-900);

    font-size: 19px;
}

.category-card p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
}


/* ---------------------------------------------------------
   8. ÜRÜN KARTLARI
--------------------------------------------------------- */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.product-card {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;

    aspect-ratio: 1 / 0.88;

    background: var(--green-50);

    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.product-card-body {
    padding: 18px;
}

.product-category {
    display: inline-block;

    color: var(--orange-600);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-name {
    display: block;

    margin-top: 7px;

    min-height: 48px;

    color: var(--green-900);

    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.product-description {
    margin: 8px 0 0;

    color: var(--muted);

    font-size: 13px;
}

.product-card-bottom {
    margin-top: 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.product-price {
    color: var(--brown-900);

    font-size: 20px;
    font-weight: 900;
}

.stock-badge {
    display: inline-flex;

    padding: 5px 8px;

    border-radius: 999px;

    background: var(--green-100);

    color: var(--green-800);

    font-size: 11px;
    font-weight: 800;
}

.stock-badge.out {
    background: #fff0ef;
    color: var(--danger);
}


/* ---------------------------------------------------------
   9. SAYFA BAŞLIĞI
--------------------------------------------------------- */

.page-header {
    padding: 55px 0 30px;

    background:
        linear-gradient(
            180deg,
            #f7faf7,
            #ffffff
        );
}

.page-header h1 {
    margin: 0;

    color: var(--green-900);

    font-size: clamp(34px, 5vw, 52px);

    line-height: 1.1;
}

.page-header p {
    margin: 12px 0 0;

    color: var(--muted);
}


/* ---------------------------------------------------------
   10. KATALOG
--------------------------------------------------------- */

.catalog-layout {
    display: grid;

    grid-template-columns: 250px 1fr;

    gap: 30px;

    align-items: start;
}

.filter-panel {
    position: sticky;
    top: 100px;

    padding: 22px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.filter-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.filter-panel-header h3 {
    margin: 0;

    color: var(--green-900);
}

.filter-clear {
    border: 0;
    background: transparent;

    color: var(--orange-600);

    font-weight: 800;
    font-size: 12px;
}

.field-label,
.form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--green-900);

    font-weight: 800;

    font-size: 13px;
}

.form-input {
    width: 100%;

    min-height: 46px;

    padding: 10px 13px;

    border: 1px solid var(--border);

    border-radius: 11px;

    background: var(--white);

    color: var(--text);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-input:focus {
    border-color: var(--green-700);

    box-shadow:
        0 0 0 4px rgba(59, 119, 88, 0.10);
}

.filter-panel .form-input {
    margin-bottom: 18px;
}

.catalog-topbar {
    display: flex;
    justify-content: space-between;

    margin-bottom: 18px;

    color: var(--muted);

    font-size: 14px;
}


/* ---------------------------------------------------------
   11. ÜRÜN DETAY
--------------------------------------------------------- */

.product-detail-section {
    padding-top: 45px;
}

.product-detail {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 50px;

    align-items: start;
}

.product-detail-image {
    border: 1px solid var(--border);

    border-radius: 24px;

    overflow: hidden;

    background: var(--green-50);
}

.product-detail-image img {
    width: 100%;
    aspect-ratio: 1 / 0.9;

    object-fit: cover;
}

.product-detail-info {
    padding-top: 10px;
}

.product-detail-info h1 {
    margin: 7px 0 0;

    color: var(--green-900);

    font-size: clamp(32px, 5vw, 50px);

    line-height: 1.1;
}

.product-detail-price {
    margin-top: 18px;

    color: var(--brown-900);

    font-size: 34px;
    font-weight: 900;
}

.product-detail-description {
    margin-top: 18px;

    color: var(--muted);

    font-size: 16px;
}

.quantity-row {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 25px;
}

.quantity-control {
    display: inline-flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 11px;
}

.quantity-control button {
    width: 40px;
    height: 44px;

    border: 0;

    background: var(--green-50);

    color: var(--green-900);

    font-size: 18px;
}

.quantity-control input {
    width: 50px;
    height: 44px;

    border: 0;

    text-align: center;

    outline: none;
}

.detail-actions {
    display: flex;
    gap: 12px;

    margin-top: 18px;
}

.product-meta {
    margin-top: 25px;

    display: grid;

    gap: 10px;
}

.meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 0;

    border-bottom: 1px solid var(--border);
}

.meta-row span:first-child {
    color: var(--muted);
}

.meta-row strong {
    color: var(--green-900);
}


/* ---------------------------------------------------------
   12. SEPET
--------------------------------------------------------- */

.cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        340px;

    gap: 30px;

    align-items: start;
}

.cart-list {
    display: grid;
    gap: 14px;
}

.cart-item {
    display: grid;

    grid-template-columns: 100px 1fr auto;

    gap: 18px;

    align-items: center;

    padding: 16px;

    border: 1px solid var(--border);

    border-radius: 17px;

    background: var(--white);
}

.cart-item-image {
    width: 100px;
    height: 90px;

    overflow: hidden;

    border-radius: 14px;

    background: var(--green-50);
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.cart-item-info h3 {
    margin: 0;

    color: var(--green-900);

    font-size: 17px;
}

.cart-item-info p {
    margin: 4px 0 0;

    color: var(--muted);

    font-size: 13px;
}

.cart-item-price {
    text-align: right;

    color: var(--brown-900);

    font-weight: 900;
}

.cart-item-actions {
    margin-top: 10px;

    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-quantity {
    display: inline-flex;
    align-items: center;

    border: 1px solid var(--border);

    border-radius: 10px;

    overflow: hidden;
}

.cart-quantity button {
    width: 34px;
    height: 36px;

    border: 0;

    background: var(--green-50);
}

.cart-quantity span {
    min-width: 40px;

    text-align: center;

    font-weight: 800;
}

.remove-btn {
    border: 0;
    background: transparent;

    color: var(--danger);

    font-size: 12px;
    font-weight: 800;
}

.summary-card {
    position: sticky;
    top: 100px;

    padding: 22px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: var(--cream);

    box-shadow: var(--shadow-sm);
}

.summary-card h2 {
    margin: 0 0 20px;

    color: var(--green-900);
}

.summary-divider {
    height: 1px;

    background: var(--border);

    margin: 18px 0;
}

.summary-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.summary-total-row span {
    color: var(--muted);
}

.summary-total-row strong {
    color: var(--brown-900);

    font-size: 25px;
}

.empty-state {
    padding: 50px 20px;

    text-align: center;

    border: 1px dashed var(--border);

    border-radius: 18px;

    background: var(--green-50);
}

.empty-state-icon {
    font-size: 50px;
}

.empty-state h2 {
    margin: 12px 0 6px;

    color: var(--green-900);
}

.empty-state p {
    margin: 0 0 20px;

    color: var(--muted);
}


/* ---------------------------------------------------------
   13. CHECKOUT
--------------------------------------------------------- */

.checkout-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        340px;

    gap: 30px;

    align-items: start;
}

.checkout-form-card,
.checkout-summary {
    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.card-title {
    margin-bottom: 24px;
}

.card-title p {
    margin: 5px 0 0;

    color: var(--muted);

    font-size: 13px;
}

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.textarea {
    resize: vertical;
    min-height: 130px;
}

.payment-box {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px;

    margin: 10px 0 18px;

    border: 1px solid #e3eadf;

    border-radius: 15px;

    background: var(--green-50);
}

.payment-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--white);

    font-size: 22px;
}

.payment-box strong {
    display: block;

    color: var(--green-900);
}

.payment-box p {
    margin: 2px 0 0;

    color: var(--muted);

    font-size: 12px;
}

.payment-check {
    margin-left: auto;
}

.payment-check span {
    display: grid;
    place-items: center;

    width: 25px;
    height: 25px;

    border-radius: 50%;

    background: var(--green-700);

    color: var(--white);

    font-size: 12px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin: 15px 0 20px;

    color: var(--muted);

    font-size: 13px;
}

.checkbox-row input {
    margin-top: 5px;
}

.checkout-summary {
    position: sticky;
    top: 100px;

    background: var(--cream);
}

.checkout-item {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 11px 0;

    border-bottom: 1px solid var(--border);
}

.checkout-item:last-child {
    border-bottom: 0;
}

.checkout-item-title {
    color: var(--green-900);

    font-size: 13px;
    font-weight: 800;
}

.checkout-item-meta {
    color: var(--muted);

    font-size: 12px;
}

.checkout-item-price {
    white-space: nowrap;

    color: var(--brown-900);

    font-weight: 900;
}


/* ---------------------------------------------------------
   14. ADMİN
--------------------------------------------------------- */

.admin-warning {
    margin-bottom: 22px;

    padding: 15px 17px;

    border: 1px solid #f0dfc6;

    border-radius: 14px;

    background: #fff8ed;

    color: #7a5c3d;

    font-size: 13px;
}

.admin-card {
    margin-bottom: 25px;

    padding: 24px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;
}

.admin-card-header h2 {
    margin: 0;

    color: var(--green-900);
}

.hidden {
    display: none !important;
}

.count-badge {
    padding: 7px 10px;

    border-radius: 999px;

    background: var(--green-100);

    color: var(--green-900);

    font-size: 12px;
    font-weight: 800;
}

.table-wrapper {
    width: 100%;

    overflow-x: auto;
}

.admin-table {
    width: 100%;

    border-collapse: collapse;

    min-width: 700px;
}

.admin-table th,
.admin-table td {
    padding: 14px;

    text-align: left;

    border-bottom: 1px solid var(--border);

    font-size: 13px;
}

.admin-table th {
    color: var(--muted);

    font-size: 11px;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}

.admin-product-name {
    display: flex;
    align-items: center;

    gap: 10px;
}

.admin-product-thumb {
    width: 44px;
    height: 44px;

    overflow: hidden;

    border-radius: 10px;
}

.admin-product-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.admin-actions {
    display: flex;
    gap: 7px;
}

.order-list {
    display: grid;
    gap: 14px;
}

.order-card {
    padding: 18px;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: var(--green-50);
}

.order-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 12px;
}

.order-id {
    color: var(--green-900);

    font-weight: 900;
}

.order-date {
    color: var(--muted);

    font-size: 12px;
}

.order-customer {
    margin-bottom: 10px;

    color: var(--text);

    font-size: 13px;
}

.order-items {
    padding: 12px;

    border-radius: 11px;

    background: var(--white);
}

.order-line {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    padding: 6px 0;

    color: var(--muted);

    font-size: 12px;
}

.order-total {
    margin-top: 12px;

    display: flex;
    justify-content: space-between;

    color: var(--brown-900);

    font-weight: 900;
}

.order-status {
    min-height: 40px;

    padding: 0 10px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: var(--white);
}


/* ---------------------------------------------------------
   15. FOOTER
--------------------------------------------------------- */

.site-footer {
    margin-top: 20px;

    padding-top: 50px;

    background: var(--green-900);

    color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr;

    gap: 30px;

    padding-bottom: 40px;
}

.footer-logo {
    color: var(--white);

    margin-bottom: 15px;
}

.footer-grid > div > p {
    margin: 0;

    font-size: 13px;
}

.footer-grid h4 {
    margin: 0 0 12px;

    color: var(--white);

    font-size: 14px;
}

.footer-grid > div > a:not(.logo) {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;
}

.cash-note strong {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.13);

    font-size: 12px;
}


/* ---------------------------------------------------------
   16. AVANTAJLAR
--------------------------------------------------------- */

.feature-strip {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.feature-item {
    display: flex;

    gap: 14px;

    padding: 20px;

    border: 1px solid var(--border);

    border-radius: 17px;
}

.feature-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: var(--green-100);

    font-size: 22px;
}

.feature-item h3 {
    margin: 0;

    color: var(--green-900);

    font-size: 16px;
}

.feature-item p {
    margin: 4px 0 0;

    color: var(--muted);

    font-size: 12px;
}


/* ---------------------------------------------------------
   17. BİLDİRİM
--------------------------------------------------------- */

.toast {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 100;

    max-width: 330px;

    padding: 14px 17px;

    border-radius: 12px;

    background: var(--green-900);

    color: var(--white);

    box-shadow: var(--shadow-md);

    font-size: 13px;

    animation: toastIn 0.25s ease;
}

.toast.error {
    background: var(--danger);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------------------------------------------------------
   18. MOBİL / TABLET
--------------------------------------------------------- */

@media (max-width: 1050px) {

    .product-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .category-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .hero-grid {
        grid-template-columns: 1fr 0.8fr;
    }

    .catalog-layout {
        grid-template-columns: 220px 1fr;
    }

}

@media (max-width: 850px) {

    .main-nav {
        display: none;
    }

    .hero-grid,
    .product-detail,
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 360px;
    }

    .filter-panel {
        position: static;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary,
    .summary-card {
        position: static;
    }

    .feature-strip {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 650px) {

    .container {
        width: min(
            calc(100% - 24px),
            var(--container)
        );
    }

    .header-inner {
        min-height: 68px;
    }

    .logo {
        font-size: 17px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .cart-button span {
        display: none;
    }

    .hero-section {
        padding: 50px 0;
    }

    .hero-grid {
        gap: 25px;
    }

    .hero-visual {
        min-height: 300px;
    }

    .pet-circle-large {
        width: 220px;
        height: 220px;
        font-size: 90px;
    }

    .pet-circle-small {
        width: 100px;
        height: 100px;
        right: 0;
        bottom: 35px;
        font-size: 42px;
    }

    .hero-card {
        left: 0;
        bottom: 0;
        min-width: 185px;
    }

    .campaign-banner {
        flex-direction: column;
        align-items: flex-start;

        padding: 25px;
    }

    .section {
        padding: 55px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-grid,
    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .category-card {
        min-height: 160px;
        padding: 17px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 75px 1fr;

        align-items: start;
    }

    .cart-item-image {
        width: 75px;
        height: 75px;
    }

    .cart-item-price {
        grid-column: 2;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

}

@media (max-width: 440px) {

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card-body {
        padding: 15px;
    }

    .product-card-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-actions {
        flex-direction: column;
    }

    .detail-actions .btn {
        width: 100%;
    }

}
/* =========================================================
   PET FRIEND - ANA SAYFA DÜZELTME PAKETİ
   ========================================================= */


/* ---------------------------------------------------------
   HERO
   HTML'deki class isimleriyle eşleştirildi
--------------------------------------------------------- */

.hero {
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(238, 146, 81, 0.20),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f6faf6 0%,
            #fffdf7 100%
        );

    padding: 75px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 55px;
}

.hero-art {
    min-height: 450px;
    position: relative;

    display: grid;
    place-items: center;
}


/* ---------------------------------------------------------
   HERO RENKLİ ŞEKİLLER
--------------------------------------------------------- */

.blob {
    position: absolute;
    border-radius: 50%;
}

.blob-green {
    width: 330px;
    height: 330px;

    background: #e7f2e9;

    top: 55px;
    right: 60px;
}

.blob-orange {
    width: 190px;
    height: 190px;

    background: #fff0dd;

    left: 45px;
    bottom: 35px;
}


/* ---------------------------------------------------------
   ANA HAYVAN EMOJİSİ
--------------------------------------------------------- */

.pet-emoji {
    position: relative;
    z-index: 2;

    width: 280px;
    height: 280px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #fff2df;

    font-size: 120px;

    box-shadow: var(--shadow-md);
}


/* ---------------------------------------------------------
   KÜÇÜK KALP / PATİ BALONLARI
--------------------------------------------------------- */

.pet-bubble {
    position: absolute;
    z-index: 4;

    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--white);

    box-shadow: var(--shadow-sm);

    font-size: 25px;
}

.bubble-one {
    top: 55px;
    right: 80px;
}

.bubble-two {
    right: 35px;
    bottom: 100px;
}


/* ---------------------------------------------------------
   HERO BİLGİ KARTLARI
   --------------------------------------------------------- */

/*
   Eski CSS'te iki .hero-card aynı left/bottom
   değerlerini alıyordu. Bu yüzden üst üste geliyorlardı.
*/

.hero-card {
    position: absolute;

    z-index: 5;

    display: flex;
    flex-direction: column;

    min-width: 210px;

    padding: 16px 18px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow: var(--shadow-md);
}


/* Müşteri memnuniyeti kartı */
.mini-card-one {
    left: 5px;
    bottom: 20px;
}


/* Doğal kartı */
.mini-card-two {
    right: 5px;
    top: 45px;

    left: auto;
    bottom: auto;
}


/* Kart iç yazıları */
.hero-card span {
    font-size: 22px;
}

.hero-card strong {
    margin-top: 6px;

    color: var(--green-900);

    font-size: 16px;
}

.hero-card small {
    margin-top: 2px;

    color: var(--muted);

    font-size: 12px;
}


/* ---------------------------------------------------------
   KAMPANYA
   HTML'deki promo sınıflarıyla uyumlu
--------------------------------------------------------- */

.promo-section {
    padding: 0 0 25px;
}

.promo-banner {
    margin-top: -10px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 34px 40px;

    background:
        linear-gradient(
            135deg,
            var(--green-900),
            var(--green-700)
        );

    color: var(--white);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.promo-label {
    display: inline-block;

    margin-bottom: 8px;

    color: #ffd1ae;

    font-size: 11px;

    letter-spacing: 0.12em;

    font-weight: 900;
}

.promo-banner h2 {
    margin: 0;

    font-size: 30px;

    line-height: 1.15;
}

.promo-banner p {
    max-width: 680px;

    margin: 10px 0 0;

    color: rgba(255, 255, 255, 0.8);
}


/* ---------------------------------------------------------
   KATEGORİ KARTLARI
--------------------------------------------------------- */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 16px;

    align-items: stretch;
}

.category-card {
    position: relative;

    min-height: 190px;

    display: flex;
    flex-direction: column;

    padding: 22px;

    border: 1px solid var(--border);

    border-radius: 20px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}


/* HTML'deki GERÇEK class isimleri */
.cat-food {
    background: #fff4e8;
}

.cat-vitamin {
    background: #f2f7ef;
}

.cat-accessory {
    background: #f9eff2;
}

.cat-cat {
    background: #edf4fb;
}

.cat-dog {
    background: #f4eee8;
}


/* Kategori ikonu */
.category-icon {
    width: 54px;
    height: 54px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    background: rgba(255, 255, 255, 0.78);

    border-radius: 16px;

    font-size: 28px;
}


/* Kategori yazı alanı */
.category-card h3 {
    margin: 0 0 4px;

    color: var(--green-900);

    font-size: 19px;

    line-height: 1.25;
}

.category-card p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.4;
}


/* Sağ üst ok */
.category-arrow {
    position: absolute;

    right: 18px;
    top: 20px;

    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.75);

    color: var(--green-900);

    font-size: 18px;

    font-weight: 800;
}


/* ---------------------------------------------------------
   ÖNE ÇIKAN ÜRÜNLER
--------------------------------------------------------- */

/*
   JavaScript'in oluşturduğu HTML'deki
   .product-card-content sınıfını destekliyoruz.
*/

.product-card-content {
    padding: 18px;
}

.product-title {
    margin: 7px 0 0;

    min-height: 48px;

    color: var(--green-900);

    font-size: 17px;

    font-weight: 800;

    line-height: 1.35;
}

.product-title a {
    color: inherit;
}

.product-image {
    width: 100%;

    aspect-ratio: 1 / 0.88;

    object-fit: cover;

    background: var(--green-50);
}

.product-card .add-to-cart-btn {
    width: 100%;

    min-height: 42px;

    margin-top: 14px;

    padding: 0 15px;

    border: 0;

    border-radius: 11px;

    background: var(--green-900);

    color: var(--white);

    font-weight: 800;

    font-size: 13px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.product-card .add-to-cart-btn:hover {
    background: var(--green-800);

    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   MOBİL
--------------------------------------------------------- */

@media (max-width: 1050px) {

    .hero-grid {
        grid-template-columns: 1fr 0.9fr;
    }

    .category-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}


@media (max-width: 850px) {

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 400px;
    }

    .category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .promo-banner {
        flex-direction: column;

        align-items: flex-start;
    }
}


@media (max-width: 650px) {

    .hero {
        padding: 50px 0;
    }

    .hero-art {
        min-height: 330px;
    }

    .pet-emoji {
        width: 220px;
        height: 220px;

        font-size: 90px;
    }

    .blob-green {
        width: 260px;
        height: 260px;

        right: 20px;
    }

    .blob-orange {
        width: 140px;
        height: 140px;

        left: 15px;
    }

    .mini-card-one {
        left: 0;
        bottom: 0;
    }

    .mini-card-two {
        right: 0;
        top: 15px;
    }

    .hero-card {
        min-width: 165px;

        padding: 12px 14px;
    }

    .hero-card strong {
        font-size: 14px;
    }

    .hero-card small {
        font-size: 11px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .category-card {
        min-height: 160px;

        padding: 17px;
    }

    .category-icon {
        width: 48px;
        height: 48px;

        margin-bottom: 15px;

        font-size: 24px;
    }

    .category-card h3 {
        font-size: 16px;
    }

    .category-card p {
        font-size: 12px;
    }
}


@media (max-width: 440px) {

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 350px;
    }

    .mini-card-one {
        left: 0;
    }

    .mini-card-two {
        right: 0;
    }

    .promo-banner {
        padding: 25px;
    }
}
/* =========================================================
   ÜRÜNLER SAYFASI - FİLTRE PANELİ DÜZELTME
   ========================================================= */

/* Filtre artık sayfayı aşağı kaydırırken yerinde kalmayacak */
.filter-panel {
    position: static !important;

    width: 100%;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #e1e7e2;

    border-radius: 18px;

    box-shadow: 0 8px 24px rgba(34, 51, 42, 0.06);
}


/* Filtre başlığı */
.filter-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 22px;

    padding-bottom: 16px;

    border-bottom: 1px solid #edf0ed;
}


/* "Filtrele" başlığı */
.filter-panel-header h3 {
    margin: 0;

    color: var(--green-900);

    font-size: 20px;

    font-weight: 800;
}


/* Filtreleri temizle */
.filter-clear {
    border: 0;

    padding: 8px 12px;

    border-radius: 9px;

    background: var(--orange-100);

    color: var(--orange-600);

    font-size: 12px;

    font-weight: 800;

    transition: 0.2s ease;
}

.filter-clear:hover {
    background: #ffe5d0;
}


/* Filtre alanları */
.filter-panel .form-group {
    margin-bottom: 18px;
}

.filter-panel .form-group:last-child {
    margin-bottom: 0;
}


/* Filtre etiketleri */
.filter-panel label,
.filter-panel .field-label {
    display: block;

    margin-bottom: 8px;

    color: var(--green-900);

    font-size: 13px;

    font-weight: 800;
}


/* Input ve select */
.filter-panel .form-input {
    width: 100%;

    min-height: 46px;

    padding: 10px 13px;

    border: 1px solid #dfe6e0;

    border-radius: 11px;

    background: #fbfcfb;

    color: var(--text);

    outline: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.filter-panel .form-input:hover {
    background: #ffffff;
}

.filter-panel .form-input:focus {
    background: #ffffff;

    border-color: var(--green-700);

    box-shadow:
        0 0 0 4px rgba(59, 119, 88, 0.10);
}


/* Ürün alanının filtreye karışmasını engelle */
.catalog-layout {
    align-items: start;
}

.catalog-layout > * {
    min-width: 0;
}

.catalog-layout .product-grid {
    position: relative;
    z-index: 1;
}


/* Filtre panelinin de net bir arka planı olsun */
.catalog-layout .filter-panel {
    z-index: 2;

    isolation: isolate;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .filter-panel {
        position: static !important;

        padding: 20px;

        margin-bottom: 10px;
    }

}


/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 650px) {

    .filter-panel {
        padding: 18px;

        border-radius: 15px;
    }

    .filter-panel-header {
        margin-bottom: 18px;

        padding-bottom: 13px;
    }

    .filter-panel-header h3 {
        font-size: 18px;
    }

    .filter-panel .form-input {
        min-height: 44px;
    }

}