:root {
    --text: #2f3e46;
    --accent: #5f7c8a;
    --line: #cfd8dc;
    --soft: rgba(255,255,255,0.6);
}

* {
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    font-family: Georgia, serif;
    background: #ffffff;
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Layout */
.page-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 20px 10px;
}

/* Main container */
.container {
    position: relative;
    background: var(--soft);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 1000px;
    min-height: 78vh;
    padding: 50px 60px 40px;
    margin: 0 auto;
}

/* SOCIAL BAR */
.social-bar {
    position: absolute;
    top: 12px;
    left: 14px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.social-bar a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background: rgba(95, 124, 138, 0.06);
    border: 1px solid rgba(95, 124, 138, 0.12);
    box-shadow:
        0 0 6px rgba(95, 124, 138, 0.06),
        inset 0 0 6px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.social-bar a:hover {
    transform: translateY(-2px);
    background: rgba(95, 124, 138, 0.10);
    border: 1px solid rgba(95, 124, 138, 0.20);
    box-shadow:
        0 0 10px rgba(95, 124, 138, 0.12),
        0 0 18px rgba(95, 124, 138, 0.08),
        inset 0 0 8px rgba(255,255,255,0.6);
}

.social-bar img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    filter: grayscale(100%) brightness(0.65) sepia(8%) hue-rotate(165deg) saturate(70%);
    transition: all 0.3s ease;
}

.social-bar a:hover img {
    transform: scale(1.08);
    filter: grayscale(100%) brightness(0.55) sepia(12%) hue-rotate(165deg) saturate(90%);
}

.whatnot-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

/* NAV */
.nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.nav a:hover,
.nav a.active {
    color: var(--accent);
    border-color: var(--accent);
}

/* LOGO */
.logo {
    width: 194px;
    max-width: 100%;
    margin-bottom: 25px;
}

/* Headings */
h1 {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0 0 15px;
}

h2 {
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 10px;
}

h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
}

/* Text */
p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 auto 20px;
    max-width: 650px;
    opacity: 0.9;
}

a {
    color: var(--accent);
}

/* CONTACT FORM */
form {
    max-width: 460px;
    margin: 22px auto 0;
    text-align: left;
}

.field {
    margin-bottom: 12px;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font: inherit;
    color: var(--text);
    background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(95, 124, 138, 0.15);
}

textarea {
    min-height: 90px;
    resize: vertical;
}

/* Contact page tighter spacing */
.contact-page .logo {
    margin-bottom: 18px;
}

.contact-page h1 {
    margin-bottom: 10px;
}

.contact-page p {
    margin-bottom: 14px;
}

.contact-page form {
    margin-top: 16px;
}

.contact-page .field {
    margin-bottom: 10px;
}

/* BUTTON */
button {
    background: linear-gradient(135deg, #5c6f82, #3d4f60);
    color: white;
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* CATALOG FILTERS */
.catalog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 28px;
}

.catalog-filter-btn {
    appearance: none;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.85);
    color: var(--text);
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font: inherit;
    transition: all 0.2s ease;
}

.catalog-filter-btn:hover,
.catalog-filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.catalog-section.is-hidden {
    display: none;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: rgba(255,255,255,0.72);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);

    /* ADD THIS */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;

    /* ADD THIS 👇 (this is the missing piece) */
    flex-grow: 1;
}

.product-button {
    margin-top: 12px;
    align-self: center;
}

.product-card h3 {
    margin-top: 12px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: 52px;
    line-height: 1.3;
}

.product-card img {
    border: 1px solid #d6dde3;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);

    /* ADD THIS */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.product-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 35px rgba(50, 70, 90, 0.25),
        0 0 0 1px rgba(80, 100, 120, 0.25);
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 15px;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 0;
    display: block;
}

.product-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 22px 12px 12px;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0.35), rgba(0,0,0,0));
    color: #fff;
    opacity: 1;
    pointer-events: none;
}

.product-overlay-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-overlay-price {
    font-size: 16px;
    font-weight: 600;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
}

.product-text {
    font-size: 15px;
    margin-bottom: 15px;
}

.product-button {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 12px;
    background: var(--text);
    color: #ffffff;
    text-decoration: none;
}

.product-button:hover {
    background: var(--accent);
}

/* SOCIAL WIDGET SECTION */
.social-feed-section {
    margin-top: 35px;
}

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

.widget-card {
    background: rgba(255,255,255,0.72);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}

/* Simple social links on homepage */
.social-widget-link {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 12px;
    background: var(--text);
    color: #ffffff;
    text-decoration: none;
}

