.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .16s, box-shadow .16s;
}

.product-card:hover {
    border-color: #b1a2b2;
    box-shadow: 0 6px 18px #20252b08;
}

.product-visual {
    position: relative;
    padding: 33px 12px 12px;
}

.product-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    min-height: 130px;
}

.product-image-link img,
.gallery-stage > img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.catalog-no-photo {
    display: grid;
    flex: 1;
    place-items: center;
    align-self: stretch;
    min-height: 110px;
    color: var(--muted);
    background: var(--steel);
    border-radius: 6px;
}

.catalog-no-photo .icon {
    width: 32px;
    height: 32px;
}

.product-badges {
    position: absolute;
    inset: 10px 10px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    pointer-events: none;
}

.product-badge {
    border-radius: 4px;
    padding: 3px 7px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
}

.product-badge--discount {
    background: #fbedee;
    color: #962931;
}

.product-badge--unavailable {
    background: #e7eaed;
    color: #464c56;
}

.product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px 12px 14px;
    overflow-wrap: anywhere;
}

.product-brand,
.product-spec {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.product-brand {
    font-weight: 600;
}

.product-name {
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: 0;
}

.product-name a {
    display: flex;
    min-height: 63px;
    align-items: flex-start;
}

.product-name a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.product-pricing {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 78px;
    margin-top: auto;
    padding-top: 12px;
}

.product-card .old-price,
.pdp-price .old-price {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.product-price-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-price {
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.35;
}

.product-card .tax-note,
.pdp-price .tax-note {
    color: var(--muted);
    font-size: 14px;
}

.product-stock,
.stock-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    color: var(--success);
    font-size: 14px;
}

.product-stock {
    margin-bottom: 10px;
}

.product-stock .icon,
.stock-indicator .icon {
    width: 16px;
    height: 16px;
    flex: none;
}

.product-stock.is-unavailable,
.stock-indicator.is-unavailable {
    color: var(--muted);
}

.product-actions {
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.product-pricing ~ .product-actions {
    margin-top: 0;
}

.product-card .button {
    width: 100%;
    min-height: 44px;
    padding: 9px 6px;
    gap: 5px;
    font-size: 14px;
    text-align: center;
}

.product-card .button .icon {
    width: 17px;
    height: 17px;
    flex: none;
}

.product-quote {
    justify-content: space-between;
}

.catalog-content,
.product-detail-content {
    padding-bottom: 48px;
}

.category-intro {
    padding: 6px 0 26px;
    overflow-wrap: anywhere;
}

.category-intro h1 {
    font-size: clamp(30px, 3.8vw, 42px);
}

.category-intro p:not(.eyebrow) {
    max-width: 800px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.category-browse {
    margin-top: 16px;
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.category-chip {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.category-chip:hover {
    color: var(--brand);
    border-color: var(--brand);
}

.catalog-layout {
    display: grid;
    align-items: start;
    gap: 24px;
    padding-top: 24px;
}

.filter-shell {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.filter-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    font-weight: 700;
    text-align: start;
}

.filter-toggle .icon:last-child {
    margin-inline-start: auto;
}

.filter-toggle[aria-expanded="true"] .icon:last-child {
    transform: rotate(180deg);
}

.filter-desktop-heading {
    padding: 14px 16px;
    font-size: 16px;
}

#mutfak-filter-form {
    padding: 0 16px 16px;
}

.filter-group {
    border-top: 1px solid var(--line);
    overflow-wrap: anywhere;
}

.filter-group > summary,
.filter-category-list summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.filter-group summary .icon {
    width: 17px;
    height: 17px;
    flex: none;
}

.filter-group fieldset {
    padding: 0 0 10px;
    margin: 0;
    border: 0;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.filter-option input {
    flex: none;
    min-height: 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--brand);
}

.filter-category-list {
    padding-bottom: 6px;
}

.filter-category-list ul {
    margin-inline-start: 12px;
    padding-inline-start: 10px;
    border-inline-start: 1px solid var(--line);
}

.filter-category-list summary {
    min-height: 36px;
    padding-block: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.filter-category-link {
    display: flex;
    align-items: center;
    min-height: 36px;
    font-size: 14px;
}

.filter-category-link[aria-current],
.filter-category-link:hover {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: .25em;
}

.price-inputs {
    display: flex;
    align-items: end;
    gap: 8px;
}

.price-inputs > div,
.price-inputs > label {
    flex: 1;
    min-width: 0;
}

.price-inputs label {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 13px;
}

.price-inputs input,
.product-customization input:not([type="checkbox"], [type="radio"]),
.product-customization select,
.product-customization textarea {
    width: 100%;
    min-width: 0;
    padding: 8px;
    border: 1px solid #8c929b;
    border-radius: 5px;
    background: #fff;
    font-size: 14px;
}

.price-inputs > span {
    align-self: flex-end;
    padding-bottom: 10px;
}

.filter-actions {
    display: grid;
    gap: 4px;
    padding-top: 12px;
}

.catalog-results {
    min-width: 0;
}

.catalog-toolbar,
.catalog-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.catalog-toolbar {
    min-height: 54px;
    margin-bottom: 16px;
}

.catalog-results-count {
    font-size: 14px;
}

.sort-control {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.sort-control label,
.catalog-bottom {
    color: var(--muted);
    font-size: 13px;
}

.sort-control select {
    max-width: 100%;
    padding: 8px 28px 8px 10px;
    background: #fff;
    border: 1px solid #8c929b;
    border-radius: 6px;
    font-size: 14px;
}

.sort-control[data-catalog-enhanced] button {
    display: none;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 12px;
    color: var(--brand);
    background: var(--brand-soft);
    border: 1px solid #b8a1b9;
    border-radius: 6px;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.catalog-bottom {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.catalog-pagination {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.catalog-pagination :is(a, span) {
    display: grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    padding-inline: 6px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 14px;
}

.catalog-pagination [aria-current] {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.catalog-empty {
    display: grid;
    justify-items: center;
    gap: 20px;
    padding: 55px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}

.catalog-empty > .icon {
    width: 36px;
    height: 36px;
    color: var(--brand);
}

.directory-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.directory-category-grid .category-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 92px;
    padding: 12px 12px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    overflow-wrap: anywhere;
}

.directory-category-grid .category-tile:hover {
    border-color: var(--brand);
    box-shadow: 0 4px 16px #5325540c;
}

.directory-category-grid .category-image {
    display: grid;
    width: 100%;
    height: 130px;
    place-items: center;
    padding-bottom: 12px;
}

.directory-category-grid .category-image img {
    max-width: 100%;
    max-height: 114px;
    object-fit: contain;
}

.directory-category-grid h2 {
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: -.01em;
}

.product-detail {
    display: grid;
    gap: 28px;
    margin-top: 4px;
}

.product-gallery,
.product-purchase {
    min-width: 0;
}

.gallery-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.gallery-zoom {
    position: absolute;
    inset: auto 14px 14px auto;
}

.gallery-zoom[hidden] {
    display: none;
}

.gallery-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gallery-thumb {
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.gallery-thumb[aria-current="true"] {
    border-color: var(--brand);
}

.gallery-thumb img {
    object-fit: contain;
}

.gallery-dialog {
    width: min(720px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.gallery-dialog::backdrop {
    background: rgb(32 37 43 / 63%);
}

.gallery-dialog .dialog-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.gallery-dialog h2 {
    font-size: 20px;
    overflow-wrap: anywhere;
}

.gallery-dialog > img {
    width: 100%;
    height: min(65vh, 570px);
    margin-top: 12px;
    object-fit: contain;
}

.product-purchase {
    overflow-wrap: anywhere;
}

.product-purchase .eyebrow {
    margin-bottom: 10px;
}

.product-purchase h1 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.18;
}

.product-code,
.product-rating {
    margin-top: 12px;
}

.product-code {
    color: var(--muted);
    font-size: 13px;
}

.product-code strong {
    font-weight: 500;
}

.product-lead {
    margin-top: 20px;
    color: #454d57;
    font-size: 15px;
    line-height: 1.75;
}

.key-specs {
    display: flex;
    padding: 20px 0;
    margin: 20px 0 0;
    border-block: 1px solid var(--line);
}

.key-specs > div {
    flex: 1;
    min-width: 0;
    padding-inline: 12px;
    border-inline-end: 1px solid var(--line);
}

.key-specs > div:first-child {
    padding-inline-start: 0;
}

.key-specs > div:last-child {
    padding-inline-end: 0;
    border: 0;
}

.key-specs dt {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 13px;
}

.key-specs dd {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.pdp-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 24px;
}

.pdp-price strong {
    font-size: clamp(30px, 3.4vw, 40px);
    letter-spacing: -.035em;
    line-height: 1.2;
}

.pdp-price .old-price {
    flex-basis: 100%;
}

.stock-indicator {
    font-weight: 600;
}

.quantity-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
    font-size: 14px;
    font-weight: 650;
}

.quantity-control {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #8c929b;
    border-radius: 6px;
    background: #fff;
}

.quantity-control button {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    border: 0;
    background: transparent;
    font-size: 20px;
}

.quantity-control input {
    width: 48px;
    min-width: 0;
    padding: 5px 0;
    appearance: textfield;
    border: 0;
    border-inline: 1px solid var(--line);
    color: var(--ink);
    background: #fff;
    text-align: center;
    font-size: 16px;
}

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

.purchase-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.purchase-actions .button {
    flex: 1;
    min-height: 52px;
    padding-inline: 8px;
    font-size: 15px;
    text-align: center;
}

.purchase-actions .icon {
    width: 20px;
    height: 20px;
    flex: none;
}

.pdp-options,
.product-customization,
.pdp-favorite {
    margin-top: 20px;
}

.pdp-favorite [aria-pressed="true"] {
    color: var(--brand);
    border-color: var(--brand);
    background: var(--brand-soft);
}

.pdp-favorite [aria-pressed="true"] .icon {
    fill: currentColor;
}

.pdp-favorite [data-product-favorite-message] {
    color: var(--muted);
    font-size: 14px;
}

.pdp-options fieldset,
.product-customization fieldset {
    min-width: 0;
    padding: 0;
    margin: 0 0 12px;
    border: 0;
}

.pdp-options legend,
.product-customization legend {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
}

.pdp-option-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.pdp-option-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 14px;
}

.pdp-option-link:hover,
.pdp-option-link[aria-current] {
    color: var(--brand);
    border-color: var(--brand);
    background: var(--brand-soft);
}

.product-customization h2 {
    margin-bottom: 12px;
    font-size: 19px;
}

.product-customization .field-error {
    color: var(--sale);
    font-size: 14px;
}

.product-customization output {
    color: var(--brand);
    font-weight: 700;
}

.product-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
    margin-top: 36px;
    padding-block: 6px;
    border-block: 1px solid var(--line);
}

.product-section-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 650;
}

.product-section-nav a:hover {
    text-decoration: underline;
}

.product-information {
    display: grid;
    gap: 40px;
    padding-block: 38px;
}

.product-information section {
    min-width: 0;
    scroll-margin-top: 20px;
    overflow-wrap: anywhere;
}

.product-information h2 {
    margin-bottom: 20px;
    font-size: 27px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--line);
    font-size: 14px;
    text-align: start;
}

.spec-table th,
.spec-table td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    line-height: 1.55;
    vertical-align: top;
}

.spec-table th {
    width: 42%;
    color: var(--muted);
    font-weight: 550;
}

.spec-table tr:nth-child(odd) {
    background: var(--steel);
}

.product-description-copy {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.product-description-copy > * + * {
    margin-top: 14px;
}

.product-description-copy :is(ul, ol) {
    padding-inline-start: 1.2em;
    list-style: revert;
}

.product-description-copy a {
    color: var(--brand);
    text-decoration: underline;
}

.product-bundle ul {
    display: grid;
    gap: 10px;
}

.product-bundle li,
.product-review {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow-wrap: anywhere;
}

.product-bundle li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.product-bundle img {
    object-fit: contain;
}

.product-review {
    margin-top: 12px;
}

.product-review p {
    margin-top: 7px;
    color: var(--muted);
}

@media (max-width: 699px) {
    .filter-shell[data-catalog-enhanced] .filter-toggle {
        display: flex;
    }

    .filter-shell[data-catalog-enhanced] .filter-desktop-heading,
    .filter-shell[data-catalog-enhanced]:has(.filter-toggle[aria-expanded="false"]) #mutfak-filter-form {
        display: none;
    }
}

@media (min-width: 700px) {
    .catalog-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 20px;
    }

    .filter-shell {
        border: 0;
    }

    #mutfak-filter-form,
    .filter-desktop-heading {
        padding-inline: 0;
    }

    .filter-option {
        font-size: 13px;
    }

    .product-grid {
        gap: 20px;
    }

    .product-content {
        padding: 12px 18px 18px;
    }

    .product-visual {
        padding: 32px 22px 12px;
    }

    .product-image-link {
        min-height: 180px;
    }

    .product-name {
        font-size: 15px;
    }

    .product-price {
        font-size: 24px;
    }

    .product-price-row {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 2px 8px;
    }

    .product-card .button {
        min-height: 46px;
        padding-inline: 12px;
    }

    .catalog-grid {
        gap: 16px;
    }

    .catalog-grid .product-content {
        padding: 8px 12px 14px;
    }

    .catalog-grid .product-visual {
        padding-inline: 16px;
    }

    .catalog-grid .product-image-link {
        min-height: 140px;
    }

    .catalog-grid .product-name {
        font-size: 14px;
    }

    .catalog-grid .product-price {
        font-size: 19px;
    }

    .catalog-grid .product-price-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-grid .button {
        padding-inline: 5px;
    }

    .category-intro p:not(.eyebrow) {
        font-size: 16px;
    }

    .directory-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .directory-category-grid .category-image {
        height: 150px;
    }

    .directory-category-grid .category-image img {
        max-height: 132px;
    }

    .product-detail,
    .product-information {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-information:has(> section:only-child) {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-information {
        gap: 36px;
        padding-block: 44px;
    }

    .product-section-nav {
        gap: 0 30px;
        margin-top: 44px;
        padding-block: 10px;
    }
}

@media (min-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-image-link {
        min-height: 190px;
    }

    .product-name a {
        min-height: 68px;
    }

    .product-pricing {
        min-height: 72px;
    }

    .product-price,
    .catalog-grid .product-price {
        font-size: 23px;
    }

    .product-price-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-layout {
        grid-template-columns: 225px minmax(0, 1fr);
        gap: 35px;
    }

    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .catalog-grid .product-visual {
        padding-inline: 22px;
    }

    .catalog-grid .product-image-link {
        min-height: 190px;
    }

    .catalog-grid .product-content {
        padding: 12px 18px 18px;
    }

    .catalog-grid .product-name {
        font-size: 15px;
    }

    .catalog-grid .button {
        padding-inline: 12px;
    }

    .directory-category-grid {
        gap: 20px;
    }

    .directory-category-grid .category-tile {
        min-height: 170px;
        flex-direction: row;
        padding: 20px 16px;
        gap: 14px;
        text-align: start;
    }

    .directory-category-grid .category-image {
        flex: none;
        width: 100px;
        height: 125px;
        padding: 5px 0;
    }

    .directory-category-grid h2 {
        font-size: 16px;
    }

    .product-detail {
        grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
        gap: 52px;
    }

    .product-information {
        gap: 64px;
        padding-block: 54px;
    }

    .product-information h2 {
        font-size: 30px;
    }

    .spec-table {
        font-size: 15px;
    }

    .spec-table th,
    .spec-table td {
        padding: 13px 18px;
    }
}
