/* ARC CO — Kahveni Bul + Demleme Hesaplayıcı */

.arc-tools-page {
    background:
        radial-gradient(ellipse 70% 40% at 8% 0%, rgba(177, 148, 127, 0.14), transparent 55%),
        linear-gradient(180deg, #f7f2ed 0%, #f3ebe4 48%, #efe6de 100%);
}

.arc-tools {
    font-family: 'Inter', -apple-system, sans-serif;
    color: #181516;
}

.arc-tools__hero {
    border-bottom: 1px solid #d5c6bc;
}

.arc-tools__hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 72px) 24px 40px;
}

.arc-tools__eyebrow {
    margin: 0 0 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #594436;
}

.arc-tools__title {
    margin: 0;
    font-family: 'Karrik', Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 400;
    line-height: 1.08;
    color: #181516;
}

.arc-tools__rule {
    display: block;
    width: 48px;
    height: 2px;
    background: #b1947f;
    margin: 20px 0 16px;
}

.arc-tools__lead {
    max-width: 42rem;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #594436;
}

.arc-tools__ghost {
    display: inline-block;
    margin-top: 22px;
    color: #181516;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.arc-tools__ghost:hover {
    color: #73583c;
}

.arc-tools__body {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.arc-tools__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 0;
    background: #594436;
    color: #fff;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.arc-tools__btn:hover {
    background: #73583c;
    transform: translateY(-1px);
    color: #fff;
}

.arc-tools__text-link {
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #594436;
    text-decoration: none;
}

.arc-tools__text-link:hover {
    color: #181516;
}

.arc-tools__empty {
    grid-column: 1 / -1;
    padding: 40px 24px;
    background: #faf8f6;
    border: 1px solid #e8e0da;
    text-align: center;
}

.arc-tools__empty h3 {
    margin: 0 0 8px;
    font-family: 'Karrik', Georgia, serif;
    font-size: 1.6rem;
}

.arc-tools__empty p {
    margin: 0 0 20px;
    color: #594436;
    line-height: 1.5;
}

/* Finder */
.arc-finder {
    display: grid;
    gap: 28px;
}

.arc-finder__progress {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.arc-finder__progress span {
    width: 42px;
    height: 3px;
    background: #d5c6bc;
}

.arc-finder__progress span.is-on {
    background: #181516;
}

.arc-finder__progress p {
    margin-left: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a8a80;
}

.arc-finder__q {
    border: 0;
    margin: 0;
    padding: 0;
}

.arc-finder__q legend {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1.05rem;
    font-weight: 650;
    color: #181516;
}

.arc-finder__step {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #9a8a80;
}

.arc-finder__opts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.arc-finder__opt {
    cursor: pointer;
}

.arc-finder__opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.arc-finder__opt span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 16px 14px;
    background: #faf8f6;
    border: 1px solid #d5c6bc;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    color: #181516;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.arc-finder__opt:hover span {
    border-color: #181516;
}

.arc-finder__opt input:checked + span {
    background: #181516;
    border-color: #181516;
    color: #ede8e6;
}

.arc-finder__opt input:focus-visible + span {
    outline: 2px solid #b1947f;
    outline-offset: 2px;
}

.arc-finder__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.arc-finder__results {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid #d5c6bc;
}

.arc-finder__results-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 24px;
}

.arc-finder__results-head h2 {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.arc-finder__results-head p {
    margin: 0;
    color: #9a8a80;
    font-size: 0.92rem;
}

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

.arc-finder__grid .arc-home-card {
    background: #faf8f6;
    border: 1px solid #e8e0da;
    margin: 0;
    width: auto !important;
    float: none !important;
}

.arc-finder__grid .arc-home-card__media,
.arc-finder__grid .arc-home-card__media.img-d {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    background: #ebe6df;
    overflow: hidden;
}

.arc-finder__grid .arc-home-card__media > a {
    display: block;
    position: absolute;
    inset: 0;
}

.arc-finder__grid .arc-home-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.arc-finder__grid .arc-home-card__add,
.arc-finder__grid .arc-home-card .aSepeteEkle {
    position: absolute !important;
    right: 10px !important;
    bottom: 10px !important;
    left: auto !important;
    top: auto !important;
    width: 34px !important;
    height: 34px !important;
    background: #181516 !important;
    color: #fff !important;
    border: none !important;
    font-size: 1.25rem !important;
    z-index: 3;
}

.arc-finder__grid .arc-home-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 14px 16px;
}

.arc-finder__grid .arc-home-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #181516;
    text-decoration: none;
    line-height: 1.3;
}

.arc-finder__grid .arc-home-card__notes {
    margin: 0;
    font-size: 0.8rem;
    color: #9a8a80;
    line-height: 1.4;
}