.social-widget-link:hover {
    background: var(--accent);
}

/* PAYMENT ICONS */
.payment-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.payment-icons img {
    width: 24px;
    height: 24px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.payment-icons img:hover {
    opacity: 1;
}

/* FOOTER */
.footer {
    font-size: 12px;
    padding: 10px 0 20px;
}

/* TABLET */
@media (max-width: 800px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/**************************************** PRODUCT PAGE ****************************************/
.product-page {
    margin-top: 20px;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 70px;
    align-items: start;
}

.product-details {
    text-align: left;
    padding-top: 0;
    min-width: 0;
}

.product-title {
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0 0 18px;
}

.product-description {
    font-size: 16px;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 0 24px;
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
    margin: 0 0 24px;
}

.product-meta {
    margin-top: 10px;
}

.product-meta h3 {
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 12px;
}

.meta-grid {
    display: block;
    font-size: 15px;
    line-height: 1.65;
}

.meta-grid div {
    margin-bottom: 4px;
}

.product-buy {
    margin-top: 18px;
    cursor: pointer;
}

.product-images {
    width: 340px;
    justify-self: end;
    text-align: left;
}

.main-image {
    width: 100%;
    max-width: 340px;
    height: auto;
    border-radius: 16px;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(95, 124, 138, 0.18);
    box-shadow:
        0 6px 18px rgba(0,0,0,0.08),
        inset 0 0 10px rgba(255,255,255,0.6);
    padding: 6px;
}

.thumbnail-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.thumbnail-row img {
    width: 70px;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid rgba(95, 124, 138, 0.18);
    padding: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.thumbnail-row img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    opacity: 1;
}

.details-table-wrap {
    margin-top: 10px;
    max-width: 520px;
    background: rgba(255,255,255,0.45);
    border: 1px solid rgba(95, 124, 138, 0.16);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 4px 14px rgba(0,0,0,0.04),
        inset 0 0 8px rgba(255,255,255,0.45);
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.details-table th,
.details-table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.details-table th {
    width: 38%;
    font-weight: 600;
    color: var(--text);
    background: rgba(95, 124, 138, 0.05);
}

.details-table td {
    color: var(--text);
}

.details-table tr:not(:last-child) th,
.details-table tr:not(:last-child) td {
    border-bottom: 1px solid rgba(95, 124, 138, 0.10);
}

/******************************** EVENTS PAGE ********************************/
.events-page {
    max-width: 860px;
    margin: 10px auto 0;
}

.events-intro {
    max-width: 760px;
    margin: 0 auto 30px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.event-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: start;
    text-align: left;
    background: rgba(255,255,255,0.45);
    border: 1px solid rgba(95, 124, 138, 0.16);
    border-radius: 18px;
    padding: 18px;
    box-shadow:
        0 6px 18px rgba(0,0,0,0.05),
        inset 0 0 8px rgba(255,255,255,0.45);
}

.event-image-wrap {
    width: 100%;
}

.event-image-frame {
    border-radius: 18px;
    padding: 6px;
    background: rgba(255,255,255,0.45);
    border: 1px solid rgba(95, 124, 138, 0.14);
    box-shadow:
        0 6px 18px rgba(0,0,0,0.05),
        inset 0 0 10px rgba(255,255,255,0.5);
}

.event-image {
    width: 100%;
    display: block;
    border-radius: 14px;
    border: 1px solid rgba(95, 124, 138, 0.18);
    box-shadow:
        0 6px 16px rgba(0,0,0,0.08),
        inset 0 0 10px rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.6);
    padding: 4px;
}

.event-content {
    text-align: left;
}

.event-title {
    font-size: 28px;
    margin: 0 0 14px;
    letter-spacing: 1px;
}

.event-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.event-meta li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
}

.event-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(95, 124, 138, 0.08);
    color: var(--text);
    font-size: 14px;
    box-shadow:
        inset 0 0 4px rgba(255,255,255,0.5),
        0 2px 6px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.event-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.event-link:hover {
    text-decoration: underline;
}

.event-button {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5c6f82, #3d4f60);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.event-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
/******************************** BASKET PAGE ********************************/
.basket-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.basket-summary-image {
  text-align: center;
  margin-bottom: 10px;
  opacity: 0.85; /* subtle */
}

.basket-summary-image img {
  width: 70px;     /* 👈 smaller */
  height: auto;
}
/******************************** CATALOG PAGEs ********************************/
.catalog-page .product-text {
    display: none;
}