.amazon-card-link {
text-decoration: none;
color: inherit;
display: block;
height: 100%;
} a.as-search-link {
display: inline-flex !important;
align-items: center;
gap: 5px;
padding: 3px 11px 3px 8px;
background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%) !important;
color: #ffffff !important;
border: none !important;
border-radius: 20px !important;
text-decoration: none !important;
font-size: 0.86em;
font-weight: 600;
letter-spacing: 0.01em;
line-height: 1.55;
white-space: nowrap;
vertical-align: middle;
transition: box-shadow .2s, transform .15s, filter .15s;
box-shadow: 0 2px 8px rgba(79,70,229,.28);
}
a.as-search-link::before {
content: "";
width: 12px;
height: 12px;
flex-shrink: 0;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='8.5' cy='8.5' r='5' stroke='%23ffffff' stroke-width='2'/%3E%3Cpath d='M13 13l3 3' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
opacity: 0.9;
}
a.as-search-link:hover {
box-shadow: 0 4px 16px rgba(79,70,229,.38) !important;
transform: translateY(-1px);
filter: brightness(1.1);
text-decoration: none !important;
} a.as-search-link--classic {
display: inline !important;
background: transparent !important;
color: inherit !important;
border: none !important;
border-bottom: 1px dashed currentColor !important;
border-radius: 0 !important;
padding: 0 !important;
font-weight: inherit;
font-size: inherit;
box-shadow: none !important;
white-space: normal;
vertical-align: baseline;
}
a.as-search-link--classic::before {
display: none;
}
a.as-search-link--classic:hover {
background: transparent !important;
border-bottom-style: solid !important;
box-shadow: none !important;
} .as-adlabel {
font-size: 0.72em;
font-weight: 400;
font-style: normal;
color: #9ca3af;
margin-left: 2px;
letter-spacing: 0;
white-space: nowrap;
vertical-align: middle;
}
.as-adlabel--sup {
font-size: 0.65em;
vertical-align: super;
line-height: 0;
} .as-shop-title {
font-size: 1.5rem;
font-weight: 700;
margin: 0 0 16px;
line-height: 1.3;
} .as-filter-panel {
background: #ffffff;
border: 1px solid #E4E7EC;
border-radius: 12px;
padding: 14px 16px;
margin-bottom: 24px;
display: flex;
flex-direction: column;
gap: 10px;
box-shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.04);
} .as-filter-bar {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
.as-filter-dropdowns {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
} .as-dropdown {
position: relative;
} .as-dd-trigger {
display: inline-flex;
align-items: center;
gap: 6px;
height: 38px;
padding: 0 12px;
border-radius: 8px;
border: 1.5px solid #E4E7EC;
background: #ffffff;
color: #374151;
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
white-space: nowrap;
user-select: none;
box-sizing: border-box;
}
.as-dd-trigger:hover {
border-color: #2563EB;
color: #2563EB;
background: #F8FBFF;
}
.as-dd-trigger.active {
background: #EFF6FF;
border-color: #2563EB;
color: #2563EB;
font-weight: 600;
}
.as-dropdown.open > .as-dd-trigger {
border-color: #2563EB;
color: #2563EB;
box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.as-dd-chevron {
width: 14px;
height: 14px;
flex-shrink: 0;
transition: transform 0.2s ease;
}
.as-dropdown.open > .as-dd-trigger .as-dd-chevron {
transform: rotate(180deg);
} .as-dd-menu {
position: absolute;
top: calc(100% + 6px);
left: 0;
min-width: 200px;
max-height: 280px;
overflow-y: auto;
background: #ffffff;
border: 1.5px solid #E4E7EC;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0,0,0,.05), 0 10px 30px rgba(0,0,0,.1);
z-index: 1000;
display: none;
padding: 4px;
scrollbar-width: thin;
scrollbar-color: #E4E7EC transparent;
}
.as-dropdown.open > .as-dd-menu {
display: block;
animation: ddFadeIn 0.15s ease;
}
@keyframes ddFadeIn {
from { opacity: 0; transform: translateY(-4px); }
to   { opacity: 1; transform: translateY(0); }
} .as-dd-option {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 8px 12px;
border: none;
background: none;
text-align: left;
font-size: 13px;
font-weight: 400;
color: #374151;
cursor: pointer;
border-radius: 6px;
transition: background 0.1s;
white-space: nowrap;
box-sizing: border-box;
}
.as-dd-option:hover {
background: #F3F4F6;
color: #111827;
}
.as-dd-option.active {
color: #2563EB;
font-weight: 600;
background: #EFF6FF;
}
.as-dd-option.active:hover {
background: #DBEAFE;
}
.as-dd-check {
width: 14px;
height: 14px;
flex-shrink: 0;
color: #2563EB;
opacity: 0;
transition: opacity 0.1s;
margin-left: 8px;
}
.as-dd-option.active .as-dd-check {
opacity: 1;
} .as-search-wrap {
position: relative;
width: 100%;
}
.as-search-icon {
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
width: 16px;
height: 16px;
color: #9CA3AF;
pointer-events: none;
}
#search-input {
width: 100%;
height: 38px;
padding: 0 14px 0 38px;
font-size: 14px;
border: 1.5px solid #E4E7EC;
border-radius: 8px;
box-sizing: border-box;
background: #F9FAFB;
color: #111827;
transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
outline: none;
}
#search-input:focus {
border-color: #2563EB;
background: #fff;
box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
#search-input::placeholder {
color: #9CA3AF;
}  .as-filter-meta-row {
display: flex;
align-items: center;
border-top: 1px solid #F3F4F6;
padding-top: 10px;
}
.as-reset-btn {
margin-left: auto;
background: none;
border: 1.5px solid #E4E7EC;
color: #6B7280;
padding: 5px 12px;
border-radius: 6px;
font-size: 12px;
font-weight: 500;
cursor: pointer;
transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.as-reset-btn:hover {
border-color: #EF4444;
color: #EF4444;
background: #FEF2F2;
}
@media (max-width: 640px) {
.as-filter-panel { padding: 12px 14px; }
.as-search-wrap { min-width: 100%; }
.as-dd-menu { min-width: 160px; }
} .affiliate-shop-wrap--sidebar .affiliate-products {
grid-template-columns: 1fr;
gap: 10px;
}
.affiliate-shop-wrap--sidebar .amazon-card .img {
height: 160px;
}
.affiliate-shop-wrap--sidebar .amazon-card .img img {
max-width: 120px;
}
.affiliate-shop-wrap--sidebar .amazon-card .info {
padding: 8px 10px 44px;
}
.affiliate-shop-wrap--sidebar .info h6 {
font-size: 13px;
-webkit-line-clamp: 2;
}
.affiliate-shop-wrap--sidebar .info > p {
font-size: 12px;
}
.affiliate-shop-wrap--sidebar .product-price {
font-size: 14px;
}
.affiliate-shop-wrap--sidebar .badge {
width: 160px;
font-size: 11px;
padding: 5px 8px;
}
.affiliate-shop-wrap--sidebar .price-disclaimer {
font-size: 11px;
line-height: 1.4;
} .entry-content h6 {
font-size: 1rem;
} .affiliate-products {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px;
}
@media (max-width: 640px) {
.affiliate-products {
grid-template-columns: 1fr;
}
} .amazon-card {
display: flex;
flex-direction: column;
height: 100%;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #fff;
overflow: hidden;
position: relative;
text-align: center;
transition: transform 0.2s, box-shadow 0.2s;
box-sizing: border-box;
}
.amazon-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,0.2);
} .amazon-card .img {
position: relative;
width: 100%;
height: 260px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background: #ffffff;
border-bottom: 1px solid #eee;
}
.amazon-card .img img {
max-width: 180px;
max-height: 100%;
object-fit: contain;
display: block;
margin: 0 auto;
transition: transform 0.3s ease;
}
.amazon-card:hover .img img {
transform: scale(1.05);
} .amazon-card .info {
display: flex;
flex-direction: column;
flex: 1;
padding: 10px 10px 50px; text-align: center;
}
.info h6 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
margin: 6px 0 4px;
}
.info > p {
margin: 2px 0;
font-size: 13px;
color: #555;
}
.product-price {
font-size: 15px;
font-weight: bold;
color: #B12704;
margin-top: auto;
padding-top: 6px;
}
.price-asterisk {
font-size: 11px;
vertical-align: super;
color: #888;
margin-left: 2px;
cursor: help;
} .badge {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
width: 200px;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
background-color: #ff9900;
color: #fff;
padding: 6px 10px;
border-radius: 4px;
font-size: 12px;
font-weight: bold;
white-space: nowrap;
}
.badge-icon-img {
height: 18px;
width: auto;
object-fit: contain;
border-radius: 2px;
flex-shrink: 0;
} .card-shop-logo {
position: absolute;
top: 8px;
left: 8px;
height: 22px;
width: auto;
object-fit: contain;
border-radius: 3px;
z-index: 1;
} .pagination-ellipsis {
display: inline-flex;
align-items: center;
padding: 0 6px;
color: #9CA3AF;
font-size: 15px;
user-select: none;
letter-spacing: 2px;
}
.product-count {
font-size: 13px;
color: #666;
}
#pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 18px 0 10px;
}
#pagination .btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 42px;
height: 42px;
padding: 0 14px;
border-radius: 999px;
border: 2px solid #E5E7EB;
cursor: pointer;
background: #fff;
color: #374151;
font-size: 14px;
font-weight: 500;
transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.12s;
box-shadow: 0 1px 3px rgba(0,0,0,0.06);
line-height: 1;
}
#pagination .btn.active {
background: #2563EB;
color: #fff;
border-color: #2563EB;
font-weight: 700;
box-shadow: 0 4px 14px rgba(37,99,235,0.35);
transform: scale(1.08);
}
#pagination .btn:hover:not(.active):not([disabled]) {
background: #EFF6FF;
border-color: #93C5FD;
color: #1D4ED8;
box-shadow: 0 3px 10px rgba(37,99,235,0.15);
transform: translateY(-1px);
}
#pagination .btn[disabled] {
opacity: 0.35;
cursor: not-allowed;
box-shadow: none;
}
#pagination .btn.btn-nav {
font-size: 16px;
color: #6B7280;
border-color: #E5E7EB;
}
#pagination .btn.btn-nav:hover:not([disabled]) {
color: #1D4ED8;
border-color: #93C5FD;
} .as-share-bar {
display: flex;
align-items: center;
justify-content: space-between;
background: #EEF2FF;
border-radius: 12px;
padding: 14px 18px;
margin-top: 20px;
gap: 12px;
}
.as-share-left {
display: flex;
align-items: center;
gap: 14px;
flex-wrap: wrap;
flex: 1;
}
.as-share-btn {
display: inline-flex;
align-items: center;
gap: 8px;
background: #2563EB;
color: #fff;
border: none;
border-radius: 50px;
padding: 10px 22px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: background 0.15s, transform 0.1s;
white-space: nowrap;
}
.as-share-btn:hover  { background: #1d4ed8; }
.as-share-btn:active { transform: scale(.97); }
.as-share-confirm {
color: #16a34a;
font-weight: 600;
font-size: 14px;
white-space: nowrap;
}
.as-share-right {
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
flex-shrink: 0;
}
.as-qr-img {
width: 120px;
height: 120px;
border-radius: 6px;
background: #fff;
display: block;
}
.as-qr-label {
font-size: 10px;
font-weight: 700;
letter-spacing: .12em;
color: #6B7280;
text-transform: uppercase;
}
@media (max-width: 480px) {
.as-share-bar    { flex-direction: column; align-items: flex-start; }
.as-share-right  { align-self: center; }
} .price-disclaimer {
font-size: 12px;
color: #888;
margin-top: 16px;
border-top: 1px solid #eee;
padding-top: 8px;
}