.arc-finder__grid .arc-home-card__price {
    margin: 4px 0 0;
    font-size: 0.95rem;
    font-weight: 700;
}

/* Brew */
.arc-brew {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.arc-brew__methods {
    display: grid;
    gap: 8px;
}

.arc-brew__method {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d5c6bc;
    background: #faf8f6;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: #181516;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.arc-brew__method strong {
    font-size: 0.95rem;
    font-weight: 650;
}

.arc-brew__method span {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: #9a8a80;
}

.arc-brew__method:hover {
    border-color: #181516;
}

.arc-brew__method.is-on {
    background: #181516;
    border-color: #181516;
    color: #ede8e6;
}

.arc-brew__method.is-on span {
    color: #cfc4bc;
}

.arc-brew__panel {
    background: #faf8f6;
    border: 1px solid #e8e0da;
    padding: clamp(22px, 4vw, 36px);
    display: grid;
    gap: 28px;
}

.arc-brew__inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.arc-brew__field span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a8a80;
}

.arc-brew__number {
    display: grid;
    grid-template-columns: 44px 1fr 44px auto;
    align-items: center;
    border: 1px solid #d5c6bc;
    background: #fff;
}

.arc-brew__number button {
    height: 52px;
    border: 0;
    background: transparent;
    font-size: 1.3rem;
    color: #181516;
    cursor: pointer;
}

.arc-brew__number input {
    width: 100%;
    height: 52px;
    border: 0;
    text-align: center;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 650;
    color: #181516;
    background: transparent;
}

.arc-brew__number em {
    padding-right: 12px;
    font-style: normal;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9a8a80;
}

.arc-brew__result {
    padding-bottom: 8px;
    border-bottom: 1px solid #e8e0da;
}

.arc-brew__result-kicker {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #594436;
}

.arc-brew__result-main {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 18px;
}

.arc-brew__result-main strong {
    font-family: 'Karrik', Georgia, serif;
    font-size: clamp(3.2rem, 8vw, 5rem);
    font-weight: 400;
    line-height: 0.9;
}

.arc-brew__result-main span {
    font-size: 1rem;
    color: #9a8a80;
}

.arc-brew__bar {
    display: flex;
    height: 8px;
    background: #e8e0da;
    overflow: hidden;
}

.arc-brew__bar-coffee {
    background: #181516;
}

.arc-brew__bar-water {
    background: #b1947f;
}

.arc-brew__ratio-copy {
    margin: 10px 0 0;
    font-size: 0.88rem;
    color: #594436;
}

.arc-brew__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.arc-brew__meta span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a8a80;
}

.arc-brew__meta strong {
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 800px) {
    .arc-brew,
    .arc-brew__inputs,
    .arc-brew__meta,
    .arc-finder__grid {
        grid-template-columns: 1fr;
    }

    .arc-brew__methods {
        grid-template-columns: 1fr 1fr;
    }

    .arc-bundle,
    .arc-bundle__grid {
        grid-template-columns: 1fr;
    }

    .arc-bundle__summary {
        position: static;
    }
}

/* Bundle */
.arc-bundle-badge {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 12px;
    background: #181516;
    color: #ede8e6;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.arc-bundle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: start;
}

.arc-bundle__error {
    margin: 0 0 20px;
    color: #8a2a2a;
    font-weight: 600;
}

.arc-bundle__slot {
    margin-bottom: 36px;
}

.arc-bundle__slot-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d5c6bc;
}

.arc-bundle__slot-head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 650;
}

.arc-bundle__slot-head h2 em {
    font-style: normal;
    color: #b1947f;
}

.arc-bundle__slot-head p {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: #9a8a80;
}

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

.arc-bundle__item {
    display: flex;
    flex-direction: column;
    background: #faf8f6;
    border: 1px solid #e8e0da;
    overflow: hidden;
    position: relative;
}

.arc-bundle__pick {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.arc-bundle__pick input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.arc-bundle__media {
    display: block;
    position: relative;
    aspect-ratio: 1;
    background: #ebe6df;
}

.arc-bundle__soldout {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 1;
    padding: 5px 8px;
    background: #181516;
    color: #ede8e6;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.arc-bundle__item.is-out {
    opacity: 0.55;
}

.arc-bundle__item.is-out .arc-bundle__pick {
    cursor: not-allowed;
}

.arc-bundle__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.arc-bundle__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px 14px;
}

.arc-bundle__copy strong {
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.3;
}

.arc-bundle__copy em {
    font-style: normal;
    font-size: 0.82rem;
    color: #594436;
}

.arc-bundle__item.is-on {
    border-color: #181516;
    box-shadow: inset 0 0 0 1px #181516;
}

