@import url('https://fonts.googleapis.com/css2?family=Alan+Sans:wght@300..900&family=Manrope:wght@200..800&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&display=swap');

.contact-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.2rem 0;
    font-size: 1.15rem;
}
.contact-icon {
    font-size: 2rem;
    color: #2980b9;
    transition: transform 0.3s, color 0.3s;
}
.contact-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}
.contact-method:hover .contact-icon {
    transform: scale(1.2) rotate(-10deg);
    color: #16a085;
}
.contact-link {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.contact-link:hover {
    color: #2980b9;
}

.contact-icon .icon-hover {
    display: none;
}
.contact-method:hover .contact-icon .icon-default {
    display: none;
}
.contact-method:hover .contact-icon .icon-hover {
    display: inline;
}

.contact-method:hover .contact-icon {
    transform: scale(1.2) rotate(-10deg);
    color: #16a085;
    transition: transform 0.3s, color 0.3s;
}
.contact-icon {
    transition: transform 0.3s, color 0.3s;
}

.contact-method {
    border-radius: 8px;
}
.product-carousel a {
    border-radius: 8px;
}
.product-carousel a:hover {
    background: #f0f0f0;
}
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 250px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 10;
    padding: 0.5rem 0;
}
.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.2rem;
    color: #222;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 4px;
}
.dropdown-link:hover {
    background: #d6d6d6;
}
.nav-dropdown:hover .dropdown-menu {
    display: block;
}
.product-carousel, .product-thumb, .product-carousel-wrapper {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.product-carousel {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.product-carousel::-webkit-scrollbar {
    display: none;
}
.product-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto 2rem auto;
    width: 90vw;
    max-width: 900px;
    gap: 12px;
}
.product-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 0;
    width: 100%;
    min-width: 240px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin: 0 auto;
}
.carousel-divider {
    width: 90vw;
    max-width: 1200px;
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 0.5rem 0 1rem 0;
}
.product-thumb {
    height: 130px;
    width: auto;
    max-height: 220px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    cursor: grab;
    transition: box-shadow 0.2s;
}
.product-thumb:active {
    cursor: grabbing;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.product-carousel.dragging {
    cursor: grabbing;
}
.carousel-img {
    display: block;
    object-fit: cover;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s cubic-bezier(0.4,0,0.2,1);
    opacity: 1;
}

* {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.fullscreen-background {
    display: none;
}
@media (min-width: 144px) {
    .fullscreen-background {
        display: block;
        position: fixed;
        background-image: url('background.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center top;
        overflow-x: hidden;
        z-index: -1;
        width: 100vw;
        height: 100vh;
    }
}

body {
    background-color: white;
    color: #222;
    margin: 0;
    padding: 0;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-top: 2rem;
}

.container {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 1.2rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.logo {
    display: block;
    margin: 0.5rem auto 1.5rem auto;
    max-width: 240px;
    max-height: 240px;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.top-bar {
    width: clamp(95%, 96%, 99%);
    background: #222;
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    align-items: center;
    gap: 1vx;
    height: 44px;
    min-height: 32px;
    max-height: 60px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

    @media (max-width: 600px) {
        .top-bar {
            justify-content: space-between;
            gap: 8px;
            padding: 0 8px;
            height: auto;
            min-height: 40px;
        }

        .top-bar .nav-link {
            padding: 0.35rem 0.6rem;
            font-size: 0.95rem;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }
        .nav-dropdown .dropdown-menu {
            left: auto;
            right: 0;
            min-width: 160px;
        }
        .top-bar { overflow-x: auto; }
    }
.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0 2rem 0;
    width: 100%;
    gap: 20px;
}

.carousel-img {
    width: 985px;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    background: #eee;
    margin: 0;
    display: block;
}

.carousel-btn {
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-btn:hover {
    background: #444;
}

.bottom-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #222;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
    min-height: 50px;
    max-height: 100px;
    z-index: 100;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    transition: background 0.2s;
}
.nav-link:hover {
    background: #444;
}

h1 {
    margin-top: 12px;
    margin-bottom: 12px;
}
#cat-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 1.5rem 0 2.5rem 0;
}
.cat {
    background: #fafbfc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 260px;
    min-height: 320px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.cat:hover {
    box-shadow: 0 4px 16px rgba(44,62,80,0.13);
    transform: translateY(-4px) scale(1.03);
}
.productimagecomputer {
    width: 100%;
    max-width: 240px;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: none;
    margin: 0;
    padding: 0;
    display: block;
}
h2 {
    color: #2c3e50;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
}
h3 {
    color: #222;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.8rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Grouped category tiles */
.group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 900px;
    margin: 0.5rem auto 2rem auto;
    justify-items: center;
    justify-content: center;
    align-items: start;
}
.tile {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tile-img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    border-radius: 8px;
    background: #f7f7f7;
    margin-bottom: 8px;
    transition-duration: 0.2s;
}
.tile-img:hover {
    width: 100%;
    height: 146px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.tile a { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; }
.tile-title {
    font-weight: 600;
    color: #222;
}
.tile-sub {
    display: block;
    font-weight: 400;
    color: #666;
    font-size: 0.95rem;
}

/* Product view layout */
.product-view-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    /* push the product block to the right side of the container */
    justify-content: flex-end;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 1rem auto;
    margin-left: auto;
    margin-right: auto; /* small right-side offset from container edge */
}
.product-view-image { flex: 0 0 240px; display:flex; justify-content:center; }
.product-view-image img.productimagecomputer { max-width: 200px; max-height: 220px; }
.product-view-details { flex: 1 1 400px; text-align: left; }
.product-splitter { width: 600px; margin: 1.5rem auto; border: none; border-top: 1px solid #ddd; }

/* Outsider products grid: centered, two columns at normal desktop zoom, responsive to 1 column */
.outsider-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 900px; /* similar width to group/grid tiles */
    margin: 1.5rem auto 2rem auto;
    justify-items: center;
}
.outsider-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px; /* each card takes similar width to insider rows */
}
.outsider-img {
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: none;
}
.outsider-title {
    margin-top: 8px;
    font-weight: 600;
    color: #222;
    text-align: center;
}

@media (max-width: 700px) {
    .outsider-grid {
        grid-template-columns: 1fr; 
        padding: 0 1rem;
    }
    .outsider-card { max-width: 100%; }
}
.products-view-div {
    width: 800px;
    height: 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.outsider-products-container {
    display: flex;
    text-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

.outsider-product-item {
    text-align:center;
}

.outsider-product-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto 20px auto;
    width: 100%;
}
.outsider-product-item .outsider-img {
    flex: 0 0 280px;
    max-width: 280px;  
}
.outsider-product-item .outsider-details {
    flex: 1 1 auto;
    min-width: 300px;
    text-align: left;
}


#carousel-img {
    border-radius: 10px;
}

.inside-diary-product {
    transition-duration: 0.3s;
}

.inside-diary-product:hover {
    filter: brightness(90%);
    cursor: pointer;
}

.text-front-page {
    margin-left: 25px;
    color: black;
    text-decoration: none;
}

.essay-image {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.essay {
    flex: 2;
    width: 510px;
    font-size: 19px;
    padding-left: 0px;
    padding-right: 0px;
    text-align: center;
}

.image-side {
  flex: 1;
}

.image-side img {
  width: 500px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.essay-container {
    width: 900px;
    text-align: center;
}