.arc-bundle__item:has(input:disabled) {
    opacity: 0.45;
    cursor: not-allowed;
}

.arc-bundle__item:has(input:disabled) .arc-bundle__pick {
    cursor: not-allowed;
}

.arc-bundle__opts {
    display: grid;
    gap: 10px;
    padding: 0 14px 14px;
}

.arc-bundle__opt {
    display: grid;
    gap: 5px;
}

.arc-bundle__opt span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a8a80;
}

.arc-bundle__opt span i {
    font-style: normal;
    color: #b1947f;
}

.arc-bundle__opt select {
    width: 100%;
    height: 40px;
    padding: 0 36px 0 12px;
    border: 1.5px solid #d5c6bc;
    border-radius: 0;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 10 6'%3E%3Cpath fill='%23b1947f' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    color: #181516;
    font-family: inherit;
    font-size: 0.84rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
}

.arc-bundle__opt select:focus {
    border-color: #b1947f;
}

.arc-bundle__opt select:disabled {
    background-color: #f4efeb;
    color: #9a8a80;
    cursor: not-allowed;
}

.arc-bundle__picked li span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.arc-bundle__picked li small {
    font-size: 0.72rem;
    color: #9a8a80;
}

.arc-bundle__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 24px;
    background: #faf8f6;
    border: 1px solid #e8e0da;
    color: #594436;
}

.arc-bundle__summary {
    position: sticky;
    top: 96px;
    scroll-margin-top: 96px;
    background: #faf8f6;
    border: 1px solid #e8e0da;
    padding: 22px 20px;
}

.arc-bundle__summary-kicker {
    margin: 0 0 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9a8a80;
}

.arc-bundle__picked {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.arc-bundle__picked li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    line-height: 1.35;
}

.arc-bundle__picked .is-empty {
    color: #9a8a80;
}

.arc-bundle__totals {
    display: grid;
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid #e8e0da;
    border-bottom: 1px solid #e8e0da;
    margin-bottom: 16px;
    font-size: 0.88rem;
}

.arc-bundle__totals > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.arc-bundle__totals .is-discount {
    color: #3d6b4f;
}

.arc-bundle__totals .is-grand {
    font-size: 1rem;
    font-weight: 700;
}

.arc-bundle__summary .arc-tools__btn {
    width: 100%;
}

.arc-bundle__summary .arc-tools__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.arc-bundle__hint-min {
    margin: 10px 0 0;
    font-size: 0.75rem;
    color: #9a8a80;
}

/* Karşılaştır */
.arc-compare__form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 28px;
}

.arc-compare__field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.arc-compare__field span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a7e76;
}

.arc-compare__field select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d5c6bc;
    background: #faf8f6;
    color: #181516;
    font-family: inherit;
    font-size: 0.95rem;
}

.arc-compare__field select:focus {
    outline: none;
    border-color: #b1947f;
}

.arc-compare__hint,
.arc-compare__note {
    margin: 0 0 24px;
    padding: 16px 18px;
    background: #faf8f6;
    border: 1px solid #e8e0da;
    color: #594436;
    font-size: 0.92rem;
}

.arc-compare__note {
    border-color: #e8c4c2;
    background: #fdf6f6;
    color: #9b2226;
}

.arc-compare {
    display: grid;
    gap: 28px;
}

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

.arc-compare__card {
    padding: 18px 18px 20px;
    background: #faf8f6;
    border: 1px solid #e8e0da;
}

.arc-compare__media {
    display: block;
    aspect-ratio: 1;
    margin-bottom: 14px;
    background: #f4eee8;
    border: 1px solid #e8e0da;
    overflow: hidden;
}

.arc-compare__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.arc-compare__card h2 {
    margin: 0 0 6px;
    font-family: 'Karrik', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.2;
    color: #181516;
}

.arc-compare__brand {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a7e76;
}

.arc-compare__price {
    margin: 0 0 14px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #181516;
}

.arc-compare__table-wrap {
    overflow-x: auto;
    border: 1px solid #d5c6bc;
    background: #fff;
}

.arc-compare__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.arc-compare__table th,
.arc-compare__table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e8e0da;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #3a2e28;
}

.arc-compare__table thead th {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a7e76;
    background: #faf8f6;
}

.arc-compare__table tbody th {
    width: 22%;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a7e76;
    background: #faf8f6;
}

.arc-compare__table tbody tr.is-diff td {
    background: #f7f1ea;
    color: #181516;
    font-weight: 550;
}

.arc-compare__table tbody tr:last-child th,
.arc-compare__table tbody tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 800px) {
    .arc-compare__form,
    .arc-compare__cards {
        grid-template-columns: 1fr;
    }

    .arc-compare__form .arc-tools__btn {
        width: 100%;
    }
}
